Commit graph

3732 commits

Author SHA1 Message Date
Andre Eisenbach
af5b837f6f Revert "Bluetooth: Don't disable LPM at power off" am: 8a9efb6e35 am: 4bae5b7775
am: 7218e04356

Change-Id: Iaf2dbc49d4741c4cf37a51601c0b21b3bd7a81a1
2017-03-17 20:45:34 +00:00
Andre Eisenbach
7218e04356 Revert "Bluetooth: Don't disable LPM at power off" am: 8a9efb6e35
am: 4bae5b7775

Change-Id: Ic1f2c365234f29b9b30b899055759057aba38ec8
2017-03-17 20:42:11 +00:00
Andre Eisenbach
4bae5b7775 Revert "Bluetooth: Don't disable LPM at power off"
am: 8a9efb6e35

Change-Id: I2016ba4ec58a6151395d60073370636f7f2efd6a
2017-03-17 20:38:29 +00:00
Eino-Ville Talvala
b439b10d60 camera.provider@2.4: Legacy wrapper: Run with more threads.
Each concurrent camera device in use needs 1 thread to maintain
operational semantics, plus we probably need threads for sensor service
calls, misc camera service calls, etc.

Up thread count to 6. That should be enough for everybody.

Test: Camera still works on sailfish
Change-Id: I2262c69985756fbf762034663ce24f45bf7ce2f1
2017-03-17 13:37:01 -07:00
Andre Eisenbach
8a9efb6e35 Revert "Bluetooth: Don't disable LPM at power off"
Causes power regression on Angler.

This reverts commit 3b2a29676b.

Bug: 36358814
Bug: 36026072
Change-Id: I9bbe218a87c7d092851c400739bc5740bcf13336
2017-03-17 20:32:58 +00:00
Sanket Padawe
28fc10fba9 Add VTS test for misc RIL apis.
Bug: 32022332
Test: vts
Change-Id: Ic898cc536bd13dfa1443fd3a70aa1b4b21c9d108
2017-03-17 11:42:20 -07:00
Peng Xu
20c7ece356 Avoid calling non-exist set_mode hal function
Add gating condition before calling the hal function pointers for
set_mode and inject_sensor_data.

Bug: 36073404
Test: compiles
Change-Id: I9c194c1a286fb64304b4329f43c3de2a3d6ae939
2017-03-17 11:05:49 -07:00
Andre Eisenbach
9f8931cf47 Bluetooth: Do not die quietly on binder death
Log if the Bluetooth service has died.
Also check the return status for Bluetooth service binder callbacks to
avoid DEAD_OBJECT exception when com.android.bluetooth crashes.

Bug: 36026072
Test: unit tests; Bluetooth off/on/off; kill -6 com.android.bluetooth
Change-Id: Ia28e6777ee7b78f06db8d5214324e696441d00f7
2017-03-17 10:50:35 -07:00
Shuo Qian
8d35ec3009 Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis." am: 7a3bce0b7f am: 8dffcb06c9
am: 92bd1bf43b

Change-Id: If6aa28a7d2644aaa8efcf9ab58f484acfbb781ac
2017-03-17 17:12:50 +00:00
Shuo Qian
92bd1bf43b Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis." am: 7a3bce0b7f
am: 8dffcb06c9

Change-Id: I78a37657f2f4d4b51031de156f6c739dadd1aafc
2017-03-17 17:08:24 +00:00
Shuo Qian
8dffcb06c9 Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis."
am: 7a3bce0b7f

Change-Id: I1e0d5d5ef7678e7bd5ec5b7743fe34b4324bff12
2017-03-17 17:04:54 +00:00
Shuo Qian
7a3bce0b7f Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis." 2017-03-17 17:01:54 +00:00
Fabien Sanglard
bf4da3df5e Create hasSyncFramework property for SF
Change-Id: I15ef44cd5f901c339902672366d68d1815c3668e
2017-03-17 09:52:12 -07:00
Roshan Pius
9928f3b29a supplicant(interface): Add support for disabling auto connect am: 39c2609065 am: a164e1398f
am: b6edb32ab0

Change-Id: I952add050d333e601fd6ff0a8dc838e51c7d0cd3
2017-03-17 16:41:29 +00:00
Roshan Pius
b6edb32ab0 supplicant(interface): Add support for disabling auto connect am: 39c2609065
am: a164e1398f

