Commit Graph

15515 Commits

Author SHA1 Message Date
Android Build Merger (Role)
9ed2b815f3 Merge "Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev am: 130fad824b am: 4acdd6621d" into qt-r1-dev-plus-aosp 2019-06-22 06:18:05 +00:00
Kai Wang
bb2c5df659 Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev am: 130fad824b
am: 8ebd752b55

Change-Id: Ie1d9fcf2bb7a86a7422a6583dff87f02307af7fb
2019-06-21 23:17:36 -07:00
Kai Wang
3b3d6f896b Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev am: 130fad824b
am: 4acdd6621d

Change-Id: I345e6b7cce88e877ac65f044e1765f356f514e68
2019-06-21 23:17:36 -07:00
Kai Wang
4acdd6621d Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev
am: 130fad824b

Change-Id: I70a2eeb5effd71b3d17b83ea15fd1f36388468bf
2019-06-21 23:10:37 -07:00
Kai Wang
8ebd752b55 Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev
am: 130fad824b

Change-Id: I84f93ff1a865c48543453a72323fe8742287637a
2019-06-21 23:10:36 -07:00
Kai Wang
130fad824b Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev 2019-06-22 05:57:33 +00:00
Kai
42a26244ad Add Speed_Display_Units property in DefaultHal
Update properties for DefaultHal and it is also be a code
sample for adding new properties.

Bug: 134988550
Test: flash it and verify property by kitchenSink
Change-Id: Iedf3ea5b288acfe95b3c676d90660435b34ed367
2019-06-22 01:52:02 +00:00
Android Build Merger (Role)
e8b264f698 Merge "Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev am: d93c9f0c2d am: 27bca34020" into qt-r1-dev-plus-aosp 2019-06-21 22:29:27 +00:00
Valerie Hau
1c2ad2b54c Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev am: d93c9f0c2d
am: 27bca34020

Change-Id: I1e8f38a8a15956c85b000d89645ff80cfdf125b8
2019-06-21 15:29:18 -07:00
Valerie Hau
9c2e7c1cd2 Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev am: d93c9f0c2d
am: 5cb7cc40a7

Change-Id: Icee6b0fb3599a6c32d039daa0d18deb719db443e
2019-06-21 15:29:04 -07:00
Valerie Hau
5cb7cc40a7 Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev
am: d93c9f0c2d

Change-Id: I3bda1337b6c3fdea3c555f3887aa9a88dc04620c
2019-06-21 15:20:16 -07:00
Valerie Hau
27bca34020 Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev
am: d93c9f0c2d

Change-Id: Ie0ba40a5f083994df070fbaed0b637e2433918ee
2019-06-21 15:20:13 -07:00
Valerie Hau
d93c9f0c2d Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev 2019-06-21 22:09:02 +00:00
Android Build Merger (Role)
2199bc65c2 Merge "Merge "Updated a method name in VmsUtils." into qt-dev am: 1f968cd87c am: b6133d2442" into qt-r1-dev-plus-aosp 2019-06-21 20:38:13 +00:00
Prachi Hande
4c595f1dca Merge "Updated a method name in VmsUtils." into qt-dev am: 1f968cd87c
am: a5bd3ffd11

Change-Id: I551646369dfd9f3352b1e32a17bae314274e7192
2019-06-21 13:38:00 -07:00
Prachi Hande
5cbb824a02 Merge "Updated a method name in VmsUtils." into qt-dev am: 1f968cd87c
am: b6133d2442

Change-Id: Ia41ed62ea63e5024df8307907321c06bcf91443d
2019-06-21 13:38:00 -07:00
Prachi Hande
a5bd3ffd11 Merge "Updated a method name in VmsUtils." into qt-dev
am: 1f968cd87c

Change-Id: Iaf6cfb281fbdfb786a96ced641017a20da9cd4be
2019-06-21 13:33:58 -07:00
Prachi Hande
b6133d2442 Merge "Updated a method name in VmsUtils." into qt-dev
am: 1f968cd87c

Change-Id: Ie2f11d25d51bf5229c7c93c35994753b93c68878
2019-06-21 13:33:58 -07:00
Prachi Hande
1f968cd87c Merge "Updated a method name in VmsUtils." into qt-dev 2019-06-21 20:19:09 +00:00
David Gross
653714d3bb Merge "Improve documentation related to execution." am: b575cedd74 am: 3059c66d53
am: 9c59f1d42b

Change-Id: I0b41da17c32543566088f2c0f412f30040af1741
2019-06-21 12:23:30 -07:00
David Gross
9c59f1d42b Merge "Improve documentation related to execution." am: b575cedd74
am: 3059c66d53

