OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ActivityManager
(Results
26 - 50
of
280
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
GLES20Activity.java
20
import android.app.
ActivityManager
;
49
ActivityManager
am =
50
(
ActivityManager
) getSystemService(Context.ACTIVITY_SERVICE);
/cts/tests/tests/app/src/android/app/cts/
ActivityManagerProcessErrorStateInfoTest.java
18
import android.app.
ActivityManager
;
23
protected
ActivityManager
.ProcessErrorStateInfo mErrorStateInfo;
28
mErrorStateInfo = new
ActivityManager
.ProcessErrorStateInfo();
32
new
ActivityManager
.ProcessErrorStateInfo();
59
ActivityManager
.ProcessErrorStateInfo values =
60
ActivityManager
.ProcessErrorStateInfo.CREATOR.createFromParcel(parcel);
93
ActivityManager
.ProcessErrorStateInfo values = new
ActivityManager
.ProcessErrorStateInfo();
ActivityManager_RunningServiceInfoTest.java
18
import android.app.
ActivityManager
;
24
private
ActivityManager
.RunningServiceInfo mRunningServiceInfo;
31
mRunningServiceInfo = new
ActivityManager
.RunningServiceInfo();
47
new
ActivityManager
.RunningServiceInfo();
59
ActivityManager
.RunningServiceInfo values =
60
ActivityManager
.RunningServiceInfo.CREATOR.createFromParcel(parcel);
78
ActivityManager
.RunningServiceInfo values =
79
new
ActivityManager
.RunningServiceInfo();
ActivityManager_RunningAppProcessInfoTest.java
20
import android.app.
ActivityManager
;
21
import android.app.
ActivityManager
.RunningAppProcessInfo;
34
final
ActivityManager
am = (
ActivityManager
)
ActivityManagerTest.java
23
import android.app.
ActivityManager
;
25
import android.app.
ActivityManager
.ProcessErrorStateInfo;
26
import android.app.
ActivityManager
.RecentTaskInfo;
27
import android.app.
ActivityManager
.RunningAppProcessInfo;
28
import android.app.
ActivityManager
.RunningServiceInfo;
29
import android.app.
ActivityManager
.RunningTaskInfo;
43
private
ActivityManager
mActivityManager;
54
mActivityManager = (
ActivityManager
) mContext.getSystemService(Context.ACTIVITY_SERVICE);
202
ActivityManager
.MemoryInfo outInfo = new
ActivityManager
.MemoryInfo()
[
all
...]
/external/chromium_org/athena/content/
content_activity_factory.cc
24
ActivityManager
::Get()->AddActivity(activity);
32
ActivityManager
::Get()->AddActivity(activity);
/frameworks/base/core/java/android/app/
AppImportanceMonitor.java
41
int importance =
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_GONE;
57
ActivityManager
.RunningAppProcessInfo.procStateToImportance(procState),
66
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_GONE, true);
89
ActivityManager
am = (
ActivityManager
)context.getSystemService(Context.ACTIVITY_SERVICE);
94
List<
ActivityManager
.RunningAppProcessInfo> apps = am.getRunningAppProcesses();
97
ActivityManager
.RunningAppProcessInfo app = apps.get(i);
106
return
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_GONE;
123
if (importance >=
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_GONE) {
132
int appImp =
ActivityManager
.RunningAppProcessInfo.IMPORTANCE_GONE
[
all
...]
/external/chromium_org/athena/activity/
activity.cc
22
ActivityManager
::Get()->RemoveActivity(activity);
activity_manager_unittest.cc
18
static_cast<ActivityManagerImpl*>(
ActivityManager
::Get());
43
ActivityManager
* manager =
ActivityManager
::Get();
/external/chromium_org/chrome/browser/ui/views/athena/
athena_util.cc
20
athena::
ActivityManager
::Get()->GetActivityForWindow(owner_window);
/cts/tests/tests/openglperf/src/android/openglperf/cts/
GlAppSwitchTest.java
20
import android.app.
ActivityManager
;
46
private
ActivityManager
mActivityManager;
72
mActivityManager = (
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
122
List<
ActivityManager
.RunningTaskInfo> tasks =
124
for (
ActivityManager
.RunningTaskInfo info : tasks) {
137
List<
ActivityManager
.RunningTaskInfo> tasks =
139
for (
ActivityManager
.RunningTaskInfo info : tasks) {
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
RemoteAPI.java
26
import android.app.
ActivityManager
;
112
ActivityManager
.RunningAppProcessInfo processInfo = findProcess(m_processName);
133
private
ActivityManager
.RunningAppProcessInfo findProcess (String name) {
134
ActivityManager
activityMgr = (
ActivityManager
)m_context.getSystemService(Context.ACTIVITY_SERVICE);
135
List<
ActivityManager
.RunningAppProcessInfo> processes = activityMgr.getRunningAppProcesses();
137
for (
ActivityManager
.RunningAppProcessInfo info : processes) {
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
MemorySizeCalculator.java
4
import android.app.
ActivityManager
;
28
this((
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE),
32
MemorySizeCalculator(
ActivityManager
activityManager
, ScreenDimensions screenDimensions) {
33
final int maxSize = getMaxSize(
activityManager
);
53
+ toMb(maxSize) + " memoryClass: " +
activityManager
.getMemoryClass() + " isLowMemoryDevice: "
54
+ isLowMemoryDevice(
activityManager
));
66
private static int getMaxSize(
ActivityManager
activityManager
) {
67
final int memoryClassBytes =
activityManager
.getMemoryClass() * 1024 * 1024
[
all
...]
/external/chromium_org/athena/test/
sample_activity_factory.cc
37
ActivityManager
::Get()->AddActivity(activity);
47
ActivityManager
::Get()->AddActivity(activity);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
CurrentUserTracker.java
19
import android.app.
ActivityManager
;
51
mCurrentUserId =
ActivityManager
.getCurrentUser();
/packages/apps/Camera2/src/com/android/camera/app/
MemoryQuery.java
19
import android.app.
ActivityManager
;
53
private
ActivityManager
mActivityManager;
55
public MemoryQuery(
ActivityManager
activityManager
) {
56
mActivityManager =
activityManager
;
61
* the
ActivityManager
and Debug.MemoryInfo,
66
// Get
ActivityManager
.MemoryInfo.
69
ActivityManager
.MemoryInfo memoryInfo = new
ActivityManager
.MemoryInfo();
76
// Get
ActivityManager
.RunningAppProcessInfo
[
all
...]
MemoryManagerImpl.java
19
import android.app.
ActivityManager
;
71
ActivityManager
activityManager
=
72
(
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
74
MemoryQuery mMemoryQuery = new MemoryQuery(
activityManager
);
158
ActivityManager
activityManager
= (
ActivityManager
) context
165
return (int) (Math.max(
activityManager
.getMemoryClass(),
166
activityManager
.getLargeMemoryClass()) * MAX_MEM_ALLOWED)
[
all
...]
/packages/apps/Music/tests/src/com/android/music/stress/
AlbumsPlaybackStress.java
19
import android.app.
ActivityManager
;
86
ActivityManager
.MemoryInfo mi = new
ActivityManager
.MemoryInfo();
87
((
ActivityManager
)getActivity().getSystemService(Context.ACTIVITY_SERVICE)).getMemoryInfo(mi);
MusicPlaybackStress.java
19
import android.app.
ActivityManager
;
82
ActivityManager
.MemoryInfo mi = new
ActivityManager
.MemoryInfo();
83
((
ActivityManager
)getActivity().getSystemService(Context.ACTIVITY_SERVICE)).getMemoryInfo(mi);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DataClearer.java
22
import android.app.
ActivityManager
;
59
if (!
ActivityManager
.isUserAMonkey()) {
65
ActivityManager
am = (
ActivityManager
) activity.getSystemService(
/cts/tests/tests/acceleration/src/android/acceleration/cts/
BaseAccelerationTest.java
19
import android.app.
ActivityManager
;
64
ActivityManager
activityManager
=
65
(
ActivityManager
) context.getSystemService(Context.ACTIVITY_SERVICE);
66
ConfigurationInfo configInfo =
activityManager
.getDeviceConfigurationInfo();
/cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java
19
import android.app.
ActivityManager
;
37
ActivityManager
am =
38
(
ActivityManager
) getContext().getSystemService(Context.ACTIVITY_SERVICE);
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
Analytics.java
21
import android.app.
ActivityManager
;
105
return !
ActivityManager
.isUserAMonkey() && !
ActivityManager
.isRunningInTestHarness();
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
SqliteWrapper.java
20
import android.app.
ActivityManager
;
46
ActivityManager
am = (
ActivityManager
)
48
ActivityManager
.MemoryInfo outInfo = new
ActivityManager
.MemoryInfo();
/development/apps/Development/src/com/android/development/
RunningProcesses.java
20
import android.app.
ActivityManager
;
81
ActivityManager
am = (
ActivityManager
)getSystemService(Context.ACTIVITY_SERVICE);
82
List<
ActivityManager
.RunningAppProcessInfo> appList = am.getRunningAppProcesses();
83
for (
ActivityManager
.RunningAppProcessInfo app : appList) {
146
ActivityManager
.RunningAppProcessInfo procInfo;
147
public ListItem(
ActivityManager
.RunningAppProcessInfo pInfo) {
Completed in 1123 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>