/frameworks/av/drm/libmediadrm/ |
H A D | Drm.cpp | 737 bool &match) { 750 return mPlugin->verify(sessionId, keyId, message, signature, match); 733 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
|
H A D | DrmHal.cpp | 906 Vector<uint8_t> const &signature, bool &match) { 921 match = hMatch; 923 match = false; 904 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
|
H A D | IDrm.cpp | 493 bool &match) { 506 match = (bool)reply.readInt32(); 896 bool match = false; local 897 uint32_t result = verify(sessionId, keyId, message, signature, match); 898 reply->writeInt32(match); 489 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/drm/mediadrm/plugins/clearkey/ |
H A D | DrmPlugin.h | 227 const Vector<uint8_t>& signature, bool& match) { 232 UNUSED(match); 223 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/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 669 bool &match) 693 // String mock-match "1" or "0" -> match 694 index = mStringProperties.indexOfKey(String8("mock-match")); 699 match = atol(mStringProperties.valueAt(index).string()); 665 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/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/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 111 char *match = strcasestr(debugName, term); local 112 if (match != NULL && (match == debugName || match[-1] == '.' 113 || match[len] == '.' || match[len] == '\0')) { 114 char *src = match + len; 115 if (match == debugName || match[-1] == '.') { 118 memmove(match, sr [all...] |
H A D | AString.cpp | 278 const char *match = strstr(mData + start, substring); local 280 if (match == NULL) { 284 return match - mData;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 717 bool match; local 718 status = mObj->mDrm->verify(*iter, keyIdVec, messageVec, signatureVec, match); 720 return match ? AMEDIA_OK : AMEDIA_DRM_VERIFY_FAILED;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioProfile.cpp | 121 // Approximate (best) match: 122 // The match score measures how well the supported channel mask matches the 129 // match score = 1000 if legacy channel conversion equivalent (always prefer this) 131 // match score += 100 if the channel mask representations match 132 // match score += number of channels matched. 138 int match; local 141 match = 100 + __builtin_popcount( 147 match = __builtin_popcount( 152 match [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | StateListAnimator.java | 79 * @param specs The drawable state specs to match against 80 * @param animator The animator to run when the specs match 164 Tuple match = null; 169 match = tuple; 173 if (match == mLastMatch) { 179 mLastMatch = match; 180 if (match != null) { 181 start(match); 185 private void start(Tuple match) { argument 186 match [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 2191 int match, ComponentName[] set, ComponentName activity) { 2193 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId()); 2200 public void addPreferredActivityAsUser(IntentFilter filter, int match, argument 2203 mPM.addPreferredActivity(filter, match, set, activity, userId); 2211 int match, ComponentName[] set, ComponentName activity) { 2213 mPM.replacePreferredActivity(filter, match, set, activity, mContext.getUserId()); 2221 int match, ComponentName[] set, ComponentName activity, 2224 mPM.replacePreferredActivity(filter, match, set, activity, userId); 2190 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 2210 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 2220 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
|
H A D | Instrumentation.java | 444 // there is a single match that is in our package. 662 * using {@link #Instrumentation.ActivityMonitor()} to check if there is a match. In case 663 * of a match, the activity start will be blocked and the returned result will be used. 666 * @return The {@link ActivityResult} that needs to be used in case of a match. 672 final boolean match(Context who, method in class:Instrumentation.ActivityMonitor 680 && mWhich.match(who.getContentResolver(), intent, 1198 am.match(activity, activity, activity.getIntent()); 1361 am.match(activity, activity, activity.getIntent()); 1597 } else if (am.match(who, null, intent)) { 1625 * {@link ActivityMonitor} objects only match agains [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 45 * match against actions, categories, and data (either via its type, scheme, 63 * only match intents that contain no data. 68 * specified must match the contents of the Intent. If you specify a scheme 70 * match; a content: URI will never match because they always have a MIME type 72 * has somewhat special meaning: it will match either an Intent with no URI 74 * then only an Intent with no data or type will match. To specify an authority, 87 * <p>A match is based on the following rules. Note that 88 * for an IntentFilter to match an Intent, three conditions must hold: 89 * the <strong>action</strong> and <strong>category</strong> must match, an 930 public boolean match(AuthorityEntry other) { method in class:IntentFilter.AuthorityEntry 962 public int match(Uri data) { method in class:IntentFilter.AuthorityEntry 1504 public final int match(ContentResolver resolver, Intent intent, method in class:IntentFilter 1539 public final int match(String action, String type, String scheme, method in class:IntentFilter [all...] |
H A D | UriMatcher.java | 76 <p>Then when you need to match against a URI, call {@link #match}, providing 83 int match = sURIMatcher.match(url); 84 switch (match) 127 * @param code the code to match for the root URI 146 * Add a URI to match, and the code to return when this URI is 147 * matched. URI nodes may be exact match string, the token "*" 154 * @param authority the authority to match 155 * @param path the path to match 217 public int match(Uri uri) method in class:UriMatcher [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 394 * Querying flag: match components which are direct boot <em>unaware</em> in 399 * to match only runnable components based on the user state. For example, 411 * Querying flag: match components which are direct boot <em>aware</em> in 416 * to match only runnable components based on the user state. For example, 559 * if all signatures on the two packages match. 583 * if not all signatures on both packages match. 1283 * package because its packaged native code did not match any of the ABIs 3284 * must be under a domain you control, with a suffix that will not match 3480 * two packages match. The value is >= 0 ({@link #SIGNATURE_MATCH}) if 3481 * all signatures match o 5115 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 5124 addPreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument 5151 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 5158 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument [all...] |
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 86 * The declared priority of this match. Comes from the "priority" 101 * IntentFilter. This is a match constant, a combination of 105 public int match; field in class:ResolveInfo 124 * match's label. From the "label" attribute or, if not set, 0. 136 * match's icon. From the "icon" attribute or, if not set, 0. It is 252 * Return the icon resource identifier to use for this match. If the 253 * match define [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PatternMatcher.java | 30 * Pattern type: the given pattern must exactly match the string it is 36 * Pattern type: the given pattern must match the 44 * In this syntax, you can use the '*' character to match against zero or 46 * character before it is '.' it will match any character. The character 70 // Return for no match 112 public boolean match(String str) { method in class:PatternMatcher 162 static boolean matchPattern(String match, String pattern, int[] parsedPattern, int type) { argument 163 if (match == null) return false; 165 return pattern.equals(match); 167 return match 176 matchGlobPattern(String pattern, String match) argument 427 matchAdvancedPattern(int[] parsedPattern, String match) argument 517 matchChars(String match, int im, final int lm, int tokenType, int minRepetition, int maxRepetition, int[] parsedPattern, int tokenStart, int tokenEnd) argument 531 matchChar(String match, int im, final int lm, int tokenType, int[] parsedPattern, int tokenStart, int tokenEnd) argument [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/java/android/security/net/config/ |
H A D | DirectoryCertificateSource.java | 95 public boolean match(X509Certificate ca) { 105 public boolean match(X509Certificate ca) { 120 public boolean match(X509Certificate ca) { 139 boolean match(X509Certificate cert); method in interface:DirectoryCertificateSource.CertSelector 160 if (selector.match(cert)) { 187 if (selector.match(cert)) {
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 57 * required. Any pattern match that does not begin with the supplied scheme 157 public final String transformUrl(final Matcher match, String url) { 158 return Patterns.digitsAndPlusOnly(match); 164 * what is allowed to match and become a link, and what is not. 167 * http://www.example.com to match, as well as just example.com itelf. 168 * However, you would not want to match against the domain in 170 * might also include a MatchFilter that disallows the match if it is 176 * if the match should be turned into an actionable link. 185 * @return Whether this match should be turned into a link 203 * @param match Th 208 transformUrl(final Matcher match, String url) argument [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | Transition.java | 126 * With {@link #setMatchOrder(int...)}, chooses to match by View instance. 132 * With {@link #setMatchOrder(int...)}, chooses to match by 138 * With {@link #setMatchOrder(int...)}, chooses to match by 144 * With {@link #setMatchOrder(int...)}, chooses to match by the {@link android.widget.Adapter} 145 * item id. When {@link android.widget.Adapter#hasStableIds()} returns false, no match 312 throw new InflateException("Unknown match type in matchOrder: '" + token + "'"); 479 * The default behavior is to match first by {@link android.view.View#getTransitionName()}, 484 * the match algorithms supplied will be used to determine whether Views are the 485 * the same in both the start and end Scene. Views that do not match will be considered 490 * If none are provided, then the default match orde 509 isValidMatch(int match) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 670 int cat = ri.match & IntentFilter.MATCH_CATEGORY_MASK; 699 if (p.match(ssp)) { 709 if (a.match(data) >= 0) { 722 if (p.match(path)) { 750 if (r.match > bestMatch) bestMatch = r.match; 755 final int otherProfileMatch = mAdapter.mOtherProfile.getResolveInfo().match; 979 // Try to initialize the title icon if we have a view for it and a title to match 1044 * Check a simple match for the component of two ResolveInfos. 1117 // to the application's icon, making it a match 2005 isSpecificUriMatch(int match) argument [all...] |
H A D | ResolverListController.java | 81 public void setLastChosen(Intent intent, IntentFilter filter, int match) argument 86 filter, match, intent.getComponent());
|
/frameworks/base/core/java/com/android/server/ |
H A D | BootReceiver.java | 93 private static final int FS_STAT_FS_FIXED = 0x400; // should match with fs_mgr.cpp:FsStatFlags 107 private static final int UMOUNT_STATUS_NOT_AVAILABLE = 4; // should match with init/reboot.h 497 private static void handleFsckFsStat(Matcher match, String[] lines, int startLineNumber, argument 499 String partition = match.group(1); 502 stat = Integer.decode(match.group(2)); 504 Slog.w(TAG, "cannot parse fs_stat: partition:" + partition + " stat:" + match.group(2));
|