GATT cache storage refactoring
Currently when storing GATT cache into file, we save it piece after piece, max 10 elements at once. This is not necessary, we have enough space to just save all at once. Also the logic doesn't need to be so complicated - no need to state machine for such simple task. Bug: 27455533 Change-Id: I82923dbedfb317835e45e13e0ea28151eb524d37
Showing
- system/bta/Android.mk 0 additions, 1 deletionsystem/bta/Android.mk
- system/bta/BUILD.gn 0 additions, 1 deletionsystem/bta/BUILD.gn
- system/bta/gatt/bta_gattc_act.c 12 additions, 139 deletionssystem/bta/gatt/bta_gattc_act.c
- system/bta/gatt/bta_gattc_cache.c 211 additions, 71 deletionssystem/bta/gatt/bta_gattc_cache.c
- system/bta/gatt/bta_gattc_ci.c 0 additions, 132 deletionssystem/bta/gatt/bta_gattc_ci.c
- system/bta/gatt/bta_gattc_int.h 6 additions, 17 deletionssystem/bta/gatt/bta_gattc_int.h
- system/bta/gatt/bta_gattc_main.c 0 additions, 37 deletionssystem/bta/gatt/bta_gattc_main.c
- system/bta/include/bta_gattc_ci.h 0 additions, 119 deletionssystem/bta/include/bta_gattc_ci.h
- system/bta/include/bta_gattc_co.h 0 additions, 114 deletionssystem/bta/include/bta_gattc_co.h
- system/btif/Android.mk 0 additions, 1 deletionsystem/btif/Android.mk
- system/btif/BUILD.gn 0 additions, 1 deletionsystem/btif/BUILD.gn
- system/btif/co/bta_gattc_co.c 0 additions, 211 deletionssystem/btif/co/bta_gattc_co.c
Loading
Please register or sign in to comment