Searched refs:match (Results 1 - 25 of 106) sorted by relevance

12345

/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/av/media/libstagefright/foundation/
H A DADebug.cpp102 char *match = strcasestr(debugName, term); local
103 if (match != NULL && (match == debugName || match[-1] == '.'
104 || match[len] == '.' || match[len] == '\0')) {
105 char *src = match + len;
106 if (match == debugName || match[-1] == '.') {
109 memmove(match, sr
[all...]
/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/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/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java65 int match = sURLMatcher.match(url);
66 switch (match) {
87 int match = sURLMatcher.match(url);
88 switch (match) {
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDevice.java61 // These definitions match the ones in wpa_supplicant
173 Matcher match;
185 match = twoTokenPattern.matcher(string);
186 if (!match.find()) {
189 deviceAddress = match.group(2);
192 match = threeTokenPattern.matcher(string);
193 if (!match.find()) {
196 deviceAddress = match.group(1);
199 match = detailedDevicePattern.matcher(string);
200 if (!match
[all...]
H A DWifiP2pGroup.java110 Matcher match = groupStartedPattern.matcher(supplicantEvent);
111 if (!match.find()) {
115 mNetworkName = match.group(1);
117 //int freq = Integer.parseInt(match.group(2));
118 //String psk = match.group(3);
119 mPassphrase = match.group(4);
120 mOwner = new WifiP2pDevice(match.group(5));
121 if (match.group(6) != null) {
/frameworks/base/tools/aapt/
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/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/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java89 int match = sURLMatcher.match(url);
90 switch (match) {
118 int match = sURLMatcher.match(url);
119 switch (match) {
133 int match = sURLMatcher.match(url);
135 switch (match) {
/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp37 EXPECT_TRUE(filter.match(config));
42 EXPECT_TRUE(filter.match(config));
52 EXPECT_TRUE(filter.match(config));
63 EXPECT_TRUE(filter.match(config));
75 EXPECT_TRUE(filter.match(config));
86 EXPECT_TRUE(filter.match(config));
97 EXPECT_FALSE(filter.match(config));
110 EXPECT_FALSE(filter.match(config));
123 EXPECT_TRUE(filter.match(config));
134 EXPECT_TRUE(filter.match(confi
[all...]
/frameworks/base/core/java/android/text/method/
H A DDialerKeyListener.java69 int match = super.lookup(event, content);
71 if (match != 0) {
72 return match;
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java120 int match = sURLMatcher.match(url);
121 switch (match) {
133 int match = sURLMatcher.match(url);
134 switch (match) {
/frameworks/base/core/java/android/util/
H A DDebugUtils.java61 * @param object any object to match against the ANDROID_OBJECT_FILTER
67 boolean match = false;
91 match |= (value != null ?
104 return match;
/frameworks/compile/mclinker/lib/Support/Unix/
H A DSystem.inc43 // Normalize the arch, since the target triple may not actually match the target.
55 // On darwin, we want to update the version to match that of the
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java903 Matcher match = mAssocRejectEventPattern.matcher(eventData);
906 if (!match.find()) {
909 BSSID = match.group(1);
911 status = Integer.parseInt(match.group(2));
973 Matcher match = mTargetBSSIDPattern.matcher(eventStr);
974 if (match.find()) {
975 BSSID = match.group(1);
982 Matcher match = mAssociatedPattern.matcher(eventStr);
983 if (match.find()) {
984 BSSID = match
[all...]
/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);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DPduCache.java134 int match = URI_MATCHER.match(uri);
135 switch (match) {
153 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match));
188 int match = URI_MATCHER.match(uri);
191 switch (match) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java93 switch (URL_MATCHER.match(url)) {
143 switch (URL_MATCHER.match(url)) {
167 int match = URL_MATCHER.match(url);
168 switch (match) {
206 switch (match) {
260 int match = URL_MATCHER.match(url);
261 switch (match) {
344 int match
[all...]
/frameworks/base/tools/split-select/
H A DSplitDescription.h39 bool match(const SplitDescription& o) const;
/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.
221 * Return the icon resource identifier to use for this match. If the
222 * match define
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java126 * Register a receive for any local broadcasts that match the given IntentFilter.
231 int match = receiver.filter.match(action, type, scheme, data,
233 if (match >= 0) {
234 if (debug) Log.v(TAG, " Filter matched! match=0x" +
235 Integer.toHexString(match));
244 switch (match) {
251 Log.v(TAG, " Filter did not match: " + reason);
/frameworks/base/core/java/android/provider/
H A DSearchIndexablesProvider.java106 switch (mMatcher.match(uri)) {
153 switch (mMatcher.match(uri)) {
/frameworks/base/tools/preload/
H A 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);

Completed in 2845 milliseconds

12345