Searched refs:mUsageState (Results 1 – 1 of 1) sorted by relevance
56 private UsageState mUsageState; field in UsageAccessDetails104 if (mUsageState != null && (Boolean) newValue != mUsageState.isPermissible()) { in onPreferenceChange()105 if (mUsageState.isPermissible() && mDpm.isProfileOwnerApp(mPackageName)) { in onPreferenceChange()113 setHasAccess(!mUsageState.isPermissible()); in onPreferenceChange()128 mUsageState = mUsageBridge.getUsageInfo(mPackageName, in refreshUi()131 boolean hasAccess = mUsageState.isPermissible(); in refreshUi()133 mSwitchPref.setEnabled(mUsageState.permissionDeclared); in refreshUi()