Home
last modified time | relevance | path

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

12345678

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java19 import android.preference.Preference;
20 import android.preference.Preference.OnPreferenceClickListener;
31 private TestPreference preference; field in PreferenceTest
43 preference = new TestPreference(context, attrs); in setup()
44 shadow = Robolectric.shadowOf( preference ); in setup()
51 preference = new TestPreference(context, attrs, defStyle); in shouldConstruct()
52 shadow = Robolectric.shadowOf(preference); in shouldConstruct()
57 preference = new TestPreference(context, attrs); in shouldConstruct()
58 shadow = Robolectric.shadowOf(preference); in shouldConstruct()
63 preference = new TestPreference(context); in shouldConstruct()
[all …]
DDialogPreferenceTest.java5 import android.preference.DialogPreference;
25 private DialogPreference preference; field in DialogPreferenceTest
37 preference = new TestDialogPreference(context, attrs); in setup()
38 shadow = Robolectric.shadowOf(preference); in setup()
45 preference = new TestDialogPreference(context, attrs, defStyle); in testConstructors()
46 shadow = Robolectric.shadowOf(preference); in testConstructors()
51 preference = new TestDialogPreference(context, attrs); in testConstructors()
52 shadow = Robolectric.shadowOf(preference); in testConstructors()
60 assertThat((String) preference.getDialogMessage(), equalTo(TEST_DIALOG_MESSAGE)); in testGetDialogMessage()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreferenceGroup.java5 import android.preference.Preference;
6 import android.preference.PreferenceGroup;
24 public void addItemFromInflater(Preference preference) { in addItemFromInflater() argument
25 addPreference(preference); in addItemFromInflater()
29 public boolean addPreference(Preference preference) { in addPreference() argument
30 if (preferenceList.contains(preference)) { in addPreference()
35 preferenceList.add(preference); in addPreference()
51 public boolean removePreference(Preference preference) { in removePreference() argument
52 return preferenceList.remove(preference); in removePreference()
72 final Preference preference = getPreference(i); in findPreference() local
[all …]
DShadowPreferenceActivity.java3 import android.preference.PreferenceActivity;
4 import android.preference.PreferenceScreen;
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/
Dmxbase.py35 def __init__(self, rdclass, rdtype, preference, exchange): argument
37 self.preference = preference
42 return '%d %s' % (self.preference, exchange)
45 preference = tok.get_uint16()
49 return cls(rdclass, rdtype, preference, exchange)
54 pref = struct.pack("!H", self.preference)
59 return struct.pack("!H", self.preference) + \
63 (preference, ) = struct.unpack('!H', wire[current : current + 2])
72 return cls(rdclass, rdtype, preference, exchange)
80 sp = struct.pack("!H", self.preference)
[all …]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/
DPX.py35 def __init__(self, rdclass, rdtype, preference, map822, mapx400): argument
37 self.preference = preference
44 return '%d %s %s' % (self.preference, map822, mapx400)
47 preference = tok.get_uint16()
53 return cls(rdclass, rdtype, preference, map822, mapx400)
58 pref = struct.pack("!H", self.preference)
64 (preference, ) = struct.unpack('!H', wire[current : current + 2])
81 return cls(rdclass, rdtype, preference, map822, mapx400)
90 sp = struct.pack("!H", self.preference)
91 op = struct.pack("!H", other.preference)
DNAPTR.py49 def __init__(self, rdclass, rdtype, order, preference, flags, service, argument
53 self.preference = preference
62 (self.order, self.preference,
70 preference = tok.get_uint16()
77 return cls(rdclass, rdtype, order, preference, flags, service,
83 two_ints = struct.pack("!HH", self.order, self.preference)
91 (order, preference) = struct.unpack('!HH', wire[current : current + 4])
111 return cls(rdclass, rdtype, order, preference, strings[0], strings[1],
121 sp = struct.pack("!HH", self.order, self.preference)
122 op = struct.pack("!HH", other.order, other.preference)
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DPreferenceLoader.java20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
22 import android.preference.PreferenceScreen;
103 Preference preference = create(context, (PreferenceGroup) parent); in inflate() local
106 child.inflate(context, preference); in inflate()
109 return preference; in inflate()
113 Preference preference = constructPreference(context, parent); in create() local
114 if (parent != null && parent != preference) { in create()
115 parent.addPreference(preference); in create()
117 return preference; in create()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DPreferenceLoaderTest.java10 import android.preference.CheckBoxPreference;
11 import android.preference.EditTextPreference;
12 import android.preference.ListPreference;
13 import android.preference.Preference;
14 import android.preference.PreferenceCategory;
15 import android.preference.PreferenceScreen;
16 import android.preference.RingtonePreference;
/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/autotest/server/site_tests/cheets_CTS/
Dcontrol.arm.android.preference8 NAME = 'cheets_CTS.arm.android.preference'
15 DOC = ('Run package android.preference of the '
25 tag='android.preference',
26 target_package='android.preference',
Dcontrol.x86.android.preference8 NAME = 'cheets_CTS.x86.android.preference'
15 DOC = ('Run package android.preference of the '
25 tag='android.preference',
26 target_package='android.preference',
/external/svox/pico/src/com/svox/pico/
DEngineSettings.java22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
24 import android.preference.Preference.OnPreferenceClickListener;
76 public boolean onPreferenceClick(Preference preference) { in onActivityResult()
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java21 import android.preference.Preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceScreen;
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/
DAFSDB.py38 return self.preference
41 self.preference = subtype
/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/wpa_supplicant_8/wpa_supplicant/
Dmbo.c70 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); in wpas_mbo_non_pref_chan_attr_body()
134 non_pref->preference != start_pref->preference) { in wpas_mbo_non_pref_chan_attrs()
264 return a->preference - b->preference; in wpa_non_pref_chan_cmp()
324 chan->preference = _preference; in wpas_mbo_update_non_pref_chan()
Dwnm_sta.c370 rep->preference = pos[0]; in wnm_parse_neighbor_report_elem()
520 if (nei->preference_present && nei->preference == 0) { in compare_scan_neighbor_results()
531 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
558 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
569 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
586 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
950 if (bb->preference > aa->preference) in cand_pref_compar()
952 if (bb->preference < aa->preference) in cand_pref_compar()
984 nei->preference_present ? nei->preference : -1, in wnm_dump_cand_list()
1084 if (nei->preference_present && nei->preference == 0) in wnm_fetch_scan_results()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Doptionsmessage.cc32 OptionsMessage::ProtocolRole preference) { in set_protocol_role_preference() argument
33 protocol_role_preference_ = preference; in set_protocol_role_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/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/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 …

12345678