OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:memoryInfo
(Results
1 - 6
of
6
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityManagerTest.java
20
ActivityManager.
MemoryInfo
memoryInfo
= new ActivityManager.
MemoryInfo
();
21
memoryInfo
.lowMemory = true;
22
shadowActivityManager.setMemoryInfo(
memoryInfo
);
23
ActivityManager.
MemoryInfo
fetchedMemoryInfo = new ActivityManager.
MemoryInfo
();
31
ActivityManager.
MemoryInfo
fetchedMemoryInfo = new ActivityManager.
MemoryInfo
();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowActivityManager.java
24
private ActivityManager.
MemoryInfo
memoryInfo
;
42
public void getMemoryInfo(ActivityManager.
MemoryInfo
outInfo) {
43
if (
memoryInfo
!= null) {
44
outInfo.lowMemory =
memoryInfo
.lowMemory;
71
public void setMemoryInfo(ActivityManager.
MemoryInfo
memoryInfo
) {
72
this.
memoryInfo
=
memoryInfo
;
75
@Implements(ActivityManager.
MemoryInfo
.class
[
all
...]
/frameworks/base/tools/preload/loadclass/
LoadClass.java
62
Debug.
MemoryInfo
memoryInfo
= new Debug.
MemoryInfo
();
63
Debug.getMemoryInfo(
memoryInfo
);
64
response.append(',').append(
memoryInfo
.nativeSharedDirty);
65
response.append(',').append(
memoryInfo
.dalvikSharedDirty);
66
response.append(',').append(
memoryInfo
.otherSharedDirty);
67
response.append(',').append(
memoryInfo
.nativePrivateDirty);
68
response.append(',').append(
memoryInfo
.dalvikPrivateDirty);
69
response.append(',').append(
memoryInfo
.otherPrivateDirty)
[
all
...]
/cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java
135
* {@code ActivityManager.
MemoryInfo
}.
138
ActivityManager.
MemoryInfo
memoryInfo
= new ActivityManager.
MemoryInfo
();
139
mActivityManager.getMemoryInfo(
memoryInfo
);
140
return
memoryInfo
.totalMem;
/packages/apps/Camera2/src/com/android/camera/app/
MemoryQuery.java
61
* the ActivityManager and Debug.
MemoryInfo
,
66
// Get ActivityManager.
MemoryInfo
.
69
ActivityManager.
MemoryInfo
memoryInfo
= new ActivityManager.
MemoryInfo
();
70
mActivityManager.getMemoryInfo(
memoryInfo
);
71
long availMem =
memoryInfo
.availMem / BYTES_IN_MEGABYTE;
72
long totalMem =
memoryInfo
.totalMem / BYTES_IN_MEGABYTE;
73
long threshold =
memoryInfo
.threshold / BYTES_IN_MEGABYTE;
74
boolean lowMemory =
memoryInfo
.lowMemory
[
all
...]
/cts/tests/tests/os/src/android/os/cts/
DebugTest.java
153
Debug.
MemoryInfo
memoryInfo
= new Debug.
MemoryInfo
();
154
Debug.getMemoryInfo(
memoryInfo
);
305
Debug.
MemoryInfo
memoryInfo
= new Debug.
MemoryInfo
();
306
Debug.getMemoryInfo(
memoryInfo
);
308
String summary_java_heap =
memoryInfo
.getMemoryStat("summary.java-heap");
309
String summary_native_heap =
memoryInfo
.getMemoryStat("summary.native-heap")
[
all
...]
Completed in 205 milliseconds