Home
last modified time | relevance | path

Searched refs:finishWithResult (Results 1 – 8 of 8) 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.java413 finishWithResult(resultCode, data); in onActivityResult()
418 finishWithResult(resultCode, data); in onActivityResult()
420 finishWithResult(RESULT_CANCELED, new Intent().setAction("Bad data returned: " in onActivityResult()
426 finishWithResult(RESULT_CANCELED, new Intent() in onActivityResult()
508 finishWithResult(RESULT_OK, null); in finishGood()
512 finishWithResult(RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
515 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/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java196 finishWithResult(ResourceManagerStubActivity.RESULT_CODE_NO_DECODER); in allocateCodecs()
239 protected void finishWithResult(int result) { in finishWithResult() method in ResourceManagerCodecActivity
289 finishWithResult(RESULT_OK); in useCodecs()
295 finishWithResult(RESULT_OK); in useCodecs()
301 finishWithResult(RESULT_CANCELED); in useCodecs()
DResourceManagerRecorderActivity.java122 private void finishWithResult(int result) { in finishWithResult() method in ResourceManagerRecorderActivity
138 finishWithResult(RESULT_CANCELED); in startRecording()
140 finishWithResult(mResult); in startRecording()
281 finishWithResult(RESULT_CANCELED); in recordVideoUsingCamera()
307 finishWithResult(RESULT_OK); in recordVideoUsingCamera()
DResourceManagerTestActivity2.java44 finishWithResult(result); in onResume()
DResourceManagerTestActivityBase.java249 finishWithResult(ResourceManagerStubActivity.RESULT_CODE_NO_DECODER); in allocateCodecs()
350 protected void finishWithResult(int result) { in finishWithResult() method in ResourceManagerTestActivityBase
399 finishWithResult(RESULT_OK); in useCodecs()
404 finishWithResult(mWaitForReclaim ? RESULT_CANCELED : RESULT_OK); in useCodecs()