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.java115 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() method in BroadcastTest
117 super.finishWithResult(resultCode, data); in finishWithResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java291 finishWithResult(RESULT_UNKNOWN); in check()
308 finishWithResult(RESULT_UNKNOWN); in onSensorChanged()
314 finishWithResult(isNear ? RESULT_NEAR : RESULT_FAR); in onSensorChanged()
321 finishWithResult(RESULT_UNKNOWN);
324 private void finishWithResult(int result) {