Home
last modified time | relevance | path

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

12345

/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/
DDropTarget.java47 public static final String RESULT_OK = "OK"; field in DropTarget
87 return RESULT_OK; in checkExtraValue()
110 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag()
135 logResult(RESULT_KEY_DRAG_ENDED, RESULT_OK); in onDrag()
252 return RESULT_OK; in checkQueryResult()
270 return RESULT_OK; in processUri()
278 if (!result1.equals(RESULT_OK)) { in processUri()
282 if (!result2.equals(RESULT_OK)) { in processUri()
305 return RESULT_OK; in processUri()
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndtargetappsdk23/src/android/wm/cts/dndtargetappsdk23/
DDropTarget.java36 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/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java84 setResult(Activity.RESULT_OK); in onCreate()
98 setResult(Activity.RESULT_OK, result); in onCreate()
103 setResult(Activity.RESULT_OK); in onCreate()
116 setResult(Activity.RESULT_OK, result); in onCreate()
120 setResult(Activity.RESULT_OK); in onCreate()
129 setResult(Activity.RESULT_OK, new Intent()); in onCreate()
/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.java96 return RESULT_OK; in testCallback()
114 return RESULT_OK; in testView()
135 return RESULT_OK; in testSelecte()
DFragmentResultActivity.java32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
DCTSActivityTestCaseBase.java50 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
/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/hostsidetests/services/activityandwindowmanager/windowmanager/src/android/server/cts/
DCrossAppDragAndDropTests.java100 private static final String RESULT_OK = "OK"; field in CrossAppDragAndDropTests
371 assertDragAndDropResults(sourceMode, targetMode, RESULT_OK, expectedDropResult, RESULT_OK); in assertDropResult()
480 assertNoGlobalDragEvents(DISALLOW_GLOBAL, RESULT_OK); in testDisallowGlobal()
485 assertNoGlobalDragEvents(GRANT_NONE, RESULT_OK); in testDisallowGlobalBelowSdk24()
489 assertNoGlobalDragEvents(FILE_LOCAL, RESULT_OK); in testFileUriLocal()
513 assertDropResult(GRANT_READ, REQUEST_READ, RESULT_OK); in testGrantReadRequestRead()
525 assertDropResult(GRANT_READ_PREFIX, REQUEST_READ_NESTED, RESULT_OK); in testGrantReadPrefixRequestReadNested()
529 assertDropResult(GRANT_READ_PERSISTABLE, REQUEST_TAKE_PERSISTABLE, RESULT_OK); in testGrantPersistableRequestTakePersistable()
545 assertDropResult(GRANT_WRITE, REQUEST_WRITE, RESULT_OK); in testGrantWriteRequestWrite()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java215 setResult(RESULT_OK, response); in onCreate()
228 setResult(RESULT_OK, response); in onCreate()
252 setResult(intentFiltersSetForManagedIntents? RESULT_OK : RESULT_FAILED, null); in onCreate()
306 setResult(RESULT_OK); in onCreate()
394 if (resultCode == RESULT_OK) { in onActivityResult()
404 if (resultCode == RESULT_OK) { in onActivityResult()
414 if (resultCode == RESULT_OK) { in onActivityResult()
424 if (resultCode == RESULT_OK) { in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java116 setResultCode(Activity.RESULT_OK); in onCreate()
121 setResultCode(Activity.RESULT_OK); in onCreate()
125 setResultCode(Activity.RESULT_OK); in onCreate()
129 setResultCode(Activity.RESULT_OK); in onCreate()
137 setResultCode(Activity.RESULT_OK); in onCreate()
141 setResultCode(Activity.RESULT_OK); in onCreate()
149 setResultCode(Activity.RESULT_OK); in onCreate()
169 setResultCode(Activity.RESULT_OK); in onCreate()
185 setResultCode(Activity.RESULT_OK); in onCreate()
/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/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DGetContentActivity.java28 setResult(Activity.RESULT_OK, new Intent("ReSuLt")); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DResourceManagerTestActivity2.java31 int result = (allocateCodecs(1 /* max */) == 1) ? RESULT_OK : RESULT_CANCELED; in onCreate()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DManagedProfileActivity.java35 setResult(RESULT_OK); in onCreate()
DPrimaryUserActivity.java36 setResult(RESULT_OK); 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/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java181 mResultReceiver.send(RESULT_OK, result); in startTest()
199 setResult(RESULT_OK, intent); in startTest()
227 if (resultCode == RESULT_OK) { in onActivityReenter()
281 mResultReceiver.send(RESULT_OK, data); in onTransitionEnd()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAuthenticatorActivity.java35 setResult(RESULT_OK, result); in onCreate()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountAuthenticatorDummyActivity.java24 setResult(RESULT_OK, result); in onCreate()
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/
DDragSource.java39 private static final String RESULT_OK = "OK"; field in DragSource
109 logResult(RESULT_KEY_START_DRAG, RESULT_OK); in setUpDragSource()

12345