Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 25 of 47) sorted by relevance

12

/cts/tests/app/src/android/app/cts/
DLocalActivityManagerTest.java61 LocalActivityManagerTestHelper.setResult(this); in testDispatchResume()
75 LocalActivityManagerTestHelper.setResult(this); in testStartActivity()
81 LocalActivityManagerTestHelper.setResult(this); in testDispatchCreate()
87 LocalActivityManagerTestHelper.setResult(this); in testDispatchStop()
93 LocalActivityManagerTestHelper.setResult(this); in testDispatchPauseTrue()
99 LocalActivityManagerTestHelper.setResult(this); in testDispatchPauseFalse()
105 LocalActivityManagerTestHelper.setResult(this); in testSaveInstanceState()
111 LocalActivityManagerTestHelper.setResult(this); in testDispatchDestroy()
117 LocalActivityManagerTestHelper.setResult(this); in testRemoveAllActivities()
122 public void setResult(final int resultCode) { in setResult() method in LocalActivityManagerTest
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DViewGroupCtsActivity.java31 public static void setResult(CTSResult result) { in setResult() method in ViewGroupCtsActivity
58 sResult.setResult(CTSResult.RESULT_OK); in onResume()
66 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupCtsActivity.java31 public static void setResult(CTSResult result) { in setResult() method in ViewGroupCtsActivity
58 sResult.setResult(CTSResult.RESULT_OK); in onResume()
66 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
/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/media/src/android/media/cts/
DAudioManagerStub.java59 mCTSResult.setResult(CTSResult.RESULT_FAIL); in onPause()
73 mCTSResult.setResult(CTSResult.RESULT_FAIL); in onResume()
89 mCTSResult.setResult(CTSResult.RESULT_OK); in onActivityResult()
/cts/tests/app/app/src/android/app/stubs/
DClearTop.java42 setResult(RESULT_OK); in onNewIntent()
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DTestedScreen.java47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
97 setResult(RESULT_OK);
113 setResult(RESULT_OK); in queueIdle()
DExpandableListTestActivity.java143 setResult(testSelecte()); in onResume()
145 setResult(testView()); in onResume()
147 setResult(testCallback()); in onResume()
DCTSActivityTestCaseBase.java36 public void setResult(int resultCode) { in setResult() method in CTSActivityTestCaseBase
DSearchManagerStubActivity.java156 sCTSResult.setResult(CTSResult.RESULT_FAIL); in fail()
161 sCTSResult.setResult(CTSResult.RESULT_OK); in pass()
DTestedActivity.java55 setResult(RESULT_OK); in queueIdle()
DLocalActivityManagerTestHelper.java45 public static void setResult(CTSResult cr) { in setResult() method in LocalActivityManagerTestHelper
332 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
337 sResult.setResult(CTSResult.RESULT_OK); in pass()
/cts/tests/tests/os/src/android/os/cts/
DClearTop.java42 setResult(RESULT_OK); in onNewIntent()
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DTestedScreen.java47 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); in onCreate()
97 setResult(RESULT_OK);
113 setResult(RESULT_OK); in queueIdle()
/cts/libs/deviceutil/src/android/cts/util/
DCTSResult.java22 public void setResult(int resultCode); in setResult() method
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DResult.java30 void setResult(int resultCode); in setResult() method
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DGetContentActivity.java28 setResult(Activity.RESULT_OK, new Intent("ReSuLt")); 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/content/src/android/content/cts/
DMockReceiverAbort.java38 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
DMockReceiverFirst.java38 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
DMockReceiver.java43 setResult(RESULT_CODE, RESULT_DATA, map); in onReceive()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAuthenticatorActivity.java35 setResult(RESULT_OK, result); in onCreate()

12