Home
last modified time | relevance | path

Searched refs:waitForResult (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/service/java/com/android/role/
DRoleShellCommand.java60 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/
DRegistrationProxyTests.java127 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/
DSlotSimStatus.java132 protected void waitForResult() { in waitForResult() method in SlotSimStatus
149 waitForResult(); in size()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java442 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/
DRoleManagerTest.java331 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/
DAtomTests.java233 …id performBleScan(ScanSettings scanSettings, List<ScanFilter> scanFilters, boolean waitForResult) { in performBleScan() argument
254 if (waitForResult) { in performBleScan()