/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 58 WeakResourceFilter::match(const ResTable_config& config) const function in class:WeakResourceFilter 77 // we match. 85 // Special case if the smallest screen width doesn't match. We check that the
|
H A D | ResourceFilter.h | 23 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/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/content/ |
H A D | UriMatcher.java | 77 <p>Then when you need to match against a URI, call {@link #match}, providing 84 int match = sURIMatcher.match(url); 85 switch (match) 128 * @param code the code to match for the root URI 147 * Add a URI to match, and the code to return when this URI is 148 * matched. URI nodes may be exact match string, the token "*" 155 * @param authority the authority to match 156 * @param path the path to match 220 public int match(Uri uri) method in class:UriMatcher [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/services/core/java/com/android/server/pm/ |
H A D | PreferredActivity.java | 38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, argument 41 mPref = new PreferredComponent(this, match, set, activity, always);
|
H A D | PreferredComponent.java | 38 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/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 102 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...] |
H A D | AString.cpp | 265 const char *match = strstr(mData + start, substring); local 267 if (match == NULL) { 271 return match - mData;
|
/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/tools/split-select/ |
H A D | SplitDescription.cpp | 55 bool SplitDescription::match(const SplitDescription& o) const { function in class:split::SplitDescription 67 return config.match(o.config);
|
/frameworks/base/core/java/android/animation/ |
H A D | StateListAnimator.java | 78 * @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/av/drm/mediadrm/plugins/clearkey/ |
H A D | DrmPlugin.h | 213 const Vector<uint8_t>& signature, bool& match) { 218 UNUSED(match); 209 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/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 505 bool match = false; local 517 ALOGVV("%s: Found match %" PRId64, __FUNCTION__, 519 match = true; 523 ALOGVV("%s: Found close match %" PRId64 " (delta %" PRId64 ")", 525 match = true; 529 if (match) {
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ResolveInfo.java | 43 * 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/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/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 86 int FontLanguage::match(const FontLanguage other) const { function in class:android::FontLanguage 135 // Compute a matching metric between two styles - 0 is an exact match 160 int match = computeMatch(font.style, style); local 161 if (i == 0 || match < bestMatch) { 163 bestMatch = match;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 49 const char* match = strstr(exts, name); local 50 if (match && (match[nameLen] == '\0' || match[nameLen] == ' ')) {
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | IntentResolver.java | 389 // the filters that match that MIME type. 398 // completely match or wildcards whose base type matches. 405 // We can match anything with our base type. 427 // the filters that match its scheme (we will further refine matches 498 protected R newResult(F filter, int match, int userId) { argument 695 int match; 721 match = filter.match(action, resolvedType, scheme, data, categories, TAG); 722 if (match >= 0) { 723 if (debug) Slog.v(TAG, " Filter matched! match [all...] |
/frameworks/rs/ |
H A D | rsElement.cpp | 231 // Look for an existing match. 277 // Look for an existing match. 282 bool match = true; local 299 match = false; 303 if (match) {
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 603 bool &match) 627 // String mock-match "1" or "0" -> match 628 index = mStringProperties.indexOfKey(String8("mock-match")); 633 match = atol(mStringProperties.valueAt(index).string()); 599 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 417 bool &match) { 427 match = (bool)reply.readInt32(); 817 bool match; local 818 uint32_t result = verify(sessionId, keyId, message, signature, match); 819 reply->writeInt32(match); 413 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 639 bool &match) { 650 return mPlugin->verify(sessionId, keyId, message, signature, match); 635 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 160 // For the second pass, try to match the potentially more specific conditions in each 399 * is to select a subset of rules that might match a given intent. 403 * component filters, only a single filter must match for the rule to be passed on to the 407 * intent. All top level conditions (but not filters) in the rule must match for the rule as a 408 * whole to match. 411 * rules match, we combine the block/log flags from any matching rule. 512 protected Rule newResult(FirewallIntentFilter filter, int match, int userId) { argument
|