HomeSort by relevance Sort by last modified time
    Searched defs:appState (Results 1 - 17 of 17) sorted by null

  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
AppStateInstallAppsBridgeTest.java 33 AppStateInstallAppsBridge.InstallAppsState appState =
35 assertThat(appState.canInstallApps()).isFalse();
37 appState.permissionGranted = true;
38 appState.permissionRequested = true;
39 assertThat(appState.canInstallApps()).isTrue();
41 appState.appOpMode = AppOpsManager.MODE_ERRORED;
42 assertThat(appState.canInstallApps()).isFalse();
47 AppStateInstallAppsBridge.InstallAppsState appState =
49 assertThat(appState.isPotentialAppSource()).isFalse();
51 appState.appOpMode = AppOpsManager.MODE_ERRORED
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/appinfo/
ExternalSourceDetailPreferenceController.java 65 AppStateInstallAppsBridge.InstallAppsState appState =
68 return appState.isPotentialAppSource();
  /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/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;
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
BaseModelUpdateTaskTestCase.java 68 public LauncherAppState appState;
80 appState = mock(LauncherAppState.class);
84 when(appState.getModel()).thenReturn(model);
102 when(appState.getIconCache()).thenReturn(iconCache);
103 when(appState.getInvariantDeviceProfile()).thenReturn(idp);
104 when(appState.getContext()).thenReturn(targetContext);
116 task.init(appState, model, bgDataModel, allAppsList, mockExecutor);
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
RecentsActivity.java 138 LauncherAppState appState = LauncherAppState.getInstanceNoCreate();
140 InvariantDeviceProfile idp = appState == null
141 ? new InvariantDeviceProfile(this) : appState.getInvariantDeviceProfile();
147 mDeviceProfile = appState == null
149 : appState.getInvariantDeviceProfile().getDeviceProfile(this).copy(this);
WindowTransformSwipeHandler.java 571 LauncherAppState appState = LauncherAppState.getInstanceNoCreate();
572 InvariantDeviceProfile idp = appState == null ?
573 new InvariantDeviceProfile(mContext) : appState.getInvariantDeviceProfile();
    [all...]
  /cts/tests/framework/base/activitymanager/util/src/android/server/am/
WindowManagerState.java 230 int appState = 0;
233 appState = appTransitionProto.appTransitionState;
236 mAppTransitionState = appStateToString(appState);
240 static String appStateToString(int appState) {
241 switch (appState) {
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 101 LauncherAppState appState = LauncherAppState.getInstanceNoCreate();
102 if (appState == null || !appState.getModel().isModelLoaded()) {
105 appState.getModel().dumpState("", fd, writer, args);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccProfile.java 443 IccCardApplicationStatus.AppState appState = mUiccApplication.getState();
451 if (appState == IccCardApplicationStatus.AppState.APPSTATE_PIN) {
455 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_PUK) {
459 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_SUBSCRIPTION_PERSO) {
489 switch (appState) {
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
android-all-6.0.0_r1-robolectric-0.jar 

Completed in 387 milliseconds