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
...]
/external/chromium_org/base/android/java/src/org/chromium/base/
PerfTraceEvent.java
8
import android.os.Debug.
MemoryInfo
;
208
public static synchronized void begin(String name,
MemoryInfo
memoryInfo
) {
216
timestampUs,
memoryInfo
);
228
public static synchronized void end(String name,
MemoryInfo
memoryInfo
) {
239
timestampUs,
memoryInfo
);
262
MemoryInfo
memInfo = null;
264
memInfo = new
MemoryInfo
();
277
* @param
memoryInfo
Memory details to be included in this perf string, null i
[
all
...]
/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
152
Debug.
MemoryInfo
memoryInfo
= new Debug.
MemoryInfo
();
153
Debug.getMemoryInfo(
memoryInfo
);
Completed in 405 milliseconds