Searched refs:activity (Results 126 - 142 of 142) sorted by relevance

123456

/frameworks/base/media/java/android/media/
H A DRingtoneManager.java238 * @param activity The activity used to get a managed cursor.
240 public RingtoneManager(Activity activity) { argument
241 mContext = mActivity = activity;
352 * caller should manage the returned cursor through its activity's life
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java191 ActivityManagerService activity) {
196 mActivity = activity;
189 init(Context context, BatteryService battery, PowerManagerService power, AlarmManagerService alarm, ActivityManagerService activity) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java497 int match, ComponentName[] set, ComponentName activity) {
506 int match, ComponentName[] set, ComponentName activity) {
496 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
505 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
/frameworks/base/core/java/android/app/
H A DActivity.java88 * An activity is a single, focused thing that the user can do. Almost all
94 * or embedded inside of another activity (using {@link ActivityGroup}).
99 * <li> {@link #onCreate} is where you initialize your activity. Most
106 * activity. Most importantly, any changes made by the user should at this
112 * activity classes must have a corresponding
113 * {@link android.R.styleable#AndroidManifestActivity &lt;activity&gt;}
153 * <p>Activities in the system are managed as an <em>activity stack</em>.
154 * When a new activity is started, it is placed on the top of the stack
155 * and becomes the running activity -- the previous activity alway
699 Object activity; field in class:Activity.NonConfigurationInstances
3489 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument
[all...]
H A DApplicationThreadNative.java483 final IBinder activity = data.readStrongBinder();
487 dumpActivity(fd.getFileDescriptor(), activity, prefix, args);
H A DFragmentManager.java72 * will be persisted across activity instances.
77 * representation of the entry that will persist across activity
129 * to an activity saving its state. If you try to commit a transaction
163 * activity; if no such fragment is found, then all fragments currently
173 * activity; if no such fragment is found, then all fragments currently
346 * Invalidate the attached activity's options menu as necessary.
396 * Container for fragments associated with an activity.
987 // The fragment's containing activity is
1044 throw new IllegalStateException("No activity");
1822 public void attachActivity(Activity activity, FragmentContaine argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java58 * <li> <p>Prior to Honeycomb (3.0), an activity's state was saved before pausing.
65 * if you change fragments between the state save and the activity being stopped.
66 * This means that in some cases if the activity is restored from its last saved
122 Object activity; field in class:FragmentActivity.NonConfigurationInstances
170 * Take care of popping the fragment back stack or finishing the activity
409 * is saved but the activity is not stopped, you could get an
423 * fragments attached to the activity are <em>not</em> resumed. This means
513 nci.activity = null;
618 * Invalidate the activity's options menu. This will cause relevant presentations
637 * you run "adb shell dumpsys activity <activity_component_nam
[all...]
H A DFragmentManager.java57 * <p>Your activity must derive from {@link FragmentActivity} to use this.
69 * will be persisted across activity instances.
74 * representation of the entry that will persist across activity
126 * to an activity saving its state. If you try to commit a transaction
160 * activity; if no such fragment is found, then all fragments currently
170 * activity; if no such fragment is found, then all fragments currently
382 * Container for fragments associated with an activity.
1019 // The fragment's containing activity is
1075 throw new IllegalStateException("No activity");
1842 public void attachActivity(FragmentActivity activity, argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java17 package android.app.activity;
41 "com.android.frameworks.coretests.activity.SERVICE_LOCAL";
43 "com.android.frameworks.coretests.activity.SERVICE_LOCAL_GRANTED";
45 "com.android.frameworks.coretests.activity.SERVICE_LOCAL_DENIED";
H A DBroadcastTest.java17 package android.app.activity;
40 "com.android.frameworks.coretests.activity.BROADCAST_REGISTERED";
42 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL";
44 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL_GRANTED";
46 "com.android.frameworks.coretests.activity.BROADCAST_LOCAL_DENIED";
48 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE";
50 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE_GRANTED";
52 "com.android.frameworks.coretests.activity.BROADCAST_REMOTE_DENIED";
54 "com.android.frameworks.coretests.activity.BROADCAST_ALL";
56 "com.android.frameworks.coretests.activity
[all...]
H A DLaunchpadActivity.java17 package android.app.activity;
74 public static final String LAUNCH = "com.android.frameworks.coretests.activity.LAUNCH";
77 "com.android.frameworks.coretests.activity.FORWARD_RESULT";
79 "com.android.frameworks.coretests.activity.RETURNED_RESULT";
82 "comcom.android.frameworks.coretests.activity.BAD_PARCELABLE";
88 "com.android.frameworks.coretests.activity.LIFECYCLE_BASIC";
90 "com.android.frameworks.coretests.activity.LIFECYCLE_SCREEN";
92 "com.android.frameworks.coretests.activity.LIFECYCLE_DIALOG";
94 "com.android.frameworks.coretests.activity.LIFECYCLE_FINISH_CREATE";
96 "com.android.frameworks.coretests.activity
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java150 public ActionBarImpl(Activity activity) { argument
151 mActivity = activity;
152 Window window = activity.getWindow();
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java17 package com.google.android.test.activity;
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java218 // How long we wait for a launched process to attach to the activity manager
222 // How long we wait for a launched process to attach to the activity manager
276 * Description of a request to start a new activity, which has been held
373 * activity manager lock!
427 * the "home" activity.
432 * This is the process holding the activity the user last visited that
973 mContext, proc, (ActivityRecord)data.get("activity"),
1367 ServiceManager.addService("activity", m, true);
1676 // The activity manager only throws security exceptions, so let's
2520 // If this is coming from the currently resumed activity, i
3250 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, boolean aboveSystem, final String annotation) argument
7956 makeAppNotRespondingLocked(ProcessRecord app, String activity, String shortMsg, String longMsg) argument
7979 generateProcessError(ProcessRecord app, int condition, String activity, String shortMsg, String longMsg, String stackTrace) argument
8476 addErrorToDropBox(String eventType, ProcessRecord process, String processName, ActivityRecord activity, ActivityRecord parent, String subject, final String report, final File logFile, final ApplicationErrorReport.CrashInfo crashInfo) argument
[all...]
H A DActivityStack.java92 // How long we wait until giving up on the last activity telling us it
99 // How long we wait until giving up on the last activity to pause. This
101 // next activity.
104 // How long we wait for the activity to tell us it has stopped before
115 // How long we wait until giving up on an activity telling us it has
123 // How long between activity launches that we consider safe to not warn
124 // the user about an unexpected activity being launched on top.
127 // Set to false to disable the preview that is shown while a new activity
167 * List of activities that are waiting for a new activity
176 * for the next activity t
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java322 final Activity activity = p.activities.get(i);
323 if (activity.info.enabled
344 final Activity activity = p.receivers.get(i);
345 if (activity.info.enabled
1888 if (tagName.equals("activity")) {
1925 } else if (tagName.equals("activity-alias")) {
2056 mParseActivityArgs.tag = receiver ? "<receiver>" : "<activity>";
2266 Slog.w(TAG, "Unknown element under <activity>: " + parser.getName()
2276 outError[0] = "Bad element under <activity>: " + parser.getName();
2299 outError[0] = "<activity
3777 public final Activity activity; field in class:PackageParser.ActivityIntentInfo
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java1913 enforceCrossUserPermission(Binder.getCallingUid(), userId, false, "get activity info");
2446 // If there is more than one activity with the same priority,
2454 // If the first activity has a higher priority, or a different
2461 // If we have saved a preference for a preferred activity for
2533 Log.v(TAG, "Got preferred activity:");
2541 // This previously registered preferred activity
2546 Slog.w(TAG, "Removing dangling preferred activity: "
2566 Slog.i(TAG, "Result set changed, dropping preferred activity for "
2626 "query intent activity options");
2766 // Filter out the caller activity i
8690 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
8717 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
[all...]

Completed in 554 milliseconds

123456