/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 101 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/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 121 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/ |
D | StorageItemPreferenceControllerTest.java | 119 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/ |
D | SoundPreferenceControllerTest.java | 102 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/ |
D | WifiWakeupPreferenceControllerTest.java | 77 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()
|
D | NotifyOpenNetworkPreferenceControllerTest.java | 63 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/ |
D | AutoTimeFormatPreferenceControllerTest.java | 103 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()
|
D | TimePreferenceControllerTest.java | 87 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse(); in clickPreference_showTimePicker() 91 mController.handlePreferenceTreeClick(mPreference); in clickPreference_showTimePicker()
|
D | DatePreferenceControllerTest.java | 97 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/ |
D | ClearAdbKeysPreferenceControllerTest.java | 113 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()
|
D | ShortcutManagerThrottlingPreferenceControllerTest.java | 68 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/ |
D | CarrierPreferenceControllerTest.java | 131 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityFound_openCarrierSettingActivity() 151 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityNotFound_DoNothing() 165 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceClick_activityNotConfigured_DoNothing()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | WorkProfilePreferenceController.java | 85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in WorkProfilePreferenceController 87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | WorkProfilePreferenceController.java | 85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in WorkProfilePreferenceController 87 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepPermissionPreferenceController.java | 48 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in AdaptiveSleepPermissionPreferenceController 53 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | AdminGrantedPermissionsPreferenceControllerBase.java | 85 public boolean handlePreferenceTreeClick(Preference preference) { in handlePreferenceTreeClick() method in AdminGrantedPermissionsPreferenceControllerBase 92 return super.handlePreferenceTreeClick(preference); in handlePreferenceTreeClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/ |
D | WallpaperTypePreferenceControllerTest.java | 63 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing() 71 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_shouldLaunchIntent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | AdminGrantedPermissionsPreferenceControllerBase.java | 85 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/ |
D | RestrictAppPreferenceController.java | 79 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/ |
D | RestrictAppPreferenceController.java | 79 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/ |
D | BaseTimeZonePreferenceControllerTest.java | 50 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/ |
D | BluetoothScanningPreferenceControllerTest.java | 76 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_checked_shouldEnableBluetoothScanning() 86 mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_unchecked_shouldDisableBluetoothScanning()
|
D | WifiScanningPreferenceControllerTest.java | 76 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/ |
D | AutofillResetOptionsPreferenceControllerTest.java | 68 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/ |
D | WorkPolicyInfoPreferenceControllerTest.java | 82 assertThat(controller.handlePreferenceTreeClick(pref)).isFalse(); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing() 94 assertThat(controller.handlePreferenceTreeClick(pref)).isTrue(); in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
|