Factor out duplicate code for parsing gap data
This change is intended to be used to factor out dup code for parsing GapData in StartAdvertisingSet and make it easier to be tested. Backport of Ia39886c415218353b6f9d59d7d3f6d1160477d6c Bug: 296291440 Test: atest net_test_main_shim (cherry picked from commit 08690d66) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cfc86f8d13d6e5585f2b535bf5225000c6ceaf8e) Merged-In: Ia39886c415218353b6f9d59d7d3f6d1160477d6c Change-Id: Ia39886c415218353b6f9d59d7d3f6d1160477d6c
Showing
- system/main/Android.bp 1 addition, 0 deletionssystem/main/Android.bp
- system/main/shim/Android.bp 1 addition, 0 deletionssystem/main/shim/Android.bp
- system/main/shim/BUILD.gn 1 addition, 0 deletionssystem/main/shim/BUILD.gn
- system/main/shim/le_advertising_manager.cc 9 additions, 100 deletionssystem/main/shim/le_advertising_manager.cc
- system/main/shim/utils.cc 40 additions, 0 deletionssystem/main/shim/utils.cc
- system/main/shim/utils.h 32 additions, 0 deletionssystem/main/shim/utils.h
Loading
Please register or sign in to comment