Home
last modified time | relevance | path

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

1234567891011

/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 …]
DWifiP2pGroup.java110 Matcher match = groupStartedPattern.matcher(supplicantEvent); in WifiP2pGroup() local
111 if (!match.find()) { in WifiP2pGroup()
115 mNetworkName = match.group(1); in WifiP2pGroup()
119 mPassphrase = match.group(4); in WifiP2pGroup()
120 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup()
121 if (match.group(6) != null) { in WifiP2pGroup()
/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/java/android/animation/
DStateListAnimator.java132 Tuple match = null; in setState() local
137 match = tuple; in setState()
141 if (match == mLastMatch) { in setState()
147 mLastMatch = match; in setState()
148 if (match != null) { in setState()
149 start(match); in setState()
153 private void start(Tuple match) { in start() argument
154 match.mAnimator.setTarget(getTarget()); in start()
155 mRunningAnimator = match.mAnimator; in start()
/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/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/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/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/
DWifiMonitor.java882 Matcher match = mAssocRejectEventPattern.matcher(eventData); in dispatchEvent() local
885 if (!match.find()) { in dispatchEvent()
888 BSSID = match.group(1); in dispatchEvent()
890 status = Integer.parseInt(match.group(2)); in dispatchEvent()
952 Matcher match = mTargetBSSIDPattern.matcher(eventStr); in handleTargetBSSIDEvent() local
953 if (match.find()) { in handleTargetBSSIDEvent()
954 BSSID = match.group(1); in handleTargetBSSIDEvent()
963 Matcher match = mAssociatedPattern.matcher(eventStr); in handleAssociatedBSSIDEvent() local
964 if (match.find()) { in handleAssociatedBSSIDEvent()
965 BSSID = match.group(1); in handleAssociatedBSSIDEvent()
[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/core/java/android/text/method/
DDialerKeyListener.java69 int match = super.lookup(event, content); in lookup() local
71 if (match != 0) { in lookup()
72 return match; in lookup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java91 switch (URL_MATCHER.match(url)) { in query()
141 switch (URL_MATCHER.match(url)) { in getType()
165 int match = URL_MATCHER.match(url); in insert() local
166 switch (match) { in insert()
204 switch (match) { in insert()
258 int match = URL_MATCHER.match(url); in delete() local
259 switch (match) { in delete()
342 int match = URL_MATCHER.match(url); in update() local
343 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 …]
/frameworks/base/tools/apilint/
Dapilint.py165 match = re_blame.match(raw)
166 if match is not None:
167 blame = match.groups()[0:2]
168 raw = match.groups()[2]
216 if re.match("android\.R\.[a-z]+", clazz.fullname): return
220 if re.match("[A-Z0-9_]+", f.name) is None:
234 if re.match("android\.R\.[a-z]+", clazz.fullname): return
238 if re.match("[^A-Z]", clazz.name):
251 if re.match("[^a-z]", m.name):
271 if not re.match("on[A-Z][a-z]*", m.name):
[all …]
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java88 public int match; field in ResolveInfo
244 + " match=0x" + Integer.toHexString(match) in dump()
278 match = orig.match; in ResolveInfo()
304 sb.append(Integer.toHexString(match)); in toString()
338 dest.writeInt(match); in writeToParcel()
382 match = source.readInt(); in ResolveInfo()
/frameworks/base/core/java/android/content/
DIntentFilter.java690 public boolean match(AuthorityEntry other) { in match() method in IntentFilter.AuthorityEntry
713 public int match(Uri data) { in match() method in IntentFilter.AuthorityEntry
807 if (pe.match(data)) { in hasDataSchemeSpecificPart()
904 if (mDataAuthorities.get(i).match(auth)) { in hasDataAuthority()
986 if (pe.match(data)) { in hasDataPath()
1032 int match = ae.match(data); in matchDataAuthority() local
1033 if (match >= 0) { in matchDataAuthority()
1034 return match; in matchDataAuthority()
1082 int match = MATCH_CATEGORY_EMPTY; in matchData() local
1091 match = MATCH_CATEGORY_SCHEME; in matchData()
[all …]
/frameworks/base/core/java/android/util/
DDebugUtils.java67 boolean match = false; in isObjectSelected()
91 match |= (value != null ? in isObjectSelected()
104 return match; in isObjectSelected()
/frameworks/base/tools/preload/
Dsorttable.js81 if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
82 mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/);
172 if (text.match(/^-?[�$�]?[\d,.]+%?$/)) {
178 possdate = text.match(sorttable.DATE_RE)
272 mtch = a[0].match(sorttable.DATE_RE);
277 mtch = b[0].match(sorttable.DATE_RE);
287 mtch = a[0].match(sorttable.DATE_RE);
292 mtch = b[0].match(sorttable.DATE_RE);
/frameworks/base/core/java/android/text/util/
DLinkify.java143 public final String transformUrl(final Matcher match, String url) {
144 return Patterns.digitsAndPlusOnly(match);
194 String transformUrl(final Matcher match, String url); in transformUrl() argument
454 for (PhoneNumberMatch match : matches) { in gatherTelLinks()
456 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString()); in gatherTelLinks()
457 spec.start = match.start(); in gatherTelLinks()
458 spec.end = match.end(); in gatherTelLinks()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp85 int FontLanguage::match(const FontLanguage other) const { in match() function in android::FontLanguage
158 int match = computeMatch(font.style, style); in getClosestMatch() local
159 if (i == 0 || match < bestMatch) { in getClosestMatch()
161 bestMatch = match; in getClosestMatch()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java231 int match = receiver.filter.match(action, type, scheme, data, in sendBroadcast() local
233 if (match >= 0) { in sendBroadcast()
235 Integer.toHexString(match)); in sendBroadcast()
244 switch (match) { in sendBroadcast()

1234567891011