Searched defs:match (Results 1 - 25 of 61) sorted by path

123

/frameworks/av/drm/libmediadrm/
H A DDrm.cpp729 bool &match) {
742 return mPlugin->verify(sessionId, keyId, message, signature, match);
725 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 DDrmPlugin.h210 const Vector<uint8_t>& signature, bool& match) {
215 UNUSED(match);
206 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 DMockDrmCryptoPlugin.cpp668 bool &match)
692 // String mock-match "1" or "0" -> match
693 index = mStringProperties.indexOfKey(String8("mock-match"));
698 match = atol(mStringProperties.valueAt(index).string());
664 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 DIDrm.cpp491 bool &match) {
504 match = (bool)reply.readInt32();
894 bool match; local
895 uint32_t result = verify(sessionId, keyId, message, signature, match);
896 reply->writeInt32(match);
487 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 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.cpp111 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 DAString.cpp265 const char *match = strstr(mData + start, substring); local
267 if (match == NULL) {
271 return match - mData;
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp716 bool match; local
717 status = mObj->mDrm->verify(*iter, keyIdVec, messageVec, signatureVec, match);
719 return match ? AMEDIA_OK : AMEDIA_DRM_VERIFY_FAILED;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp121 // 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 DStateListAnimator.java79 * @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 DApplicationPackageManager.java2013 int match, ComponentName[] set, ComponentName activity) {
2015 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
2022 public void addPreferredActivityAsUser(IntentFilter filter, int match, argument
2025 mPM.addPreferredActivity(filter, match, set, activity, userId);
2033 int match, ComponentName[] set, ComponentName activity) {
2035 mPM.replacePreferredActivity(filter, match, set, activity, mContext.getUserId());
2043 int match, ComponentName[] set, ComponentName activity,
2046 mPM.replacePreferredActivity(filter, match, set, activity, userId);
2012 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
2032 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
2042 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
H A DInstrumentation.java401 // there is a single match that is in our package.
581 final boolean match(Context who, method in class:Instrumentation.ActivityMonitor
586 && mWhich.match(who.getContentResolver(), intent,
1103 am.match(activity, activity, activity.getIntent());
1160 am.match(activity, activity, activity.getIntent());
1276 am.match(activity, activity, activity.getIntent());
1505 if (am.match(who, null, intent)) {
1533 * {@link ActivityMonitor} objects only match against the first activity in
1547 * {@link ActivityMonitor} objects only match against the first activity in
1561 if (am.match(wh
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java41 * match against actions, categories, and data (either via its type, scheme,
59 * only match intents that contain no data.
64 * specified must match the contents of the Intent. If you specify a scheme
66 * match; a content: URI will never match because they always have a MIME type
68 * has somewhat special meaning: it will match either an Intent with no URI
70 * then only an Intent with no data or type will match. To specify an authority,
83 * <p>A match is based on the following rules. Note that
84 * for an IntentFilter to match an Intent, three conditions must hold:
85 * the <strong>action</strong> and <strong>category</strong> must match, an
874 public boolean match(AuthorityEntry other) { method in class:IntentFilter.AuthorityEntry
906 public int match(Uri data) { method in class:IntentFilter.AuthorityEntry
1448 public final int match(ContentResolver resolver, Intent intent, method in class:IntentFilter
1483 public final int match(String action, String type, String scheme, method in class:IntentFilter
[all...]
H A DUriMatcher.java76 <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 DPackageManager.java368 * Querying flag: match components which are direct boot <em>unaware</em> in
373 * to match only runnable components based on the user state. For example,
385 * Querying flag: match components which are direct boot <em>aware</em> in
390 * to match only runnable components based on the user state. For example,
480 * if all signatures on the two packages match.
504 * if not all signatures on both packages match.
1111 * package because its packaged native code did not match any of the ABIs
3215 * must be under a domain you control, with a suffix that will not match
3400 * two packages match. The value is >= 0 ({@link #SIGNATURE_MATCH}) if
3401 * all signatures match o
5264 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5273 addPreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
5300 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5307 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
[all...]
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
64 * The ephemeral application that corresponds to this resolution match. This will
82 * The declared priority of this match. Comes from the "priority"
97 * IntentFilter. This is a match constant, a combination of
101 public int match; field in class:ResolveInfo
120 * match's label. From the "label" attribute or, if not set, 0.
132 * match's icon. From the "icon" attribute or, if not set, 0. It is
248 * Return the icon resource identifier to use for this match
[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/java/android/security/net/config/
H A DDirectoryCertificateSource.java93 public boolean match(X509Certificate ca) {
103 public boolean match(X509Certificate ca) {
118 public boolean match(X509Certificate ca) {
137 boolean match(X509Certificate cert); method in interface:DirectoryCertificateSource.CertSelector
155 if (selector.match(cert)) {
179 if (selector.match(cert)) {
/frameworks/base/core/java/android/text/util/
H A DLinkify.java58 * required. Any pattern match that does not begin with the supplied scheme
158 public final String transformUrl(final Matcher match, String url) {
159 return Patterns.digitsAndPlusOnly(match);
165 * what is allowed to match and become a link, and what is not.
168 * http://www.example.com to match, as well as just example.com itelf.
169 * However, you would not want to match against the domain in
171 * might also include a MatchFilter that disallows the match if it is
177 * if the match should be turned into an actionable link.
186 * @return Whether this match should be turned into a link
204 * @param match Th
209 transformUrl(final Matcher match, String url) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DTransition.java126 * 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 DResolverActivity.java299 // Try to initialize the title icon if we have a view for it and a title to match
691 int cat = ri.match & IntentFilter.MATCH_CATEGORY_MASK;
720 if (p.match(ssp)) {
730 if (a.match(data) >= 0) {
743 if (p.match(path)) {
760 if (r.match > bestMatch) bestMatch = r.match;
953 * Check a simple match for the component of two ResolveInfos.
1026 // to the application's icon, making it a match.
1159 * @return ResolveInfo representing this target's match
1856 isSpecificUriMatch(int match) 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/libs/androidfw/
H A DResourceTypes.cpp876 // because the strings are sorted with strzcmp16(). So to match
2188 // match the requested locale.
2190 // Because of the locale-related checks in match() and the checks, we know
2192 // 1) The resource languages are either empty or match the request;
2195 // unknown or match the request.
2202 // We consider the one that has the language specified a better match.
2204 // The exception is that we consider no-language resources a better match
2211 // better match if the other resource has a country other than
2234 // the script checks in match(), the scripts are either all unknown or are
2333 // For screen size, the best match i
2507 bool ResTable_config::match(const ResTable_config& settings) const { function in class:android::ResTable_config
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp1397 bool match; local
1399 status_t err = drm->verify(sessionId, keyId, message, signature, match);
1402 return match;

Completed in 511 milliseconds

123