Change-Id: Ie1b4244f9267a96df67f8f64c42b91f3b455f416
2019-06-21 12:11:13 -07:00
David Gross
3059c66d53 Merge "Improve documentation related to execution."
am: b575cedd74

Change-Id: I2a004aae058fc71f95675a9f5e93ece3b206ba5d
2019-06-21 12:07:18 -07:00
David Gross
b575cedd74 Merge "Improve documentation related to execution." 2019-06-21 18:40:03 +00:00
David Gross
f406bf9b1e Improve documentation related to execution.
Bug: 121347610 document that NNAPI Execution inputs/outputs and HAL Request inputs/outputs must not be modified

Test: cd hardware/interfaces/neuralnetworks/1.0/vts/functional ; mma
Test: cd hardware/interfaces/neuralnetworks/1.2/vts/functional ; mma

Change-Id: Iac71d6d5ad92a90afd1b6babb7cfa128d7484c64
2019-06-21 11:28:19 -07:00
Valerie Hau
bf967c9bdb Wait until old ComposerClient is fully destroyed before recreating
Possible race condition where EventCallbacks are registered before
old implementation deregisters on destruction.  Stems from fact that
strong pointer destruction does not mean the object has completely run
its destructor method

Bug: 135210708
Test: build, boot, VtsHalGraphicsComposerV2_1TargetTest
Change-Id: I0851f1197d8341854f5bdac5fbb08553fc32b710
2019-06-21 11:10:17 -07:00
Hsin-Yi Chen
d9a7c25e7a Merge "Move main function out of namespace" into qt-dev am: 5927a9b1f1
am: 14a53832d4

Change-Id: I40702850eeeaa137b8a60a40022be191081e4a0e
2019-06-20 20:48:32 -07:00
Hsin-Yi Chen
f302082537 Merge "Move main function out of namespace" into qt-dev am: 5927a9b1f1
am: fe2c7172e4

Change-Id: I04f7fdb0130e7e4f121f8990afe9ab0988db43f7
2019-06-20 20:35:46 -07:00
Hsin-Yi Chen
14a53832d4 Merge "Move main function out of namespace" into qt-dev
am: 5927a9b1f1

Change-Id: I154b181595aa1bd08bacf5ea12b18d28143d4d0e
2019-06-20 20:35:26 -07:00
Hsin-Yi Chen
fe2c7172e4 Merge "Move main function out of namespace" into qt-dev
am: 5927a9b1f1

Change-Id: Ifb4364db7813402204cb666ae53acab76072ec16
2019-06-20 20:21:21 -07:00
Hsin-Yi Chen
5927a9b1f1 Merge "Move main function out of namespace" into qt-dev 2019-06-21 01:58:43 +00:00
Brian Duddie
b828e7bc48 Avoid NPD when re-initializing HAL fails
am: bd109b9374

Change-Id: Ibe5e262b89dc2f9645ee44bc084265164cd57827
2019-06-20 18:05:25 -07:00
Brian Duddie
62a0c5bae9 Fix NPD in GrallocWrapper
am: ccbcaaee45

Change-Id: Id9cc57ee5f9bfbabb64285671a23b6b9dbfc7b69
2019-06-20 18:05:22 -07:00
Brian Duddie
06ef2015ee Fix log tag for sensors VTS tests
am: 56d64faff7

Change-Id: I5e2c3e8aca8133fde1d26c0615b9245d54a76f43
2019-06-20 18:05:18 -07:00
Josh Gao
8ee6087280 [automerger skipped] Merge "Fix leaks in wifi_chip.cpp." am: 102e02fbae am: ef27427cd3 -s ours
am: e0eaa60ab7 -s ours
am skip reason: change_id I827d3a414761bb836d5360221296823fcb34cd6b with SHA1 a568e530b6 is in history

Change-Id: I6aab2dc84484be35f3769fa075c0a1e1e2da9511
2019-06-20 16:52:31 -07:00
Josh Gao
e0eaa60ab7 [automerger skipped] Merge "Fix leaks in wifi_chip.cpp." am: 102e02fbae
am: ef27427cd3 -s ours
am skip reason: change_id I827d3a414761bb836d5360221296823fcb34cd6b with SHA1 a568e530b6 is in history

Change-Id: I111632930ee85e7d7c991872369e7227cf7c0fb0
2019-06-20 16:16:54 -07:00
Josh Gao
ef27427cd3 Merge "Fix leaks in wifi_chip.cpp."
am: 102e02fbae

