/cts/tests/tests/gameservice/src/android/service/games/testing/ |
D | ActivityResult.java | 28 public final class ActivityResult implements Parcelable { class 35 public static final Creator<ActivityResult> CREATOR = new Creator<ActivityResult>() { 37 public ActivityResult createFromParcel(Parcel in) { 41 return new ActivityResult(gameSessionPackageName, success, failure); 45 public ActivityResult[] newArray(int size) { 46 return new ActivityResult[size]; 50 public static ActivityResult forSuccess(String gameSessionPackageName, int resultCode, in forSuccess() 52 return new ActivityResult(gameSessionPackageName, new Success(resultCode, data), null); in forSuccess() 55 public static ActivityResult forError(String gameSessionPackageName, Throwable t) { in forError() 56 return new ActivityResult(gameSessionPackageName, null, in forError() [all …]
|
D | IGameServiceTestService.aidl | 21 import android.service.games.testing.ActivityResult; 40 ActivityResult getLastActivityResult(); in getLastActivityResult()
|
D | ActivityResult.aidl | 18 parcelable ActivityResult;
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityResultTest.java | 21 import android.app.Instrumentation.ActivityResult; 29 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); in testActivityResultOp() 33 result = new ActivityResult(Activity.RESULT_CANCELED, intent); in testActivityResultOp()
|
D | Instrumentation_ActivityMonitorTest.java | 22 import android.app.Instrumentation.ActivityResult; 47 ActivityResult result = new ActivityResult(Activity.RESULT_OK, new Intent()); in testActivityMonitor() 93 final ActivityResult result = new ActivityResult(Activity.RESULT_OK, new Intent()); in testActivityMonitor_onStartActivity() 147 new ActivityResult(expectedResultCode, new Intent(expectedAction))); in testActivityMonitor_onStartActivityBlocks() 197 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndIntentFilter() 199 … cam.setResultToReturn(new ActivityResult(1111, new Intent("matched_using_onStartActivity"))); in testActivityMonitor_onStartActivityAndIntentFilter() 249 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndActivityClass() 251 … cam.setResultToReturn(new ActivityResult(2222, new Intent("matched_using_onStartActivity"))); in testActivityMonitor_onStartActivityAndActivityClass() 283 private ActivityResult mResultToReturn; 285 public CustomActivityMonitor(ActivityResult resultToReturn) { in CustomActivityMonitor() [all …]
|
D | InstrumentationTest.java | 32 import android.app.Instrumentation.ActivityResult; 182 ActivityResult result = new ActivityResult(Activity.RESULT_OK, new Intent()); in testMonitor()
|
D | ActivityManagerFgsDelegateTest.java | 829 … final Instrumentation.ActivityResult result = new Instrumentation.ActivityResult(0, new Intent()); in startSubActivity()
|
D | ActivityManagerTest.java | 64 import android.app.Instrumentation.ActivityResult; 382 final Instrumentation.ActivityResult result = new ActivityResult(0, new Intent());
|
D | ActivityManagerProcessStateTest.java | 2029 final Instrumentation.ActivityResult result = new Instrumentation.ActivityResult( in startSubActivity()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StartForFutureActivity.kt | 27 future: CompletableFuture<Instrumentation.ActivityResult> in startActivityForFuture() 35 future!!.complete(Instrumentation.ActivityResult(resultCode, data)) in onActivityResult() 41 private var future: CompletableFuture<Instrumentation.ActivityResult>? = null
|
D | BasePermissionUiTest.kt | 204 ): Instrumentation.ActivityResult { in <lambda>() 265 ): CompletableFuture<Instrumentation.ActivityResult> = in <lambda>() 266 CompletableFuture<Instrumentation.ActivityResult>().also { in <lambda>()
|
/cts/tests/tests/gameservice/src/android/service/games/ |
D | GameServiceTestService.java | 30 import android.service.games.testing.ActivityResult; 55 private ActivityResult mLastActivityResult; 111 mLastActivityResult = ActivityResult.forSuccess( 119 mLastActivityResult = ActivityResult.forError( 126 public ActivityResult getLastActivityResult() {
|
D | GameServiceTest.java | 48 import android.service.games.testing.ActivityResult; 401 ActivityResult result = getTestService().getLastActivityResult(); in startActivityForResult_startsActivityAndReceivesResultWithData() 421 ActivityResult result = getTestService().getLastActivityResult(); in startActivityForResult_startsActivityAndReceivesResultWithNoData() 437 ActivityResult result = getTestService().getLastActivityResult(); in startActivityForResult_cannotStartBlockedActivities() 451 ActivityResult result = getTestService().getLastActivityResult(); in startActivityForResult_propagatesActivityNotFoundException() 561 ActivityResult result = getTestService().getLastActivityResult(); in restartGame_withNonGameActivityAbove_gameSessionIsPersisted()
|
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/ |
D | ActivityContext.java | 52 public static final class ActivityResult { class in ActivityContext 57 public ActivityResult(int requestCode, int resultCode, Intent intent) { in ActivityResult() method in ActivityContext.ActivityResult 76 private static final class BlockingCallbackImpl extends BlockingCallback<ActivityResult> { 77 public void set(ActivityResult result) { in set() 98 public ActivityResult blockForActivityResult() throws InterruptedException { in blockForActivityResult() 322 sGetActivityCallback.set(new ActivityResult(requestCode, resultCode, data)); in onActivityResult()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | TestBase.java | 44 Instrumentation.ActivityResult result = in launchScreenOnActivity() 45 new Instrumentation.ActivityResult(0, new Intent()); in launchScreenOnActivity()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceTest.kt | 20 import android.app.Instrumentation.ActivityResult 139 val result: ActivityResult = scenario.getResult() in run()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerBubbleTest.java | 250 Instrumentation.ActivityResult result = in startSendBubbleActivity() 251 new Instrumentation.ActivityResult(0, new Intent()); in startSendBubbleActivity() 272 Instrumentation.ActivityResult result = in startBubbledActivityMonitor() 273 new Instrumentation.ActivityResult(0, new Intent()); in startBubbledActivityMonitor()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | DeviceAssociationTest.java | 255 new Instrumentation.ActivityResult(0, new Intent()), false); in applicationContext_recreateActivity_returnsDeviceIdOfActivity() 270 new Instrumentation.ActivityResult(0, new Intent()), false); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ActivityTest.java | 110 ActivityContext.ActivityResult result = in startActivityForResultAsUser_requestCodeAndResultPassedSuccessfully()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 368 Instrumentation.ActivityResult result = mActivityRule.getActivityResult(); in testNativeSplit_withoutExtractLibs_nativeLibraryCannotBeLoaded()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 2178 name: "android.app.Instrumentation.ActivityResult"
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 6091 …itor addMonitor(android.content.IntentFilter, android.app.Instrumentation.ActivityResult, boolean); 6092 …umentation.ActivityMonitor addMonitor(String, android.app.Instrumentation.ActivityResult, boolean); 6164 …ActivityMonitor(android.content.IntentFilter, android.app.Instrumentation.ActivityResult, boolean); 6165 …ctor public Instrumentation.ActivityMonitor(String, android.app.Instrumentation.ActivityResult, bo… 6170 method public final android.app.Instrumentation.ActivityResult getResult(); 6172 … method public android.app.Instrumentation.ActivityResult onStartActivity(android.content.Intent); 6177 public static final class Instrumentation.ActivityResult { 6178 ctor public Instrumentation.ActivityResult(int, android.content.Intent);
|