Home
last modified time | relevance | path

Searched refs:preference (Results 1 – 25 of 60) sorted by relevance

123

/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DRouteDiscoveryPreferenceTest.java74 RouteDiscoveryPreference preference = in testDefaultValues() local
77 assertThat(preference.getPreferredFeatures()).isEqualTo(preferredFeatures); in testDefaultValues()
78 assertThat(preference.shouldPerformActiveScan()).isTrue(); in testDefaultValues()
80 assertThat(preference.describeContents()).isEqualTo(0); in testDefaultValues()
87 RouteDiscoveryPreference preference = in testGetters() local
90 assertThat(preference.getPreferredFeatures()).isEqualTo(preferredFeatures); in testGetters()
91 assertThat(preference.shouldPerformActiveScan()).isTrue(); in testGetters()
92 assertThat(preference.describeContents()).isEqualTo(0); in testGetters()
101 RouteDiscoveryPreference preference = in testBuilderSetPreferredFeatures() local
108 RouteDiscoveryPreference newPreference = new RouteDiscoveryPreference.Builder(preference) in testBuilderSetPreferredFeatures()
[all …]
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceGroupTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
51 Preference preference = mActivity.findPreference("pref-group"); in testAddPreference() local
52 assertNotNull(preference); in testAddPreference()
56 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); in testFindPreference() local
57 assertNotNull(preference); in testFindPreference()
75 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); in testRemovePreference() local
76 mPreferenceGroup.removePreference(preference); in testRemovePreference()
DCustomPreferenceGroup.java16 package android.preference.cts;
20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
51 public boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference() argument
53 return super.onPrepareAddPreference(preference); in onPrepareAddPreference()
DPreferenceFragmentTest.java17 package android.preference.cts;
19 import android.preference.PreferenceManager;
20 import android.preference.PreferenceScreen;
21 import android.preference.cts.PreferenceFragmentActivity.PrefFragment;
DPreferenceFromCodeActivity.java17 package android.preference.cts;
20 import android.preference.CheckBoxPreference;
21 import android.preference.EditTextPreference;
22 import android.preference.ListPreference;
23 import android.preference.Preference;
24 import android.preference.PreferenceActivity;
25 import android.preference.PreferenceCategory;
26 import android.preference.PreferenceGroup;
27 import android.preference.PreferenceScreen;
28 import android.preference.SwitchPreference;
DFragmentPreferencesTest.java17 package android.preference.cts;
19 import android.preference.Preference;
20 import android.preference.PreferenceManager;
21 import android.preference.PreferenceScreen;
DPreferenceActivityTest.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
21 import android.preference.PreferenceManager;
22 import android.preference.PreferenceScreen;
DPreferenceDataStoreTest.java17 package android.preference.cts;
43 import android.preference.CheckBoxPreference;
44 import android.preference.Preference;
45 import android.preference.PreferenceDataStore;
46 import android.preference.PreferenceManager;
47 import android.preference.PreferenceScreen;
101 Preference preference = new Preference(mActivity); in testThatDataStoreIsNullByDefault() local
102 mScreen.addPreference(preference); in testThatDataStoreIsNullByDefault()
104 assertNull(preference.getPreferenceDataStore()); in testThatDataStoreIsNullByDefault()
105 assertNotNull(preference.getSharedPreferences()); in testThatDataStoreIsNullByDefault()
[all …]
DPreferenceCtsActivity.java17 package android.preference.cts;
19 import android.preference.PreferenceActivity;
DPreferencesFromXml.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DPreferencesFromXmlNested.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DPreferencesFromXmlRecycle.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
DPreferenceWithHeaders.java17 package android.preference.cts;
20 import android.preference.PreferenceActivity;
21 import android.preference.PreferenceFragment;
DCustomCheckBoxPreferenceTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
DPreferenceCategoryTest.java17 package android.preference.cts;
19 import android.preference.Preference;
DEditTextPreferenceTest.java17 package android.preference.cts;
19 import android.preference.EditTextPreference;
DPreferenceFragmentActivity.java16 package android.preference.cts;
20 import android.preference.PreferenceFragment;
DFragmentPreferences.java17 package android.preference.cts;
21 import android.preference.PreferenceFragment;
DPreferenceParentGroupTest.java17 package android.preference.cts;
23 import android.preference.CheckBoxPreference;
24 import android.preference.PreferenceCategory;
25 import android.preference.PreferenceScreen;
DCheckBoxPreferenceTest.java17 package android.preference.cts;
19 import android.preference.CheckBoxPreference;
DRecycleCheckPreference.java17 package android.preference.cts;
20 import android.preference.CheckBoxPreference;
DCustomDialogPreference.java16 package android.preference.cts;
21 import android.preference.DialogPreference;
DCustomCheckBoxPreference.java16 package android.preference.cts;
21 import android.preference.CheckBoxPreference;
DCustomSwitchPreference.java16 package android.preference.cts;
21 import android.preference.SwitchPreference;
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/settings/
DTapPreferenceInSettingsStepAutomation.java47 UiObject2 preference = TestApis.ui().device().findObject(By.text(mPreferenceTitle)); in automate() local
49 if (preference == null || !preference.isCheckable()) { in automate()
53 preference.click(); in automate()

123