Yifan Hong
cf11280bd5
health@2.0: IHealthInfoCallback expands HealthInfo struct.
...
IHealthInfoCallback reports more information, so that
BatteryService can send these fields to BatteryManager in framework.
Test: builds
Bug: 62229583
Change-Id: Ieacd4acabc3e0870d0d2fed04dad9d8c3255986b
Merged-In: Ieacd4acabc3e0870d0d2fed04dad9d8c3255986b
2017-10-11 17:34:15 -07:00
Steven Moreland
577097675f
Remove invalid annotations from IBaz.
...
Test: pass
Change-Id: I8e39b510b724c0415a1cab523623bffd9f07f352
2017-10-11 17:21:41 -07:00
sqian
39866c92ff
Refactor radio folder for 1.0 and 1.1
...
Remove unused environment variable.
Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
Merged-In: Iff7919980d7bbe0e9f8a73a3679d37426faec679
2017-10-11 15:10:14 -07:00
Tri Vo
7314d858bf
Change tmp dir to /data/system/users/0/fpdata/.
...
FP hal service can now access test tmp files without selinux denials.
Bug: 67665189
Test: VtsHalBiometricsFingerprintV2_1Target
Change-Id: Ie0a46513524c27bdb7bb42b08eabb57e943b26c6
2017-10-11 14:59:28 -07:00
Steven Moreland
82f4fee932
libhwminijail from hardware/interfaces to libhidl.
...
am: dbdd881240
Change-Id: I0d911cf7ad0cfccac26c13423a447328aa5ac626
2017-10-11 20:20:22 +00:00
Steven Moreland
dbdd881240
libhwminijail from hardware/interfaces to libhidl.
...
This library is not a hardware interface, so it doesn't
belong directly in hardware/interfaces. Moving it to
libhidl because it is intended to be a helper library for
hal implementations that want to use minijail/seccomp.
Test: pass
Change-Id: I3f9503f491788492c6692d6584eb088e47862c7a
2017-10-11 11:18:41 -07:00
Steven Moreland
0fff75dee1
Update for Soong java makefiles.
...
am: c3e80fa01e
Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e
Update for Soong java makefiles.
...
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Peng Xu
6d1326ed8a
Merge "Replace sys_nice capability with rlimit rtprio"
...
am: b74728a92e
Change-Id: I6d9146fc90975ec116862cb43a6654786c429503
2017-10-06 20:19:30 +00:00
Peng Xu
b74728a92e
Merge "Replace sys_nice capability with rlimit rtprio"
2017-10-06 20:13:35 +00:00
Yifan Hong
a8ed405b9d
Merge changes from topic "health2-hal"
...
am: 116fb89f70
Change-Id: Iaf211b338d946619ec6a5daecd02ee85a4648589
2017-10-06 05:09:23 +00:00
Yifan Hong
116fb89f70
Merge changes from topic "health2-hal"
...
* changes:
Revert "health@2.0: Add vts tests."
Revert "health@2.0 vts: Add missing include"
2017-10-06 04:56:22 +00:00
Yifan Hong
7a78954607
Revert "health@2.0: Add vts tests."
...
This reverts commit bb4d60f0ad
.
Reason for revert: break stage aosp master
Change-Id: Ib8678217d34c37d6fff1cc174de3a96295bdeb5f
2017-10-06 04:55:15 +00:00
Yifan Hong
090168ef72
Revert "health@2.0 vts: Add missing include"
...
This reverts commit b02df7b9e1
.
Reason for revert: break stage aosp master
Change-Id: I9c75e24ce2cf9b392bbe4e91446fdc3927e3f5b7
2017-10-06 04:54:41 +00:00
Iris Chang
b87becf1c2
Merge "VTS: fix VtsHalKeymasterV3_0Target issue"
...
am: 1912c73a7f
Change-Id: I781812c77d96a0a7beb832298df8d537ce1d55da
2017-10-06 01:49:29 +00:00
Treehugger Robot
1912c73a7f
Merge "VTS: fix VtsHalKeymasterV3_0Target issue"
2017-10-06 01:43:54 +00:00
Yifan Hong
268858d8a9
health@2.0 vts: Add missing include
...
am: b02df7b9e1
Change-Id: I5960b19d3e4270589d7980e575029ba89608d7ec
2017-10-06 01:25:09 +00:00
Iris Chang
54ca32a130
VTS: fix VtsHalKeymasterV3_0Target issue
...
Failed cases:
AttestationTest.RsaAttestation
AttestationTest.EcAttestation
Analysis:
The verify_attestation_record() in Keymaster_hidl_hal_test.cpp calls
parse_attestation_record() to set the value of att_challenge. It fails
to compare att_challenge with challenge by memcmp.
Because setToExternal() method uses buffer pointer to local variable
(record), not use memcpy to copy into itself buffer in
parse_attestation_record(). When it leaves the parse_attestation_record(),
we will get the att_challenge which is null buffer to compare with challenge
incorrectly.
Fix: use memcpy to copy the buffer.
Bug: 65039571
Test: build passed. VtsHalKeymasterV3_0Target -> PASSED: 106, FAILED: 0.
Change-Id: I700a9242cc9a5f4cb196b62860823601e4088531
2017-10-06 00:45:42 +00:00
Yifan Hong
8cc496c80c
health@2.0/vts: add OWNERS
...
am: 8ce66bbbfe
Change-Id: Ia75f7d3ea415276c02d34b2b5f4b09bacbe3078b
2017-10-06 00:42:56 +00:00
Yifan Hong
b02df7b9e1
health@2.0 vts: Add missing include
...
Test: pass
Change-Id: Ibdf7287676653b5f76a42f6aab618e0d7fa4008e
2017-10-05 17:42:20 -07:00
Yifan Hong
8ce66bbbfe
health@2.0/vts: add OWNERS
...
Test: pass
Change-Id: I75ef90b782d9b5429f7928ffbc59650277bea92a
2017-10-06 00:39:38 +00:00
Peng Xu
db1ad9a8a9
Replace sys_nice capability with rlimit rtprio
...
rlimit rtprio is more specific and thus preferred.
Test: HubConnection thread get rtprio in sailfish
Bug: 37291237
Change-Id: I3c7a06cb2964dc3ccb4c3f6fcb4eb33561296af1
2017-10-05 15:03:56 -07:00
Steven Moreland
f27cfa15d7
Merge "Remove useless Android.mk files."
...
am: 75d5cf515a
Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
2017-10-05 21:44:26 +00:00
Yifan Hong
ced1d7a012
Merge "health@2.0: Add vts tests."
...
am: ac01ed1ae4
Change-Id: I60051c64808516cf87bf7f0b93134d577f20076d
2017-10-05 21:42:11 +00:00
Treehugger Robot
75d5cf515a
Merge "Remove useless Android.mk files."
2017-10-05 21:40:27 +00:00
Treehugger Robot
ac01ed1ae4
Merge "health@2.0: Add vts tests."
2017-10-05 21:35:20 +00:00
Yifan Hong
bb4d60f0ad
health@2.0: Add vts tests.
...
Test: compiles
Test: VtsHalHealthV2_0TargetTest \
--hal_service_instance=android.hardware.health@2.0::IHealth/backup
Bug: 62229583
Change-Id: I79150e1298ceddedea0825c591938cd194eeadb5
2017-10-05 12:34:03 -07:00
Steven Moreland
f7e0bafa04
Merge "Test extension -> Android.bp"
...
am: d35806414c
Change-Id: I939d2d836ebc530e2805f4c85bb05c00d54dbc5b
2017-10-05 19:14:19 +00:00
Treehugger Robot
d35806414c
Merge "Test extension -> Android.bp"
2017-10-05 19:10:42 +00:00
Steven Moreland
de00740271
Merge "Convert usb service .mk -> .bp."
...
am: 16b3e062ce
Change-Id: Ic8011399e470a1c62156c656a0ea1987ed999382
2017-10-05 17:38:27 +00:00
Treehugger Robot
16b3e062ce
Merge "Convert usb service .mk -> .bp."
2017-10-05 17:33:49 +00:00
Steven Moreland
08853ff3ae
Merge "Vibrator service -> .bp"
...
am: 3a8a6f9147
Change-Id: I9369f18c88d8f64b5dfea28245bf102e647db31f
2017-10-05 16:04:02 +00:00
Treehugger Robot
3a8a6f9147
Merge "Vibrator service -> .bp"
2017-10-05 15:59:25 +00:00
Steven Moreland
e9ed55ffc6
Merge "Remove Android.bp subdirs loop."
...
am: a8c16c91cc
Change-Id: I74cd620dee37f7f65b0cef29a38b725afdcaf20e
2017-10-05 07:47:03 +00:00
Treehugger Robot
a8c16c91cc
Merge "Remove Android.bp subdirs loop."
2017-10-05 07:38:52 +00:00
Steven Moreland
066a9bdda1
Test extension -> Android.bp
...
Test: mma
Bug: 33420795
Change-Id: Ida23369c5bffb44cb20fef1127fae68b92167459
2017-10-04 16:13:49 -07:00
Steven Moreland
fb6868208b
Vibrator service -> .bp
...
Test: none
Bug: 33420795
Change-Id: I420f7489a785cd9b41865674a176b478ff5437e8
2017-10-04 16:08:30 -07:00
Steven Moreland
cb7fc21f1a
Convert usb service .mk -> .bp.
...
Test: none
Bug: 33420795
Change-Id: I4b489a08d850b7c49231e0daadcb9d96e57a7e55
2017-10-04 16:02:59 -07:00
Steven Moreland
4b60470f1a
Remove useless Android.mk files.
...
These have been c/p'd all over the place.
Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00
Steven Moreland
d15ef6d7b4
Remove Android.bp subdirs loop.
...
Test: m -j nothing
Change-Id: Ic40edd1986fd40be4bf752ecbe925e6539d0df32
2017-10-04 15:47:30 -07:00
Steven Moreland
861651985f
Merge "Update for hidl adapter module defaults."
...
am: 988c977079
Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Treehugger Robot
988c977079
Merge "Update for hidl adapter module defaults."
2017-10-04 21:36:25 +00:00
Chih-hung Hsieh
3ed04cd35d
Merge "Use -Werror in hardware/interfaces"
...
am: 85bb01dd6b
Change-Id: I9169eb99a256f3a1db9e6f82e11fd96228d9558a
2017-10-04 20:40:30 +00:00
Chih-hung Hsieh
85bb01dd6b
Merge "Use -Werror in hardware/interfaces"
2017-10-04 20:18:52 +00:00
Steven Moreland
527fd76a0e
Update for hidl adapter module defaults.
...
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Chih-Hung Hsieh
3da5b01946
Use -Werror in hardware/interfaces
...
* Remove unused local variables.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
2017-10-04 11:16:31 -07:00
Yifan Hong
4aceac6a8d
Merge "Add android.hardware.health@2.0 HAL"
...
am: b020127017
Change-Id: I0249412748434b22c1bbbd93a0d170d7e4c0a3e1
2017-10-04 18:02:40 +00:00
Yifan Hong
b020127017
Merge "Add android.hardware.health@2.0 HAL"
2017-10-04 17:24:44 +00:00
Yifan Hong
e889fec6ce
Add android.hardware.health@2.0 HAL
...
Test: mma
Bug: 62229583
Change-Id: Icc5159424cf2623588a2f2acc7db5ff5bd7eeae8
2017-10-03 18:10:33 -07:00
Steven Moreland
7a5c1b6fda
Merge "Update inheritance test implementation."
...
am: 31fba8cd40
Change-Id: I57935d1a08f1976d2301eee692ed823fb81bfcf4
2017-10-03 22:15:02 +00:00