OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RunningAppProcessInfo
(Results
1 - 25
of
73
) sorted by null
1
2
3
/cts/tests/app/src/android/app/cts/
ActivityManager_RunningAppProcessInfoTest.java
21
import android.app.ActivityManager.
RunningAppProcessInfo
;
31
new
RunningAppProcessInfo
();
32
new
RunningAppProcessInfo
("test", 100, new String[]{"com.android", "com.android.test"});
36
final List<
RunningAppProcessInfo
> list = am.getRunningAppProcesses();
37
final
RunningAppProcessInfo
rap = list.get(0);
47
final
RunningAppProcessInfo
r = new
RunningAppProcessInfo
();
ActivityManagerProcessStateTest.java
193
appInfo.uid, ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_SERVICE, WAIT_TIME);
216
appInfo.uid, ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_CACHED, WAIT_TIME);
241
uidGoneListener.waitForValue(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE,
242
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE);
243
assertEquals(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE,
251
uidForegroundListener.waitForValue(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_FOREGROUND,
252
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_VISIBLE);
253
assertEquals(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_FOREGROUND_SERVICE,
267
uidForegroundListener.waitForValue(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_CACHED,
268
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_CACHED)
[
all
...]
ActivityManagerTest.java
21
import android.app.ActivityManager.
RunningAppProcessInfo
;
351
List<
RunningAppProcessInfo
> list = mActivityManager.getRunningAppProcesses();
358
for (
RunningAppProcessInfo
ra : list) {
363
assertTrue(ra.importance >=
RunningAppProcessInfo
.IMPORTANCE_FOREGROUND);
364
assertTrue(ra.importance <
RunningAppProcessInfo
.IMPORTANCE_GONE);
374
for (
RunningAppProcessInfo
ra : list) {
386
List<
RunningAppProcessInfo
> listNew = mActivityManager.getRunningAppProcesses();
389
for (
RunningAppProcessInfo
ra : listNew) {
398
final
RunningAppProcessInfo
ra = new
RunningAppProcessInfo
();
[
all
...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowActivityManager.java
20
private List<ActivityManager.
RunningAppProcessInfo
> processes =
21
new ArrayList<ActivityManager.
RunningAppProcessInfo
>();
32
public List<ActivityManager.
RunningAppProcessInfo
> getRunningAppProcesses() {
60
public void setProcesses( List<ActivityManager.
RunningAppProcessInfo
> processes ) {
/frameworks/base/core/java/android/app/
ActivityManager.aidl
23
parcelable ActivityManager.
RunningAppProcessInfo
;
ActivityManager.java
151
mListener.onUidImportance(uid,
RunningAppProcessInfo
.procStateToImportanceForClient(
157
mListener.onUidImportance(uid,
RunningAppProcessInfo
.IMPORTANCE_GONE);
[
all
...]
/packages/experimental/MultiPackageApk/src/foo/bar/multi/
MyActivity.java
37
List<ActivityManager.
RunningAppProcessInfo
> runningProcesses = activityManager.getRunningAppProcesses();
38
for (ActivityManager.
RunningAppProcessInfo
runningProcess : runningProcesses) {
/cts/tests/tests/security/src/android/security/cts/
RunningAppProcessInfoTest.java
30
* getRunningTasks()is fixed. The test tries to get current
RunningAppProcessInfo
and passes
37
List<ActivityManager.
RunningAppProcessInfo
> appList =
/packages/apps/Nfc/src/com/android/nfc/
NfcApplication.java
20
import android.app.ActivityManager.
RunningAppProcessInfo
;
59
RunningAppProcessInfo
appInfo = (
RunningAppProcessInfo
)(i.next());
/cts/tests/ProcessTest/src/com/android/cts/process/
ProcessTest.java
22
import android.app.ActivityManager.
RunningAppProcessInfo
;
53
List<
RunningAppProcessInfo
> list = am.getRunningAppProcesses();
61
List<
RunningAppProcessInfo
> sharelist = am.getRunningAppProcesses();
69
List<
RunningAppProcessInfo
> shareStublist = am.getRunningAppProcesses();
79
List<
RunningAppProcessInfo
> noShareStublist = am.getRunningAppProcesses();
88
private int getPid(String processName, List<
RunningAppProcessInfo
> list) {
89
for (
RunningAppProcessInfo
rai : list) {
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
RemoteAPI.java
111
ActivityManager.
RunningAppProcessInfo
processInfo = findProcess(m_processName);
142
private ActivityManager.
RunningAppProcessInfo
findProcess (String name) {
144
List<ActivityManager.
RunningAppProcessInfo
> processes = activityMgr.getRunningAppProcesses();
146
for (ActivityManager.
RunningAppProcessInfo
info : processes) {
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowActivityManager.java
24
private List<ActivityManager.
RunningAppProcessInfo
> processes = new CopyOnWriteArrayList<>();
29
ActivityManager.
RunningAppProcessInfo
processInfo = new ActivityManager.
RunningAppProcessInfo
();
58
public List<ActivityManager.
RunningAppProcessInfo
> getRunningAppProcesses() {
105
public void setProcesses(List<ActivityManager.
RunningAppProcessInfo
> processes) {
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
ProcessStatusTracker.java
20
import android.app.ActivityManager.
RunningAppProcessInfo
;
78
List<
RunningAppProcessInfo
> runningApps = null;
88
for (
RunningAppProcessInfo
info : runningApps) {
179
* Enumerates the list of processes to be tracked and returns a list of
RunningAppProcessInfo
181
* @result a List of
RunningAppProcessInfo
objects with pkg and pid set
183
public List<
RunningAppProcessInfo
> getRunningAppProcesses() {
184
List<
RunningAppProcessInfo
> results = new ArrayList<
RunningAppProcessInfo
>();
198
results.add(new
RunningAppProcessInfo
(proc, pid, null));
/development/apps/Development/src/com/android/development/
RunningProcesses.java
82
List<ActivityManager.
RunningAppProcessInfo
> appList = am.getRunningAppProcesses();
83
for (ActivityManager.
RunningAppProcessInfo
app : appList) {
146
ActivityManager.
RunningAppProcessInfo
procInfo;
147
public ListItem(ActivityManager.
RunningAppProcessInfo
pInfo) {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowActivityManagerTest.java
61
final ActivityManager.
RunningAppProcessInfo
process1 = buildProcessInfo(new ComponentName("org.robolectric", "Process 1"));
62
final ActivityManager.
RunningAppProcessInfo
process2 = buildProcessInfo(new ComponentName("org.robolectric", "Process 2"));
65
ActivityManager.
RunningAppProcessInfo
myInfo = activityManager.getRunningAppProcesses().get(0);
144
private ActivityManager.
RunningAppProcessInfo
buildProcessInfo(ComponentName name) {
145
final ActivityManager.
RunningAppProcessInfo
info = new ActivityManager.
RunningAppProcessInfo
();
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
ServiceProcessController.java
94
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_SERVICE, mDefaultWaitTime);
97
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_EMPTY, mDefaultWaitTime);
199
mUidGoneListener.waitForValue(ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE,
200
ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE, timeout);
202
if (importance != ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_GONE) {
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ApplicationManagerFacade.java
20
import android.app.ActivityManager.
RunningAppProcessInfo
;
131
for (
RunningAppProcessInfo
info : mActivityManager.getRunningAppProcesses()) {
147
List<ActivityManager.
RunningAppProcessInfo
> appProcesses =
149
for (ActivityManager.
RunningAppProcessInfo
info : appProcesses) {
/packages/apps/Settings/src/com/android/settings/applications/
RunningState.java
128
final ActivityManager.
RunningAppProcessInfo
info;
132
AppProcessInfo(ActivityManager.
RunningAppProcessInfo
_info) {
166
final ActivityManager.
RunningAppProcessInfo
lhsInfo
168
final ActivityManager.
RunningAppProcessInfo
rhsInfo
171
>= ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_BACKGROUND;
173
>= ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_BACKGROUND;
179
& ActivityManager.
RunningAppProcessInfo
.FLAG_HAS_ACTIVITIES) != 0;
181
& ActivityManager.
RunningAppProcessInfo
.FLAG_HAS_ACTIVITIES) != 0;
397
ActivityManager.
RunningAppProcessInfo
mRunningProcessInfo;
[
all
...]
/packages/apps/Camera2/src/com/android/camera/app/
MemoryQuery.java
76
// Get ActivityManager.
RunningAppProcessInfo
.
77
ActivityManager.
RunningAppProcessInfo
info = new ActivityManager.
RunningAppProcessInfo
();
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageIconProvider.java
182
List<ActivityManager.
RunningAppProcessInfo
> rapInfoList =
184
for (ActivityManager.
RunningAppProcessInfo
rapInfo : rapInfoList) {
/frameworks/base/services/core/java/com/android/server/media/
MediaResourceMonitorService.java
85
for (ActivityManager.
RunningAppProcessInfo
proc :
/cts/tests/framework/base/windowmanager/src/android/server/wm/
AlertWindowsImportanceTests.java
19
import static android.app.ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_PERCEPTIBLE;
20
import static android.app.ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_PERCEPTIBLE_PRE_26;
21
import static android.app.ActivityManager.
RunningAppProcessInfo
.IMPORTANCE_VISIBLE;
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
AppLaunchTests.java
28
import android.app.ActivityManager.
RunningAppProcessInfo
;
260
List<
RunningAppProcessInfo
> appsInfo = am.getRunningAppProcesses();
262
for (
RunningAppProcessInfo
appInfo : appsInfo) {
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsBgVsFgActions.java
382
List<ActivityManager.
RunningAppProcessInfo
> processes = am.getRunningAppProcesses();
386
for (ActivityManager.
RunningAppProcessInfo
r : processes) {
396
processState = ActivityManager.
RunningAppProcessInfo
.class
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java
406
* @param list a list of {@link ActivityManager.
RunningAppProcessInfo
} to check.
410
List<ActivityManager.
RunningAppProcessInfo
> list) {
411
for (ActivityManager.
RunningAppProcessInfo
rai : list) {
430
List<ActivityManager.
RunningAppProcessInfo
> list =
Completed in 3035 milliseconds
1
2
3