Home
last modified time | relevance | path

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

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DPreferenceIntegrationTest.java9 import android.preference.CheckBoxPreference;
10 import android.preference.EditTextPreference;
11 import android.preference.ListPreference;
12 import android.preference.Preference;
13 import android.preference.PreferenceActivity;
14 import android.preference.PreferenceCategory;
15 import android.preference.PreferenceScreen;
16 import android.preference.RingtonePreference;
66 final Preference preference = screen.findPreference("preference"); in inflate_shouldBindPreferencesToPreferenceManager() local
67 assertThat(preference.getPreferenceManager().findPreference("preference")).isNotNull(); in inflate_shouldBindPreferencesToPreferenceManager()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEditTextPreferenceTest.java8 import android.preference.EditTextPreference;
20 private EditTextPreference preference; field in ShadowEditTextPreferenceTest
27 preference = new EditTextPreference(context); in setup()
32 preference = new EditTextPreference(context); in testConstructor()
33 assertNotNull(preference.getEditText()); in testConstructor()
38 final EditText editText = preference.getEditText(); in setTextInEditTextShouldStoreText()
46 preference.setText("some other text"); in setTextShouldStoreText()
47 assertThat(preference.getText()).isEqualTo("some other text"); in setTextShouldStoreText()
52 preference.setText(null); in setTextShouldStoreNull()
53 assertNull(preference.getText()); in setTextShouldStoreNull()
DShadowDialogPreferenceTest.java6 import android.preference.DialogPreference;
7 import android.preference.PreferenceActivity;
8 import android.preference.PreferenceScreen;
21 final DialogPreference preference = (DialogPreference) screen.findPreference("dialog"); in inflate_shouldCreateDialogPreference() local
23 assertThat(preference.getTitle()).isEqualTo("Dialog Preference"); in inflate_shouldCreateDialogPreference()
24 assertThat(preference.getSummary()).isEqualTo("This is the dialog summary"); in inflate_shouldCreateDialogPreference()
25 assertThat(preference.getDialogMessage()).isEqualTo("This is the dialog message"); in inflate_shouldCreateDialogPreference()
26 assertThat(preference.getPositiveButtonText()).isEqualTo("YES"); in inflate_shouldCreateDialogPreference()
27 assertThat(preference.getNegativeButtonText()).isEqualTo("NO"); in inflate_shouldCreateDialogPreference()
DShadowPreferenceActivityTestWithFragment.java8 import android.preference.Preference;
9 import android.preference.PreferenceFragment;
40 Preference preference = fragment.findPreference("edit_text"); in preferenceAddedWithCorrectDetails() local
41 assertThat(preference).isNotNull(); in preferenceAddedWithCorrectDetails()
42 assertThat(preference.getTitle()).isEqualTo("EditText Test"); in preferenceAddedWithCorrectDetails()
43 assertThat(preference.getSummary()).isEqualTo(""); in preferenceAddedWithCorrectDetails()
DShadowPreferenceGroupTest.java9 import android.preference.Preference;
10 import android.preference.PreferenceGroup;
11 import android.preference.PreferenceManager;
/external/webrtc/talk/media/base/
Dcodec.cc91 Codec::Codec(int id, const std::string& name, int clockrate, int preference) in Codec() argument
92 : id(id), name(name), clockrate(clockrate), preference(preference) { in Codec()
95 Codec::Codec() : id(0), clockrate(0), preference(0) { in Codec()
106 preference = c.preference; in operator =()
115 preference == c.preference && params == c.params && in operator ==()
171 int preference) in AudioCodec() argument
172 : Codec(id, name, clockrate, preference), in AudioCodec()
213 << ":" << channels << ":" << preference << "]"; in ToString()
220 << ":" << framerate << ":" << preference << "]"; in ToString()
229 int preference) in VideoCodec() argument
[all …]
Dcodec.h84 int preference; member
89 Codec(int id, const std::string& name, int clockrate, int preference);
113 return first.preference > other.preference; in Preferable()
139 int preference);
149 return first.preference > other.preference; in Preferable()
174 int preference);
182 return first.preference > other.preference; in Preferable()
213 DataCodec(int id, const std::string& name, int preference);
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSettingsFragment.java26 import android.support.v7.preference.Preference;
27 import android.support.v7.preference.PreferenceFragmentCompat;
28 import android.support.v7.preference.PreferenceScreen;
68 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog() argument
69 if (preference instanceof NumberPickerPreference) { in onDisplayPreferenceDialog()
71 NumberPickerPreferenceDialogFragmentCompat.newInstance(preference.getKey()); in onDisplayPreferenceDialog()
76 super.onDisplayPreferenceDialog(preference); in onDisplayPreferenceDialog()
DNumberPickerPreference.java23 import android.support.v7.preference.DialogPreference;
24 import android.support.v7.preference.PreferenceDialogFragmentCompat;
/external/iputils/
Drdisc.c70 int preference; member
95 static void record_router(struct in_addr router, int preference, int ttl);
195 int preference = 0; /* Setable with -p option */ variable
355 preference = val; in main()
612 ap->ira_preference = htonl(interfaces[i].preference); in advertise()
1095 interfaces[i].preference = preference; in init()
1302 int preference; member
1331 if (tp->preference > max) in max_preference()
1332 max = tp->preference; in max_preference()
1356 tp->preference == max) in age_table()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java21 import android.preference.Preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceScreen;
/external/iputils/doc/
Drdisc.sgml18 <arg choice="opt">-p <replaceable/preference/</arg>
38 the ones with the highest preference are selected as default routers
58 message with the preference being maximally negative.
75 Accept all routers independently of the preference they have in their
78 tables) the router or routers with the highest preference.
85 preference value. It is default behaviour.
125 <term><option>-p <replaceable/preference/</option></term>
127 Set preference in advertisement.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPreference.java3 import android.preference.Preference;
4 import android.preference.PreferenceManager;
/external/wpa_supplicant_8/wpa_supplicant/
Dmbo.c96 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); in wpas_mbo_non_pref_chan_attr_body()
167 non_pref->preference != start_pref->preference) { in wpas_mbo_non_pref_chan_attrs()
307 return (int) a->preference - (int) b->preference; in wpa_non_pref_chan_cmp()
366 chan->preference = _preference; in wpas_mbo_update_non_pref_chan()
Dwnm_sta.c450 rep->preference = pos[0]; in wnm_parse_neighbor_report_elem()
724 if (nei->preference_present && nei->preference == 0) { in compare_scan_neighbor_results()
735 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
762 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
773 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
790 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
1181 if (bb->preference > aa->preference) in cand_pref_compar()
1183 if (bb->preference < aa->preference) in cand_pref_compar()
1215 nei->preference_present ? nei->preference : -1, in wnm_dump_cand_list()
1315 if (nei->preference_present && nei->preference == 0) in wnm_fetch_scan_results()
/external/walt/android/WALT/app/
Dbuild.gradle37 compile 'com.android.support:preference-v7:25.1.0'
38 compile 'com.android.support:preference-v14:25.1.0'
/external/webrtc/webrtc/p2p/base/
Dcandidate.h93 float preference() const { in preference() function
100 void set_preference(float preference) { in set_preference() argument
103 uint64_t prio_val = static_cast<uint64_t>(preference * 127) << 24; in set_preference()
/external/webrtc/webrtc/base/
Dnetwork.h346 int preference() const { return preference_; } in preference() function
347 void set_preference(int preference) { preference_ = preference; } in set_preference() argument
/external/tcpdump/tests/
Ddhcpv6-AFTR-Name-RFC6334.out2 …102030405) (server-ID hwaddr/time type 1 time 406802160 001122334455) (preference 10) (DNS-server …
4 …102030405) (server-ID hwaddr/time type 1 time 406802160 001122334455) (preference 10) (DNS-server …
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc656 int preference = kPreferenceUnknown; in GetCandidatePreferenceFromType() local
658 preference = kPreferenceHost; in GetCandidatePreferenceFromType()
660 preference = kPreferenceReflexive; in GetCandidatePreferenceFromType()
662 preference = kPreferenceRelayed; in GetCandidatePreferenceFromType()
666 return preference; in GetCandidatePreferenceFromType()
694 const int preference = GetCandidatePreferenceFromType(it->type()); in GetDefaultDestination() local
700 if ((preference <= current_preference && current_family == family) || in GetDefaultDestination()
709 current_preference = preference; in GetDefaultDestination()
2096 int preference = static_cast<int>(fmts.size()); in MaybeCreateStaticPayloadAudioCodecs() local
2109 preference)); in MaybeCreateStaticPayloadAudioCodecs()
[all …]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DSettingsFragment.java14 import android.preference.PreferenceFragment;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/testing/
DTestDialogPreference.java4 import android.preference.DialogPreference;
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DPreferences.java20 import android.preference.PreferenceActivity;
/external/curl/docs/cmdline-opts/
Dform-string.d9 the value have no special meaning. Use this in preference to --form if
/external/kernel-headers/original/uapi/rdma/
Dib_user_sa.h74 __u8 preference; member

123456789