Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java59 private UsageState mUsageState; field in UsageAccessDetails
94 if (mUsageState != null && (Boolean) newValue != mUsageState.isPermissible()) { in onPreferenceChange()
95 if (mUsageState.isPermissible() && mDpm.isProfileOwnerApp(mPackageName)) { in onPreferenceChange()
103 setHasAccess(!mUsageState.isPermissible()); in onPreferenceChange()
126 mUsageState.packageInfo.requestedPermissions)) { in setHasAccess()
130 mUsageState.packageInfo.requestedPermissions)) { in setHasAccess()
158 mUsageState = mUsageBridge.getUsageInfo(mPackageName, in refreshUi()
161 boolean hasAccess = mUsageState.isPermissible(); in refreshUi()
163 mSwitchPref.setEnabled(mUsageState.permissionDeclared); in refreshUi()