Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DSetDeviceOwnerPolicyTask.java105 int enabledSetting = mPackageManager.getApplicationEnabledSetting(packageName); in enableDevicePolicyApp() local
106 if (enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in enableDevicePolicyApp()
107 && enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in enableDevicePolicyApp()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTilePreferenceController.java67 final int enabledSetting = mPackageManager.getComponentEnabledSetting( in displayPreference() local
69 boolean checked = enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_ENABLED in displayPreference()
70 || ((enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in displayPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAllAppsFragment.java381 && (info.info.enabledSetting
383 || info.info.enabledSetting
385 || (info.info.enabledSetting
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DApplicationViewHolderTest.java59 info.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED; in updateDisableView_appDisabledUntilUsed_shouldSetDisabled()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceController.java221 } else if (!info.enabled || info.enabledSetting in getAppStateText()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DApplicationViewHolder.java127 } else if (!info.enabled || info.enabledSetting in updateDisableView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java440 mAppEntry.info.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in handleDisableable_isAppEnabled_controllable()
452 mAppEntry.info.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in handleDisableable_isAppDisabled_controllable()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java166 int enabledSetting, int userId) { in setComponentEnabledSetting() argument
169 enabledSetting, PackageManager.DONT_KILL_APP, in setComponentEnabledSetting()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java533 return mAppEntry.info.enabled && !(mAppEntry.info.enabledSetting in isAppEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java176 mApplicationInfo.enabledSetting = in onCreate_bundledApp_enabled_disableUntilUsed_showsEnableButton()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java610 return mAppEntry.info.enabledSetting in isDisabledUntilUsed()