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

123

/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DAuthMatch.java22 * Indeterminate means that there is no ANQP information to match against.
35 public static String toString(int match) { argument
36 if (match < 0) {
39 else if (match == 0) {
44 if ((match & REALM) != 0) {
47 if ((match & METHOD) != 0) {
50 if ((match & PARAM) != 0) {
H A DDomainMatcher.java53 Label(int match) { argument
54 mMatch = match;
62 * @param match The match status of the domain
64 public void addDomain(Iterator<String> labels, int match) { argument
75 subLabel.addDomain(labels, match);
77 // End of the domain, update the match status.
78 subLabel.mMatch = match;
92 * Return the match status
94 * @return The match statu
[all...]
/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/tools/aapt/
H A DResourceFilter.cpp66 // since we don't know any better and they might as well be a match.
69 // true if and only if they are an exact match.
75 return true; // both scripts are empty. We match for backward compatibility reasons.
81 if (scriptBuffer[0] == '\0') { // We can't compute the script, so we match.
88 if (scriptBuffer[0] == '\0') { // We can't compute the script, so we match.
98 WeakResourceFilter::match(const ResTable_config& config) const function in class:WeakResourceFilter
117 // we match.
119 // Exception: we won't match if a script is specified for at least
123 // we match.)
133 // Special case if the smallest screen width doesn't match
[all...]
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/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.cpp150 bool match = false; local
165 match = true;
170 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/support/design/base/android/support/design/widget/
H A DStateListAnimator.java47 * @param specs The drawable state specs to match against
48 * @param animator The animator to run when the specs match
60 Tuple match = null;
65 match = tuple;
69 if (match == mLastMatch) {
76 mLastMatch = match;
78 if (match != null) {
79 start(match);
83 private void start(Tuple match) { argument
84 mRunningAnimator = match
[all...]
/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.cpp278 const char *match = strstr(mData + start, substring); local
280 if (match == NULL) {
284 return match - mData;
/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/core/java/android/os/
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...]
H A DPatternMatcher.java30 * Pattern type: the given pattern must exactly match the string it is
36 * Pattern type: the given pattern must match the
44 * In this syntax, you can use the '*' character to match against zero or
46 * character before it is '.' it will match any character. The character
70 // Return for no match
112 public boolean match(String str) { method in class:PatternMatcher
162 static boolean matchPattern(String match, String pattern, int[] parsedPattern, int type) { argument
163 if (match == null) return false;
165 return pattern.equals(match);
167 return match
176 matchGlobPattern(String pattern, String match) argument
427 matchAdvancedPattern(int[] parsedPattern, String match) argument
517 matchChars(String match, int im, final int lm, int tokenType, int minRepetition, int maxRepetition, int[] parsedPattern, int tokenStart, int tokenEnd) argument
531 matchChar(String match, int im, final int lm, int tokenType, int[] parsedPattern, int tokenStart, int tokenEnd) argument
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DDirectoryCertificateSource.java95 public boolean match(X509Certificate ca) {
105 public boolean match(X509Certificate ca) {
120 public boolean match(X509Certificate ca) {
139 boolean match(X509Certificate cert); method in interface:DirectoryCertificateSource.CertSelector
160 if (selector.match(cert)) {
187 if (selector.match(cert)) {
/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/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h227 const Vector<uint8_t>& signature, bool& match) {
232 UNUSED(match);
223 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/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
86 * The declared priority of this match. Comes from the "priority"
101 * IntentFilter. This is a match constant, a combination of
105 public int match; field in class:ResolveInfo
124 * match's label. From the "label" attribute or, if not set, 0.
136 * match's icon. From the "icon" attribute or, if not set, 0. It is
252 * Return the icon resource identifier to use for this match. If the
253 * match define
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java57 * required. Any pattern match that does not begin with the supplied scheme
157 public final String transformUrl(final Matcher match, String url) {
158 return Patterns.digitsAndPlusOnly(match);
164 * what is allowed to match and become a link, and what is not.
167 * http://www.example.com to match, as well as just example.com itelf.
168 * However, you would not want to match against the domain in
170 * might also include a MatchFilter that disallows the match if it is
176 * if the match should be turned into an actionable link.
185 * @return Whether this match should be turned into a link
203 * @param match Th
208 transformUrl(final Matcher match, String url) argument
[all...]

Completed in 491 milliseconds

123