Commit Graph

1660 Commits

Author SHA1 Message Date
Hridya Valsaraju
35b5786cd7 Merge "Move FMQ tests to hardware/interfaces"
am: 96b3cce92c

Change-Id: I951fc763614f1f39a622c864d1a999c4a584fced
2017-03-08 00:07:25 +00:00
Treehugger Robot
96b3cce92c Merge "Move FMQ tests to hardware/interfaces" 2017-03-08 00:01:29 +00:00
Myles Watson
14d63bfc76 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am: 1143a3fec6

Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154
2017-03-07 17:32:23 +00:00
Treehugger Robot
1143a3fec6 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" 2017-03-07 17:30:03 +00:00
Roshan Pius
d1d0f1c24e Merge "wifi(implementation): Allow wifi hal to access gps"
am: fd3f9ea031

Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b
2017-03-07 17:29:18 +00:00
Roshan Pius
fd3f9ea031 Merge "wifi(implementation): Allow wifi hal to access gps" 2017-03-07 17:24:32 +00:00
Ruchi Kandoi
8c3a44084c Merge "Add Test cases to Nfc VTS"
am: eed21780a1

Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042
2017-03-07 17:09:58 +00:00
Ruchi Kandoi
eed21780a1 Merge "Add Test cases to Nfc VTS" 2017-03-07 17:05:39 +00:00
Hridya Valsaraju
8a7086296c Move FMQ tests to hardware/interfaces
Test: FMQ unit tests pass
Bug: 32284445

Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
2017-03-07 09:02:23 -08:00
Jack Yu
243047c574 Merge "Removed the deprecated screen state API"
am: c438414190

Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973
2017-03-07 02:43:33 +00:00
Roshan Pius
814b765a09 wifi(implementation): Allow wifi hal to access gps
Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.

Denials:
03-03 16:56:03.845   623  6924 I QCALOG  : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845   623  6924 E QCALOG  : [MessageQ_Client] connect
error: 13, [Permission denied]

Bug: 35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1
2017-03-06 17:18:48 -08:00
Ruchi Kandoi
3d7c5f974c Add Test cases to Nfc VTS
- Call close() after close()
- Call open() after open()
- Call powerCycle() after close()
- Call preDiscover() after close()
- Call controlGranted() after close()
- Call coreInitialized() with different data

Test: VTS test passes
Bug: 32024301
Change-Id: I7cd986887ccbf2774d5eace9c975a9a55ee46364
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-06 17:03:08 -08:00
Jack Yu
c438414190 Merge "Removed the deprecated screen state API" 2017-03-07 00:30:11 +00:00
Hridya Valsaraju
ca72971fea Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am: 38f2a8495f

Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347
2017-03-07 00:22:04 +00:00
Hridya Valsaraju
38f2a8495f Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" 2017-03-06 21:21:17 +00:00
Etan Cohen
8d875546a3 Merge "[AWARE] VTS baseline"
am: 89145d5849

Change-Id: If4b0b17e1c5867835ec412f7e063f45c52bc4e97
2017-03-06 16:50:56 +00:00
Etan Cohen
89145d5849 Merge "[AWARE] VTS baseline" 2017-03-06 16:46:59 +00:00
Myles Watson
f3a3cb7a60 Bluetooth: Watch multiple FDs with AsyncFdWatcher
Test: AsyncFdWatcherSocketTest.WatchTwoFileDescriptors
Change-Id: I2444515541e9be01720341c693012a580b3cb04f
2017-03-04 00:40:14 +00:00
Etan Cohen
80054133dc [AWARE] VTS baseline
Modified Wi-Fi test setup/tear-down to shutdown and start the
Android framework. The framework competes with the VTS to control
the HAL and so must be disabled for the duration of the test.

Added framework to support VTS testing with the Wi-Fi Aware (NAN)
interface.

Added all callback types (notifications, events) with ability to
wait for such callbacks.

Bug: 35276551
Test: gtest pass
Change-Id: I50847fccad457c2b225ba7f2e1760b4dbb4d363f
2017-03-03 15:30:47 -08:00
Hridya Valsaraju
0047809804 Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Test: built and ran FMQ benchmarks

This reverts commit 8b34b1a547.

Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4
2017-03-03 14:10:29 -08:00
Roshan Pius
857fb76af1 Merge changes I5c32ab58,Ie480f9d6
am: 5a0706d429

Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae
2017-03-03 20:49:37 +00:00
Roshan Pius
5a0706d429 Merge changes I5c32ab58,Ie480f9d6
* changes:
  wifi(implementation): Clear all structs before conversion
  wifi(implementation): Use strlen for size of ssid
2017-03-03 20:46:33 +00:00
Greg Hartman
19de6f7815 Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
am: b59f873ab9

Change-Id: I7ec22003c490258a4e6d713174310e45d9576f9a
2017-03-02 23:42:53 +00:00
Greg Hartman
b59f873ab9 Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" 2017-03-02 23:40:02 +00:00
Michael Rosenfeld
8b34b1a547 Revert "Move android.hardware.benchmarks into android.hardware.tests"
This reverts commit c8f7d73720.

Change-Id: I957cd686468aa618014a95c0510b162956df9bf7
2017-03-02 22:28:23 +00:00
Roshan Pius
590744b1c1 wifi(implementation): Clear all structs before conversion
Bug: 35445613
Test: Integration tests
Change-Id: I5c32ab580588f4521291ac8cb05ee42ce6e5bf31
2017-03-02 14:21:20 -08:00
Hridya Valsaraju
36ec5ebe3a Merge "Move android.hardware.benchmarks into android.hardware.tests"
am: 533ab025d0

