/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtilTest.java | 58 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/ |
D | BuildNumberPreferenceControllerTest.java | 172 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/ |
D | DevelopmentSettingsUtil.java | 60 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/ |
D | DevelopmentSettingsDashboardFragment.java | 210 if (DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext())) { in onActivityCreated() 285 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext()); in onSwitchChanged() 616 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
D | DevelopmentSwitchBarController.java | 51 .isDevelopmentSettingsEnabled(mSettings.getContext()); in onStart()
|
D | WirelessDebuggingFragment.java | 478 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
/packages/apps/Settings/src/com/android/settings/development/transcode/ |
D | TranscodeSettingsFragment.java | 55 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTileConfigFragment.java | 57 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
D | DevelopmentTiles.java | 75 if (!DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(this)) { in refresh()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | SystemSettingsFragment.java | 51 if (!DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(context,
|
D | DeveloperOptionsEntryPreferenceController.java | 49 return DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext(), mUserManager) in getAvailabilityStatus()
|
D | BuildNumberPreferenceController.java | 58 DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext(), mUserManager) in onResumeInternal()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagsDashboard.java | 78 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverDashboard.java | 80 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
|
D | GraphicsDriverGlobalSwitchBarController.java | 61 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context)); in GraphicsDriverGlobalSwitchBarController()
|
D | GraphicsDriverEnableForAllAppsPreferenceController.java | 93 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
|
D | GraphicsDriverAppPreferenceController.java | 115 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LanguageFragment.java | 89 DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext())); in onCreatePreferences()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 112 return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/bugreporthandler/ |
D | BugReportHandlerPicker.java | 83 if (!DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context)) { in onAttach()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceController.java | 90 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | BuildNumberPreferenceControllerTest.java | 176 assertThat(DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(mContext, in testHandlePreferenceClicked_devSettingsDisabled_allClicks_devSettingsEnabled()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ResetNetwork.java | 273 || DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context); in showEuiccSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 184 assertThat(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext)).isFalse(); in onSwitchChanged_turnOff_shouldTurnOff()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.java | 256 developerPref.setVisible(DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled( in updateDeveloperOptions()
|