Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java104 if (mUsageState != null && (Boolean) newValue != mUsageState.isPermissible()) { in onPreferenceChange()
105 if (mUsageState.isPermissible() && mDpm.isProfileOwnerApp(mPackageName)) { in onPreferenceChange()
113 setHasAccess(!mUsageState.isPermissible()); in onPreferenceChange()
131 boolean hasAccess = mUsageState.isPermissible(); in refreshUi()
DWriteSettingsDetails.java110 .isPermissible()) { in onPreferenceChange()
111 setCanWriteSettings(!mWriteSettingsState.isPermissible()); in onPreferenceChange()
140 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
175 return context.getString(writeSettingsState.isPermissible() ? R.string.write_settings_on : in getSummary()
DDrawOverlayDetails.java108 if (mOverlayState != null && (Boolean) newValue != mOverlayState.isPermissible()) { in onPreferenceChange()
109 setCanDrawOverlay(!mOverlayState.isPermissible()); in onPreferenceChange()
138 boolean isAllowed = mOverlayState.isPermissible(); in refreshUi()
173 return context.getString(overlayState.isPermissible() ? in getSummary()
DAppStateAppOpsBridge.java290 if (permState.isPermissible()) { in getNumPackagesAllowedByAppOps()
311 public boolean isPermissible() { in isPermissible() method in AppStateAppOpsBridge.PermissionState
DManageApplications.java1191 .extraInfo)).isPermissible() ? R.string.switch_on_text : in updateSummary()