Change-Id: I3f24ed64b2c0141d88dfdd86c88026a40d974c5a
2017-03-17 16:35:41 +00:00
Roshan Pius
a164e1398f supplicant(interface): Add support for disabling auto connect
am: 39c2609065

Change-Id: Id0c634ea70952d9bdc1c1de3f1ec3e4c502a7121
2017-03-17 16:31:34 +00:00
TreeHugger Robot
ec72ff974b Merge "Remove unused using statements." 2017-03-17 07:14:14 +00:00
Steven Moreland
09287fdd13 Remove unused using statements.
Bug: 36099713
Test: pass
Change-Id: Ied915bec14dae3234d6b47ced28af95d7d1d178f
2017-03-16 22:48:59 -07:00
Jayachandran C
a03c0c692e Add new precise call fail causes and OEM causes
Bug: 35609963
Change-Id: I235269ee0c224f9b2c9afb9d96dec08bc7594b53
2017-03-17 03:56:27 +00:00
TreeHugger Robot
cc6419e1d1 Merge "Add maxVirtualDisplaySize to configStore" 2017-03-17 01:57:25 +00:00
TreeHugger Robot
e8c4983bc7 Merge "Check registerPassthroughServiceImplementation return status" 2017-03-17 01:39:25 +00:00
TreeHugger Robot
03a1349f92 Merge "IBiometricsFingerprint uses "default" service name" 2017-03-17 01:19:52 +00:00
Kevin Rocard
9657c056de Merge changes Ie3e9e23c,I5e13eb47
* changes:
  Audio HAL VTS: Add test for IStreamOut
  Audio HAL VTS: Avoid copying Return in helper
2017-03-17 01:14:57 +00:00
TreeHugger Robot
4e07c744c9 Merge "Camera: Update HAL interface doc for high speed video batching" 2017-03-17 00:32:55 +00:00
Fabien Sanglard
a33c7e496a Add maxVirtualDisplaySize to configStore
Change-Id: I2c97995edda77b0044d3eaf394080bf7be6c0d77
2017-03-16 17:19:02 -07:00
Mikhail Naganov
049331f6f7 Merge "audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX" 2017-03-16 23:57:14 +00:00
Roshan Pius
39c2609065 supplicant(interface): Add support for disabling auto connect
Adding a new API to prevent wpa_supplicant from initiating auto
reconnects.

Bug: 36282386
Test: Compiles & manual tests.
Change-Id: I81d7b1a3677cb26c6e9dc35b7302cc6b00d9a6a2
2017-03-16 16:48:57 -07:00
Michael Butler
c6216835c8 Merge "RenderScript VTS implementation" am: eb8d93e4b2 am: 58e653f54b
am: 95cabfe7c5

Change-Id: Ida08f3ad52df03d2b0c0006cef77cd492e78f156
2017-03-16 23:26:38 +00:00
TreeHugger Robot
cf534d55cf Merge "Create forceHwcCopyForVirtualDisplay in configStore" 2017-03-16 23:22:02 +00:00
Michael Butler
95cabfe7c5 Merge "RenderScript VTS implementation" am: eb8d93e4b2
am: 58e653f54b

Change-Id: Ib0b620ba125a795b58c0318fca33be51e46300ac
2017-03-16 23:21:32 +00:00
Michael Butler
58e653f54b Merge "RenderScript VTS implementation"
am: eb8d93e4b2

Change-Id: I47b5c3b014dd13a50c147766e839e82dce650a10
2017-03-16 23:20:12 +00:00
Yifan Hong
0e52252509 IUsb uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: pass

Bug: 33844934
Change-Id: Ic04a7570c090d9d0a83bac1ec3f6d5ffe19e8923
2017-03-16 16:14:16 -07:00
Treehugger Robot
eb8d93e4b2 Merge "RenderScript VTS implementation" 2017-03-16 23:11:36 +00:00
Kevin Rocard
624800c073 Audio HAL VTS: Add test for IStreamOut
Some test are only negative.

Test: run test on board

Bug: 34170075
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-03-16 16:00:08 -07:00
Kevin Rocard
24db65c0ec Audio HAL VTS: Avoid copying Return in helper
Return are movable only, thus the fact that assertResult took a copy of
the value meant that the callee had to provide an rvalue.

