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

123

/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/tools/aapt2/
H A DFlag.cpp89 bool match = false; local
92 match = true;
113 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...]
H A DAString.cpp265 const char *match = strstr(mData + start, substring); local
267 if (match == NULL) {
271 return match - mData;
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java78 * @param specs The drawable state specs to match against
79 * @param animator The animator to run when the specs match
163 Tuple match = null;
168 match = tuple;
172 if (match == mLastMatch) {
178 mLastMatch = match;
179 if (match != null) {
180 start(match);
184 private void start(Tuple match) { argument
185 match
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java40 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) { argument
44 if (match != null && homeSp != null) {
46 new PasspointMatchInfo(match, scanDetail, homeSp));
225 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));
/frameworks/support/design/base/android/support/design/widget/
H A DStateListAnimator.java57 * @param specs The drawable state specs to match against
58 * @param animation The Animation to run when the specs match
112 Tuple match = null;
117 match = tuple;
121 if (match == mLastMatch) {
127 mLastMatch = match;
128 if (match != null) {
129 start(match);
133 private void start(Tuple match) { argument
134 mRunningAnimation = match
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h214 const Vector<uint8_t>& signature, bool& match) {
219 UNUSED(match);
210 verify( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& message, const Vector<uint8_t>& signature, bool& match) argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp505 bool match = false; local
517 ALOGVV("%s: Found match %" PRId64, __FUNCTION__,
519 match = true;
523 ALOGVV("%s: Found close match %" PRId64 " (delta %" PRId64 ")",
525 match = true;
529 if (match) {
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java43 * match, if this resolution is for an activity or broadcast receiver.
50 * The service that corresponds to this resolution match, if this resolution
57 * The provider that corresponds to this resolution match, if this
69 * The declared priority of this match. Comes from the "priority"
84 * IntentFilter. This is a match constant, a combination of
88 public int match; field in class:ResolveInfo
107 * match's label. From the "label" attribute or, if not set, 0.
119 * match's icon. From the "icon" attribute or, if not set, 0. It is
234 * Return the icon resource identifier to use for this match. If the
235 * match define
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java51 * required. Any pattern match that does not begin with the supplied scheme
146 public final String transformUrl(final Matcher match, String url) {
147 return Patterns.digitsAndPlusOnly(match);
153 * what is allowed to match and become a link, and what is not.
156 * http://www.example.com to match, as well as just example.com itelf.
157 * However, you would not want to match against the domain in
159 * might also include a MatchFilter that disallows the match if it is
165 * if the match should be turned into an actionable link.
174 * @return Whether this match should be turned into a link
192 * @param match Th
197 transformUrl(final Matcher match, String url) argument
[all...]

Completed in 586 milliseconds

123