Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 – 25 of 129) sorted by relevance

123456

/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DMockEuiccService.java76 EuiccService.RESULT_OK, subscription); in onGetDownloadableSubscriptionMetadata()
105 EuiccService.RESULT_OK, 0 /*resolvableErrors*/, cardId); in onDownloadSubscription()
130 return EuiccService.RESULT_OK; in onDeleteSubscription()
137 return EuiccService.RESULT_OK; in onSwitchToSubscription()
143 return EuiccService.RESULT_OK; in onUpdateSubscriptionNickname()
149 return EuiccService.RESULT_OK; in onEraseSubscriptions()
155 return EuiccService.RESULT_OK; in onRetainSubscriptionsForFactoryReset()
DEuiccServiceTest.java181 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnGetDownloadableSubscriptionMetadata()
259 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnDownloadSubscription()
331 assertEquals(EuiccService.RESULT_OK, result); in testOnDeleteSubscription()
355 assertEquals(EuiccService.RESULT_OK, result); in testOnSwitchToSubscription()
379 assertEquals(EuiccService.RESULT_OK, result); in testOnUpdateSubscriptionNickname()
401 assertEquals(EuiccService.RESULT_OK, result); in testOnEraseSubscriptions()
423 assertEquals(EuiccService.RESULT_OK, result); in testOnRetainSubscriptionsForFactoryReset()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java45 public static final String RESULT_OK = "OK"; field in DropTarget
88 return RESULT_OK; in checkExtraValue()
111 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag()
136 logResult(RESULT_KEY_DRAG_ENDED, RESULT_OK); in onDrag()
253 return RESULT_OK; in checkQueryResult()
271 return RESULT_OK; in processUri()
279 if (!result1.equals(RESULT_OK)) { in processUri()
283 if (!result2.equals(RESULT_OK)) { in processUri()
306 return RESULT_OK; in processUri()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java88 private static final String RESULT_OK = "OK"; field in CrossAppDragAndDropTests
171 RESULT_OK, expectedDropResult, RESULT_OK); in assertDropResult()
270 assertNoGlobalDragEvents(DRAG_SOURCE, DISALLOW_GLOBAL, DROP_TARGET, RESULT_OK); in testDisallowGlobal()
275 assertNoGlobalDragEvents(DRAG_SOURCE, GRANT_NONE, DROP_TARGET_SDK23, RESULT_OK); in testDisallowGlobalBelowSdk24()
280 assertNoGlobalDragEvents(DRAG_SOURCE, FILE_LOCAL, DROP_TARGET, RESULT_OK); in testFileUriLocal()
310 assertDropResult(GRANT_READ, REQUEST_READ, RESULT_OK); in testGrantReadRequestRead()
325 assertDropResult(GRANT_READ_PREFIX, REQUEST_READ_NESTED, RESULT_OK); in testGrantReadPrefixRequestReadNested()
330 assertDropResult(GRANT_READ_PERSISTABLE, REQUEST_TAKE_PERSISTABLE, RESULT_OK); in testGrantPersistableRequestTakePersistable()
350 assertDropResult(GRANT_WRITE, REQUEST_WRITE, RESULT_OK); in testGrantWriteRequestWrite()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java90 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/framework/base/windowmanager/dndtargetappsdk23/src/android/server/wm/dndtargetappsdk23/
DDropTarget.java34 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/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DIntentTest.kt19 import android.app.Activity.RESULT_OK
54 assertEquals(RESULT_OK, getInstallDialogResult()) in confirmInstallation()
93 assertEquals(RESULT_OK, getInstallDialogResult()) in reinstallViaPackageUri()
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityResultTest.java29 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); in testActivityResultOp()
30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp()
DFragmentReceiveResultTest.java55 startActivityForResult(10, Activity.RESULT_OK, "content 10"); in testStartActivityForResultOk()
59 .onActivityResult(eq(10), eq(Activity.RESULT_OK), captor.capture()); in testStartActivityForResultOk()
79 startIntentSenderForResult(30, Activity.RESULT_OK, "content 30"); in testStartIntentSenderForResultOk()
83 .onActivityResult(eq(30), eq(Activity.RESULT_OK), captor.capture()); in testStartIntentSenderForResultOk()
/cts/tests/app/app/src/android/app/stubs/
DTestedScreen.java47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
97 setResult(RESULT_OK);
113 setResult(RESULT_OK); in queueIdle()
DExpandableListTestActivity.java99 return RESULT_OK; in testCallback()
117 return RESULT_OK; in testView()
144 return RESULT_OK; in testSelect()
/cts/tests/tests/os/src/android/os/cts/
DTestedScreen.java47 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/
DVpnClient.java45 if (result == RESULT_OK) { in onActivityResult()
58 onActivityResult(requestCode, RESULT_OK, null); in prepareAndStart()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java159 mResultReceiver.send(RESULT_OK, result); in sendResult()
208 setResult(RESULT_OK, intent); in startTest()
236 if (resultCode == RESULT_OK) { in onActivityReenter()
284 mResultReceiver.send(RESULT_OK, result); in finish()
313 mResultReceiver.send(RESULT_OK, data); in onTransitionEnd()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java239 setResult(RESULT_OK, response); in onCreate()
252 setResult(RESULT_OK, response); in onCreate()
284 setResult(intentFiltersSetForManagedIntents? RESULT_OK : RESULT_FAILED, null); in onCreate()
338 setResult(RESULT_OK); in onCreate()
450 if (resultCode == RESULT_OK) { in onActivityResult()
460 if (resultCode == RESULT_OK) { in onActivityResult()
470 if (resultCode == RESULT_OK) { in onActivityResult()
480 if (resultCode == RESULT_OK) { in onActivityResult()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadReceiverTest.java174 sendBroadcastAndValidate(intentForReceiverTest, MbmsDownloadReceiver.RESULT_OK); in testDownloadFailureIntent()
208 Bundle b = sendBroadcastAndValidate(fdRequestIntent, MbmsDownloadReceiver.RESULT_OK); in testRequestNoFileDescriptors()
218 Bundle result = sendBroadcastAndValidate(fdRequestIntent, MbmsDownloadReceiver.RESULT_OK); in testRequestNewFileDescriptors()
235 Bundle result = sendBroadcastAndValidate(fdRequestIntent, MbmsDownloadReceiver.RESULT_OK); in testRequestRefreshedFileDescriptors()
243 Bundle result2 = sendBroadcastAndValidate(fdRefreshIntent, MbmsDownloadReceiver.RESULT_OK); in testRequestRefreshedFileDescriptors()
/cts/hostsidetests/appsecurity/test-apps/ReviewPermissionHelper/src/com/android/cts/reviewpermissionhelper/
DReviewPermissionsTest.kt21 import android.app.Activity.RESULT_OK
71 assertEquals(RESULT_OK, installDialogResults.poll(UI_TIMEOUT, TimeUnit.MILLISECONDS)) in approveReviewPermissions()
86 assertEquals(RESULT_OK, installDialogResults.poll(UI_TIMEOUT, TimeUnit.MILLISECONDS)) in assertNoReviewPermissionsNeeded()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DResult.java23 public static final int RESULT_OK = 1; field
DCTSResult.java20 public static final int RESULT_OK = 1; field
/cts/suite/audio_quality/test_description/processing/
Dconsts.py26 RESULT_OK = 0 variable
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCTSResult.java20 public static final int RESULT_OK = 1; field
DResult.java23 public static final int RESULT_OK = 1; field
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java55 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId, in setPassedResult()
67 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_FAILED, testId, in setFailedResult()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/
DAutoClosingActivity.java27 setResult(RESULT_OK); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DGetContentActivity.java28 setResult(Activity.RESULT_OK, new Intent("ReSuLt")); in onCreate()

123456