Home
last modified time | relevance | path

Searched refs:stopped (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java28 public boolean stopped; field in PackageUserState
43 stopped = o.stopped; in PackageUserState()
DIPackageManager.aidl240 void setPackageStoppedState(String packageName, boolean stopped, int userId); in setPackageStoppedState() argument
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd41 There are a few of key scenarios in which your activity is stopped and restarted:</p>
45 activity in your app that's currently in the foreground is stopped. If the user returns to your
48 is stopped when the second activity is created. If the user then presses the <em>Back</em>
55 specifically handle how your activity handles being stopped and restarted. Unlike the paused state,
56 which identifies a partial UI obstruction, the stopped state guarantees that the UI is no longer
60 instance in system memory when it is stopped, it's possible that you don't need to implement the
66 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
69 while the activity is stopped, the system calls {@link android.app.Activity#onRestart onRestart()}
81 using it. Once your activity is stopped, the system might destroy the instance if it needs to
116 <p>When your activity is stopped, the {@link android.app.Activity} object is kept resident in memory
[all …]
Dpausing.jd110 destination if your activity is actually being stopped.</p>
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeupTimer.java86 private boolean stopped() { in stopped() method in SipWakeupTimer
163 if (stopped()) return; in set()
189 if (stopped() || mEventQueue.isEmpty()) return; in cancel()
219 if (stopped() || mEventQueue.isEmpty()) return; in scheduleNext()
267 if (stopped() || mEventQueue.isEmpty()) return; in execute()
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java236 return readUserState(userId).stopped; in getStopped()
240 modifyUserState(userId).stopped = stop; in setStopped()
251 void setUserState(int userId, int enabled, boolean installed, boolean stopped, in setUserState() argument
257 state.stopped = stopped; in setUserState()
DSettings.java896 final boolean stopped = stoppedStr == null in readPackageRestrictionsLPr()
921 ps.setUserState(userId, enabled, installed, stopped, notLaunched, in readPackageRestrictionsLPr()
1027 if (ustate.stopped || ustate.notLaunched || !ustate.installed in writePackageRestrictionsLPr()
1040 if (ustate.stopped) { in writePackageRestrictionsLPr()
2458 boolean setPackageStoppedStateLPw(String packageName, boolean stopped, in setPackageStoppedStateLPw() argument
2472 if (stopped) { in setPackageStoppedStateLPw()
2478 if (pkgSetting.getStopped(userId) != stopped) { in setPackageStoppedStateLPw()
2479 pkgSetting.setStopped(stopped, userId); in setPackageStoppedStateLPw()
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd654 <h3 id="launchcontrols" style="margin-top:1.25em;">Launch controls on stopped
658 applications that are in a stopped state and provides a means of controlling
661 <p>Note that an application's stopped state is not the same as an Activity's
662 stopped state. The system manages those two stopped states separately.</p>
665 whether the Intent should be allowed to activate components in stopped
670 Include intent filters of stopped applications in the list of potential targets
673 Exclude intent filters of stopped applications from the list of potential
678 behavior is to include filters of stopped applications in the list of
687 intents that should be allowed to activate stopped applications.</p>
689 <p>Applications are in a stopped state when they are first installed but are not
[all …]
/frameworks/av/include/media/
DAudioRecord.h205 bool stopped() const;
DAudioTrack.h262 bool stopped() const;
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java494 public void setStoppedState(IBinder token, boolean stopped) { in setStoppedState() argument
501 root.setStopped(stopped); in setStoppedState()
/frameworks/base/docs/html/guide/components/
Dactivities.jd62 activity starts, the previous activity is stopped, but the system preserves the activity
70 <p>When an activity is stopped because a new activity starts, it is notified of this change in state
75 appropriate to that state change. For instance, when stopped, your activity should release any
91 the activity is being created, stopped, resumed, or destroyed. The two most important callback
110 to be stopped and even destroyed. All of the lifecycle callback methods are discussed later, in
372 "background"). A stopped activity is also still alive (the {@link android.app.Activity}
378 <p>If an activity is paused or stopped, the system can drop it from memory either by asking it to
418 // The activity is no longer visible (it is now "stopped")
509 <td>Called after the activity has been stopped, just prior to it being
612 when an activity is paused or stopped, the state of the activity is retained. This is true because
[all …]
Dtasks-and-back-stack.jd95 takes focus. The previous activity remains in the stack, but is stopped. When an activity
132 stopped, but the back stack for the task remains intact&mdash;the task has simply lost focus while
169 <li>When Activity A starts Activity B, Activity A is stopped, but the system retains its state
174 stopped and
196 stopped. This way, when users navigate back to a previous activity, its user interface appears
/frameworks/base/core/java/android/app/
DActivityThread.java275 boolean stopped; field in ActivityThread.ActivityClientRecord
304 stopped = false; in ActivityClientRecord()
2151 r.stopped = true; in performLaunchActivity()
2154 r.stopped = false; in performLaunchActivity()
2738 r.stopped = false; in performResumeActivity()
3094 if (!keepShown && r.stopped) { in performStopActivityInner()
3148 r.stopped = true; in performStopActivityInner()
3213 if (r.stopped) { in performRestartActivity()
3215 r.stopped = false; in performRestartActivity()
3227 if (!show && !r.stopped) { in handleWindowVisibility()
[all …]
/frameworks/av/media/libmedia/
DSoundPool.cpp786 bool stopped; in stop() local
789 stopped = doStop_l(); in stop()
792 if (stopped) { in stop()
/frameworks/base/services/java/com/android/server/am/
DActivityRecord.java109 boolean stopped; // is activity pause finished? field in ActivityRecord
207 pw.print(" stopped="); pw.print(stopped); in dump()
342 stopped = false; in ActivityRecord()
512 if (stopped) {
DEventLogTags.logtags73 # A service has crashed too many times, it is being stopped
DActivityStack.java754 r.stopped = false; in realStartActivityLocked()
771 r.stopped = true; in realStartActivityLocked()
1072 if (!r.stopped) { in activityStoppedLocked()
1075 r.stopped = true; in activityStoppedLocked()
1761 next.stopped = false; in resumeTopActivityLocked()
3391 r.stopped = false; in stopActivityLocked()
3413 r.stopped = true; in stopActivityLocked()
4017 && r.haveState && !r.visible && r.stopped in destroyActivitiesLocked()
/frameworks/base/docs/html/tools/debugging/
Ddebugging-devtools.jd51 <dd>Tells the system to destroy an activity as soon as it is stopped (as if Android had to
/frameworks/native/libs/utils/
DREADME195 the target package's process is stopped and a new idmap is generated.
196 This is similar to how applications are stopped when their packages are
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java547 final boolean stopped = !trackMotionScroll(dy, false); in computeScroll()
549 if (!stopped && !mScroller.isFinished()) { in computeScroll()
552 if (stopped) { in computeScroll()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd.jd242 Log.i(TAG, "Discovery stopped: " + serviceType);
335 it. Also, service discovery is an expensive operation, and should be stopped
/frameworks/base/docs/html/training/basics/location/
Dlocationmanager.jd104 // location provider is enabled each time the activity resumes from the stopped state.
/frameworks/base/media/jni/mediaeditor/
DVideoEditorMain.cpp3115 bool stopped = true; in videoEditor_stopEncoding() local
3122 pContext = (ManualEditContext*)videoEditClasses_getContext(&stopped, pEnv, thiz); in videoEditor_stopEncoding()
3130 videoEditJava_checkAndThrowIllegalStateException(&stopped, pEnv, in videoEditor_stopEncoding()
3134 if (stopped) { in videoEditor_stopEncoding()
3147 videoEditJava_checkAndThrowRuntimeException(&stopped, pEnv, in videoEditor_stopEncoding()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp602 if (state->mAudioTrack->stopped()) { in renderAudio()

123