Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DWriteSettingsDetails.java58 private WriteSettingsState mWriteSettingsState; field in WriteSettingsDetails
86 if (mWriteSettingsState != null && (Boolean) newValue != mWriteSettingsState in onPreferenceChange()
88 setCanWriteSettings(!mWriteSettingsState.isPermissible()); in onPreferenceChange()
122 mWriteSettingsState = mAppBridge.getWriteSettingsInfo(mPackageName, in refreshUi()
125 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
128 mSwitchPref.setEnabled(mWriteSettingsState.permissionDeclared); in refreshUi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DWriteSettingsDetails.java58 private WriteSettingsState mWriteSettingsState; field in WriteSettingsDetails
86 if (mWriteSettingsState != null && (Boolean) newValue != mWriteSettingsState in onPreferenceChange()
88 setCanWriteSettings(!mWriteSettingsState.isPermissible()); in onPreferenceChange()
122 mWriteSettingsState = mAppBridge.getWriteSettingsInfo(mPackageName, in refreshUi()
125 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
128 mSwitchPref.setEnabled(mWriteSettingsState.permissionDeclared); in refreshUi()