Change-Id: Ie3d7dbc33e9c7bf9ff348862d1aa258aed183ab1
2019-06-20 15:44:35 -07:00
Valerie Hau
7fe30b5a9d [automerger skipped] Merge "Adding support for different Mapper versions in IComposer VTS tests" into qt-dev am: 29594d2d02
am: fd04649895 -s ours
am skip reason: change_id I05e2832c64d4c06eb4afd64c3323d7edbd19a5f4 with SHA1 dca469c180 is in history

Change-Id: Ida242a24984a5560b2530c0d9258578b08fe1992
2019-06-20 14:55:10 -07:00
Treehugger Robot
102e02fbae Merge "Fix leaks in wifi_chip.cpp." 2019-06-20 21:06:20 +00:00
Slava Shklyaev
9148ddf3e9 Ensure that drivers return an error if STRIDED_SLICE parameters are invalid am: 95a5978983 am: 87dff647e1
am: a29dd23938

Change-Id: I0fee3a90355e97f3387290453c8a45fbb6abc8f1
2019-06-20 14:06:09 -07:00
Slava Shklyaev
a29dd23938 Ensure that drivers return an error if STRIDED_SLICE parameters are invalid am: 95a5978983
am: 87dff647e1

Change-Id: I92774e7aeff1376e354d6624d60e1add21810d33
2019-06-20 13:59:21 -07:00
Valerie Hau
badb212836 Merge "Adding support for different Mapper versions in IComposer VTS tests" into qt-dev am: 29594d2d02
am: 624ce4b638

Change-Id: Ic3f35cf18de427751dd5180467579c85b70ac5a5
2019-06-20 13:49:21 -07:00
Brian Duddie
bd109b9374 Avoid NPD when re-initializing HAL fails
If the sensors HAL crashes or errors out during a test where we manually
re-run the environment setup function (e.g.
CleanupConnectionsOnInitialize), the pointer to the interface will
become null. Avoid dereferencing it by checking for nullness in the
per-test setup function and after each manual setup call. Also add a
death recipient to help identify instances where the HAL crashes during
a test.

Bug: 135638664
Test: run VTS on device where HAL crashes during above mentioned test
Change-Id: Iff7aa159c6b859272cfd18e7efb3ca431ea214fc
2019-06-20 13:36:43 -07:00
Brian Duddie
ccbcaaee45 Fix NPD in GrallocWrapper
Avoid dereferencing null if mapper service is not available.

Bug: 135638664
Test: run VtsHalSensorsV2_0TargetTest
Change-Id: I3cf2a9f152d8f1737cb5a94356e252d54156c716
2019-06-20 13:36:43 -07:00
Brian Duddie
56d64faff7 Fix log tag for sensors VTS tests
Define log tag at build level to ensure all libraries have a tag
defined.

Bug: 135638664
Test: run VtsHalSensorsV2_0TargetTest
Change-Id: I593055b59238e9fa8dead00a3dafa84c00e90ec4
2019-06-20 13:36:43 -07:00
Slava Shklyaev
87dff647e1 Ensure that drivers return an error if STRIDED_SLICE parameters are invalid
am: 95a5978983

Change-Id: I9c528e804b281d1b519954522f252fdb106b49f0
2019-06-20 13:21:28 -07:00
Valerie Hau
624ce4b638 Merge "Adding support for different Mapper versions in IComposer VTS tests" into qt-dev
am: 29594d2d02

Change-Id: Icd7b79a0a737c2b90a79a140168c15eaf3f50457
2019-06-20 13:14:35 -07:00
Valerie Hau
fd04649895 Merge "Adding support for different Mapper versions in IComposer VTS tests" into qt-dev
am: 29594d2d02

Change-Id: I1c52edfee963a404e29e2d2ace60771609c8541a
2019-06-20 13:13:56 -07:00
Josh Gao
a20a499819 Fix leaks in wifi_chip.cpp.
Use closedir on DIR*, instead of close(dirfd(DIR*)).

Bug: http://b/109702699
Test: mma
Change-Id: I827d3a414761bb836d5360221296823fcb34cd6b
Merged-In: I827d3a414761bb836d5360221296823fcb34cd6b
2019-06-20 12:49:14 -07:00
Valerie Hau
29594d2d02 Merge "Adding support for different Mapper versions in IComposer VTS tests" into qt-dev 2019-06-20 16:03:05 +00:00
Android Build Merger (Role)
f83d597331 Merge "Merge "VTS: stop network scan once trigger network scan success" into qt-dev am: 6a660a6d7b am: 094d43cf68" into qt-r1-dev-plus-aosp 2019-06-20 06:56:08 +00:00