This was not needed as the Result was not modified. Change it to a const
reference.

Test: run test on board

Bug: 34170075
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-03-16 16:00:02 -07:00
Roshan Pius
741fd9e7ab supplicant(interface): List out all status/reason codes am: d23068fac6 am: 698e1e8769
am: e54150fc2c

Change-Id: Ice7dddf86cd67daba69e51b808674bb84779cab2
2017-03-16 22:51:12 +00:00
Roshan Pius
e54150fc2c supplicant(interface): List out all status/reason codes am: d23068fac6
am: 698e1e8769

Change-Id: I99fa820c08645fe4832e8f9628fd87aab81b0328
2017-03-16 22:48:42 +00:00
Roshan Pius
698e1e8769 supplicant(interface): List out all status/reason codes
am: d23068fac6

Change-Id: I9a435da9ed4adcceda8c80c4c53e9230d49d0ab0
2017-03-16 22:47:11 +00:00
Yifan Hong
4681ab8b21 IBiometricsFingerprint uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: fingerprint works

Bug: 33844934
Change-Id: I6383c43b4b05469cb986e4f10129a0921f401464
2017-03-16 15:39:08 -07:00
Michael Butler
2d4d6d97c1 RenderScript VTS implementation
Contains the gtest for the vts-hidl-hal test. The goal is to have
1 test case for each HIDL HAL entry by 3/15/17. There are still a few
tests with bugs, so they have been commented out and will be fixed by
3/17/17.

Bug: 34396220
Bug: 35915961

Test: mm and run on angler
Change-Id: I20462432a42e3aa307b98e728f30f20f5aa1e921
2017-03-16 14:24:14 -07:00
Roshan Pius
d23068fac6 supplicant(interface): List out all status/reason codes
List out all the association/disconnect reason codes exposed in the
IEEE80211 spec.

Bug:36363830
Test: Compiles
Change-Id: I27168bfb67fbc658339bc5fc9310ffdc9aec5ec6
2017-03-16 20:43:36 +00:00
Fabien Sanglard
38295e77b8 Create forceHwcCopyForVirtualDisplay in configStore
Change-Id: I69ff735a0263cb19d8208867943329357be49d4a
2017-03-16 12:21:10 -07:00
Pavel Maltsev
caae0cc641 Merge changes I1610beb9,Ibcf607d0
* changes:
  Fix typo CELCIUS -> CELSIUS in Vehicle HAL
  Fix config map in default Vehicle HAL impl
2017-03-16 18:24:36 +00:00
Edwin Wong
c7170174d4 Check registerPassthroughServiceImplementation return status
Should abort program if registerPassthroughServiceImplementation returns
something other than OK.

Test: Play Movies & TV in non-binderized mode.

bug: 34640335
Change-Id: I94be98e7ae66cdb777a7d182123c8692aef915b7
2017-03-16 09:43:29 -07:00
TreeHugger Robot
0e5e908e69 Merge "Camera: Provider: Set up vendor tag before getDeviceVersion" 2017-03-16 15:26:38 +00:00
Jeff Tinker
3f56358218 Merge "Fix CTS post submit failures" 2017-03-16 06:56:09 +00:00
Keun Soo Yim
935cb15681 Merge "Fix issues in sensor target test" 2017-03-16 05:12:42 +00:00
TreeHugger Robot
38d90c2d07 Merge "Fix HvacPowerOn vehicle property" 2017-03-16 02:03:52 +00:00
Shuzhen Wang
efb7bfa993 Camera: Provider: Set up vendor tag before getDeviceVersion
getDeviceVersion calls get_camera_info, which could contain vendor tags.
As a result, we need to set up vendor tag before that.

Test: Verify vendor tag in static metadata works.
Bug: 33641150
Change-Id: Id4cfea52235542b19170a757b4c6bea3ad1d190d
2017-03-15 18:35:42 -07:00
Peng Xu
1655a640fb Fix issues in sensor target test
* Less suceptible to lingering sensor activation before system
    restarts.
  * Covers injectSensorEvent and setOperationMode API
  * More test cases to test various operation conditions.

Bug: 32022776
Bug: 33618936
Test:  vts-tradefed run commandAndExit vts --module VtsHalSensorsV1_0Target

Change-Id: I75f585a373880e831f511784a856d322077c07c0
2017-03-15 18:29:00 -07:00