Home
last modified time | relevance | path

Searched refs:isPermissible (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DChangeWifiStateDetails.java79 != mWifiSettingsState.isPermissible()) { in onPreferenceChange()
80 setCanChangeWifiState(!mWifiSettingsState.isPermissible()); in onPreferenceChange()
110 boolean canChange = mWifiSettingsState.isPermissible(); in refreshUi()
131 return context.getString(wifiSettingsState.isPermissible() in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DChangeWifiStateDetails.java79 != mWifiSettingsState.isPermissible()) { in onPreferenceChange()
80 setCanChangeWifiState(!mWifiSettingsState.isPermissible()); in onPreferenceChange()
110 boolean canChange = mWifiSettingsState.isPermissible(); in refreshUi()
131 return context.getString(wifiSettingsState.isPermissible() in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DDrawOverlayDetails.java103 if (mOverlayState != null && (Boolean) newValue != mOverlayState.isPermissible()) { in onPreferenceChange()
104 setCanDrawOverlay(!mOverlayState.isPermissible()); in onPreferenceChange()
142 boolean isAllowed = mOverlayState.isPermissible(); in refreshUi()
175 return context.getString(overlayState.isPermissible() ? in getSummary()
DWriteSettingsDetails.java87 .isPermissible()) { in onPreferenceChange()
88 setCanWriteSettings(!mWriteSettingsState.isPermissible()); in onPreferenceChange()
125 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
160 return context.getString(writeSettingsState.isPermissible() in getSummary()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDrawOverlayDetails.java103 if (mOverlayState != null && (Boolean) newValue != mOverlayState.isPermissible()) { in onPreferenceChange()
104 setCanDrawOverlay(!mOverlayState.isPermissible()); in onPreferenceChange()
142 boolean isAllowed = mOverlayState.isPermissible(); in refreshUi()
175 return context.getString(overlayState.isPermissible() ? in getSummary()
DWriteSettingsDetails.java87 .isPermissible()) { in onPreferenceChange()
88 setCanWriteSettings(!mWriteSettingsState.isPermissible()); in onPreferenceChange()
125 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
160 return context.getString(writeSettingsState.isPermissible() in getSummary()
/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java90 if (mUsageState != null && (Boolean) newValue != mUsageState.isPermissible()) { in onPreferenceChange()
91 if (mUsageState.isPermissible() && mDpm.isProfileOwnerApp(mPackageName)) { in onPreferenceChange()
99 setHasAccess(!mUsageState.isPermissible()); in onPreferenceChange()
139 boolean hasAccess = mUsageState.isPermissible(); in refreshUi()
DAppStateAppOpsBridge.java307 if (permState.isPermissible()) { in getNumPackagesAllowedByAppOps()
328 public boolean isPermissible() { in isPermissible() method in AppStateAppOpsBridge.PermissionState
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DUsageAccessDetails.java90 if (mUsageState != null && (Boolean) newValue != mUsageState.isPermissible()) { in onPreferenceChange()
91 if (mUsageState.isPermissible() && mDpm.isProfileOwnerApp(mPackageName)) { in onPreferenceChange()
99 setHasAccess(!mUsageState.isPermissible()); in onPreferenceChange()
139 boolean hasAccess = mUsageState.isPermissible(); in refreshUi()
DAppStateAppOpsBridge.java307 if (permState.isPermissible()) { in getNumPackagesAllowedByAppOps()
328 public boolean isPermissible() { in isPermissible() method in AppStateAppOpsBridge.PermissionState
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DChangeWifiStateDetailsTest.java77 when(mState.isPermissible()).thenReturn(true); in testGetSummary_permissibleTrue_returnAllowed()
84 when(mState.isPermissible()).thenReturn(false); in testGetSummary_permissibleFalse_returnNotAllowed()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java164 assertThat(((PermissionState) entry.extraInfo).isPermissible()).isTrue(); in loadsAppOpsExtraInfo_modeAllowed_isPermissible()
179 assertThat(((PermissionState) entry.extraInfo).isPermissible()).isTrue(); in loadsAppOpsExtraInfo_modeDefault_isPermissible()
194 assertThat(((PermissionState) entry.extraInfo).isPermissible()).isFalse(); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible()
DAppOpsPreferenceControllerTest.java287 when(extraInfo.isPermissible()).thenReturn(isOpPermissible); in createAppEntry()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageAppOp.java81 && ((PermissionState) entry.extraInfo).isPermissible(); in getAppFilter()
182 public boolean isPermissible() {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceController.java72 if (allowOp != extraInfo.isPermissible()) {
214 setChecked(extraInfo.isPermissible()); in AppOpPreference()
DAppStateAppOpsBridge.java174 public boolean isPermissible() { in isPermissible() method in AppStateAppOpsBridge.PermissionState
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java1418 (new UsageState((PermissionState) entry.extraInfo)).isPermissible() in updateSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java1394 (new UsageState((PermissionState) entry.extraInfo)).isPermissible() in updateSummary()