Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/services/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/
DDropTarget.java40 public static final String RESULT_OK = "OK"; field in DropTarget
78 return RESULT_OK; in checkExtraValue()
99 logResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in onDrag()
193 return RESULT_OK; in checkQueryResult()
211 return RESULT_OK; in processUri()
219 if (!result1.equals(RESULT_OK)) { in processUri()
223 if (!result2.equals(RESULT_OK)) { in processUri()
246 return RESULT_OK; in processUri()
/cts/hostsidetests/services/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/services/windowmanager/src/android/wm/cts/
DCrossAppDragAndDropTests.java81 private static final String RESULT_OK = "OK"; field in CrossAppDragAndDropTests
320 assertResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in testCancelSoon()
321 assertResult(RESULT_KEY_EXTRAS, RESULT_OK); in testCancelSoon()
337 assertResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in testGrantNoneRequestNone()
338 assertResult(RESULT_KEY_EXTRAS, RESULT_OK); in testGrantNoneRequestNone()
354 doTestDragAndDrop(GRANT_READ, REQUEST_READ, RESULT_OK); in testGrantReadRequestRead()
366 doTestDragAndDrop(GRANT_READ_PREFIX, REQUEST_READ_NESTED, RESULT_OK); in testGrantReadPrefixRequestReadNested()
370 doTestDragAndDrop(GRANT_READ_PERSISTABLE, REQUEST_TAKE_PERSISTABLE, RESULT_OK); in testGrantPersistableRequestTakePersistable()
386 doTestDragAndDrop(GRANT_WRITE, REQUEST_WRITE, RESULT_OK); in testGrantWriteRequestWrite()
/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()
/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/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()
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/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java211 setResult(RESULT_OK, response); in onCreate()
242 setResult(intentFiltersSetForManagedIntents? RESULT_OK : RESULT_FAILED, null); in onCreate()
296 setResult(RESULT_OK); in onCreate()
383 if (resultCode == RESULT_OK) { in onActivityResult()
393 if (resultCode == RESULT_OK) { in onActivityResult()
403 if (resultCode == RESULT_OK) { in onActivityResult()
413 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/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()
DTestActivity.java49 if (resultCode != RESULT_OK) { in onActivityResult()
/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/accounts/common/src/android/accounts/cts/common/
DTestAuthenticatorActivity.java35 setResult(RESULT_OK, result); in onCreate()

1234