Searched defs:match (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp40 bool AxisConfigFilter::match(const ConfigDescription& config) const { function in class:aapt::AxisConfigFilter
58 // we match.
66 // Special case if the smallest screen width doesn't match. We check that the
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DAuthMatch.java7 * Indeterminate means that there is no ANQP information to match against.
20 public static String toString(int match) { argument
21 if (match < 0) {
23 } else if (match == 0) {
28 if ((match & Realm) != 0) {
31 if ((match & Method) != 0) {
34 if ((match & Param) != 0) {
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp58 WeakResourceFilter::match(const ResTable_config& config) const function in class:WeakResourceFilter
77 // we match.
85 // Special case if the smallest screen width doesn't match. We check that the
H A DResourceFilter.h23 virtual bool match(const android::ResTable_config& config) const = 0;
37 bool match(const android::ResTable_config& config) const;
62 * that this filter is looking for. In order to match a configuration,
86 bool match(const android::ResTable_config& config) const { function in class:StrongResourceFilter
112 bool match(const android::ResTable_config& config) const { function in class:InverseResourceFilter
113 return !mFilter->match(config);
129 bool match(const android::ResTable_config& config) const { function in class:AndResourceFilter
132 if (!mFilters[i]->match(config)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DNAIRealmData.java61 public int match(List<String> credLabels, Credential credential) { method in class:NAIRealmData
74 // else there is a realm match and one or more EAP methods - check them.
82 int match = eapMethod.match(credential) | realmMatch;
83 if (match > best) {
84 best = match;
H A DNAIRealmElement.java49 public int match(Credential credential) { method in class:NAIRealmElement
56 int match = realmData.match(credLabels, credential);
57 if (match > best) {
58 best = match;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DAuthMatch.java7 * Indeterminate means that there is no ANQP information to match against.
20 public static String toString(int match) { argument
21 if (match < 0) {
24 else if (match == 0) {
29 if ((match & Realm) != 0) {
32 if ((match & Method) != 0) {
35 if ((match & Param) != 0) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode_inline.h26 UInt end, match; local
31 match = 1 << 31;
37 while (match >= end)
39 if ((match&bitmapzz[0]) == 0)
43 match >>= 1;
47 match >>= 1;
72 match = 1 << 31;
74 while (match >= end)
76 if ((match&bitmapzz[1]) == 0)
80 match >>
117 UInt end, match; local
125 ldr match, [bitmapzz] local
137 bic match, match, end /* remove it from bitmap */ local
168 ldr match, [bitmapzz, #4] local
178 bic match, match, end /* remove it from bitmap */ local
231 UInt end = 0, match; local
[all...]
/frameworks/base/core/java/android/content/
H A DUriMatcher.java76 <p>Then when you need to match against a URI, call {@link #match}, providing
83 int match = sURIMatcher.match(url);
84 switch (match)
127 * @param code the code to match for the root URI
146 * Add a URI to match, and the code to return when this URI is
147 * matched. URI nodes may be exact match string, the token "*"
154 * @param authority the authority to match
155 * @param path the path to match
217 public int match(Uri uri) method in class:UriMatcher
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_UEventObserver.cpp48 const String8& match = gMatches.itemAt(i); local
54 if (strstr(field, match.string())) {
55 ALOGV("Matched uevent message with pattern: %s", match.string());
88 ScopedUtfChars match(env, matchStr);
91 gMatches.add(String8(match.c_str()));
95 ScopedUtfChars match(env, matchStr);
99 if (gMatches.itemAt(i) == match.c_str()) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredActivity.java38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, argument
41 mPref = new PreferredComponent(this, match, set, activity, always);
H A DPreferredComponent.java38 private static final String ATTR_MATCH = "match"; // number
60 public PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, argument
63 mMatch = match&IntentFilter.MATCH_CATEGORY_MASK;
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java26 * Pattern type: the given pattern must exactly match the string it is
32 * Pattern type: the given pattern must match the
40 * In this syntax, you can use the '*' character to match against zero or
42 * character before it is '.' it will match any character. The character
64 public boolean match(String str) { method in class:PatternMatcher
109 static boolean matchPattern(String pattern, String match, int type) { argument
110 if (match == null) return false;
112 return pattern.equals(match);
114 return match.startsWith(pattern);
121 return match
[all...]
H A DUEventObserver.java28 * startObserving() with a match string. The UEvent thread will then call your
29 * onUEvent() method when a UEvent occurs that contains your match string.<p>
49 private static native void nativeAddMatch(String match); argument
50 private static native void nativeRemoveMatch(String match); argument
90 * @param match A substring of the UEvent to match. Try to be as specific
96 public final void startObserving(String match) { argument
97 if (match == null || match.isEmpty()) {
98 throw new IllegalArgumentException("match substrin
216 addObserver(String match, UEventObserver observer) argument
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DDirectoryCertificateSource.java93 public boolean match(X509Certificate ca) {
103 public boolean match(X509Certificate ca) {
118 public boolean match(X509Certificate ca) {
137 boolean match(X509Certificate cert); method in interface:DirectoryCertificateSource.CertSelector
155 if (selector.match(cert)) {
179 if (selector.match(cert)) {
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DEAPMethod.java112 public int match(com.android.hotspot2.pps.Credential credential) { method in class:EAPMethod
/frameworks/base/tools/aapt2/
H A DFlags.cpp127 bool match = false; local
142 match = true;
147 if (!match) {
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp55 bool SplitDescription::match(const SplitDescription& o) const { function in class:split::SplitDescription
67 return config.match(o.config);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/
H A DEAPMethod.java113 public int match(com.android.server.wifi.hotspot2.pps.Credential credential) { method in class:EAPMethod
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp111 char *match = strcasestr(debugName, term); local
112 if (match != NULL && (match == debugName || match[-1] == '.'
113 || match[len] == '.' || match[len] == '\0')) {
114 char *src = match + len;
115 if (match == debugName || match[-1] == '.') {
118 memmove(match, sr
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp121 // Approximate (best) match:
122 // The match score measures how well the supported channel mask matches the
129 // match score = 1000 if legacy channel conversion equivalent (always prefer this)
131 // match score += 100 if the channel mask representations match
132 // match score += number of channels matched.
138 int match; local
141 match = 100 + __builtin_popcount(
147 match = __builtin_popcount(
152 match
[all...]
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java79 * @param specs The drawable state specs to match against
80 * @param animator The animator to run when the specs match
164 Tuple match = null;
169 match = tuple;
173 if (match == mLastMatch) {
179 mLastMatch = match;
180 if (match != null) {
181 start(match);
185 private void start(Tuple match) { argument
186 match
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DDomainMatcher.java22 private Label(Match match) { argument
23 mMatch = match;
24 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null;
27 private void addDomain(Iterator<String> labels, Match match) { argument
32 subLabel.addDomain(labels, match);
34 mSubDomains.put(labelName, new Label(match));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java57 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) { argument
61 if (match != null && homeSp != null) {
63 new PasspointMatchInfo(match, scanDetail, homeSp));
227 * Method returning the Visibility based on passpoint match time.
259 String logMsg = "Visiblity by passpoint match returned ";
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DDomainMatcher.java25 private Label(Match match) { argument
26 mMatch = match;
27 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null;
30 private void addDomain(Iterator<String> labels, Match match) { argument
35 subLabel.addDomain(labels, match);
37 mSubDomains.put(labelName, new Label(match));

Completed in 412 milliseconds

123