Home
last modified time | relevance | path

Searched refs:createPreference (Results 1 – 21 of 21) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/
DPreferenceListCacheTest.java63 Preference first = createPreference("first"); in testCacheAndRestoreAllPreferences()
64 Preference second = createPreference("second"); in testCacheAndRestoreAllPreferences()
65 Preference third = createPreference("third"); in testCacheAndRestoreAllPreferences()
80 Preference first = createPreference("first"); in testRestoreSomePreferences()
81 Preference second = createPreference("second"); in testRestoreSomePreferences()
82 Preference third = createPreference("third"); in testRestoreSomePreferences()
98 Preference first = createPreference("first"); in testRestoreZeroPreferences()
99 Preference second = createPreference("second"); in testRestoreZeroPreferences()
100 Preference third = createPreference("third"); in testRestoreZeroPreferences()
116 Preference first = createPreference("first"); in testKeyCollisionThrows()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DGroupSelectionPreferenceControllerTest.java109 entries.add(createPreference("key1")); in refreshUi_hasTwoElements()
110 entries.add(createPreference("key2")); in refreshUi_hasTwoElements()
121 entries.add(createPreference("key1")); in refreshUi_elementChecked()
122 entries.add(createPreference("key2")); in refreshUi_elementChecked()
135 entries.add(createPreference("key1")); in performClick_allowPassThrough_checkedElementChanged()
136 entries.add(createPreference("key2")); in performClick_allowPassThrough_checkedElementChanged()
155 entries.add(createPreference("key1")); in performClick_disallowPassThrough_checkedElementNotChanged()
156 entries.add(createPreference("key2")); in performClick_disallowPassThrough_checkedElementNotChanged()
175 entries.add(createPreference("key1")); in performClick_disallowPassThrough_notifyKeyChanged_checkedElementChanged()
176 entries.add(createPreference("key2")); in performClick_disallowPassThrough_notifyKeyChanged_checkedElementChanged()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilePreferenceControllerTest.java105 SwitchPreference preference = createPreference(/* defaultCheckedState = */ false); in preferenceChecked_shouldAddTile()
116 SwitchPreference preference = createPreference(/* defaultCheckedState = */ true); in preferenceUnchecked_shouldRemoveTile()
125 private SwitchPreference createPreference(boolean defaultCheckedState) { in createPreference() method in DevelopmentTilePreferenceControllerTest
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearAccountsPreferenceController.java70 createPreference(getContext().getString(R.string.master_clear_accounts), /* icon= */ in onCreateInternal()
100 Preference accountPref = createPreference(account.name, in updateState()
136 private Preference createPreference(String title, @Nullable Drawable icon) { in createPreference() method in MasterClearAccountsPreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationListPreferenceController.java56 createPreference(appEntry.label, appEntry.sizeStr, appEntry.icon, in onDataLoaded()
61 protected Preference createPreference(String title, String summary, Drawable icon, in createPreference() method in StorageApplicationListPreferenceController
DStorageMediaCategoryDetailPreferenceController.java48 Preference preference = createPreference( in onDataLoaded()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationsSettingsPreferenceController.java56 createPreference(appEntry.label, appEntry.sizeStr, appEntry.icon, in onDataLoaded()
61 private Preference createPreference(String title, String summary, Drawable icon, in createPreference() method in ApplicationsSettingsPreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkListPreferenceController.java74 preferenceGroup.addPreference(createPreference(info)); in updateState()
83 private Preference createPreference(SubscriptionInfo info) { in createPreference() method in MobileNetworkListPreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceController.java88 Preference appPref = createPreference(request); in updateState()
94 private Preference createPreference(Request request) { in createPreference() method in RecentLocationRequestsPreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceController.java128 preferenceGroup.addPreference(createPreference(entry)); in rebuildAppList()
132 private Preference createPreference(ApplicationsState.AppEntry entry) { in createPreference() method in DomainAppPreferenceController
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListChildFragment.java104 preference = preferenceFragment.createPreference(context); in onRoleListChanged()
153 TwoTargetPreference createPreference(@NonNull Context context); in createPreference() method
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceController.java82 Preference preference = createPreference(inputMethodInfo); in updateState()
120 private Preference createPreference(InputMethodInfo inputMethodInfo) { in createPreference() method in EnabledKeyboardPreferenceController
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListChildFragment.java168 preference = preferenceFragment.createPreference(context); in addPreferences()
284 TwoTargetPreference createPreference(@NonNull Context context); in createPreference() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DAppSettingsInjector.java39 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() method in AppSettingsInjector
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DHandheldDefaultAppListFragment.java71 public TwoTargetPreference createPreference(@NonNull Context context) { in createPreference() method in HandheldDefaultAppListFragment
/packages/apps/Settings/src/com/android/settings/location/
DAppSettingsInjector.java47 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() method in AppSettingsInjector
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/auto/
DAutoDefaultAppListFragment.java61 public TwoTargetPreference createPreference(@NonNull Context context) { in createPreference() method in AutoDefaultAppListFragment
DAutoSpecialAppAccessListFragment.java62 public TwoTargetPreference createPreference(@NonNull Context context) { in createPreference() method in AutoSpecialAppAccessListFragment
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/handheld/
DHandheldSpecialAppAccessListFragment.java74 public TwoTargetPreference createPreference(@NonNull Context context) { in createPreference() method in HandheldSpecialAppAccessListFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java324 final Preference pref = mTestFragment.createPreference(mProviderTile); in createPreference_isProviderTile_returnSwitchPreference()
333 final Preference pref = mTestFragment.createPreference(mActivityTile); in createPreference_isActivityTileAndHasSwitch_returnMasterSwitchPreference()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java500 final Preference pref = createPreference(tile); in refreshDashboardTiles()
529 Preference createPreference(Tile tile) { in createPreference() method in DashboardFragment