Binder cache for Bluetooth getBondState()
Bug: 140788621 This includes a change to AdapterService that invalidates the caches after cleanup has been recorded, and after the bluetooth service starts. The bug occurred when switching users. Test: A special build that puts the PropertyInvalidatedCache in verification mode was loaded on the device. Then one iteration of MPTS was executed. No cache inconsistencies were found and no SELinux violations (associated with the binder cache) were found. The number of cache misses was approximately 10% of the total binder calls. Then the phone was cycled through bluetooth pairing and unpairing events. Change-Id: I8f3bdabb2f034f5070688141938941ff1cfdb23a
Loading
Please register or sign in to comment