/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 48 private static final String PREFERENCE_KEY = "more"; field in MoreSpecialAccessPreferenceControllerTest 70 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in constructor_shouldResolveActivityWithPermissionControllerPackageName() 82 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_noPermissionController_shouldReturnUnsupportedOnDevice() 93 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_canNotResolveActivity_shouldReturnUnsupportedOnDevice() 106 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in getAvailabilityStatus_canResolveActivity_shouldReturnAvailableUnsearchable() 117 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_differentKey_shouldReturnFalse() 129 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_sameKey_shouldReturnTrue() 131 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_sameKey_shouldReturnTrue() 140 new MoreSpecialAccessPreferenceController(mContext, PREFERENCE_KEY); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() 142 when(preference.getKey()).thenReturn(PREFERENCE_KEY); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesPreferenceControllerTest.java | 55 private static final String PREFERENCE_KEY = "key"; field in ModuleLicensesPreferenceControllerTest 78 new ModuleLicensesPreferenceController(context, PREFERENCE_KEY); in displayPreference_alphabeticalOrder() 83 when(screen.findPreference(PREFERENCE_KEY)).thenReturn(group); in displayPreference_alphabeticalOrder() 112 new ModuleLicensesPreferenceController(context, PREFERENCE_KEY); in displayPreference_includeOnlyModulesWithLicenseFile() 117 when(screen.findPreference(PREFERENCE_KEY)).thenReturn(group); in displayPreference_includeOnlyModulesWithLicenseFile()
|
D | ModuleLicensesListPreferenceControllerTest.java | 45 private static final String PREFERENCE_KEY = "key"; field in ModuleLicensesListPreferenceControllerTest 70 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_validLicenses_returnsAvailable() 84 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_noModules_returnsConditionallyUnavailable() 111 new ModuleLicensesListPreferenceController(context, PREFERENCE_KEY); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTestHelper.java | 52 private static final String PREFERENCE_KEY = "preference_key"; field in PreferenceControllerTestHelper 77 ClassParameter.from(String.class, PREFERENCE_KEY), in PreferenceControllerTestHelper() 103 preference.setKey(PREFERENCE_KEY); in setPreference() 155 return PREFERENCE_KEY; in getKey()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 56 static final String PREFERENCE_KEY = "LetterCountCache"; field in FastScrollingIndexCache 255 mPrefs.edit().remove(PREFERENCE_KEY).commit(); in invalidate() 280 mPrefs.edit().putString(PREFERENCE_KEY, sb.toString()).apply(); in save() 295 final String savedValue = mPrefs.getString(PREFERENCE_KEY, null); in ensureLoaded()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceControllerTest.java | 49 private static final String PREFERENCE_KEY = "adaptive_sleep"; field in AdaptiveSleepPreferenceControllerTest 74 mController = new AdaptiveSleepPreferenceController(mContext, PREFERENCE_KEY); in setUp() 147 mContext, PREFERENCE_KEY); in isChecked_returnsFalseWhenNotSufficientPermissions()
|
D | DisplayWhiteBalancePreferenceControllerTest.java | 49 private final String PREFERENCE_KEY = "display_white_balance"; field in DisplayWhiteBalancePreferenceControllerTest 63 when(mScreen.findPreference(PREFERENCE_KEY)).thenReturn(mPreference); in setUp() 65 mController = spy(new DisplayWhiteBalancePreferenceController(mContext, PREFERENCE_KEY)); in setUp()
|
D | AutoBrightnessPreferenceControllerTest.java | 47 private static final String PREFERENCE_KEY = "auto_brightness"; field in AutoBrightnessPreferenceControllerTest 59 mController = new AutoBrightnessPreferenceController(mContext, PREFERENCE_KEY); in setUp()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionPreferenceController.java | 24 private static final String PREFERENCE_KEY = "region"; field in RegionPreferenceController 30 super(context, PREFERENCE_KEY); in RegionPreferenceController()
|
D | FixedOffsetPreferenceController.java | 25 private static final String PREFERENCE_KEY = "fixed_offset"; field in FixedOffsetPreferenceController 30 super(context, PREFERENCE_KEY); in FixedOffsetPreferenceController()
|
D | RegionZonePreferenceController.java | 26 private static final String PREFERENCE_KEY = "region_zone"; field in RegionZonePreferenceController 32 super(context, PREFERENCE_KEY); in RegionZonePreferenceController()
|
D | TimeZoneInfoPreferenceController.java | 38 private static final String PREFERENCE_KEY = FooterPreference.KEY_FOOTER; field in TimeZoneInfoPreferenceController 45 super(context, PREFERENCE_KEY); in TimeZoneInfoPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | RegionPreferenceController.java | 24 private static final String PREFERENCE_KEY = "region"; field in RegionPreferenceController 30 super(context, PREFERENCE_KEY); in RegionPreferenceController()
|
D | FixedOffsetPreferenceController.java | 25 private static final String PREFERENCE_KEY = "fixed_offset"; field in FixedOffsetPreferenceController 30 super(context, PREFERENCE_KEY); in FixedOffsetPreferenceController()
|
D | RegionZonePreferenceController.java | 26 private static final String PREFERENCE_KEY = "region_zone"; field in RegionZonePreferenceController 32 super(context, PREFERENCE_KEY); in RegionZonePreferenceController()
|
D | TimeZoneInfoPreferenceController.java | 38 private static final String PREFERENCE_KEY = FooterPreference.KEY_FOOTER; field in TimeZoneInfoPreferenceController 45 super(context, PREFERENCE_KEY); in TimeZoneInfoPreferenceController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DefaultPhoneShortcutPreferenceControllerTest.java | 37 private static final String PREFERENCE_KEY = "default_phone_app"; field in DefaultPhoneShortcutPreferenceControllerTest 55 assertThat(mController.getPreferenceKey()).isEqualTo(PREFERENCE_KEY); in getPreferenceKey_shouldReturnDefaultPhone()
|
D | DefaultSmsShortcutPreferenceControllerTest.java | 37 private static final String PREFERENCE_KEY = "default_sms_app"; field in DefaultSmsShortcutPreferenceControllerTest 55 assertThat(mController.getPreferenceKey()).isEqualTo(PREFERENCE_KEY); in getPreferenceKey_shouldReturnDefaultSms()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothA2dpHwOffloadPreferenceController.java | 31 private static final String PREFERENCE_KEY = "bluetooth_disable_a2dp_hw_offload"; field in BluetoothA2dpHwOffloadPreferenceController 45 return PREFERENCE_KEY; in getPreferenceKey()
|
D | BluetoothSnoopLogPreferenceController.java | 39 private static final String PREFERENCE_KEY = "bt_hci_snoop_log"; field in BluetoothSnoopLogPreferenceController 78 return PREFERENCE_KEY; in getPreferenceKey()
|
D | StayAwakePreferenceController.java | 47 private static final String PREFERENCE_KEY = "keep_screen_on"; field in StayAwakePreferenceController 69 return PREFERENCE_KEY; in getPreferenceKey()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothA2dpHwOffloadPreferenceController.java | 31 private static final String PREFERENCE_KEY = "bluetooth_disable_a2dp_hw_offload"; field in BluetoothA2dpHwOffloadPreferenceController 45 return PREFERENCE_KEY; in getPreferenceKey()
|
D | BluetoothSnoopLogPreferenceController.java | 39 private static final String PREFERENCE_KEY = "bt_hci_snoop_log"; field in BluetoothSnoopLogPreferenceController 78 return PREFERENCE_KEY; in getPreferenceKey()
|
D | StayAwakePreferenceController.java | 47 private static final String PREFERENCE_KEY = "keep_screen_on"; field in StayAwakePreferenceController 69 return PREFERENCE_KEY; in getPreferenceKey()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | TopLevelLocationPreferenceControllerTest.java | 34 private static final String PREFERENCE_KEY = "top_level_location"; field in TopLevelLocationPreferenceControllerTest 42 mController = new TopLevelLocationPreferenceController(mContext, PREFERENCE_KEY); in setUp()
|