Home
last modified time | relevance | path

Searched refs:newActivity (Results 1 – 10 of 10) 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/services/core/java/com/android/server/pm/
DShortcutPackage.java974 final ComponentName newActivity = newShortcut.getActivity(); in enforceShortcutCountsBeforeOperation() local
975 if (newActivity == null) { in enforceShortcutCountsBeforeOperation()
990 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
1007 incrementCountForActivity(counts, newActivity, 1); in enforceShortcutCountsBeforeOperation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java4533 DctConstants.Activity newActivity; in updateDataActivity() local
4552 newActivity = DctConstants.Activity.DATAINANDOUT; in updateDataActivity()
4554 newActivity = DctConstants.Activity.DATAOUT; in updateDataActivity()
4556 newActivity = DctConstants.Activity.DATAIN; in updateDataActivity()
4558 newActivity = (mActivity == DctConstants.Activity.DORMANT) ? in updateDataActivity()
4562 if (mActivity != newActivity && mIsScreenOn) { in updateDataActivity()
4564 log("updateDataActivity: newActivity=" + newActivity); in updateDataActivity()
4565 mActivity = newActivity; in updateDataActivity()
/frameworks/base/core/java/android/app/
DInstrumentation.java1048 public Activity newActivity(Class<?> clazz, Context context, in newActivity() method in Instrumentation
1074 public Activity newActivity(ClassLoader cl, String className, in newActivity() method in Instrumentation
DActivityThread.java2558 activity = mInstrumentation.newActivity( in performLaunchActivity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java2623 private void insertTaskAtTop(TaskRecord task, ActivityRecord newActivity) { in insertTaskAtTop() argument
2659 (newActivity != null && (newActivity.info.flags & FLAG_SHOW_FOR_ALL_USERS) == 0) in insertTaskAtTop()
2660 || (newActivity == null && task.topRunningActivityLocked() == null); in insertTaskAtTop()
3119 ActivityRecord newActivity) { in resetTaskIfNeededLocked() argument
3121 (newActivity.info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) != 0; in resetTaskIfNeededLocked()
3124 if ((newActivity.info.flags & ActivityInfo.FLAG_ALWAYS_RETAIN_TASK_STATE) == 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/api/
Dcurrent.txt4707 …method public android.app.Activity newActivity(java.lang.Class<?>, android.content.Context, androi…
4708 …method public android.app.Activity newActivity(java.lang.ClassLoader, java.lang.String, android.co…
Dsystem-current.txt4862 …method public android.app.Activity newActivity(java.lang.Class<?>, android.content.Context, androi…
4863 …method public android.app.Activity newActivity(java.lang.ClassLoader, java.lang.String, android.co…
Dtest-current.txt4710 …method public android.app.Activity newActivity(java.lang.Class<?>, android.content.Context, androi…
4711 …method public android.app.Activity newActivity(java.lang.ClassLoader, java.lang.String, android.co…