Home
last modified time | relevance | path

Searched refs:finishWithResult (Results 1 – 6 of 6) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DActivityTestsBase.java93 finishWithResult(resultCode, data, null, where); in activityFinished()
111 finishWithResult(Activity.RESULT_OK, null); in finishGood()
115 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
121 finishWithResult(Activity.RESULT_OK, null, activity, where); in finishWithActivity()
125 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in ActivityTestsBase
128 finishWithResult(resultCode, data, null, where); in finishWithResult()
131 public void finishWithResult(int resultCode, Intent data, Activity activity, in finishWithResult() method in ActivityTestsBase
227 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
DLaunchpadActivity.java423 finishWithResult(resultCode, data); in onActivityResult()
428 finishWithResult(resultCode, data); in onActivityResult()
430 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
436 finishWithResult(RESULT_CANCELED, new Intent() in onActivityResult()
518 finishWithResult(RESULT_OK, null); in finishGood()
522 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
525 private void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in LaunchpadActivity
/cts/tests/tests/os/src/android/os/cts/
DActivityTestsBase.java88 finishWithResult(resultCode, data, where); in activityFinished()
106 finishWithResult(Activity.RESULT_OK, null); in finishGood()
110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
113 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in ActivityTestsBase
116 finishWithResult(resultCode, data, where); in finishWithResult()
119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() method in ActivityTestsBase
209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
DLaunchpadActivity.java416 finishWithResult(resultCode, data); in onActivityResult()
421 finishWithResult(resultCode, data); in onActivityResult()
423 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
429 finishWithResult(RESULT_CANCELED, new Intent() in onActivityResult()
510 finishWithResult(RESULT_OK, null); in finishGood()
514 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
517 private void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in LaunchpadActivity
/cts/tests/tests/media/src/android/media/cts/
DResourceManagerTestActivityBase.java150 finishWithResult(RESULT_OK); in allocateCodecs()
192 protected void finishWithResult(int result) { in finishWithResult() method in ResourceManagerTestActivityBase
241 finishWithResult(RESULT_OK); in useCodecs()
246 finishWithResult(mWaitForReclaim ? RESULT_CANCELED : RESULT_OK); in useCodecs()
DResourceManagerTestActivity2.java32 finishWithResult(result); in onCreate()