/frameworks/base/test-runner/src/android/test/ |
D | ActivityUnitTestCase.java | 137 T newActivity = null; in startActivity() local 151 newActivity = (T) getInstrumentation().newActivity(mActivityClass, mActivityContext, in startActivity() 156 assertNotNull(newActivity); in startActivity() 159 assertNotNull(newActivity); in startActivity() 160 setActivity(newActivity); in startActivity()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeOpenCloseStressTest.java | 546 TestActivity newActivity = TestActivity.getLastCreatedInstance(); in verifyRotateBehavior() local 547 assertThat(newActivity).isNotNull(); in verifyRotateBehavior() 548 assertThat(newActivity).isNotEqualTo(activity); in verifyRotateBehavior() 550 EditText newEditText = newActivity.getEditText(); in verifyRotateBehavior() 551 int softInputMode = newActivity.getWindow().getAttributes().softInputMode; in verifyRotateBehavior() 554 if (hasUnfocusableWindowFlags(newActivity)) { in verifyRotateBehavior() 555 verifyImeAlwaysHiddenWithWindowFlagSet(newActivity); in verifyRotateBehavior()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | WakefulnessSessionObserverTest.java | 125 int newActivity = PowerManager.USER_ACTIVITY_EVENT_ATTENTION; in testOnUserActivity_updateActivity() local 129 newActivityTimestamp, powerGroupId, newActivity); in testOnUserActivity_updateActivity() 131 .mCurrentUserActivityEvent).isEqualTo(newActivity); in testOnUserActivity_updateActivity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TransparentPolicyTest.java | 359 final ActivityRecord newActivity = activityBuilder.build(); in launchActivity() local 361 mTask.addChild(newActivity); in launchActivity() 363 spyOn(newActivity.mTransparentPolicy); in launchActivity() 364 mActivityStack.pushActivity(newActivity); in launchActivity()
|
D | SizeCompatTests.java | 2767 final ActivityRecord newActivity = new ActivityBuilder(display.mWmService.mAtmService) 2775 verify(mTask).onDescendantOrientationChanged(same(newActivity)); 2779 final Rect newActivityBounds = new Rect(newActivity.getBounds()); 2783 assertTrue(newActivity.isLetterboxedForFixedOrientationAndAspectRatio()); 2784 assertFalse(newActivity.inSizeCompatMode()); 2786 assertThat(newActivity.getConfiguration().windowConfiguration.getMaxBounds()) 2787 .isEqualTo(newActivity.getWindowConfiguration().getBounds()); 2831 final ActivityRecord newActivity = new ActivityBuilder(display.mWmService.mAtmService) 2840 verify(mTask).onDescendantOrientationChanged(same(newActivity)); 2844 final Rect newActivityBounds = new Rect(newActivity.getBounds()); [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 46 instrumentation.newActivity( in createCanvasActivity()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 215 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local 217 initIntent.filterEquals(newActivity.getIntent())); in testCustomIntentPreservedOnRelaunch() 222 newActivity.setIntent(customIntent); in testCustomIntentPreservedOnRelaunch() 351 final Activity[] newActivity = new Activity[1]; in relaunchActivityAndAssertPreserveWindow() local 354 newActivity[0] = activityThread.getActivity(token[0]); in relaunchActivityAndAssertPreserveWindow() 355 newDecorView[0] = newActivity[0].getWindow().getDecorView(); in relaunchActivityAndAssertPreserveWindow() 358 assertNotEquals("Activity must be relaunched", activity, newActivity[0]); in relaunchActivityAndAssertPreserveWindow()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 1522 final ComponentName newActivity = newShortcut.getActivity(); in enforceShortcutCountsBeforeOperation() local 1523 if (newActivity == null) { in enforceShortcutCountsBeforeOperation() 1538 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation() 1555 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 1410 public Activity newActivity(Class<?> clazz, Context context, in newActivity() method in Instrumentation 1442 public Activity newActivity(ClassLoader cl, String className, in newActivity() method in Instrumentation
|
D | ActivityThread.java | 3941 activity = mInstrumentation.newActivity( in performLaunchActivity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Task.java | 5451 ActivityRecord resetTaskIfNeeded(ActivityRecord taskTop, ActivityRecord newActivity) { 5453 (newActivity.info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) != 0;
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Session.java | 1605 void switchActivity(@NonNull IBinder newActivity, @NonNull IBinder newClient) { in switchActivity() argument 1612 mActivityToken = newActivity; in switchActivity()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 4357 …method public android.app.Activity newActivity(java.lang.Class<?>, android.content.Context, androi… 4358 …method public android.app.Activity newActivity(java.lang.ClassLoader, java.lang.String, android.co…
|
/frameworks/base/core/api/ |
D | current.txt | 6126 …method public android.app.Activity newActivity(Class<?>, android.content.Context, android.os.IBind… 6127 …method public android.app.Activity newActivity(ClassLoader, String, android.content.Intent) throws…
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2002 HSPLandroid/app/Instrumentation;->newActivity(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/con…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2002 HSPLandroid/app/Instrumentation;->newActivity(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/con…
|