HomeSort by relevance Sort by last modified time
    Searched refs:appState (Results 1 - 25 of 34) sorted by null

1 2

  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
AppStateInstallAppsBridgeTest.java 36 AppStateInstallAppsBridge.InstallAppsState appState = new AppStateInstallAppsBridge
38 assertThat(appState.canInstallApps()).isFalse();
40 appState.permissionGranted = true;
41 appState.permissionRequested = true;
42 assertThat(appState.canInstallApps()).isTrue();
44 appState.appOpMode = AppOpsManager.MODE_ERRORED;
45 assertThat(appState.canInstallApps()).isFalse();
50 AppStateInstallAppsBridge.InstallAppsState appState = new AppStateInstallAppsBridge
52 assertThat(appState.isPotentialAppSource()).isFalse();
54 appState.appOpMode = AppOpsManager.MODE_ERRORED
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
AppStateInstallAppsBridge.java 47 public AppStateInstallAppsBridge(Context context, ApplicationsState appState,
49 super(appState, callback);
94 final InstallAppsState appState = new InstallAppsState();
95 appState.permissionRequested = hasRequestedAppOpPermission(
97 appState.permissionGranted = hasPermission(Manifest.permission.REQUEST_INSTALL_PACKAGES,
99 appState.appOpMode = getAppOpMode(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, uid,
101 return appState;
AppStatePowerBridge.java 33 public AppStatePowerBridge(ApplicationsState appState, Callback callback) {
34 super(appState, callback);
AppStateUsageBridge.java 41 public AppStateUsageBridge(Context context, ApplicationsState appState, Callback callback) {
42 super(context, appState, callback, APP_OPS_OP_CODE, PM_PERMISSION);
AppStateWriteSettingsBridge.java 41 public AppStateWriteSettingsBridge(Context context, ApplicationsState appState, Callback
43 super(context, appState, callback, APP_OPS_OP_CODE, PM_PERMISSIONS);
AppStateNotificationBridge.java 44 public AppStateNotificationBridge(Context context, ApplicationsState appState,
46 super(appState, callback);
AppStateOverlayBridge.java 43 public AppStateOverlayBridge(Context context, ApplicationsState appState, Callback callback) {
44 super(context, appState, callback, APP_OPS_OP_CODE, PM_PERMISSION);
AppStateSmsPremBridge.java 35 public AppStateSmsPremBridge(Context context, ApplicationsState appState, Callback callback) {
36 super(appState, callback);
AppStateBaseBridge.java 39 public AppStateBaseBridge(ApplicationsState appState, Callback callback) {
40 mAppState = appState;
AppStateAppOpsBridge.java 57 public AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback,
59 this(context, appState, callback, appOpsOpCode, permissions,
64 AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback,
66 super(appState, callback);
RecentAppsPreferenceController.java 102 RecentAppsPreferenceController(Context context, ApplicationsState appState, Fragment host) {
110 mApplicationsState = appState;
InstalledAppDetails.java     [all...]
  /packages/apps/Settings/src/com/android/settings/datausage/
AppStateDataUsageBridge.java 28 public AppStateDataUsageBridge(ApplicationsState appState, Callback callback,
30 super(appState, callback);
  /frameworks/base/core/java/android/nfc/
NfcActivityManager.java 80 for (NfcApplicationState appState : mApps) {
81 if (appState.app == app) {
82 return appState;
89 NfcApplicationState appState = findAppState(app);
90 if (appState == null) {
91 appState = new NfcApplicationState(app);
92 mApps.add(appState);
94 appState.register();
98 NfcApplicationState appState = findAppState(app);
99 if (appState == null)
    [all...]
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
AddWorkspaceItemsTaskTest.java 73 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 1, 1);
80 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 2, 3);
91 when(appState.getContext()).thenReturn(getMockContext());
95 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 3, 3);
108 when(appState.getContext()).thenReturn(getMockContext());
125 when(appState.getContext()).thenReturn(getMockContext());
BaseModelUpdateTaskTestCase.java 57 public LauncherAppState appState;
75 appState = mock(LauncherAppState.class);
79 when(appState.getModel()).thenReturn(model);
92 when(appState.getIconCache()).thenReturn(iconCache);
93 when(appState.getInvariantDeviceProfile()).thenReturn(idp);
104 task.init(appState, model, bgDataModel, allAppsList, mockExecutor);
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
AppStateBaseBridge.java 39 public AppStateBaseBridge(ApplicationsState appState, Callback callback) {
40 mAppState = appState;
AppStateUsageStatsBridge.java 59 public AppStateUsageStatsBridge(Context context, ApplicationsState appState,
61 super(appState, callback);
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragView.java 209 LauncherAppState appState = LauncherAppState.getInstance(mLauncher);
211 final Drawable dr = getFullDrawable(info, appState, outObj);
224 mBadge = getBadge(info, appState, outObj[0]);
316 private Drawable getFullDrawable(ItemInfo info, LauncherAppState appState, Object[] outObj) {
321 return (activityInfo != null) ? appState.getIconCache()
328 return activityInfo.getFullResIcon(appState.getIconCache());
339 appState.getInvariantDeviceProfile().fillResIconDpi);
362 private Drawable getBadge(ItemInfo info, LauncherAppState appState, Object obj) {
363 int iconSize = appState.getInvariantDeviceProfile().iconBitmapSize;
370 Bitmap badge = LauncherIcons.getShortcutInfoBadge(si, appState.getIconCache())
    [all...]
  /external/webrtc/talk/app/webrtc/objc/
RTCEAGLVideoView.m 184 UIApplicationState appState =
186 if (appState == UIApplicationStateActive) {
  /external/webrtc/webrtc/api/objc/
RTCEAGLVideoView.m 166 UIApplicationState appState =
168 if (appState == UIApplicationStateActive) {
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
UiccControllerTest.java 64 IccCardApplicationStatus.AppState appState, String aid) {
68 mIccCardAppStatus.app_state = appState;
140 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0");
143 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1");
146 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2");
UiccCardTest.java 112 IccCardApplicationStatus.AppState appState, String aid) {
116 mIccCardAppStatus.app_state = appState;
169 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0");
172 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1");
175 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2");
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 106 LauncherAppState appState = LauncherAppState.getInstanceNoCreate();
107 if (appState == null || !appState.getModel().isModelLoaded()) {
110 appState.getModel().dumpState("", fd, writer, args);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccCardProxy.java 46 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
592 AppState appState = mUiccApplication.getState();
593 switch (appState) {
    [all...]

Completed in 304 milliseconds

1 2