Searched refs:isPermissible (Results 1 – 5 of 5) sorted by relevance
104 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()
110 .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()
108 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()
290 if (permState.isPermissible()) { in getNumPackagesAllowedByAppOps()311 public boolean isPermissible() { in isPermissible() method in AppStateAppOpsBridge.PermissionState
1191 .extraInfo)).isPermissible() ? R.string.switch_on_text : in updateSummary()