Home
last modified time | relevance | path

Searched refs:getMemoryInfo (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java275 int surfaceCnt = (int)((getMemoryInfo().availMem * 3) / (4 * maxMemoryPerSurface)); in onCreate()
504 private MemoryInfo getMemoryInfo() { in getMemoryInfo() method in SurfaceCompositionMeasuringActivity
508 activityManager.getMemoryInfo(memInfo); in getMemoryInfo()
520 MemoryInfo memInfo = getMemoryInfo(); in updateSystemInfo()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java155 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
162 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DDebugTest.java74 Debug.getMemoryInfo(-1, info); in testGetMemoryInfo()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
H A DSystemMonitorTest.java148 }).when(mMockActivityManager).getMemoryInfo(any(MemoryInfo.class)); in testSetCallback_whenMemUsageLow_shouldInvokeCallback()
169 }).when(mMockActivityManager).getMemoryInfo(any(MemoryInfo.class)); in testSetCallback_whenMemUsageHigh_shouldInvokeCallback()
/aosp12/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java63 Debug.getMemoryInfo(memoryInfo); in main()
/aosp12/frameworks/base/telephony/common/com/google/android/mms/util/
H A DSqliteWrapper.java51 am.getMemoryInfo(outInfo); in isLowMemory()
/aosp12/packages/apps/Camera2/src/com/android/camera/app/
H A DMemoryQuery.java70 mActivityManager.getMemoryInfo(memoryInfo); in queryMemory()
/aosp12/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
H A DSystemMonitor.java152 mActivityManager.getMemoryInfo(mi); in getMemoryLoad()
/aosp12/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java500 Debug.getMemoryInfo(memInfo); in endPerformanceSnapshot()
H A DDebug.java1883 public static native void getMemoryInfo(MemoryInfo memoryInfo); in getMemoryInfo() method in Debug
1894 public static native boolean getMemoryInfo(int pid, MemoryInfo memoryInfo); in getMemoryInfo() method in Debug
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/telemetry/
H A DCarTelemetryTestFragment.java571 activityManager.getMemoryInfo(memoryInfo); in getAvailableMemory()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DProcStatsData.java407 ((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)).getMemoryInfo( in MemInfo()
H A DRunningProcessesView.java468 mAm.getMemoryInfo(memInfo); in doCreate()
/aosp12/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl270 void getMemoryInfo(out ActivityManager.MemoryInfo outInfo); in getMemoryInfo() method
H A DActivityManager.java2661 public void getMemoryInfo(MemoryInfo outInfo) { in getMemoryInfo() method in ActivityManager
2663 getService().getMemoryInfo(outInfo); in getMemoryInfo()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java3902 Debug.getMemoryInfo(pids[i], memInfo); in getProcessMemoryInfo()
5825 public void getMemoryInfo(ActivityManager.MemoryInfo outInfo) { in getMemoryInfo() method in ActivityManagerService
5826 mProcessList.getMemoryInfo(outInfo); in getMemoryInfo()
10584 if (!Debug.getMemoryInfo(pid, mi)) { in dumpApplicationMemoryUsage()
10679 if (!Debug.getMemoryInfo(pid, mi)) { in dumpApplicationMemoryUsage()
10834 if (!Debug.getMemoryInfo(st.pid, info)) { in dumpApplicationMemoryUsage()
11236 if (!Debug.getMemoryInfo(pid, mi)) { in dumpApplicationMemoryUsage()
11333 if (!Debug.getMemoryInfo(pid, mi)) { in dumpApplicationMemoryUsage()
11471 if (!Debug.getMemoryInfo(st.pid, info)) { in dumpApplicationMemoryUsage()
H A DProcessList.java1578 void getMemoryInfo(ActivityManager.MemoryInfo outInfo) {
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java267 Debug.getMemoryInfo(android.os.Process.myPid(), info); in ProcessStats()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java9167 ActivityManager.getService().getMemoryInfo(info); in readAndSetLowRamDevice()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt766 HSPLandroid/app/ActivityManager;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo;)V
1827 HSPLandroid/app/IActivityManager$Stub$Proxy;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt4196 method public void getMemoryInfo(android.app.ActivityManager.MemoryInfo);
31012 method public static void getMemoryInfo(android.os.Debug.MemoryInfo);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt3506 method public void getMemoryInfo(android.app.ActivityManager.MemoryInfo);
21598 method public static void getMemoryInfo(android.os.Debug.MemoryInfo);
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt766 HSPLandroid/app/ActivityManager;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo;)V
1827 HSPLandroid/app/IActivityManager$Stub$Proxy;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo…
/aosp12/frameworks/base/services/
H A Dart-profile6519 HSPLcom/android/server/am/ActivityManagerService;->getMemoryInfo(Landroid/app/ActivityManager$Memor…
8579 HSPLcom/android/server/am/ProcessList;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo;)V+]L…

12