Searched defs:startActivity (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DCarrierDefaultActivityTestCase.java54 protected T startActivity() throws Throwable { method in class:CarrierDefaultActivityTestCase
58 mActivity = startActivity(createActivityIntent(), null, null);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DActivityStarter.java32 void startActivity(Intent intent, boolean dismissShade); method in interface:ActivityStarter
33 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade); method in interface:ActivityStarter
34 void startActivity(Intent intent, boolean dismissShade, Callback callback); method in interface:ActivityStarter
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DActivityStarterDelegate.java37 public void startActivity(Intent intent, boolean dismissShade) { method in class:ActivityStarterDelegate
39 mActualStarter.startActivity(intent, dismissShade);
43 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { method in class:ActivityStarterDelegate
45 mActualStarter.startActivity(intent, onlyProvisioned, dismissShade);
49 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { method in class:ActivityStarterDelegate
51 mActualStarter.startActivity(intent, dismissShade, callback);
/frameworks/support/compat/java/android/support/v4/content/
H A DContextCompat.java112 * See {@link android.content.Context#startActivity(Intent, android.os.Bundle)}
141 public static void startActivity(Context context, Intent intent, @Nullable Bundle options) { method in class:ContextCompat
143 context.startActivity(intent, options);
145 context.startActivity(intent);
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java63 static final int RESTORED = 0; // State restored, but no startActivity().
64 static final int INITIALIZING = 1; // Ready to launch (after startActivity()).
113 // startActivity() has not yet been called, so nothing to do.
219 * track of the activity, so that if you later call startActivity() again
261 public Window startActivity(String id, Intent intent) { method in class:LocalActivityManager
405 * @see #startActivity
418 * @see #startActivity
428 * @see #startActivity
H A DActivityView.java228 public void startActivity(Intent intent) { method in class:ActivityView
230 throw new IllegalStateException("Attempt to call startActivity after release");
235 if (DEBUG) Log.v(TAG, "startActivity(): intent=" + intent + " " +
237 if (mActivityContainer.startActivity(intent) == START_CANCELED) {
242 public void startActivity(IntentSender intentSender) { method in class:ActivityView
244 throw new IllegalStateException("Attempt to call startActivity after release");
257 public void startActivity(PendingIntent pendingIntent) { method in class:ActivityView
259 throw new IllegalStateException("Attempt to call startActivity after release");
351 * Called when the surface is ready to be drawn to. Calling startActivity prior to this
356 * Called when the surface has been removed. Calling startActivity afte
456 int startActivity(Intent intent) { method in class:ActivityView.ActivityContainerWrapper
[all...]
H A DContextImpl.java837 public void startActivity(Intent intent) { method in class:ContextImpl
839 startActivity(intent, null);
849 public void startActivity(Intent intent, Bundle options) { method in class:ContextImpl
858 "Calling startActivity() from outside of an Activity "
H A DFragment.java1152 * Call {@link Activity#startActivity(Intent)} from the fragment's
1157 public void startActivity(Intent intent) { method in class:Fragment
1158 startActivity(intent, null);
1162 * Call {@link Activity#startActivity(Intent, Bundle)} from the fragment's
1167 * See {@link android.content.Context#startActivity(Intent, Bundle)}
1168 * Context.startActivity(Intent, Bundle)} for more details.
1170 public void startActivity(Intent intent, Bundle options) { method in class:Fragment
H A DActivity.java162 * <p>To be of use with {@link android.content.Context#startActivity Context.startActivity()}, all
468 * <p>The {@link android.app.Activity#startActivity}
521 * startActivity(new Intent(Intent.ACTION_VIEW, data));
1465 * flag when calling {@link #startActivity}. In either case, when the
2916 startActivity(intent);
4427 * @see #startActivity
4438 * {@link #startActivity} (the activity is not launched as a sub-activity).
4460 * See {@link android.content.Context#startActivity(Intent, Bundle)}
4461 * Context.startActivity(Inten
4758 public void startActivity(Intent intent) { method in class:Activity
4785 public void startActivity(Intent intent, @Nullable Bundle options) { method in class:Activity
[all...]
H A DActivityManager.java249 * Result for IActivityManager.startActivity: trying to start a background user
256 * Result for IActivityManager.startActivity: trying to start an activity under voice
263 * Result for IActivityManager.startActivity: an error where the
270 * Result for IActivityManager.startActivity: an error where the
277 * Result for IActivityManager.startActivity: an error where the
284 * Result for IActivityManager.startActivity: an error where the
292 * Result for IActivityManager.startActivity: an error where the
299 * Result for IActivityManager.startActivity: an error where the
319 * Result for IActivityManaqer.startActivity: the activity was started
326 * Result for IActivityManaqer.startActivity
4448 public void startActivity(Context context, Intent intent, Bundle options) { method in class:ActivityManager.AppTask
[all...]
/frameworks/base/test-runner/src/android/test/
H A DActivityUnitTestCase.java62 * <li>{@link android.app.Activity#startActivity(Intent)}</li>
112 * {@link android.content.Context#startActivity Context.startActivity()}, providing the
122 * @param intent The Intent as if supplied to {@link android.content.Context#startActivity}.
130 protected T startActivity(Intent intent, Bundle savedInstanceState, method in class:ActivityUnitTestCase
188 * {@link #startActivity}. If your test does not call this method,
197 * here. You must call this function before calling {@link #startActivity}. If you wish to
217 * {@link android.app.Activity#startActivity(Intent)} or
314 * <li>{@link android.app.Activity#startActivity(Intent)}</li>
/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java606 startActivity(launchIntent, resolveInfo);
624 startActivity(launchIntent, defaultActivity);
662 private void startActivity(Intent intent, ResolveInfo resolveInfo) { method in class:ActivityChooserView.Callbacks
664 mContext.startActivity(intent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java771 public void startActivity(Intent intent) { method in class:UserSwitcherController
772 mActivityStarter.startActivity(intent, true);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStarter.java272 mLastStartActivityResult = startActivity(caller, intent, ephemeralIntent, resolvedType,
279 // mLastStartActivityRecord[0] is set in the call to startActivity above.
286 private int startActivity(IApplicationThread caller, Intent intent, Intent ephemeralIntent, method in class:ActivityStarter
567 return startActivity(r, sourceRecord, voiceSession, voiceInteractor, startFlags, true,
995 private int startActivity(final ActivityRecord r, ActivityRecord sourceRecord, method in class:ActivityStarter
1021 // Note: This method should only be called from {@link startActivity}.
1306 "startActivity() => mUserLeaving=" + mSupervisor.mUserLeaving);
1447 Slog.w(TAG, "startActivity called from non-Activity context; forcing " +
1479 Slog.w(TAG, "startActivity called from finishing " + mSourceRecord
2028 startActivity(pa
[all...]
H A DActivityStackSupervisor.java4779 public final int startActivity(Intent intent) { method in class:ActivityStackSupervisor.ActivityContainer
4780 return mService.startActivity(intent, this);
H A DActivityManagerService.java4461 public final int startActivity(IApplicationThread caller, String callingPackage, method in class:ActivityManagerService
4469 final int startActivity(Intent intent, ActivityStackSupervisor.ActivityContainer container) { method in class:ActivityManagerService
4470 enforceNotIsolatedCaller("ActivityContainer.startActivity");
4486 "startActivity");
4493 enforceNotIsolatedCaller("startActivity");
4495 userId, false, ALLOW_FULL_ONLY, "startActivity", null);
13524 enforceNotIsolatedCaller("startActivity");
24276 public int startActivity(IBinder whoThread, String callingPackage, method in class:ActivityManagerService.AppTaskImpl
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java365 public void startActivity(Intent intent) { method in class:ContextWrapper
366 mBase.startActivity(intent);
387 public void startActivity(Intent intent, Bundle options) { method in class:ContextWrapper
388 mBase.startActivity(intent, options);
H A DContext.java1618 * Same as {@link #startActivity(Intent, Bundle)} with no options
1625 * @see #startActivity(Intent, Bundle)
1628 public abstract void startActivity(@RequiresPermission Intent intent); method in class:Context
1631 * Version of {@link #startActivity(Intent)} that allows you to specify the
1666 * @see #startActivity(Intent)
1669 public abstract void startActivity(@RequiresPermission Intent intent, method in class:Context
1673 * Version of {@link #startActivity(Intent, Bundle)} that allows you to specify the
1692 * Version of {@link #startActivity(Intent, Bundle)} that returns a result to the caller. This
1734 * {@link #startActivity(Intent)} for the first Intent in the array,
1735 * that activity during its creation calling {@link #startActivity(Inten
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java306 public void startActivity(Intent intent) { method in class:MockContext
311 public void startActivity(Intent intent, Bundle options) { method in class:MockContext
312 startActivity(intent);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1819 public void startActivity(Intent arg0) { method in class:BridgeContext
1824 public void startActivity(Intent arg0, Bundle arg1) { method in class:BridgeContext
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragment.java979 * Call {@link Activity#startActivity(Intent)} from the fragment's
982 public void startActivity(Intent intent) { method in class:Fragment
983 startActivity(intent, null);
987 * Call {@link Activity#startActivity(Intent, Bundle)} from the fragment's
990 public void startActivity(Intent intent, @Nullable Bundle options) { method in class:Fragment
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java2585 public void startActivity(Intent intent, boolean dismissShade) { method in class:StatusBar
2590 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { method in class:StatusBar
2595 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { method in class:StatusBar
5022 startActivity(KeyguardBottomAreaView.INSECURE_CAMERA_INTENT,
5580 mContext.startActivity(new Intent(Settings.ACTION_APP_NOTIFICATION_REDACTION)

Completed in 1369 milliseconds