Searched refs:newActivity (Results 1 – 13 of 13) sorted by relevance
137 T newActivity = null; in startActivity() local151 newActivity = (T) getInstrumentation().newActivity(mActivityClass, mActivityContext, in startActivity()156 assertNotNull(newActivity); in startActivity()159 assertNotNull(newActivity); in startActivity()160 setActivity(newActivity); in startActivity()
135 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local137 initIntent.filterEquals(newActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()142 newActivity.setIntent(customIntent); in testCustomIntentPreservedOnRelaunch()184 final Activity newActivity = activityThread.getActivity(token[0]); in testHandleActivity_assetsChanged() local
46 instrumentation.newActivity( in createCanvasActivity()
1182 final ComponentName newActivity = newShortcut.getActivity(); in enforceShortcutCountsBeforeOperation() local1183 if (newActivity == null) { in enforceShortcutCountsBeforeOperation()1198 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()1215 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
4495 DctConstants.Activity newActivity; in updateDataActivity() local4514 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()
1213 public Activity newActivity(Class<?> clazz, Context context, in newActivity() method in Instrumentation1244 public Activity newActivity(ClassLoader cl, String className, in newActivity() method in Instrumentation
3201 activity = mInstrumentation.newActivity( in performLaunchActivity()
685 void switchActivity(@NonNull IBinder newActivity, @NonNull IBinder newClient) { in switchActivity() argument692 mActivityToken = newActivity; in switchActivity()
3583 ActivityRecord newActivity) { in resetTaskIfNeededLocked() argument3585 (newActivity.info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) != 0; in resetTaskIfNeededLocked()
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…
5065 …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…
1687 HSPLandroid/app/Instrumentation;->newActivity(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/con…