/cts/libs/deviceutil/src/android/cts/util/ |
SystemUtil.java | 19 import android.app.ActivityManager; 20 import android.app.ActivityManager.MemoryInfo; 32 ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 33 activityManager.getMemoryInfo(info); 39 ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 40 activityManager.getMemoryInfo(info) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ActivityManagerTest.java | 3 import android.app.ActivityManager; 18 ActivityManager activityManager = (ActivityManager) Robolectric.application.getSystemService(Context.ACTIVITY_SERVICE); 19 ShadowActivityManager shadowActivityManager = shadowOf(activityManager); 20 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); 23 ActivityManager.MemoryInfo fetchedMemoryInfo = new ActivityManager.MemoryInfo(); 24 activityManager.getMemoryInfo(fetchedMemoryInfo) [all...] |
/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();
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
ShellUiAutomatorBridge.java | 59 IActivityManager activityManager = ActivityManagerNative.getDefault(); 63 ContentProviderHolder holder = activityManager.getContentProviderExternal( 84 activityManager.removeContentProviderExternal(providerName, token);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSystemFunctionPermissionTest.java | 20 import android.app.ActivityManager; 40 * Verify that ActivityManager.restartPackage() requires permissions. 46 ActivityManager activityManager = (ActivityManager) mContext.getSystemService( 50 activityManager.restartPackage("packageName"); 51 fail("ActivityManager.restartPackage() didn't throw SecurityException as expected.");
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 19 import android.app.ActivityManager; 29 * {@link ActivityInstrumentationTestCase2} that tests {@link ActivityManager#getMemoryClass()} 51 ActivityManager activityManager = 52 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 53 return activityManager.getMemoryClass();
|
/frameworks/base/core/java/android/app/ |
Service.java | 693 Application application, Object activityManager) { [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
OpenGlEsVersionTest.java | 19 import android.app.ActivityManager; 67 assertEquals("Reported OpenGL ES version from ActivityManager differs from PackageManager", 155 ActivityManager activityManager = 156 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 157 ConfigurationInfo configInfo = activityManager.getDeviceConfigurationInfo();
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
SettingsCmd.java | 121 IActivityManager activityManager = ActivityManagerNative.getDefault(); 125 ContentProviderHolder holder = activityManager.getContentProviderExternal( 146 activityManager.removeContentProviderExternal("settings", token);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 19 import android.app.ActivityManager; 55 ActivityManager activityManager = 56 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 60 mIconDpi = activityManager.getLauncherLargeIconDensity();
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
Content.java | 371 IActivityManager activityManager = ActivityManagerNative.getDefault(); 375 ContentProviderHolder holder = activityManager.getContentProviderExternal( 384 activityManager.removeContentProviderExternal(providerName, token);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 21 import android.app.ActivityManager; 72 ActivityManager activityManager = 73 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 77 mIconDpi = activityManager.getLauncherLargeIconDensity();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentTasksLoader.java | 19 import android.app.ActivityManager; 93 ActivityManager activityManager = 94 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 95 mIconDpi = activityManager.getLauncherLargeIconDensity(); 190 final ActivityManager am = (ActivityManager) 368 final ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 370 final List<ActivityManager.RecentTaskInfo> recentTasks = am.getRecentTasksForUser [all...] |
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 20 import android.app.ActivityManager; 212 ActivityManager activityManager = 213 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 214 mIconDpi = activityManager.getLauncherLargeIconDensity(); 522 int userId = ActivityManager.getCurrentUser(); 588 int userId = ActivityManager.getCurrentUser();
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkPolicyManagerService.java | 286 public NetworkPolicyManagerService(Context context, IActivityManager activityManager, 289 this(context, activityManager, powerManager, networkStats, networkManagement, 297 public NetworkPolicyManagerService(Context context, IActivityManager activityManager, 302 mActivityManager = checkNotNull(activityManager, "missing activityManager"); 351 // activitymanager dispatch current state when new observer attached. [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
BrowserTest.java | 19 import android.app.ActivityManager; 20 import android.app.ActivityManager.RunningTaskInfo; 535 ActivityManager activityManager = (ActivityManager) mActivity 537 List<RunningTaskInfo> list = activityManager.getRunningTasks(1);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ui.workbench_3.6.1.M20101117-0800.jar | |
org.eclipse.ui.ide_3.6.2.M20101117-0800.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar | |
/frameworks/base/services/java/com/android/server/content/ |
SyncManager.java | 22 import android.app.ActivityManager; 120 final boolean isLargeRAM = !ActivityManager.isLowRamDeviceStatic(); [all...] |