/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
AppStateInstallAppsBridgeTest.java | 37 AppStateInstallAppsBridge.InstallAppsState appState = new AppStateInstallAppsBridge 39 assertThat(appState.canInstallApps()).isFalse(); 41 appState.permissionGranted = true; 42 appState.permissionRequested = true; 43 assertThat(appState.canInstallApps()).isTrue(); 45 appState.appOpMode = AppOpsManager.MODE_ERRORED; 46 assertThat(appState.canInstallApps()).isFalse(); 51 AppStateInstallAppsBridge.InstallAppsState appState = new AppStateInstallAppsBridge 53 assertThat(appState.isPotentialAppSource()).isFalse(); 55 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);
|
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 | 68 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 1, 1); 75 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 2, 3); 86 when(appState.getContext()).thenReturn(getMockContext()); 90 .findSpaceForItem(appState, bgDataModel, existingScreens, newScreens, 3, 3); 103 when(appState.getContext()).thenReturn(getMockContext()); 120 when(appState.getContext()).thenReturn(getMockContext());
|
BaseModelUpdateTaskTestCase.java | 57 public LauncherAppState appState; 75 appState = mock(LauncherAppState.class); 78 when(appState.getModel()).thenReturn(model); 90 when(appState.getIconCache()).thenReturn(iconCache); 91 when(appState.getInvariantDeviceProfile()).thenReturn(idp); 110 task.execute(appState, bgDataModel, allAppsList);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
ManageExternalSources.java | 194 final InstallAppsState appState = new InstallAppsState(); 195 appState.permissionRequested = hasRequestedAppOpPermission( 197 appState.permissionGranted = hasPermission(Manifest.permission.REQUEST_INSTALL_PACKAGES, 199 appState.appOpMode = getAppOpMode(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, uid, 201 return appState;
|
/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);
|
/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/ |
UiccCardTest.java | 105 IccCardApplicationStatus.AppState appState, String aid) { 109 mIccCardAppStatus.app_state = appState; 162 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); 165 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); 168 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2");
|
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");
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherProvider.java | 108 LauncherAppState appState = LauncherAppState.getInstanceNoCreate(); 109 if (appState == null || !appState.getModel().isModelLoaded()) { 112 appState.getModel().dumpState("", fd, writer, args); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccCardProxy.java | 44 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState; 550 AppState appState = mUiccApplication.getState(); 551 switch (appState) { [all...] |
/hardware/interfaces/radio/1.0/ |
types.hal | 194 enum AppState : int32_t { [all...] |