OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ActivityManager
(Results
51 - 75
of
280
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
ActivityTestMain.java
23
import android.app.
ActivityManager
;
59
ActivityManager
mAm;
102
final
ActivityManager
.RecentTaskInfo task,
103
final
ActivityManager
.TaskThumbnail thumbs) {
117
mAm.moveTaskToFront(task.id,
ActivityManager
.MOVE_TASK_WITH_HOME);
147
mAm = (
ActivityManager
)getSystemService(ACTIVITY_SERVICE);
378
ActivityManager
.AppTask task = findDocTask();
393
ActivityManager
.AppTask task = findDocTask();
395
ActivityManager
.RecentTaskInfo recent = task.getTaskInfo();
463
ActivityManager
am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE)
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
SystemServicesProxy.java
19
import android.app.
ActivityManager
;
82
ActivityManager
mAm;
107
mAm = (
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
144
public List<
ActivityManager
.RecentTaskInfo> getRecentTasks(int numLatestTasks, int userId,
150
ArrayList<
ActivityManager
.RecentTaskInfo> tasks =
151
new ArrayList<
ActivityManager
.RecentTaskInfo>();
161
ActivityManager
.RecentTaskInfo rti = new
ActivityManager
.RecentTaskInfo();
168
rti.taskDescription = new
ActivityManager
.TaskDescription(description,
172
rti.taskDescription = new
ActivityManager
.TaskDescription()
[
all
...]
/external/chromium_org/athena/activity/
activity_manager_impl.cc
21
ActivityManager
* instance = NULL;
118
ActivityManager
*
ActivityManager
::Create() {
124
ActivityManager
*
ActivityManager
::Get() {
128
void
ActivityManager
::Shutdown() {
activity_manager_impl.h
17
class ActivityManagerImpl : public
ActivityManager
,
25
//
ActivityManager
:
/cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java
20
import android.app.
ActivityManager
;
41
* Verify that
ActivityManager
.restartPackage() requires permissions.
47
ActivityManager
activityManager
= (
ActivityManager
) mContext.getSystemService(
51
activityManager
.restartPackage("packageName");
52
fail("
ActivityManager
.restartPackage() didn't throw SecurityException as expected.");
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
ForceStopManager.java
20
import android.app.
ActivityManager
;
50
ActivityManager
am = (
ActivityManager
) mContext.getSystemService(Context.ACTIVITY_SERVICE);
/frameworks/base/services/core/java/com/android/server/am/
CompatModeDialog.java
19
import android.app.
ActivityManager
;
58
mCompatEnabled.isChecked() ?
ActivityManager
.COMPAT_MODE_ENABLED
59
:
ActivityManager
.COMPAT_MODE_DISABLED);
83
mCompatEnabled.setChecked(mode ==
ActivityManager
.COMPAT_MODE_ENABLED);
ProcessList.java
23
import android.app.
ActivityManager
;
357
case
ActivityManager
.PROCESS_STATE_PERSISTENT:
360
case
ActivityManager
.PROCESS_STATE_PERSISTENT_UI:
363
case
ActivityManager
.PROCESS_STATE_TOP:
366
case
ActivityManager
.PROCESS_STATE_IMPORTANT_FOREGROUND:
369
case
ActivityManager
.PROCESS_STATE_IMPORTANT_BACKGROUND:
372
case
ActivityManager
.PROCESS_STATE_BACKUP:
375
case
ActivityManager
.PROCESS_STATE_HEAVY_WEIGHT:
378
case
ActivityManager
.PROCESS_STATE_SERVICE:
381
case
ActivityManager
.PROCESS_STATE_RECEIVER
[
all
...]
PendingIntentRecord.java
19
import android.app.
ActivityManager
;
173
case
ActivityManager
.INTENT_SENDER_ACTIVITY:
175
case
ActivityManager
.INTENT_SENDER_BROADCAST:
177
case
ActivityManager
.INTENT_SENDER_SERVICE:
179
case
ActivityManager
.INTENT_SENDER_ACTIVITY_RESULT:
232
case
ActivityManager
.INTENT_SENDER_ACTIVITY:
264
case
ActivityManager
.INTENT_SENDER_ACTIVITY_RESULT:
268
case
ActivityManager
.INTENT_SENDER_BROADCAST:
276
if (sent ==
ActivityManager
.BROADCAST_SUCCESS) {
284
case
ActivityManager
.INTENT_SENDER_SERVICE
[
all
...]
CompatModePackages.java
32
import android.app.
ActivityManager
;
185
return
ActivityManager
.COMPAT_MODE_NEVER;
188
return
ActivityManager
.COMPAT_MODE_ALWAYS;
190
return enabled ?
ActivityManager
.COMPAT_MODE_ENABLED
191
:
ActivityManager
.COMPAT_MODE_DISABLED;
231
return
ActivityManager
.COMPAT_MODE_UNKNOWN;
252
return
ActivityManager
.COMPAT_MODE_UNKNOWN;
277
case
ActivityManager
.COMPAT_MODE_DISABLED:
280
case
ActivityManager
.COMPAT_MODE_ENABLED:
283
case
ActivityManager
.COMPAT_MODE_TOGGLE
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/
NfcRootActivity.java
20
import android.app.
ActivityManager
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
SecureSetting.java
19
import android.app.
ActivityManager
;
44
mUserId =
ActivityManager
.getCurrentUser();
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardStateMonitor.java
19
import android.app.
ActivityManager
;
48
mLockPatternUtils.setCurrentUser(
ActivityManager
.getCurrentUser());
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
AppCompatibility.java
19
import android.app.
ActivityManager
;
20
import android.app.
ActivityManager
.ProcessErrorStateInfo;
21
import android.app.
ActivityManager
.RunningAppProcessInfo;
51
private
ActivityManager
mActivityManager;
65
mActivityManager = (
ActivityManager
)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsActivity.java
20
import android.app.
ActivityManager
;
162
final
ActivityManager
am = (
ActivityManager
) getSystemService(Context.ACTIVITY_SERVICE);
164
final List<
ActivityManager
.RecentTaskInfo> recentTasks =
166
ActivityManager
.RECENT_WITH_EXCLUDED |
167
ActivityManager
.RECENT_IGNORE_UNAVAILABLE |
168
ActivityManager
.RECENT_INCLUDE_PROFILES);
RecentTasksLoader.java
19
import android.app.
ActivityManager
;
97
ActivityManager
activityManager
=
98
(
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
99
mIconDpi =
activityManager
.getLauncherLargeIconDensity();
199
final
ActivityManager
am = (
ActivityManager
)
380
final
ActivityManager
am = (
ActivityManager
) mContext.getSystemService(Context.ACTIVITY_SERVICE);
382
final List<
ActivityManager
.RecentTaskInfo> recentTasks = am.getRecentTasksForUser(1
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
MemoryTracker.java
19
import android.app.
ActivityManager
;
84
ActivityManager
mAm;
161
mAm = (
ActivityManager
) getSystemService(Context.ACTIVITY_SERVICE);
164
List<
ActivityManager
.RunningServiceInfo> svcs = mAm.getRunningServices(256);
165
for (
ActivityManager
.RunningServiceInfo svc : svcs) {
173
List<
ActivityManager
.RunningAppProcessInfo> procs = mAm.getRunningAppProcesses();
174
for (
ActivityManager
.RunningAppProcessInfo proc : procs) {
/cts/tests/tests/app/src/android/app/cts/
ActivityManagerMemoryClassTest.java
19
import android.app.
ActivityManager
;
29
* {@link ActivityInstrumentationTestCase2} that tests {@link
ActivityManager
#getMemoryClass()}
51
ActivityManager
activityManager
=
52
(
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
53
return
activityManager
.getMemoryClass();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DocumentsApplication.java
19
import android.app.
ActivityManager
;
66
final
ActivityManager
am = (
ActivityManager
) getSystemService(Context.ACTIVITY_SERVICE);
/packages/apps/Settings/src/com/android/settings/applications/
RunningState.java
19
import android.app.
ActivityManager
;
79
final
ActivityManager
mAm;
131
final
ActivityManager
.RunningAppProcessInfo info;
135
AppProcessInfo(
ActivityManager
.RunningAppProcessInfo _info) {
169
final
ActivityManager
.RunningAppProcessInfo lhsInfo
171
final
ActivityManager
.RunningAppProcessInfo rhsInfo
174
>=
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_BACKGROUND;
176
>=
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_BACKGROUND;
182
&
ActivityManager
.RunningAppProcessInfo.FLAG_HAS_ACTIVITIES) != 0;
184
&
ActivityManager
.RunningAppProcessInfo.FLAG_HAS_ACTIVITIES) != 0
[
all
...]
/cts/tests/ProcessTest/src/com/android/cts/process/
ProcessTest.java
21
import android.app.
ActivityManager
;
22
import android.app.
ActivityManager
.RunningAppProcessInfo;
50
ActivityManager
am = (
ActivityManager
) mContext.getSystemService(Context.ACTIVITY_SERVICE);
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
SmokeTestRunner.java
19
import android.app.
ActivityManager
;
20
import android.app.
ActivityManager
.ProcessErrorStateInfo;
ProcessErrorsTest.java
19
import android.app.
ActivityManager
;
20
import android.app.
ActivityManager
.ProcessErrorStateInfo;
47
protected
ActivityManager
mActivityManager;
72
mActivityManager = (
ActivityManager
)
137
* were in an error state, as listed by {@link
ActivityManager
.getProcessesInErrorState()}.
293
case
ActivityManager
.ProcessErrorStateInfo.CRASHED:
296
case
ActivityManager
.ProcessErrorStateInfo.NOT_RESPONDING:
306
if (entry.condition ==
ActivityManager
.ProcessErrorStateInfo.CRASHED) {
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskTest.java
19
import android.app.
ActivityManager
;
132
// Start lock task, verify that
ActivityManager
knows thats what is going on.
139
ActivityManager
activityManager
= (
ActivityManager
)
141
assertTrue(
activityManager
.isInLockTaskMode());
145
stopAndFinish(
activityManager
);
148
// Verifies that the act of finishing is blocked by
ActivityManager
in lock task.
156
ActivityManager
activityManager
= (ActivityManager
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
PreferredServices.java
24
import android.app.
ActivityManager
;
108
loadDefaultsFromSettings(
ActivityManager
.getCurrentUser());
122
int currentUser =
ActivityManager
.getCurrentUser();
229
ApduServiceInfo serviceInfo = mServiceCache.getService(
ActivityManager
.getCurrentUser(),
247
ActivityManager
.getCurrentUser(), mPaymentDefaults.currentPreferred);
Completed in 1214 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>