Searched refs:waitForResult (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleShellCommand.java | 60 public int waitForResult() { in waitForResult() method in RoleShellCommand 134 return future.waitForResult(); in runAddRoleHolder() 146 return future.waitForResult(); in runRemoveRoleHolder() 156 return future.waitForResult(); in runClearRoleHolders()
|
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/ |
D | RegistrationProxyTests.java | 127 public ResultT waitForResult() throws InterruptedException { in waitForResult() method in RegistrationProxyTests.ResultReceiver 296 assertThat(receiver.waitForResult()).isNotNull(); in getRegistrationBinderReturnsSuccess() 337 final RegistrationProxy registration = registrationReceiver.waitForResult(); in getKeyAsyncSuccess() 343 final android.security.rkp.service.RemotelyProvisionedKey key = keyReceiver.waitForResult(); in getKeyAsyncSuccess() 361 final RegistrationProxy registration = registrationReceiver.waitForResult(); in getKeyAsyncCancelRequest() 386 final RegistrationProxy registration = registrationReceiver.waitForResult(); in getKeyAsyncCancelAfterComplete() 392 assertThat(keyReceiver.waitForResult()).isNotNull(); in getKeyAsyncCancelAfterComplete() 418 final RegistrationProxy registration = registrationReceiver.waitForResult(); in getKeyAsyncHandleError() 455 final RegistrationProxy registration = registrationReceiver.waitForResult(); in getKeyAsyncCorrectlyMapsErrorCodes() 483 final RegistrationProxy registration = registrationReceiver.waitForResult(); in storeUpgradedKeyAsyncSuccess() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SlotSimStatus.java | 132 protected void waitForResult() { in waitForResult() method in SlotSimStatus 149 waitForResult(); in size()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 442 int waitForResult(final RequestHelper request) { in waitForResult() method in TetheringManager.RequestDispatcher 593 return dispatcher.waitForResult((connector, listener) -> { in tether() 625 return dispatcher.waitForResult((connector, listener) -> { 652 return dispatcher.waitForResult((connector, listener) -> { 1674 final int ret = dispatcher.waitForResult((connector, listener) -> { 1723 final int ret = dispatcher.waitForResult((connector, listener) -> {
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 331 Pair<Integer, Intent> result = waitForResult(); in requestRoleAndDenyWithDontAskAgainThenDeniedAutomatically() 410 Pair<Integer, Intent> result = waitForResult(); in requestInvalidRoleThenDeniedAutomatically() 418 Pair<Integer, Intent> result = waitForResult(); in requestUnqualifiedRoleThenDeniedAutomatically() 426 Pair<Integer, Intent> result = waitForResult(); in requestAssistantRoleThenDeniedAutomatically() 438 Pair<Integer, Intent> result = waitForResult(); in requestHoldingRoleThenAllowedAutomatically() 477 return waitForResult(); in clickButtonAndWaitForResult() 481 private Pair<Integer, Intent> waitForResult() throws InterruptedException { in waitForResult() method in RoleManagerTest
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 233 …id performBleScan(ScanSettings scanSettings, List<ScanFilter> scanFilters, boolean waitForResult) { in performBleScan() argument 254 if (waitForResult) { in performBleScan()
|