/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 175 switch (sMatcher.match(uri)) { 205 switch (sMatcher.match(uri)) {
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 217 * @hide - to match hiding in superclass 415 * @hide - to match hiding in superclass 430 * @hide - to match hiding in superclass 443 * @hide - to match hiding in superclass 452 * @hide - to match hiding in superclass 461 * @hide - to match hiding in superclass 470 * @hide - to match hiding in superclass 479 * @hide - to match hiding in superclass 525 int match, ComponentName[] set, ComponentName activity) { 530 * @hide - to match hidin 524 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 533 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 259 if (filterable && subDir->getLeaf() != subDir->getPath() && !filter->match(ge.toParams())) { 270 if (filter != NULL && !filter->match(ge.toParams())) {
|
H A D | Images.cpp | 866 bool match = false; local 869 match = true; 878 if (!match) {
|
H A D | AaptAssets.cpp | 71 // - Entry can have the flag "<dir>" to match only directories 72 // or <file> to match only files. Default is to match both. 75 // we don't match a '*' catch-all pattern.) 78 // - match is not case-sensitive. 676 // if there are extra parts, it doesn't match 2238 * Run through the directory, looking for dirs that match the 2475 if (!reqFilter.match(config)) { 2490 // Get the preferred density if there is one. We do not match exactly for density. 2520 if (!prefFilter.match(axi [all...] |
H A D | ResourceTable.cpp | 1650 fprintf(stderr, "\t%s '%s' does not match product %s.\n" 2713 if (filterable && !filter.match(config)) { 2855 if (filterable && !filter.match(cl->getEntries().keyAt(ci))) { 2859 if (filterable && !filter.match(cl->getEntries().keyAt(cj))) { 2901 if (filterable && !filter.match(config)) {
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 123 bool &match);
|
H A D | MockDrmCryptoPlugin.cpp | 568 bool &match) 592 // String mock-match "1" or "0" -> match 593 index = mStringProperties.indexOfKey(String8("mock-match")); 598 match = atol(mStringProperties.valueAt(index).string()); 564 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/native/android/ |
H A D | configuration.cpp | 230 return base->match(*requested);
|
/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 357 boolean match = true; 358 for (int i = 0; i < numArgs && match; i++) { 360 match = (date.contains(arg) || arg.equals(entry.tag)); 362 if (!match) continue;
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 49 // scheme. When a match is found, the DrmEngine's createCryptoPlugin and 290 bool &match) = 0;
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 440 if (pathPerm != null && pp.match(path)) { 502 if (pathPerm != null && pp.match(path)) { 758 if((URI_MATCHER.match(uri)) == SPECIFIC_MESSAGE){ 816 if((URI_MATCHER.match(uri)) == SPECIFIC_MESSAGE){ 893 * up the row of that URI's base index and, if it doesn't match or its entry's 894 * name doesn't match the name in the query param, perform a query on its database 1022 * @param selection An optional filter to match rows to update. 1327 * of all supported MIME types that match mimeTypeFilter. 1351 * result of {@link #getType(Uri)} and, if they match, simply calls 1412 * result of {@link #getType(Uri)} and, if they match, simpl [all...] |
/frameworks/base/services/java/com/android/server/firewall/ |
H A D | StringFilter.java | 193 return value != null && mPattern.match(value);
|
H A D | IntentFirewall.java | 157 // For the second pass, try to match the potentially more specific conditions in each 394 * is to select a subset of rules that might match a given intent. 398 * component filters, only a single filter must match for the rule to be passed on to the 402 * intent. All top level conditions (but not filters) in the rule must match for the rule as a 403 * whole to match. 406 * rules match, we combine the block/log flags from any matching rule. 507 protected Rule newResult(FirewallIntentFilter filter, int match, int userId) { argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 3134 int match = mContext.getPackageManager().checkSignatures( 3136 assertEquals(PackageManager.SIGNATURE_UNKNOWN_PACKAGE, match); 3197 int match = mContext.getPackageManager().checkSignatures(pkg1.packageName, 3199 assertEquals(expMatchResult, match); 3273 int match = mContext.getPackageManager().checkSignatures( 3275 assertEquals(PackageManager.SIGNATURE_UNKNOWN_PACKAGE, match);
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 237 boolean match = true; 240 match = false; 246 return match; 326 * @param expression the regular expression to match 343 * @param pattern the regular expression to match 1517 * to match those in {@link InputType}.
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.cpp | 1202 bool match; local 1204 status_t err = drm->verify(sessionId, keyId, message, signature, match); 1207 return match;
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 2644 IntentFilter filter, int match, ComponentName activity) { 2651 + " match=" + match 2661 addPreferredActivityInternal(filter, match, null, activity, false, userId); 2736 // First figure out how good the original match set is. 2738 // from the same match quality. 2739 int match = 0; 2741 if (DEBUG_PREFERRED || debug) Slog.v(TAG, "Figuring out best match..."); 2747 + ": 0x" + Integer.toHexString(match)); 2748 if (ri.match > matc 2643 setLastChosenActivity(Intent intent, String resolvedType, int flags, IntentFilter filter, int match, ComponentName activity) argument 5774 newResult(PackageParser.ActivityIntentInfo info, int match, int userId) argument 5972 newResult(PackageParser.ServiceIntentInfo filter, int match, int userId) argument 6174 newResult(PackageParser.ProviderIntentInfo filter, int match, int userId) argument 9989 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 9994 addPreferredActivityInternal(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always, int userId) argument 10025 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument [all...] |
H A D | Settings.java | 1516 // match the semantics of grantedPermissions. So write all 2059 int match = 0; 2080 match = ri.get(i).match; 2118 PreferredActivity pa = new PreferredActivity(filter, match, set, cn, true);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 2331 if (!matcher.match(r, r.name)) { 2406 if (!matcher.match(r, r.name)) { 2425 if (!matcher.match(r, r.name)) { 2450 if (!matcher.match(r, r.name)) { 2473 if (!matcher.match(r, r.name)) { 2496 if (!matcher.match(r, r.name)) { 2521 if (!matcher.match(cr.binding.service, cr.binding.service.name)) {
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 786 bool (*match)(GLint reqValue, GLint confValue); member in struct:android::config_management_t 1144 // attribute found, check if this config could match 1150 bool match = gConfigManagement[cfgMgtIndex].match( local 1152 if (match) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 447 * - requires MIN_MATCH (7) characters to match 506 // if the number of dialable chars in a and b match, but the matched chars < MIN_MATCH, 522 * match: 1008 Matcher match = GLOBAL_PHONE_NUMBER_PATTERN.matcher(phoneNumber); 1009 return match.matches(); 1533 // not match. 1546 // However, in order to loose match 650-555-1212 and 555-1212, we need to set the min match 1586 // and *don't* require an exact match. 1700 // searches through the comma-separated list for a match, [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 370 for (String match : barringMMI) { 371 if (sc.equals(match)) return true;
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 1295 * The match string looks like "common/default/default/foo/bar/". 1296 * The '/' on the end ensures that we don't match on the directory 1305 * It needs to match the partial pathname prefix, and not have a '/' 1356 String8 match(name, nameLen - exclExtLen); 1359 matchIdx = AssetDir::FileInfo::findEntry(pMergedInfo, match); 1366 //printf("+++ no match on '%s'\n", (const char*) match); 1474 * Scan through the list of files, looking for a match. The files in 1486 * Name comparisons are case-sensitive to match UNIX filesystem 1644 /* match, do [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 1019 // match the corresponding ones in android.content.pm.ActivityInfo and 1046 // Return true if 'this' is a better match than 'o' for the 'requested' 1047 // configuration. This assumes that match() has already been used to 1048 // remove any configurations that don't match the requested configuration 1054 // '==requested' will pass the match() call. So if this is not generic, 1058 // Return true if 'this' can be considered a match for the parameters in 1060 // Note this is asymetric. A default piece of data will match every request 1061 // but a request for the default should not match odd specifics 1062 // (ie, request with no mcc should not match a particular mcc's data) 1064 bool match(cons [all...] |