Commit Graph

7259 Commits

Author SHA1 Message Date
Naomi Musgrave
a1721e71ca Merge "Introduce OWNERS file for Display unit tests" 2021-01-29 11:33:30 +00:00
Todd Kennedy
19d09ca6ed Add owners
Change-Id: If3e8e500c4a5de47ec76cc19413546b736feb5f9
2021-01-28 17:20:10 +00:00
Naomi Musgrave
4e00b71faa Introduce OWNERS file for Display unit tests
Test: manual
Bug: 171386167

Change-Id: I88a57ac4fa3b73da52b089c728e68b38aec2d62a
2021-01-28 16:02:21 +00:00
Julia Reynolds
d3809eda25 Update OWNERS files for tests
Change-Id: I480c67f4e6f40817f8bba469bc1d97805b43aa1a
2021-01-25 19:41:43 +00:00
Michael Groover
0c6948337a Update OWNERS for SigningDetailsTest
Bug: 176814921
Test: Builds
Change-Id: I9ddcf95302004ce068d5596ea8fdf0c545a1167b
2021-01-25 11:24:03 -08:00
Brian Stack
94f23cd4c5 Merge "Add UWB APIs to SystemApi" 2021-01-23 00:09:02 +00:00
Gavin Corkery
5c67510b4f Merge "Remove dumpstate error race condition" 2021-01-22 16:14:43 +00:00
vichang
e17a139088 Merge changes from topic "icu68"
* changes:
  Update test expectation due to locale data change in ICU 68.2
  Regenerate LocaleDataTables.cpp due to ICU 68 upgrade
2021-01-22 15:24:51 +00:00
Gavin Corkery
faf53d2a76 Remove dumpstate error race condition
Removes the race condition between the dumpstate binder service
death recipient and the dumpstate listener error callback. This
is done by adding a small wait when the death recipient is
invoked. This ensures that the caller of the Bugreport API does
not erroneously receive an incorrect runtime error callback.

Alters internal tests to account for this new delay.

Bug: 147703592
Test: atest BugreportManagerTest
Test: Manual. Take bugreport, ensure that the death recipient
      does not send an error callback when dumpstate finishes
      successfully, or fails and exits. Test error case by
      manually invoking signalErrorAndExit in DumpstateService.
Change-Id: I8c5b14c88502f0cf4f4f0e5c41d90d6065bfd1d4
2021-01-22 13:31:14 +00:00
Victor Chang
68a592163b Update test expectation due to locale data change in ICU 68.2
Bug: 160356314
Test: atest FrameworksCoreTests:android.text.format
Change-Id: I1c98de411794b9a964236a3bd128e8aaad52da97
2021-01-22 11:29:41 +00:00
Brian Stack
4b2df3970c Add UWB APIs to SystemApi
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: Id05accd44918ac6b9f11e78ee742fbd007896f7a
2021-01-21 09:41:39 -08:00
Mårten Kongstad
f7da01f0c4 Revert "Revert "Push OverlayDeviceTests onto /system""
This reverts commit 118ddbccc9.

Change-Id: Ie307ce308aa45c0b6fcd5ff7001153c41ea8b7f8
2021-01-21 14:33:18 +00:00
Mårten Kongstad
fd715a9a59 Revert "Revert "OMS: add tests for the OMS transactional API""
This reverts commit 0ad9a225d4.

Change-Id: I8cd5eb46cfefdeaab783716c270059ea3faf9153
2021-01-21 14:32:42 +00:00
Kohsuke Yatoh
0f4112a760 Merge "Add missing textservice OWNERS files." 2021-01-20 23:16:33 +00:00
Kohsuke Yatoh
b1d2fe86f7 Add missing textservice OWNERS files.
Test: n/a
Change-Id: I56939ce3a22c72ac489e4d9248de9e0ce4ee9413
2021-01-20 18:53:11 +00:00
Treehugger Robot
e1f0416a17 Merge "AbsSeekBar: Fix growRect computation" 2021-01-19 20:30:17 +00:00
Jeff Sharkey
8a1d03fe10 Merge "Correct ownership of AppSearchPersonTest" 2021-01-19 15:41:38 +00:00
Adrian Roos
c5ce225fdf AbsSeekBar: Fix growRect computation
Fixes an issue with the growRectTo computation where if the
difference between the current and target size wasn't an even
number, the resulting rect would not actually have the correct
size.

Also, asserts using the thumb bounds, rather than the view
bounds in case the thumb is not perfectly centered within the
view due to rounding errors on odd densities.

