Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java88 finishWithResult(resultCode, data, where); in activityFinished()
105 finishWithResult(Activity.RESULT_OK, null); in finishGood()
109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
112 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in ActivityTestsBase
115 finishWithResult(resultCode, data, where); in finishWithResult()
118 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.java344 finishWithResult(resultCode, data); in onActivityResult()
349 finishWithResult(resultCode, data); in onActivityResult()
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
445 finishWithResult(RESULT_OK, null); in finishGood()
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
452 private void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in LaunchpadActivity
DBroadcastTest.java114 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in BroadcastTest
116 super.finishWithResult(resultCode, data); in finishWithResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java404 finishWithResult(RESULT_UNKNOWN); in check()
421 finishWithResult(RESULT_UNKNOWN); in onSensorChanged()
427 finishWithResult(isNear ? RESULT_NEAR : RESULT_FAR); in onSensorChanged()
434 finishWithResult(RESULT_UNKNOWN);
437 private void finishWithResult(int result) {