Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java73 setResult(Activity.RESULT_OK); in onCreate()
87 setResult(Activity.RESULT_OK, result); in onCreate()
92 setResult(Activity.RESULT_OK); in onCreate()
105 setResult(Activity.RESULT_OK, result); in onCreate()
DSimpleIntentReceiverActivity.java49 setResult(Activity.RESULT_OK, result); in onCreate()
/cts/tests/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()
/cts/tests/app/src/android/app/cts/
DTestedScreen.java47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
97 setResult(RESULT_OK);
113 setResult(RESULT_OK); in queueIdle()
DExpandableListTestActivity.java96 return RESULT_OK; in testCallback()
114 return RESULT_OK; in testView()
135 return RESULT_OK; in testSelecte()
DCTSActivityTestCaseBase.java49 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
DTestedActivity.java55 setResult(RESULT_OK); in queueIdle()
DClearTop.java42 setResult(RESULT_OK); in onNewIntent()
/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()
DClearTop.java42 setResult(RESULT_OK); in onNewIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java145 setResult(RESULT_OK, response); in onCreate()
174 setResult(intentFiltersSetForManagedIntents? RESULT_OK : RESULT_FAILED, null); in onCreate()
220 setResult(RESULT_OK); in onCreate()
263 if (resultCode == RESULT_OK) { in onActivityResult()
273 if (resultCode == RESULT_OK) { in onActivityResult()
283 if (resultCode == RESULT_OK) { in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java96 setResultCode(Activity.RESULT_OK); in onCreate()
102 setResultCode(Activity.RESULT_OK); in onCreate()
108 setResultCode(Activity.RESULT_OK); in onCreate()
114 setResultCode(Activity.RESULT_OK); in onCreate()
124 setResultCode(Activity.RESULT_OK); in onCreate()
130 setResultCode(Activity.RESULT_OK); in onCreate()
/cts/libs/deviceutil/src/android/cts/util/
DCTSResult.java20 public static final int RESULT_OK = 1; field
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DResult.java23 public static final int RESULT_OK = 1; field
/cts/suite/audio_quality/test_description/processing/
Dconsts.py26 RESULT_OK = 0 variable
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DGetContentActivity.java28 setResult(Activity.RESULT_OK, new Intent("ReSuLt")); in onCreate()
/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/tests/tests/media/src/android/media/cts/
DResourceManagerTestActivity2.java31 int result = (allocateCodecs(1 /* max */) == 1) ? RESULT_OK : RESULT_CANCELED; in onCreate()
DResourceManagerTestActivityBase.java150 finishWithResult(RESULT_OK); in allocateCodecs()
240 finishWithResult(RESULT_OK); in useCodecs()
245 finishWithResult(mWaitForReclaim ? RESULT_CANCELED : RESULT_OK); in useCodecs()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserActivity.java36 setResult(RESULT_OK); in onCreate()
DManagedProfileActivity.java35 setResult(RESULT_OK); in onCreate()
DTestActivity.java49 if (resultCode != RESULT_OK) { in onActivityResult()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAuthenticatorActivity.java35 setResult(RESULT_OK, result); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java94 if (resultCode == RESULT_OK) { in onActivityResult()
103 if (resultCode == RESULT_OK) { in onActivityResult()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java125 mResultReceiver.send(RESULT_OK, result); in startTest()
140 setResult(RESULT_OK); in startTest()

1234