Fixes: 173872859
Test: atest AbsSeekBarTest
Change-Id: Ib2b81a91ba8feeb6743a4e4a588d6116d231eb8d
2021-01-18 10:50:52 +00:00
Treehugger Robot
21d36ec4f5 Merge "Pass caller information in cancelBugreport." 2021-01-18 09:41:21 +00:00
Roshan Pius
2324ff48be Merge "LocationPermissionChecker: Exempt privileged components from location check" 2021-01-18 01:33:31 +00:00
Hunter Knepshield
fffec02113 Pass caller information in cancelBugreport.
In preparation for a broader set of apps using BugreportManager, we
enforce that only the app which started a bugreport is allowed to cancel
it.

Bug: 161393541
Test: atest BugreportManagerTestCases
Test: manual with two apps triggering/cancelling BRs
Change-Id: I430d856014a226ef345bd2349f0601062dcaa8c7
Merged-In: I430d856014a226ef345bd2349f0601062dcaa8c7
(cherry picked from commit 4a1b9e949d)
2021-01-15 17:29:03 -08:00
Pinyao Ting
dd8de9526f Correct ownership of AppSearchPersonTest
Bug: 151359749
Test: manual
Change-Id: Iaf4253c2cf187a5673cce13465863a8890ad696e
2021-01-15 14:14:14 -08:00
Treehugger Robot
feb82a11cc Merge "Update OWNERS files for textclassifier" 2021-01-15 16:04:39 +00:00
Roshan Pius
7692fba5c1 LocationPermissionChecker: Exempt privileged components from location check
This is a port of the exemption that exists in WifiPermissionsUtil.
Settings, sysui, network stack needs to be able to access all network
state regardless of location toggle. If we want to move sysui, etc to
retrieve WifiInfo via NetworkCapabilities (which is the current plan),
this exemption is essential since UI should reflect wifi state
regardless of location toggle state.

Bug: 162602799
Test: atest LocationPermissionCheckerTest
Change-Id: I49ce465eccce27bb7a860d882360436fd9ec19c6
2021-01-15 06:51:39 -08:00
Jeff Sharkey
beb3d5dfc3 Merge "Update team's coretest OWNER file." 2021-01-15 14:33:43 +00:00
Joanne Chung
8e6e40c98e Update team's coretest OWNER file.
Bug: 177641730
Test: n/a
Change-Id: Ifc93cc02adb89f61a454d93ad1699f58a616acf5
2021-01-15 19:14:01 +08:00
Tony Mak
16a99fee0e Update OWNERS files for textclassifier
1. Create a OWNRES file in the textclassifier test folder
2. Add me and licha@ to the OWNERS files.

Test: N/A
Change-Id: I5bedfc28d2ea18cdaa2dac7e0e799cf225ba99d1
2021-01-14 19:12:59 +00:00
Pinyao Ting
e164c3223e update owners for AppSearchPerson related files
Bug: 151359749
Test: manual
Change-Id: I4ab1e9f9b8a70021f8fc7bd0fdfbab63d71fffaa
2021-01-13 11:50:59 -08:00
Treehugger Robot
72df4073ea Merge "AbsSeekBarTest: Fix dpToPixel computation" 2021-01-13 18:28:45 +00:00
Ryan Mitchell
2c2853d09e Merge changes from topic "revert-1507500-oms-transactional-api-UQLIXJBEPB"
* changes:
  Revert "OverlayDeviceTests: add missing TEST_MAPPING"
  Revert "OMS: replace OMSImpl.OverlayChangeListener with return v..."
  Revert "OMS: block until settings are persisted"
2021-01-13 15:07:48 +00:00
Alison Cichowlas
b189d811e9 Merge "Add test OWNERS referencing src owners." 2021-01-13 14:33:31 +00:00
Ryan Mitchell
1c6f46e08c Revert "OverlayDeviceTests: add missing TEST_MAPPING"
Revert submission 1507500-oms-transactional-api

Reason for revert: b/177065099
Reverted Changes:
Ie5344c53d:OMS: add tests for the OMS transactional API
I8f54e1532:Push OverlayDeviceTests onto /system
I63df58510:OMS: add transactional API
Idacc0c67e:OverlayDeviceTests: add missing TEST_MAPPING
I2452f789a:OMS: block until settings are persisted
If58d5e9dd:OMS: replace OMSImpl.OverlayChangeListener with re...

Change-Id: I340786384a62b24b103910d0924dd089a7f60a81
2021-01-13 03:24:12 +00:00
Treehugger Robot
78a3fdfbed Merge "Revert "OMS: add tests for the OMS transactional API"" 2021-01-13 00:00:42 +00:00
Treehugger Robot
b294b8bc61 Merge "Revert "Push OverlayDeviceTests onto /system"" 2021-01-13 00:00:42 +00:00
Ryan Mitchell
0ad9a225d4 Revert "OMS: add tests for the OMS transactional API"
This reverts commit 2241956858.

