Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h26 UInt end, match; in zero_run_search() local
31 match = 1 << 31; in zero_run_search()
37 while (match >= end) in zero_run_search()
39 if ((match&bitmapzz[0]) == 0) in zero_run_search()
43 match >>= 1; in zero_run_search()
47 match >>= 1; in zero_run_search()
72 match = 1 << 31; in zero_run_search()
74 while (match >= end) in zero_run_search()
76 if ((match&bitmapzz[1]) == 0) in zero_run_search()
80 match >>= 1; in zero_run_search()
[all …]
/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp37 EXPECT_TRUE(filter.match(config)); in TEST()
42 EXPECT_TRUE(filter.match(config)); in TEST()
52 EXPECT_TRUE(filter.match(config)); in TEST()
63 EXPECT_TRUE(filter.match(config)); in TEST()
75 EXPECT_TRUE(filter.match(config)); in TEST()
86 EXPECT_TRUE(filter.match(config)); in TEST()
97 EXPECT_FALSE(filter.match(config)); in TEST()
110 EXPECT_FALSE(filter.match(config)); in TEST()
123 EXPECT_TRUE(filter.match(config)); in TEST()
134 EXPECT_TRUE(filter.match(config)); in TEST()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java173 Matcher match; in WifiP2pDevice() local
185 match = twoTokenPattern.matcher(string); in WifiP2pDevice()
186 if (!match.find()) { in WifiP2pDevice()
189 deviceAddress = match.group(2); in WifiP2pDevice()
192 match = threeTokenPattern.matcher(string); in WifiP2pDevice()
193 if (!match.find()) { in WifiP2pDevice()
196 deviceAddress = match.group(1); in WifiP2pDevice()
199 match = detailedDevicePattern.matcher(string); in WifiP2pDevice()
200 if (!match.find()) { in WifiP2pDevice()
204 deviceAddress = match.group(3); in WifiP2pDevice()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DAuthMatch.java20 public static String toString(int match) { in toString() argument
21 if (match < 0) { in toString()
24 else if (match == 0) { in toString()
29 if ((match & Realm) != 0) { in toString()
32 if ((match & Method) != 0) { in toString()
35 if ((match & Param) != 0) { in toString()
/frameworks/base/core/java/android/os/
DPatternMatcher.java64 public boolean match(String str) { in match() method in PatternMatcher
109 static boolean matchPattern(String pattern, String match, int type) { in matchPattern() argument
110 if (match == null) return false; in matchPattern()
112 return pattern.equals(match); in matchPattern()
114 return match.startsWith(pattern); in matchPattern()
121 return match.length() <= 0; in matchPattern()
123 final int NM = match.length(); in matchPattern()
152 if (match.charAt(im) == nextChar) { in matchPattern()
168 if (match.charAt(im) != c) { in matchPattern()
177 if (c != '.' && match.charAt(im) != c) return false; in matchPattern()
DUEventObserver.java49 private static native void nativeAddMatch(String match); in nativeAddMatch() argument
50 private static native void nativeRemoveMatch(String match); in nativeRemoveMatch() argument
96 public final void startObserving(String match) { in startObserving() argument
97 if (match == null || match.isEmpty()) { in startObserving()
102 t.addObserver(match, this); in startObserving()
216 public void addObserver(String match, UEventObserver observer) { in addObserver() argument
218 mKeysAndObservers.add(match); in addObserver()
220 nativeAddMatch(match); in addObserver()
230 final String match = (String)mKeysAndObservers.remove(i); in removeObserver() local
231 nativeRemoveMatch(match); in removeObserver()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java89 int match = sURLMatcher.match(url); in query() local
90 switch (match) { in query()
118 int match = sURLMatcher.match(url); in getType() local
119 switch (match) { in getType()
133 int match = sURLMatcher.match(url); in update() local
135 switch (match) { in update()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp111 char *match = strcasestr(debugName, term); in GetDebugName() local
112 if (match != NULL && (match == debugName || match[-1] == '.' in GetDebugName()
113 || match[len] == '.' || match[len] == '\0')) { in GetDebugName()
114 char *src = match + len; in GetDebugName()
115 if (match == debugName || match[-1] == '.') { in GetDebugName()
118 memmove(match, src, debugName + strlen(debugName) - src + 1); in GetDebugName()
/frameworks/base/core/jni/
Dandroid_os_UEventObserver.cpp48 const String8& match = gMatches.itemAt(i); in isMatch() local
54 if (strstr(field, match.string())) { in isMatch()
55 ALOGV("Matched uevent message with pattern: %s", match.string()); in isMatch()
88 ScopedUtfChars match(env, matchStr); in nativeAddMatch() local
91 gMatches.add(String8(match.c_str())); in nativeAddMatch()
95 ScopedUtfChars match(env, matchStr); in nativeRemoveMatch() local
99 if (gMatches.itemAt(i) == match.c_str()) { in nativeRemoveMatch()
/frameworks/base/tools/aapt/
DResourceFilter.h23 virtual bool match(const android::ResTable_config& config) const = 0;
37 bool match(const android::ResTable_config& config) const;
86 bool match(const android::ResTable_config& config) const { in match() function
112 bool match(const android::ResTable_config& config) const { in match() function
113 return !mFilter->match(config); in match()
129 bool match(const android::ResTable_config& config) const { in match() function
132 if (!mFilters[i]->match(config)) { in match()
/frameworks/support/design/base/android/support/design/widget/
DStateListAnimator.java112 Tuple match = null; in setState() local
117 match = tuple; in setState()
121 if (match == mLastMatch) { in setState()
127 mLastMatch = match; in setState()
128 if (match != null) { in setState()
129 start(match); in setState()
133 private void start(Tuple match) { in start() argument
134 mRunningAnimation = match.mAnimation; in start()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java163 Tuple match = null; in setState() local
168 match = tuple; in setState()
172 if (match == mLastMatch) { in setState()
178 mLastMatch = match; in setState()
179 if (match != null) { in setState()
180 start(match); in setState()
184 private void start(Tuple match) { in start() argument
185 match.mAnimator.setTarget(getTarget()); in start()
186 mRunningAnimator = match.mAnimator; in start()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java65 int match = sURLMatcher.match(url); in query() local
66 switch (match) { in query()
87 int match = sURLMatcher.match(url); in getType() local
88 switch (match) { in getType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DNAIRealmElement.java49 public int match(Credential credential) { in match() method in NAIRealmElement
56 int match = realmData.match(credLabels, credential); in match() local
57 if (match > best) { in match()
58 best = match; in match()
DNAIRealmData.java61 public int match(List<String> credLabels, Credential credential) { in match() method in NAIRealmData
82 int match = eapMethod.match(credential) | realmMatch; in match() local
83 if (match > best) { in match()
84 best = match; in match()
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java168 setState(32); match(XMLDeclOpen); in prolog()
182 setState(39); match(SPECIAL_CLOSE); in prolog()
285 setState(46); match(CDATA); in content()
290 setState(47); match(PI); in content()
295 setState(48); match(COMMENT); in content()
374 setState(59); match(OPEN); in element()
375 setState(60); _localctx.elmName = match(Name); in element()
389 setState(67); match(CLOSE); in element()
391 setState(69); match(OPEN); in element()
392 setState(70); match(SLASH); in element()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java120 int match = sURLMatcher.match(url); in getType() local
121 switch (match) { in getType()
133 int match = sURLMatcher.match(url); in openFile() local
134 switch (match) { in openFile()
/frameworks/base/tools/apilint/
Dapilint.py177 match = re_blame.match(raw)
178 if match is not None:
179 blame = match.groups()[0:2]
180 raw = match.groups()[2]
261 if re.match("android\.R\.[a-z]+", clazz.fullname): return
265 if re.match("[A-Z0-9_]+", f.name) is None:
279 if re.match("android\.R\.[a-z]+", clazz.fullname): return
283 if re.match("[^A-Z]", clazz.name):
296 if re.match("[^a-z]", m.name):
316 if not re.match("on[A-Z][a-z]*", m.name):
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DDomainMatcher.java25 private Label(Match match) { in Label() argument
26 mMatch = match; in Label()
27 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null; in Label()
30 private void addDomain(Iterator<String> labels, Match match) { in addDomain() argument
35 subLabel.addDomain(labels, match); in addDomain()
37 mSubDomains.put(labelName, new Label(match)); in addDomain()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java962 Matcher match = mAssocRejectEventPattern.matcher(eventData); in dispatchEvent() local
965 if (!match.find()) { in dispatchEvent()
968 BSSID = match.group(1); in dispatchEvent()
970 status = Integer.parseInt(match.group(2)); in dispatchEvent()
1036 Matcher match = mTargetBSSIDPattern.matcher(eventStr); in handleTargetBSSIDEvent() local
1037 if (match.find()) { in handleTargetBSSIDEvent()
1038 BSSID = match.group(1); in handleTargetBSSIDEvent()
1045 Matcher match = mAssociatedPattern.matcher(eventStr); in handleAssociatedBSSIDEvent() local
1046 if (match.find()) { in handleAssociatedBSSIDEvent()
1047 BSSID = match.group(1); in handleAssociatedBSSIDEvent()
[all …]
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionParser.java189 match(T__0); in defaults()
191 match(T__1); in defaults()
193 match(T__2); in defaults()
260 match(ResourceReference); in constantValue()
694 match(T__3); in expression()
698 match(T__4); in expression()
746 match(T__3); in expression()
750 match(T__4); in expression()
913 ((BinaryOpContext)_localctx).op = match(T__25); in expression()
927 ((BinaryOpContext)_localctx).op = match(T__26); in expression()
[all …]
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java156 boolean match = false; in verify()
178 match = hostName.endsWith(cn.substring(1)); in verify()
179 if(match && strictWithSubDomains) { in verify()
182 match = countDots(hostName) == countDots(cn); in verify()
185 match = hostName.equals(cn); in verify()
187 if(match) { in verify()
191 if(!match) { in verify()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java93 switch (URL_MATCHER.match(url)) { in query()
143 switch (URL_MATCHER.match(url)) { in getType()
167 int match = URL_MATCHER.match(url); in insert() local
168 switch (match) { in insert()
206 switch (match) { in insert()
260 int match = URL_MATCHER.match(url); in delete() local
261 switch (match) { in delete()
344 int match = URL_MATCHER.match(url); in update() local
345 switch (match) { in update()
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DPduCache.java134 int match = URI_MATCHER.match(uri); in purge() local
135 switch (match) { in purge()
153 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); in purge()
188 int match = URI_MATCHER.match(uri); in normalizeKey() local
191 switch (match) { in normalizeKey()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd83 <div class="jd-descrdiv">Set the search criteria to match widgets that are checkable.</div>
101 <div class="jd-descrdiv">Set the search criteria to match widgets that
138 <div class="jd-descrdiv">Set the search criteria to match the class property
157 <div class="jd-descrdiv">Set the search criteria to match the class property
176 <div class="jd-descrdiv">Set the search criteria to match the class property
195 <div class="jd-descrdiv">Set the search criteria to match widgets that are clickable.</div>
213 <div class="jd-descrdiv">Set the search criteria to match the content-description
232 <div class="jd-descrdiv">Set the search criteria to match the content-description
251 <div class="jd-descrdiv">Set the search criteria to match the content-description
270 <div class="jd-descrdiv">Set the search criteria to match the content-description
[all …]

12345678910>>...12