/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | MockEuiccService.java | 95 EuiccService.RESULT_OK, subscription); in onGetDownloadableSubscriptionMetadata() 110 EuiccService.RESULT_OK, subscription); in onGetDownloadableSubscriptionMetadata() 139 EuiccService.RESULT_OK, 0 /*resolvableErrors*/, cardId); in onDownloadSubscription() 177 return EuiccService.RESULT_OK; in onDeleteSubscription() 184 return EuiccService.RESULT_OK; in onSwitchToSubscription() 191 return EuiccService.RESULT_OK; in onSwitchToSubscriptionWithPort() 197 return EuiccService.RESULT_OK; in onUpdateSubscriptionNickname() 203 return EuiccService.RESULT_OK; in onEraseSubscriptions() 209 return EuiccService.RESULT_OK; in onRetainSubscriptionsForFactoryReset()
|
D | EuiccServiceTest.java | 354 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnGetDownloadableSubscriptionMetadata() 384 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnGetDownloadableSubscriptionMetadataWithPortIndex() 463 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnDownloadSubscription() 535 assertEquals(EuiccService.RESULT_OK, result); in testOnDeleteSubscription() 560 assertEquals(EuiccService.RESULT_OK, result); in testOnSwitchToSubscription() 586 assertEquals(EuiccService.RESULT_OK, result); in testOnSwitchToSubscriptionWithPort() 611 assertEquals(EuiccService.RESULT_OK, result); in testOnUpdateSubscriptionNickname() 633 assertEquals(EuiccService.RESULT_OK, result); in testOnEraseSubscriptions() 655 assertEquals(EuiccService.RESULT_OK, result); in testOnRetainSubscriptionsForFactoryReset()
|
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/ |
D | TestCommsReceiver.java | 19 import static android.app.Activity.RESULT_OK; 72 setResultCode(RESULT_OK); in onReceive() 83 setResultCode(RESULT_OK); in onReceive() 91 setResultCode(RESULT_OK); in onReceive() 99 setResultCode(RESULT_OK); in onReceive()
|
/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/ |
D | RequestReceiver.java | 60 setResult(Activity.RESULT_OK, String.valueOf(result), null); in onReceive() 66 setResult(Activity.RESULT_OK, null, null); in onReceive() 76 setResult(Activity.RESULT_OK, null, null); in onReceive() 84 setResult(Activity.RESULT_OK, null, null); in onReceive() 93 setResult(Activity.RESULT_OK, null, null); in onReceive()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | CrossAppDragAndDropTests.java | 119 private static final String RESULT_OK = "OK"; field in CrossAppDragAndDropTests 287 RESULT_OK, expectedDropResult, RESULT_OK); in assertDropResult() 377 assertNoGlobalDragEvents(DRAG_SOURCE, DISALLOW_GLOBAL, DROP_TARGET, RESULT_OK); in testDisallowGlobal() 382 assertNoGlobalDragEvents(DRAG_SOURCE, GRANT_NONE, DROP_TARGET_SDK23, RESULT_OK); in testDisallowGlobalBelowSdk24() 390 assertNoGlobalDragEvents(DRAG_SOURCE, GLOBAL_SAME_APP, DROP_TARGET, RESULT_OK); in testDisallowGlobalSameAppWithDifferentUids() 399 REQUEST_NONE, RESULT_OK, RESULT_OK, RESULT_IGNORE); in testGlobalSameAppWithSameUids() 404 assertNoGlobalDragEvents(DRAG_SOURCE, FILE_LOCAL, DROP_TARGET, RESULT_OK); in testFileUriLocal() 434 assertDropResult(GRANT_READ, REQUEST_READ, RESULT_OK); in testGrantReadRequestRead() 449 assertDropResult(GRANT_READ_PREFIX, REQUEST_READ_NESTED, RESULT_OK); in testGrantReadPrefixRequestReadNested() 454 assertDropResult(GRANT_READ_PERSISTABLE, REQUEST_TAKE_PERSISTABLE, RESULT_OK); in testGrantPersistableRequestTakePersistable() [all …]
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerTestActivity2.java | 33 int result = RESULT_OK; in onResume() 41 if (mChangingCodecImportance && result == RESULT_OK && codecCount < MAX_INSTANCES) { in onResume()
|
/cts/tests/framework/base/windowmanager/dndtargetappsdk23/src/android/server/wm/dndtargetappsdk23/ |
D | DropTarget.java | 34 public static final String RESULT_OK = "OK"; field in DropTarget 62 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag() 75 logResult(RESULT_KEY_DROP_RESULT, RESULT_OK); in onDrag()
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 48 public static final String RESULT_OK = "OK"; field in DropTarget 126 return RESULT_OK; in checkExtraValue() 149 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag() 174 logResult(RESULT_KEY_DRAG_ENDED, RESULT_OK); in onDrag() 291 return RESULT_OK; in checkQueryResult() 309 return RESULT_OK; in processUri() 317 if (!result1.equals(RESULT_OK)) { in processUri() 321 if (!result2.equals(RESULT_OK)) { in processUri() 344 return RESULT_OK; in processUri() 372 return RESULT_OK; in accessContent()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DropTarget.java | 51 public static final String RESULT_OK = "OK"; field in DropTarget 129 return RESULT_OK; in checkExtraValue() 152 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag() 177 logResult(RESULT_KEY_DRAG_ENDED, RESULT_OK); in onDrag() 294 return RESULT_OK; in checkQueryResult() 312 return RESULT_OK; in processUri() 320 if (!result1.equals(RESULT_OK)) { in processUri() 324 if (!result2.equals(RESULT_OK)) { in processUri() 347 return RESULT_OK; in processUri() 375 return RESULT_OK; in accessContent()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 90 setResult(Activity.RESULT_OK); in onCreate() 104 setResult(Activity.RESULT_OK, result); in onCreate() 109 setResult(Activity.RESULT_OK); in onCreate() 122 setResult(Activity.RESULT_OK, result); in onCreate() 126 setResult(Activity.RESULT_OK); in onCreate() 135 setResult(Activity.RESULT_OK, new Intent()); in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityResultTest.java | 29 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); in testActivityResultOp() 30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp()
|
D | FragmentReceiveResultTest.java | 58 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk() 62 .onActivityResult(eq(10), eq(Activity.RESULT_OK), captor.capture()); in testStartActivityForResultOk() 82 startIntentSenderForResult(30, Activity.RESULT_OK, "content 30"); in testStartIntentSenderForResultOk() 86 .onActivityResult(eq(30), eq(Activity.RESULT_OK), captor.capture()); in testStartIntentSenderForResultOk()
|
D | BaseChainedInstrumentation.java | 62 finish(Activity.RESULT_OK, result); in onCreate() 80 finish(Activity.RESULT_OK, result); in onCreate()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | IntentTest.kt | 20 import android.app.Activity.RESULT_OK 87 assertEquals(RESULT_OK, installation.get(GLOBAL_TIMEOUT, TimeUnit.MILLISECONDS)) in confirmInstallation() 124 assertEquals(RESULT_OK, installation.get(GLOBAL_TIMEOUT, TimeUnit.MILLISECONDS)) in installWithCallingInstallerPackageName() 142 assertEquals(RESULT_OK, installation.get(GLOBAL_TIMEOUT, TimeUnit.MILLISECONDS)) in installWithAnotherInstallerPackageName() 162 assertEquals(RESULT_OK, installation.get(GLOBAL_TIMEOUT, TimeUnit.MILLISECONDS)) in installWithLongInstallerPackageName() 188 assertEquals(RESULT_OK, reinstall.get(GLOBAL_TIMEOUT, TimeUnit.MILLISECONDS)) in reinstallViaPackageUri()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | TestedScreen.java | 47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate() 97 setResult(RESULT_OK); 113 setResult(RESULT_OK); in queueIdle()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestedScreen.java | 47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate() 97 setResult(RESULT_OK); 113 setResult(RESULT_OK); in queueIdle()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | VpnClient.java | 54 if (result == RESULT_OK) { in onActivityResult() 67 onActivityResult(requestCode, RESULT_OK, null); in prepareAndStart()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteSmsTest.java | 121 sendMessage(TEST_DEST_ADDR, Activity.RESULT_OK); in testSendMessage() 125 sendMessage(TEST_DEST_ADDR, Activity.RESULT_OK); in testSendMessage() 151 sendMessage(TEST_EMERGENCY_NUMBER, Activity.RESULT_OK); in testSendEmergencySms() 155 sendMessage(TEST_EMERGENCY_NUMBER, Activity.RESULT_OK); in testSendEmergencySms() 294 assertEquals(Activity.RESULT_OK, intent.getIntExtra(SmsReceiverHelper.EXTRA_RESULT_CODE, in sendMessageImsEnabled() 334 sendMessage(destAddr, Activity.RESULT_OK); in sendMessageAutomaticallyAfterSatelliteConnectionIsRestored()
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestAlarmScheduler.java | 68 setResult(Activity.RESULT_OK, null, null); in onReceive() 87 setResult(Activity.RESULT_OK, null, null); in onReceive() 93 setResult(Activity.RESULT_OK, null, null); in onReceive()
|
/cts/tests/app/FgsTestHelper/src/android/app/fgstesthelper/ |
D | LocalForegroundServiceBase.java | 50 public static final int RESULT_OK = 0; field in LocalForegroundServiceBase 90 int result = RESULT_OK; in onStartCommand() 155 return RESULT_OK; in startForeground()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | Result.java | 23 public static final int RESULT_OK = 1; field
|
D | CTSResult.java | 20 public static final int RESULT_OK = 1; field
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAuthenticationTest.java | 20 import static android.app.Activity.RESULT_OK; 113 AuthenticationActivity.setResultCode(RESULT_OK); in testFillResponseAuth_withNewAutofillSessionStartByActivity() 164 AuthenticationActivity.setResultCode(RESULT_OK); in testFillResponseAuth() 238 AuthenticationActivity.setResultCode(RESULT_OK); in datasetAuthTwoFields() 302 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned() 323 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned() 337 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned() 349 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 250 setResult(RESULT_OK, response); in onCreate() 259 setResult(RESULT_OK); in onCreate() 265 setResult(RESULT_OK, response); in onCreate() 297 setResult(intentFiltersSetForManagedIntents? RESULT_OK : RESULT_FAILED, null); in onCreate() 336 setResult(RESULT_OK); in onCreate() 468 if (resultCode == RESULT_OK) { in onActivityResult() 478 if (resultCode == RESULT_OK) { in onActivityResult() 488 if (resultCode == RESULT_OK) { in onActivityResult() 498 if (resultCode == RESULT_OK) { in onActivityResult()
|
/cts/hostsidetests/appsecurity/test-apps/UseProcessFailService/src/com/android/cts/useprocess/ |
D | DummyActivity.java | 27 setResult(RESULT_OK); in onCreate()
|