Home
last modified time | relevance | path

Searched refs:handlePreferenceTreeClick (Results 1 – 25 of 241) sorted by relevance

12345678910

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java101 assertThat(mController.handlePreferenceTreeClick(mock(Preference.class))).isFalse(); in handlePrefTreeClick_onlyHandleBuildNumberPref()
109 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_notAdminUser_notDemoUser_doNothing()
117 assertThat(mController.handlePreferenceTreeClick(mPreference)).isTrue(); in handlePrefTreeClick_isAdminUser_notDemoUser_handleBuildNumberPref()
125 assertThat(mController.handlePreferenceTreeClick(mPreference)).isTrue(); in handlePrefTreeClick_notAdminUser_isDemoUser_handleBuildNumberPref()
136 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_deviceNotProvisioned_doNothing()
145 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_isMonkeyRun_doNothing()
156 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePrefTreeClick_userHasRestriction_doNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java121 assertThat(preferenceController.handlePreferenceTreeClick(preference)).isFalse(); in handlePreferenceTreeClick_differentKey_shouldReturnFalse()
133 assertThat(preferenceController.handlePreferenceTreeClick(preference)).isTrue(); in handlePreferenceTreeClick_sameKey_shouldReturnTrue()
143 preferenceController.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity()
156 preferenceController.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick_canNotResolveActivity_shouldNotStartActivity()
171 preferenceController.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick_canResolveActivity_shouldStartActivityWithIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java119 mController.handlePreferenceTreeClick(mPreference); in testClickPhotos()
137 mController.handlePreferenceTreeClick(mPreference); in testClickAudio()
158 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_tappingAudioWhileUninitializedDoesntCrash()
164 mController.handlePreferenceTreeClick(mPreference); in testClickApps()
183 mController.handlePreferenceTreeClick(mPreference); in testClickAppsForWork()
211 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_tappingAppsWhileUninitializedDoesntCrash()
219 assertThat(mController.handlePreferenceTreeClick(mPreference)) in testClickFiles()
237 mController.handlePreferenceTreeClick(mPreference); in testClickGames()
255 mController.handlePreferenceTreeClick(mPreference); in testClickMovies()
273 assertThat(mController.handlePreferenceTreeClick(mPreference)).isTrue(); in testClickSystem()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundPreferenceControllerTest.java102 mController.handlePreferenceTreeClick(mock(NotificationSoundPreference.class)); in testNoCrashIfNoOnResume()
216 mController.handlePreferenceTreeClick(pref); in testOnPreferenceTreeClick_incorrectPref()
228 mController.handlePreferenceTreeClick(pref); in testOnPreferenceTreeClick_correctPref()
246 mController.handlePreferenceTreeClick(pref); in testOnPreferenceTreeClick_alarmSound()
267 mController.handlePreferenceTreeClick(pref); in testOnPreferenceTreeClick_ringtoneSound()
288 mController.handlePreferenceTreeClick(pref); in testOnPreferenceTreeClick_otherSound()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiWakeupPreferenceControllerTest.java77 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
85 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingType_shouldDoNothing()
94 assertThat(mController.handlePreferenceTreeClick(pref)).isTrue(); in handlePreferenceTreeClick_matchingKeyAndType_shouldUpdateSetting()
105 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_wifiWakeupEnableScanningDisable_wifiWakeupEnable()
DNotifyOpenNetworkPreferenceControllerTest.java63 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
71 assertThat(mController.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingType_shouldDoNothing()
80 assertThat(mController.handlePreferenceTreeClick(pref)).isTrue(); in handlePreferenceTreeClick_matchingKeyAndType_shouldUpdateSetting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeFormatPreferenceControllerTest.java103 boolean result = mController.handlePreferenceTreeClick(mPreference); in updatePreference_autoSet_shouldSendIntent_12HourLocale()
123 boolean result = mController.handlePreferenceTreeClick(mPreference); in updatePreference_autoSet_shouldSendIntent_24HourLocale()
143 boolean result = mController.handlePreferenceTreeClick(mPreference); in updatePreference_24HourSet_shouldSendIntent()
DTimePreferenceControllerTest.java87 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in clickPreference_showTimePicker()
91 mController.handlePreferenceTreeClick(mPreference); in clickPreference_showTimePicker()
DDatePreferenceControllerTest.java97 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in clickPreference_showDatePicker()
101 mController.handlePreferenceTreeClick(mPreference); in clickPreference_showDatePicker()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DClearAdbKeysPreferenceControllerTest.java113 final boolean isHandled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_clearAdbKeysPreference_shouldShowWarningDialog()
125 final boolean isHandled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_notClearAdbKeysPreference_shouldReturnFalse()
139 final boolean isHandled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse()
DShortcutManagerThrottlingPreferenceControllerTest.java68 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePreferenceTreeClick_differentPreferenceKey_shouldReturnFalse()
76 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_correctPreferenceKey_shouldResetThrottling()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java132 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
152 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityNotFound_DoNothing()
166 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityNotConfigured_DoNothing()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DWorkProfilePreferenceController.java85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in WorkProfilePreferenceController
87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/core/
DWorkProfilePreferenceController.java85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in WorkProfilePreferenceController
87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperTypePreferenceControllerTest.java63 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
71 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_shouldLaunchIntent()
/packages/apps/Settings/src/com/android/settings/enterprise/
DAdminGrantedPermissionsPreferenceControllerBase.java85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in AdminGrantedPermissionsPreferenceControllerBase
92 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DAdminGrantedPermissionsPreferenceControllerBase.java85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in AdminGrantedPermissionsPreferenceControllerBase
92 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceController.java79 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in RestrictAppPreferenceController
87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DRestrictAppPreferenceController.java79 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in RestrictAppPreferenceController
87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceControllerTest.java50 controller.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick_correctKey_triggerOnClickListener()
62 controller.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick_wrongKey_triggerOnClickListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DBluetoothScanningPreferenceControllerTest.java76 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_checked_shouldEnableBluetoothScanning()
86 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_unchecked_shouldDisableBluetoothScanning()
DWifiScanningPreferenceControllerTest.java76 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_checked_shouldEnableWifiScanning()
87 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_unchecked_shouldDisableWifiScanning()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/autofill/
DAutofillResetOptionsPreferenceControllerTest.java68 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset()
83 assertThat(mController.handlePreferenceTreeClick(mPreference)).isTrue(); in handlePreferenceTreeClick_correctPreferenceKey_shouldReset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java82 assertThat(controller.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
94 assertThat(controller.handlePreferenceTreeClick(pref)).isTrue(); in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DFirmwareVersionDetailPreferenceControllerTest.java76 mController.handlePreferenceTreeClick(mPreference); in handleSettingClicked_userRestricted_shouldDoNothing()
87 mController.handlePreferenceTreeClick(mPreference); in handleSettingClicked_userNotRestricted_shouldStartActivity()

12345678910