Home
last modified time | relevance | path

Searched refs:isDevelopmentSettingsEnabled (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/development/
DDevelopmentSettingsUtilTest.java58 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, mMockUserManager)) in isEnabled_settingsOff_isAdmin_shouldReturnFalse()
68 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, mMockUserManager)) in isEnabled_settingsOn_isAdmin_shouldReturnTrue()
79 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, mMockUserManager)) in isEnabled_settingsOn_notAdmin_shouldReturnFalse()
93 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, mMockUserManager)) in isEnabled_hasDisallowDebuggingRestriction_shouldReturnFalse()
104 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, mMockUserManager)) in isEnabled_doesNotHaveDisallowDebuggingRestriction_shouldReturnTrue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java172 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onActivityResult_notConfirmPasswordRequest_doNothing()
183 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onActivityResult_confirmPasswordRequestFailed_doNotEnableDevPref()
196 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isTrue(); in onActivityResult_confirmPasswordRequestCompleted_enableDevPref()
/packages/apps/Car/Settings/src/com/android/car/settings/development/
DDevelopmentSettingsUtil.java60 public static boolean isDevelopmentSettingsEnabled(Context context, UserManager userManager) { in isDevelopmentSettingsEnabled() method in DevelopmentSettingsUtil
90 boolean showDev = isDevelopmentSettingsEnabled(context, userManager) in showDeveloperOptions()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java210 if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext())) { in onActivityCreated()
285 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext()); in onSwitchChanged()
616 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
DDevelopmentSwitchBarController.java51 .isDevelopmentSettingsEnabled(mSettings.getContext()); in onStart()
DWirelessDebuggingFragment.java478 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
/packages/apps/Settings/src/com/android/settings/development/transcode/
DTranscodeSettingsFragment.java55 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTileConfigFragment.java57 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
DDevelopmentTiles.java75 if (!DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(this)) { in refresh()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DSystemSettingsFragment.java51 if (!DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(context,
DDeveloperOptionsEntryPreferenceController.java49 return DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext(), mUserManager) in getAvailabilityStatus()
DBuildNumberPreferenceController.java58 DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext(), mUserManager) in onResumeInternal()
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagsDashboard.java78 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverDashboard.java80 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
DGraphicsDriverGlobalSwitchBarController.java61 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context)); in GraphicsDriverGlobalSwitchBarController()
DGraphicsDriverEnableForAllAppsPreferenceController.java93 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
DGraphicsDriverAppPreferenceController.java115 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLanguageFragment.java89 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext())); in onCreatePreferences()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppMemoryPreferenceController.java112 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/bugreporthandler/
DBugReportHandlerPicker.java83 if (!DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context)) { in onAttach()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java90 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DBuildNumberPreferenceControllerTest.java176 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, in testHandlePreferenceClicked_devSettingsDisabled_allClicks_devSettingsEnabled()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java273 || DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context); in showEuiccSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java184 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onSwitchChanged_turnOff_shouldTurnOff()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java256 developerPref.setVisible(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled( in updateDeveloperOptions()

12