HomeSort by relevance Sort by last modified time
    Searched refs:activityManager (Results 1 - 19 of 19) sorted by null

  /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/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();
  /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.");
  /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",
152 ActivityManager activityManager =
153 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
154 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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentTasksLoader.java 19 import android.app.ActivityManager;
94 ActivityManager activityManager =
95 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
96 mIconDpi = activityManager.getLauncherLargeIconDensity();
193 final ActivityManager am = (ActivityManager)
371 final ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
373 final List<ActivityManager.RecentTaskInfo> recentTasks = am.getRecentTasksForUser
    [all...]
  /packages/apps/Settings/src/com/android/settings/
KeyguardAppWidgetPickActivity.java 20 import android.app.ActivityManager;
209 ActivityManager activityManager =
210 (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
211 mIconDpi = activityManager.getLauncherLargeIconDensity();
519 int userId = ActivityManager.getCurrentUser();
585 int userId = ActivityManager.getCurrentUser();
  /packages/providers/ApplicationsProvider/src/com/android/providers/applications/
ApplicationsProvider.java 22 import android.app.ActivityManager;
670 ActivityManager activityManager = (ActivityManager)
673 if (activityManager != null) {
675 PkgUsageStats[] pkgUsageStats = activityManager.getAllPackageUsageStats();
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 287 public NetworkPolicyManagerService(Context context, IActivityManager activityManager,
290 this(context, activityManager, powerManager, networkStats, networkManagement,
298 public NetworkPolicyManagerService(Context context, IActivityManager activityManager,
303 mActivityManager = checkNotNull(activityManager, "missing activityManager");
352 // 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;
117 final boolean isLargeRAM = ActivityManager.isLargeRAM();
    [all...]

Completed in 2126 milliseconds