Home
last modified time | relevance | path

Searched refs:newActivity (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java137 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/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java135 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local
137 initIntent.filterEquals(newActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()
142 newActivity.setIntent(customIntent); in testCustomIntentPreservedOnRelaunch()
184 final Activity newActivity = activityThread.getActivity(token[0]); in testHandleActivity_assetsChanged() local
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java46 instrumentation.newActivity( in createCanvasActivity()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1182 final ComponentName newActivity = newShortcut.getActivity(); in enforceShortcutCountsBeforeOperation() local
1183 if (newActivity == null) { in enforceShortcutCountsBeforeOperation()
1198 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
1215 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java4495 DctConstants.Activity newActivity; in updateDataActivity() local
4514 newActivity = DctConstants.Activity.DATAINANDOUT; in updateDataActivity()
4516 newActivity = DctConstants.Activity.DATAOUT; in updateDataActivity()
4518 newActivity = DctConstants.Activity.DATAIN; in updateDataActivity()
4520 newActivity = (mActivity == DctConstants.Activity.DORMANT) ? in updateDataActivity()
4524 if (mActivity != newActivity && mIsScreenOn) { in updateDataActivity()
4526 log("updateDataActivity: newActivity=" + newActivity); in updateDataActivity()
4527 mActivity = newActivity; in updateDataActivity()
/frameworks/base/core/java/android/app/
DInstrumentation.java1213 public Activity newActivity(Class<?> clazz, Context context, in newActivity() method in Instrumentation
1244 public Activity newActivity(ClassLoader cl, String className, in newActivity() method in Instrumentation
DActivityThread.java3201 activity = mInstrumentation.newActivity( in performLaunchActivity()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java685 void switchActivity(@NonNull IBinder newActivity, @NonNull IBinder newClient) { in switchActivity() argument
692 mActivityToken = newActivity; in switchActivity()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java3583 ActivityRecord newActivity) { in resetTaskIfNeededLocked() argument
3585 (newActivity.info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) != 0; in resetTaskIfNeededLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4357 …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/non-updatable-api/
Dcurrent.txt5065 …method public android.app.Activity newActivity(Class<?>, android.content.Context, android.os.IBind…
5066 …method public android.app.Activity newActivity(ClassLoader, String, android.content.Intent) throws…
/frameworks/base/api/
Dcurrent.txt5065 …method public android.app.Activity newActivity(Class<?>, android.content.Context, android.os.IBind…
5066 …method public android.app.Activity newActivity(ClassLoader, String, android.content.Intent) throws…
/frameworks/base/config/
Dboot-image-profile.txt1687 HSPLandroid/app/Instrumentation;->newActivity(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/con…