Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java28 public boolean stopped; field in PackageUserState
47 stopped = o.stopped; in PackageUserState()
DIPackageManager.aidl272 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/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java75 private boolean stopped() { in stopped() method in SipWakeupTimer
152 if (stopped()) return; in set()
178 if (stopped() || mEventQueue.isEmpty()) return; in cancel()
208 if (stopped() || mEventQueue.isEmpty()) return; in scheduleNext()
256 if (stopped() || mEventQueue.isEmpty()) return; in execute()
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java248 return readUserState(userId).stopped; in getStopped()
252 modifyUserState(userId).stopped = stop; in setStopped()
271 void setUserState(int userId, int enabled, boolean installed, boolean stopped, in setUserState() argument
278 state.stopped = stopped; in setUserState()
DSettings.java935 final boolean stopped = stoppedStr == null in readPackageRestrictionsLPr()
963 ps.setUserState(userId, enabled, installed, stopped, notLaunched, blocked, in readPackageRestrictionsLPr()
1069 if (ustate.stopped || ustate.notLaunched || !ustate.installed in writePackageRestrictionsLPr()
1083 if (ustate.stopped) { in writePackageRestrictionsLPr()
2813 boolean setPackageStoppedStateLPw(String packageName, boolean stopped, in setPackageStoppedStateLPw() argument
2827 if (stopped) { in setPackageStoppedStateLPw()
2833 if (pkgSetting.getStopped(userId) != stopped) { in setPackageStoppedStateLPw()
2834 pkgSetting.setStopped(stopped, userId); in setPackageStoppedStateLPw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DServiceMonitor.java217 boolean stopped = mContext.stopService(new Intent().setComponent(mServiceName)); in stopService()
218 if (mDebug) Log.d(mTag, " stopped=" + stopped); in stopService()
/frameworks/native/cmds/flatland/
DREADME.txt13 turned off and background services should be stopped before running the
17 with GPU rendering, those should be stopped as well (and ideally they'd be
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd655 <h3 id="launchcontrols" style="margin-top:1.25em;">Launch controls on stopped
659 applications that are in a stopped state and provides a means of controlling
662 <p>Note that an application's stopped state is not the same as an Activity's
663 stopped state. The system manages those two stopped states separately.</p>
666 whether the Intent should be allowed to activate components in stopped
671 Include intent filters of stopped applications in the list of potential targets
674 Exclude intent filters of stopped applications from the list of potential
679 behavior is to include filters of stopped applications in the list of
688 intents that should be allowed to activate stopped applications.</p>
690 <p>Applications are in a stopped state when they are first installed but are not
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java475 public void setStoppedState(IBinder token, boolean stopped) { in setStoppedState() argument
481 root.setStopped(stopped); in setStoppedState()
/frameworks/base/docs/html/guide/components/
Dactivities.jd63 activity starts, the previous activity is stopped, but the system preserves the activity
71 <p>When an activity is stopped because a new activity starts, it is notified of this change in state
76 appropriate to that state change. For instance, when stopped, your activity should release any
92 the activity is being created, stopped, resumed, or destroyed. The two most important callback
111 to be stopped and even destroyed. All of the lifecycle callback methods are discussed later, in
373 "background"). A stopped activity is also still alive (the {@link android.app.Activity}
379 <p>If an activity is paused or stopped, the system can drop it from memory either by asking it to
419 // The activity is no longer visible (it is now "stopped")
510 <td>Called after the activity has been stopped, just prior to it being
613 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
168 <li>When Activity A starts Activity B, Activity A is stopped, but the system retains its state
173 stopped and
195 stopped. This way, when users navigate back to a previous activity, its user interface appears
/frameworks/av/media/libmedia/
DSoundPool.cpp787 bool stopped; in stop() local
790 stopped = doStop_l(); in stop()
793 if (stopped) { in stop()
/frameworks/base/core/java/android/app/
DActivityThread.java266 boolean stopped; field in ActivityThread.ActivityClientRecord
295 stopped = false; in ActivityClientRecord()
2155 r.stopped = true; in performLaunchActivity()
2158 r.stopped = false; in performLaunchActivity()
2770 r.stopped = false; in performResumeActivity()
3126 if (!keepShown && r.stopped) { in performStopActivityInner()
3180 r.stopped = true; in performStopActivityInner()
3245 if (r.stopped) { in performRestartActivity()
3247 r.stopped = false; in performRestartActivity()
3259 if (!show && !r.stopped) { in handleWindowVisibility()
[all …]
/frameworks/av/include/media/
DAudioRecord.h228 bool stopped() const;
DAudioTrack.h301 bool stopped() const;
/frameworks/base/services/java/com/android/server/am/
DActivityRecord.java122 boolean stopped; // is activity pause finished? field in ActivityRecord
229 pw.print(" stopped="); pw.print(stopped); in dump()
368 stopped = false; in ActivityRecord()
573 if (stopped) {
DEventLogTags.logtags73 # A service has crashed too many times, it is being stopped
DActivityStack.java591 r.stopped = false; in minimalResumeActivityLocked()
846 if (!r.stopped) { in activityStoppedLocked()
849 r.stopped = true; in activityStoppedLocked()
1632 next.stopped = false; in resumeTopActivityLocked()
2244 r.stopped = false; in stopActivityLocked()
2265 r.stopped = true; in stopActivityLocked()
2741 && 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/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.jd238 Log.i(TAG, "Discovery stopped: " + serviceType);
331 it. Also, service discovery is an expensive operation, and should be stopped
/frameworks/base/media/jni/mediaeditor/
DVideoEditorMain.cpp3071 bool stopped = true; in videoEditor_stopEncoding() local
3078 pContext = (ManualEditContext*)videoEditClasses_getContext(&stopped, pEnv, thiz); in videoEditor_stopEncoding()
3086 videoEditJava_checkAndThrowIllegalStateException(&stopped, pEnv, in videoEditor_stopEncoding()
3090 if (stopped) { in videoEditor_stopEncoding()
3103 videoEditJava_checkAndThrowRuntimeException(&stopped, pEnv, in videoEditor_stopEncoding()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp604 if (state->mAudioTrack->stopped()) { in renderAudio()

123