/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MemoryDeviceInfo.java | 33 ActivityManager activityManager = (ActivityManager)getInstrumentation() in collectDeviceInfo() local 35 store.addResult("low_ram_device", activityManager.isLowRamDevice()); in collectDeviceInfo() 36 store.addResult("memory_class", activityManager.getMemoryClass()); in collectDeviceInfo() 37 store.addResult("large_memory_class", activityManager.getLargeMemoryClass()); in collectDeviceInfo() 40 activityManager.getMemoryInfo(memoryInfo); in collectDeviceInfo()
|
D | GlesStubActivity.java | 77 ActivityManager activityManager = in onCreate() local 79 ConfigurationInfo info = activityManager.getDeviceConfigurationInfo(); in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayPrivateDisplayTests.java | 111 final ActivityManager activityManager = in testCantAccessPrivateDisplay() local 116 assertFalse(activityManager.isActivityStartAllowedOnDisplay(mTargetContext, in testCantAccessPrivateDisplay() 128 final ActivityManager activityManager = in testCanAccessPrivateDisplayWithInternalPermission() local 135 assertTrue(activityManager.isActivityStartAllowedOnDisplay(mTargetContext, in testCanAccessPrivateDisplayWithInternalPermission()
|
D | SurfaceControlViewHostTests.java | 164 ActivityManager activityManager = in getGlEsVersion() local 166 ConfigurationInfo configInfo = activityManager.getDeviceConfigurationInfo(); in getGlEsVersion()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 450 ActivityManager activityManager = (ActivityManager) getContext() in isLowRamDevice() local 452 return activityManager.isLowRamDevice() ? "true" : "false"; in isLowRamDevice() 456 ActivityManager activityManager = (ActivityManager) getContext() in getMemoryClass() local 458 return String.valueOf(activityManager.getMemoryClass()); in getMemoryClass() 462 ActivityManager activityManager = (ActivityManager) getContext() in getLargeMemoryClass() local 464 return String.valueOf(activityManager.getLargeMemoryClass()); in getLargeMemoryClass() 468 ActivityManager activityManager = (ActivityManager) getContext() in getTotalMemory() local 472 activityManager.getMemoryInfo(memoryInfo); in getTotalMemory()
|
/cts/tests/acceleration/src/android/acceleration/cts/ |
D | BaseAccelerationTest.java | 66 ActivityManager activityManager = in getGlEsVersion() local 68 ConfigurationInfo configInfo = activityManager.getDeviceConfigurationInfo(); in getGlEsVersion()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2020_0294.java | 49 ActivityManager activityManager = (ActivityManager) instrumentation.getContext() in testPocCVE_2020_0294() local 54 PendingIntent pi = activityManager.getRunningServiceControlPanel(componentName); in testPocCVE_2020_0294()
|
/cts/tests/backup/src/android/backup/cts/ |
D | AgentBindingTest.java | 72 Object activityManager = getActivityManager(); in callActivityManagerMethod() local 74 bindBackupAgentMethod.invoke(activityManager, args); in callActivityManagerMethod()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoSystemFunctionPermissionTest.java | 49 ActivityManager activityManager = (ActivityManager) mContext.getSystemService( in testRestartPackage() local 53 activityManager.restartPackage("packageName"); in testRestartPackage()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 226 ActivityManager activityManager = in TestEnvironment() local 229 Boolean.toString(activityManager.isLowRamDevice())); in TestEnvironment()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 90 final ActivityManager activityManager = context.getSystemService(ActivityManager.class); in testAdoptAllShellPermissions() local 95 activityManager.getPackageImportance("foo.bar.baz"); in testAdoptAllShellPermissions() 113 activityManager.getPackageImportance("foo.bar.baz"); in testAdoptAllShellPermissions() 132 activityManager.getPackageImportance("foo.bar.baz"); in testAdoptAllShellPermissions()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | OfflineSessionTest.java | 843 ActivityManager activityManager = (ActivityManager) mContext.getSystemService( in startRemoteOfflineTestProcess() local 845 List<ActivityManager.RunningAppProcessInfo> list = activityManager.getRunningAppProcesses(); in startRemoteOfflineTestProcess() 862 list = activityManager.getRunningAppProcesses(); in startRemoteOfflineTestProcess() 881 ActivityManager activityManager = (ActivityManager) mContext.getSystemService( in stopRemoteOfflineTestProcess() local 884 List<ActivityManager.RunningAppProcessInfo> list = activityManager.getRunningAppProcesses(); in stopRemoteOfflineTestProcess()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTest.java | 219 ActivityManager activityManager = in getMemoryClass() local 221 return activityManager.getMemoryClass(); in getMemoryClass()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | SessionLifecycleTest.java | 157 final ActivityManager activityManager = (ActivityManager) getContext() in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() local 159 assumeFalse(activityManager.isLowRamDevice()); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGlEsVersionTest.java | 453 ActivityManager activityManager = in getVersionFromActivityManager() local 455 ConfigurationInfo configInfo = activityManager.getDeviceConfigurationInfo(); in getVersionFromActivityManager()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 543 ActivityManager activityManager = in isLowRamDevice() local 545 return activityManager.isLowRamDevice(); in isLowRamDevice()
|