Home
last modified time | relevance | path

Searched refs:mDevHitCountdown (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DBuildNumberPreferenceController.java62 private int mDevHitCountdown; field in BuildNumberPreferenceController
87 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
145 if (mDevHitCountdown > 0) { in handlePreferenceTreeClick()
146 mDevHitCountdown--; in handlePreferenceTreeClick()
147 if (mDevHitCountdown == 0 && !mProcessingLastDevHit) { in handlePreferenceTreeClick()
149 mDevHitCountdown++; in handlePreferenceTreeClick()
164 } else if (mDevHitCountdown > 0 in handlePreferenceTreeClick()
165 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in handlePreferenceTreeClick()
171 R.plurals.show_dev_countdown, mDevHitCountdown, in handlePreferenceTreeClick()
172 mDevHitCountdown), in handlePreferenceTreeClick()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java63 private int mDevHitCountdown; field in BuildNumberPreferenceController
88 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(mContext) in onStart()
166 if (mDevHitCountdown > 0) { in handlePreferenceTreeClick()
167 mDevHitCountdown--; in handlePreferenceTreeClick()
168 if (mDevHitCountdown == 0 && !mProcessingLastDevHit) { in handlePreferenceTreeClick()
170 mDevHitCountdown++; in handlePreferenceTreeClick()
185 } else if (mDevHitCountdown > 0 in handlePreferenceTreeClick()
186 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in handlePreferenceTreeClick()
192 R.plurals.show_dev_countdown, mDevHitCountdown, in handlePreferenceTreeClick()
193 mDevHitCountdown), in handlePreferenceTreeClick()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DBuildNumberPreferenceController.java37 private int mDevHitCountdown; field in BuildNumberPreferenceController
57 mDevHitCountdown = DevelopmentSettingsUtil.isDevelopmentSettingsEnabled(getContext(), in onResumeInternal()
77 if (mDevHitCountdown > 0) { in handlePreferenceClicked()
78 mDevHitCountdown--; in handlePreferenceClicked()
79 if (mDevHitCountdown == 0) { in handlePreferenceClicked()
82 } else if (mDevHitCountdown <= getTapsToBecomeDeveloper() - getTapsToShowToast()) { in handlePreferenceClicked()
84 R.plurals.show_dev_countdown, mDevHitCountdown, mDevHitCountdown), in handlePreferenceClicked()
87 } else if (mDevHitCountdown < 0) { in handlePreferenceClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java88 int mDevHitCountdown; field in AboutFragment
221 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext()) in onResume()
290 if (mDevHitCountdown > 0) { in onPreferenceTreeClick()
291 mDevHitCountdown--; in onPreferenceTreeClick()
292 if (mDevHitCountdown == 0) { in onPreferenceTreeClick()
310 } else if (mDevHitCountdown > 0 in onPreferenceTreeClick()
311 && mDevHitCountdown < (TAPS_TO_BE_A_DEVELOPER - 2)) { in onPreferenceTreeClick()
317 R.plurals.show_dev_countdown, mDevHitCountdown, in onPreferenceTreeClick()
318 mDevHitCountdown), in onPreferenceTreeClick()
327 } else if (mDevHitCountdown < 0) { in onPreferenceTreeClick()