Reason for revert: 177065099

Change-Id: Id47cc94591eefbc276f77ae8601bb6d52cfa2f63
2021-01-12 21:11:17 +00:00
Ryan Mitchell
118ddbccc9 Revert "Push OverlayDeviceTests onto /system"
This reverts commit 2b1b3b282f.

Reason for revert: b/177065099

Change-Id: I0ac8d525c9f36ace5e65ffb2305f75fef0b6dc65
2021-01-12 21:10:19 +00:00
Adrian Roos
9579132734 Merge "Add missing graphics/fonts OWNERS." 2021-01-11 13:43:43 +00:00
Treehugger Robot
022ba65d34 Merge "Add control functions to RangingSession" 2021-01-08 21:45:47 +00:00
Alison Cichowlas
9e0391ea9b Add test OWNERS referencing src owners.
Test: I don't believe we actually have a way to test this
Change-Id: I83a006f295b1fe97fd555c8ca03c82c20fe92ca9
2021-01-08 14:44:45 -05:00
Kohsuke Yatoh
cec5c62f30 Add missing graphics/fonts OWNERS.
Test: n/a
Change-Id: I7decde568e88bd86d1176b08ab30bd5f016498e0
2021-01-08 04:03:48 +00:00
Brian Stack
674c30d330 Add control functions to RangingSession
Adds start, stop and reconfigure functions to UWB's RangingSession
along with associated callbacks in RangingSession.Callback.

This change also modifies the UwbManager.openRangingSession function
to only open a ranging session and not actively start ranging. In
order to start ranging, use RangingSession.start() once
RangingSession.Callback.onRangingOpened has been called.

The Ranging Session API now consists of:
  UwbManager.openRangingSession
  RangingSession.start
  RangingSession.stop
  RangingSession.reconfigure
  RangingSession.close

Bug: 173799002
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: I4cc7fbc1bb1cd3b0e75aa9cc57a1ad59d39d6f50
2021-01-07 13:25:39 -08:00
Ryan Mitchell
b9ba6a8d0f Merge changes from topic "oms-transactional-api"
* changes:
  OMS: add tests for the OMS transactional API
  Push OverlayDeviceTests onto /system
  OMS: add transactional API
  OMS: block until settings are persisted
  OMS: replace OMSImpl.OverlayChangeListener with return values
  OverlayDeviceTests: add missing TEST_MAPPING
2021-01-07 15:48:20 +00:00
Jeff Sharkey
6173852165 Merge "update owners for shortcut and launcher related files" 2021-01-07 14:50:03 +00:00
Adrian Roos
169c132627 Merge "Add inputmethod coretests OWNERS" 2021-01-07 13:46:17 +00:00
Adrian Roos
44695952c6 Add inputmethod coretests OWNERS
Test: n/a
Change-Id: If240716ddb0aa99111f8e343fca36a5bd97ed0dc
2021-01-07 14:44:07 +01:00
Pinyao Ting
a4d472d23b update owners for shortcut and launcher related files
Bug: 151359749
Test: manual
Change-Id: I7e670f2c59a61ffaa341bb267133c2441206a686
2021-01-06 17:08:46 -08:00
Ryan Mitchell
2241956858 OMS: add tests for the OMS transactional API
Add test cases for the new OMS transactional API.

Also, migrate the existing OverlayDeviceTests from the overlay manager's
shell interface to OverlayManager and transactions.

Bug: 119916381
Test: atest OverlayDeviceTests
Change-Id: Ie5344c53dbd470c0eb3143798d27ac490096b34e
2021-01-06 23:02:15 +00:00
Ryan Mitchell
2b1b3b282f Push OverlayDeviceTests onto /system
Since OverlayDeviceTests needs to use the OverlayManager API directly,
push the test APk onto the system image and reboot the device before
running tests.

Bug: 119916381
Test: atest OverlayDeviceTests
Change-Id: I8f54e1532902b984e32da68ed8aa32bf6c5b9272
2021-01-06 22:42:00 +00:00
Treehugger Robot
b59598f790 Merge "Add WM owners to the OWNERS of the related core tests" 2021-01-06 12:27:13 +00:00
Yunfan Chen
87efb59f2b Add WM owners to the OWNERS of the related core tests
Update the OWNERS in core tests to let WM OWNERS own the related tests.

Test: Presubmit
Change-Id: Ib4de6fb3bc523dbe8c7418e76de255a11a6bde66
2021-01-06 18:19:12 +09:00