Change-Id: If5750f2e0319f2abbf74a6629a3f2090cb36daab
2017-03-02 22:15:47 +00:00
Treehugger Robot
533ab025d0 Merge "Move android.hardware.benchmarks into android.hardware.tests" 2017-03-02 22:11:06 +00:00
Jack Yu
df1a8ec04e Removed the deprecated screen state API
The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: Ieb2322113557be700aeae78346c969465e7a9dd3
2017-03-01 23:56:21 -08:00
Roshan Pius
208e46bbc2 wifi(implementation): Use strlen for size of ssid
Looks like the legacy hal uses a null termination for indicating the
size of ssid.

While there,
Use the helper function to convert wifi band from hidl to legacy.

Bug: 35765841
Test: Integration tests pass now.
Change-Id: Ie480f9d6735a21c5ccedfc68bfde5f0d920dcdc9
2017-03-01 22:48:07 -08:00
Sanket Padawe
f681d777e8 Fix build warnings in radio vts.
am: 77c3822d6d

Change-Id: I1253f6ceb8bb14de9048cee915284683c9054d7f
2017-03-01 21:07:48 +00:00
Sanket Padawe
77c3822d6d Fix build warnings in radio vts.
Test: tested that no warnings show up.
Bug: 32022332
Change-Id: I7ecc2955c13827769733976c2498d8f8484284ea
2017-03-01 10:52:30 -08:00
Sooraj Sasindran
8bc5787e99 Merge "Cell location information in registration info"
am: 51ec76ab14

Change-Id: Ie0492e6600b89cf6b4067e3544e7f06f64e236fc
2017-03-01 18:08:25 +00:00
Sooraj Sasindran
51ec76ab14 Merge "Cell location information in registration info" 2017-03-01 18:06:18 +00:00
Sanket Padawe
5b6e1c5bec Merge "VTS for icc radio hal Apis (patch 2)."
am: 8d91af1096

Change-Id: Ie36b5708dadc6f81628fad15351c747a90e066c1
2017-03-01 18:04:04 +00:00
Sanket Padawe
8d91af1096 Merge "VTS for icc radio hal Apis (patch 2)." 2017-03-01 17:54:50 +00:00
Sooraj Sasindran
4d68c7b2a8 Cell location information in registration info
The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
2017-03-01 14:39:00 +00:00
Jack Yu
81fc3ccc4d Merge "Fixed that type of data call response status"
am: 8e779c50e3

Change-Id: Id38a866b13256b86d49b8a7cb0b9871cd9282d51
2017-03-01 04:25:31 +00:00
Jack Yu
8e779c50e3 Merge "Fixed that type of data call response status" 2017-03-01 04:22:43 +00:00
Sanket Padawe
1512edb314 VTS for icc radio hal Apis (patch 2).
Test: vts
Change-Id: I24a08f82bcca5bd48c268d72c75059e614931ea0
2017-02-28 18:00:49 -08:00
Roshan Pius
90cc1c0869 wifi: Few minor interface changes
am: 8c0c8e9aa0

Change-Id: Ib7fe78f075202f6206204210f31f24e82322b268
2017-03-01 01:21:48 +00:00
Roshan Pius
8c0c8e9aa0 wifi: Few minor interface changes
Changes in the CL:
1. Add the buckets scanned bitmask to bgscan.
2. exposed the legacy HAL constants for Bgscan in the HIDL interface.
3. Add a stop method for ring buffer logging.

Bug: 35752950
Bug: 33194311
Test: Compiles
Change-Id: Idb2031c33c5a237d7447410fb733f8e408a17288
2017-02-28 15:35:40 -08:00
Jack Yu
60c64bf75f Fixed that type of data call response status
Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I152872a83f61a1829c67a4d7effed4ce4113087f
2017-02-28 15:33:03 -08:00
Hridya Valsaraju
c990e2e15f Merge "Move baz default implementation to hardware/interfaces"
am: b541affafb

Change-Id: I44ad5a3580b4f02b1a1d052d9021552460491595
2017-02-28 21:47:10 +00:00
Yuexi Ma
1639a26255 Merge "Add columns to namespace for vts target base test invocation"
am: 7d32288474

Change-Id: I0e6e7f7038f036979715a5cd18c5ff96d0cc2f73
2017-02-28 21:47:00 +00:00
Jack Yu
39ff8ef59d Merge "Added the roaming flag for data call APIs"
am: 85ac3707bc

Change-Id: I8c07aec0c3f051f0e7e870cd96de4a3eb177d843
2017-02-28 21:46:35 +00:00
Treehugger Robot
b541affafb Merge "Move baz default implementation to hardware/interfaces" 2017-02-28 21:10:32 +00:00
Treehugger Robot
7d32288474 Merge "Add columns to namespace for vts target base test invocation" 2017-02-28 20:59:12 +00:00
Yuexi Ma
93d2541aae Add columns to namespace for vts target base test invocation
Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517
2017-02-28 20:49:00 +00:00
Jack Yu
85ac3707bc Merge "Added the roaming flag for data call APIs" 2017-02-28 20:47:02 +00:00