diff options
author | Jack He <siyuanh@google.com> | 2018-03-02 13:08:36 -0800 |
---|---|---|
committer | Jack He <siyuanh@google.com> | 2018-03-09 00:59:15 +0000 |
commit | 8caab156e3b30293d8e2bb94b2401deff249cc9d (patch) | |
tree | 382ff84f2c43a26a6843d7ea6caee6cbc91a362b /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | b8d853732c71bda480956f7e7001bda5c0bb14af (diff) |
Bluetooth: Separate enable and disable Reasons from package name
* Reasons to enable or disable Bluetooth should be in a separate
namespace away from package names that initiated the enable or disable
* Delcare reason code in android/bluetooth/enums.proto as
EnableDisableReasonEnum and use these reason code together with
package names to log Bluetooth enable and disable events
* When reason is ENABLE_DISABLE_REASON_APPLICATION_REQUEST, the external
package name is the real reason why Bluetooth is enabled or disabled
* Change START_CRASH to START_ERROR since it represents a disable event
when Bluetooth failed to start
* Change UNEXPECTED_CRASH to CRASH since no crash is expected
* Add getEnableDisableReasonString() method to covert reason code to
human readable strings in dumpsys output
Bug: 74090881
Test: Toggle Bluetooth, airplane mode, BLE scanning
Change-Id: I06aa413e2a0a5f016c87759a1b694ef643c9cdee
(cherry picked from commit 0dbe66460fa2a5ebb05ca757e58141c213038bc1)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions