/frameworks/compile/libbcc/tools/build/ |
H A D | gen-config-from-mk.py | 36 if conf_patt.match(line.strip()): 42 if split_patt.match(line.strip()): 48 match = var_patt.match(line.strip()) 49 if match: 50 print '#define', match.group(1), match.group(2) 52 elif split_patt.match(line.strip()):
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.h | 22 bool match(int axis, uint32_t value) const; 23 bool match(int axis, const ResTable_config& config) const; 24 bool match(const ResTable_config& config) const;
|
H A D | ResourceFilter.cpp | 51 // if it's a locale with a region, also match an unmodified locale of the 73 ResourceFilter::match(int axis, uint32_t value) const function in class:ResourceFilter 89 ResourceFilter::match(int axis, const ResTable_config& config) const function in class:ResourceFilter 91 return match(axis, AaptGroupEntry::getConfigValueForAxis(config, axis)); 95 ResourceFilter::match(const ResTable_config& config) const function in class:ResourceFilter 98 if (!match(i, AaptGroupEntry::getConfigValueForAxis(config, i))) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode_inline.h | 26 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/os/ |
H A D | PatternMatcher.java | 26 * 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 D | UEventObserver.java | 28 * 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 D | android_os_UEventObserver.cpp | 48 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 D | SuggestionProvider.java | 65 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 D | WifiP2pDevice.java | 61 // 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 D | WifiP2pGroup.java | 110 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/core/tests/coretests/src/android/app/activity/ |
H A D | LocalProvider.java | 89 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/core/java/android/text/method/ |
H A D | DialerKeyListener.java | 69 int match = super.lookup(event, content); 71 if (match != 0) { 72 return match;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 120 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 D | DebugUtils.java | 60 * @param object any object to match against the ANDROID_OBJECT_FILTER 66 boolean match = false; 90 match |= (value != null ? 103 return match;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 79 switch (URL_MATCHER.match(url)) { 96 switch (URL_MATCHER.match(url)) { 115 int match = URL_MATCHER.match(url); 116 switch (match) { 141 switch (match) { 182 int match = URL_MATCHER.match(url); 183 switch (match) { 250 int match [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PreferredActivity.java | 40 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) { argument 42 mPref = new PreferredComponent(this, match, set, activity);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ResolveInfo.java | 37 * The activity or broadcast receiver that corresponds to this resolution match, 44 * The service that corresponds to this resolution match, if this 56 * The declared priority of this match. Comes from the "priority" 71 * IntentFilter. This is a match constant, a combination of 75 public int match; field in class:ResolveInfo 94 * match's label. From the "label" attribute or, if not set, 0. 106 * match's icon. From the "icon" attribute or, if not set, 0. 190 * Return the icon resource identifier to use for this match. If the 191 * match defines an icon, that is used; else if the activity defines 194 * @return The icon associated with this match [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | PduCache.java | 134 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/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 126 * 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/tools/preload/ |
H A D | sorttable.js | 81 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/ |
H A D | Linkify.java | 51 * required. Any pattern match that does not begin with the supplied scheme 143 public final String transformUrl(final Matcher match, String url) { 144 return Patterns.digitsAndPlusOnly(match); 150 * what is allowed to match and become a link, and what is not. 153 * http://www.example.com to match, as well as just example.com itelf. 154 * However, you would not want to match against the domain in 156 * might also include a MatchFilter that disallows the match if it is 162 * if the match should be turned into an actionable link. 171 * @return Whether this match should be turned into a link 189 * @param match Th 194 transformUrl(final Matcher match, String url) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 40 * match against actions, categories, and data (either via its type, scheme, 58 * only match intents that contain no data. 63 * specified must match the contents of the Intent. If you specify a scheme 65 * match; a content: URI will never match because they always have a MIME type 67 * has somewhat special meaning: it will match either an Intent with no URI 69 * then only an Intent with no data or type will match. To specify an authority, 82 * <p>A match is based on the following rules. Note that 83 * for an IntentFilter to match an Intent, three conditions must hold: 84 * the <strong>action</strong> and <strong>category</strong> must match, an 675 public int match(Uri data) { method in class:IntentFilter.AuthorityEntry 1069 public final int match(ContentResolver resolver, Intent intent, method in class:IntentFilter 1104 public final int match(String action, String type, String scheme, method in class:IntentFilter [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | IntentResolverOld.java | 241 // the filters that match that MIME type. 250 // completely match or wildcards whose base type matches. 256 // We can match anything with our base type. 277 // the filters that match its scheme (we will further refine matches 346 protected R newResult(F filter, int match, int userId) { argument 521 int match; 547 match = filter.match(action, resolvedType, scheme, data, categories, TAG); 548 if (match >= 0) { 549 if (debug) Slog.v(TAG, " Filter matched! match [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiMonitor.java | 535 Matcher match = p.matcher(dataString); 536 if (match.find()) { 537 String cfgErr = match.group(1); 538 String reason = match.group(2); 720 Matcher match = mConnectedEventPattern.matcher(data); 721 if (!match.find()) { 724 BSSID = match.group(1); 726 networkId = Integer.parseInt(match.group(2));
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 202 const char* match = strstr(disp.queryString.extensions, ext.string()); local 203 if (match && (match[len] == ' ' || match[len] == 0)) {
|