No description
Find a file
Yifan Hong e9fc235eb4 health: registerCallback() and getHealthInfo() does not notify all callbacks
registerCallback() and getHealthInfo() unintentionally broadcast
health info to all callbacks, which has a performance impact.

* registerCallback() still invokes the new callback immediately
* getHealthInfo() does not call any callbacks at all.

Test: VTS test call getHealthInfo does not invoke update()
Bug: 117167903
Change-Id: Ida99fdd73831e747fbf2d65089c7c0e7661fe7c4
2018-10-02 14:30:03 -07:00
atrace/1.0 Add atrace HAL 1.0 2018-09-27 16:35:31 -07:00
audio Test getActiveMicrophones API when mic is found on the device. 2018-09-27 11:39:22 -07:00
authsecret/1.0 Convert auth secret hal test to use VtsHalHidlTargetTestEnvBase 2018-02-28 18:05:31 -08:00
automotive Update makefiles after native handle in Java. 2018-08-14 20:29:42 +00:00
biometrics/fingerprint/2.1 vts fingerprint: IWYU utils/Condition.h 2018-08-07 21:36:11 +00:00
bluetooth VTS for Bluetooth A2DP HAL 2018-04-11 09:56:09 -07:00
boot/1.0 Revert "Set vendor: true for boot control HAL" 2018-10-02 20:09:17 +00:00
broadcastradio Fix comments and internal names about SEEK operation. 2018-06-07 15:19:27 -07:00
camera Skip hal v1 check after p on low ram devices 2018-10-02 14:02:09 -07:00
cas cas: do not use hidl_memory if size is > SIZE_MAX 2018-05-11 14:12:51 -07:00
compatibility_matrices Add atrace HAL 1.0 2018-09-27 16:35:31 -07:00
configstore [ConfigStore] Clarify hasHDRDisplay spec. 2018-08-22 18:20:58 -07:00
confirmationui confirmationui: explicitly declare only one thread. 2018-05-25 10:14:48 -07:00
contexthub/1.0 Merge "Convert contexthub hal test to use VtsHalHidlTargetTestEnvBase" am: bd98b61b2c am: 5cc68bc013 2018-02-14 23:07:33 +00:00
drm Fix failing drm 1.0 vts tests 2018-09-13 00:39:42 +00:00
dumpstate/1.0 Update makefiles after native handle in Java. 2018-08-14 20:29:42 +00:00
fastboot/1.0 Add command to check whether off-mode-charging is enabled. 2018-09-28 14:17:48 -07:00
gatekeeper/1.0 Merge "Convert gatekeeper hal test to use VtsHalHidlTargetTestEnvBase" am: c730bcf0af am: a96bb1d1c0 2018-02-12 17:51:18 +00:00
gnss Allow more time to un-blacklist strongest satelite 2018-09-28 07:12:40 -07:00
graphics [Graphics] Only validate display in PresentOrValidateDisplay. 2018-08-29 14:45:15 -07:00
health health: registerCallback() and getHealthInfo() does not notify all callbacks 2018-10-02 14:30:03 -07:00
ir/1.0 Merge "Convert ir hal test to use VtsHalHidlTargetTestEnvBase" am: e5c6cdccba am: 462255199b 2018-02-11 06:07:52 +00:00
keymaster Add noexcept to move constructors and assignment operators. 2018-10-01 20:30:38 +00:00
light Revert "blank_screen: always exit with _exit()." 2018-05-25 00:38:14 +00:00
media Update makefiles after native handle in Java. 2018-08-14 20:29:42 +00:00
memtrack/1.0 Merge "Convert boot, memtrack and power hal to use service name aware testing." am: b9515d9d3f am: a713584847 2017-12-05 01:16:53 +00:00
neuralnetworks Sync docs with NeuralNetworks.h 2018-09-24 12:31:03 +00:00
nfc Add defaultSysCodePowerState in types.hal in NFC 1.1 2018-04-02 17:52:50 -07:00
oemlock/1.0 Convert oemlock hal test to use VtsHalHidlTargetTestEnvBase 2018-02-08 22:42:39 -08:00
power Add power@1.3 to the VNDK. 2018-08-14 13:33:39 -07:00
radio Radio HAL: Add VoPS network support 2018-09-20 09:37:01 -07:00
renderscript/1.0 Log dlerror on dlopen related failures 2018-01-24 19:53:36 -08:00
secure_element/1.0 Secure_element: vts: Modify openBasicChannel as per OMAPI standard 2018-08-28 22:30:29 +00:00
sensors/1.0 Merge "Ignore meta sensor events when checking values" into oreo-vts-dev am: d09fdd6ca1 am: bfc5b817e7 2018-04-10 14:41:34 -07:00
soundtrigger Convert soundtrigger hal test to use VtsHalHidlTargetTestEnvBase 2018-02-12 17:17:18 -08:00
tests ISafeUnion: add case w/ enum 2018-09-13 16:38:25 -07:00
tetheroffload Update makefiles after native handle in Java. 2018-08-14 20:29:42 +00:00
thermal thermal: fix VTS test for default implementation 2018-02-23 16:01:07 -08:00
tv Update comments for doc comments. 2018-05-21 14:36:29 -07:00
usb Note confusion-causing breaks in HIDL convention. 2018-09-09 12:31:05 -07:00
vibrator Note confusion-causing breaks in HIDL convention. 2018-09-09 12:31:05 -07:00
vr/1.0 Merge "Convert vr hal test to use VtsHalHidlTargetTestEnvBase" am: f82e0825b6 am: a587d66b53 2018-02-09 20:43:24 +00:00
weaver/1.0 onvert weaver hal test to use VtsHalHidlTargetTestEnvBase 2018-02-08 21:53:09 -08:00
wifi Merge "Fix base class of WifiHidlEnvironment_1_2" into pie-vts-dev 2018-08-20 11:14:25 -07:00
.clang-format .clang-format: 100 lines 2017-05-02 16:45:27 -07:00
Android.bp Remove path from hidl_package_root. 2018-07-27 09:41:00 -07:00
CleanSpec.mk configstore: configstore HAL uprev'ed to 1.1 2018-05-23 15:48:36 -07:00
current.txt Fixed minor comment typos in IKeymasterDevice.hal 2018-09-26 06:10:20 +00:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add OWNERS in hardware/interfaces 2017-06-12 13:20:12 -07:00
PREUPLOAD.cfg Enable the clang-format pre-submit hook 2017-03-30 13:26:49 -07:00
update-base-files.sh graphics: add graphics common 1.1 HAL with new pixel formats and usages. 2018-01-19 10:16:22 -08:00
update-makefiles.sh Update makefiles from anywhere. 2017-05-11 15:42:32 -07:00