/frameworks/base/core/java/com/android/internal/app/ |
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));
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUManager.java | 257 public void wnmRemediate(final long bssid, final String url, PasspointMatch match) { argument
|
/frameworks/base/tools/bit/ |
H A D | aapt.cpp | 181 smatch match; local 182 if (regex_match(line, match, NS_REGEX)) { 183 int depth = match[1].length() / 2; 190 scope->namespaces[match[2]] = match[3]; 191 } else if (regex_match(line, match, ELEMENT_REGEX)) { 194 string str = match[2]; 202 element->lineno = atoi(match[3].str().c_str()); 203 element->depth = match[1].length() / 2; 216 } else if (regex_match(line, match, ATTR_REGE [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 121 // Compute a matching metric between two styles - 0 is an exact match 146 int match = computeMatch(font.style, style); local 147 if (i == 0 || match < bestMatch) { 149 bestMatch = match;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | PasspointProvider.java | 244 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements) { method in class:PasspointProvider 247 // Perform authentication match against the NAI Realm. 252 // Auth mismatch, demote provider match. 257 // No realm match, return provider match as is. 262 // Realm match, promote provider match to roaming if no other provider match is found. 432 * Perform a provider match based on the given ANQP elements.
|
/frameworks/rs/script_api/ |
H A D | Utilities.cpp | 77 string stringReplace(string s, string match, string rep) { argument 80 size_t p = s.find(match); 83 s.erase(p, match.size());
|
H A D | GenerateStubsWhiteList.cpp | 152 * corresponds to this list of tokens. If a match is found, consume these tokens 159 bool match = true; local 160 // We match up to three tokens. 167 match = false; 170 if (match) { 276 // We have a match, construct an index reference to that previously emitted mangling.
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 105 bool match = false; local 108 match = true; 113 if (!match) {
|
/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 87 std::smatch match; local 89 if (!std::regex_search(line, match, prefix)) { 93 std::string ptrString = "0x" + match.str(2); // use number after c
|
/frameworks/rs/ |
H A D | rsElement.cpp | 233 // Look for an existing match. 279 // Look for an existing match. 284 bool match = true; local 301 match = false; 305 if (match) {
|
/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 | 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
|
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
|
/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/base/services/core/java/com/android/server/ |
H A D | IntentResolver.java | 391 // the filters that match that MIME type. 400 // completely match or wildcards whose base type matches. 407 // We can match anything with our base type. 429 // the filters that match its scheme (we will further refine matches 517 protected R newResult(F filter, int match, int userId) { argument 720 int match; 757 match = filter.match(action, resolvedType, scheme, data, categories, TAG); 758 if (match >= 0) { 759 if (debug) Slog.v(TAG, " Filter matched! match [all...] |
/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
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbProfileGroupSettingsManager.java | 312 // if device doesn't match, check the interfaces 331 // -1 and null means "match anything" 884 * Resolve all activities that match an intent for all profiles of this group. 905 * If this match used to forward the intent to another profile? 907 * @param match The match 909 * @return {@code true} iff this is such a forward match 911 private boolean isForwardMatch(@NonNull ResolveInfo match) { argument 912 return match.getComponentInfo().name.equals(FORWARD_INTENT_TO_MANAGED_PROFILE); 931 ResolveInfo match [all...] |
/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/base/core/java/android/app/ |
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...] |
/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/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 925 * Returns the ID of this color space. Positive IDs match the color 1352 * @throws IllegalArgumentException If the ID does not match the ID of one of the 1392 * @return A non-null {@link ColorSpace} if a match is found, null otherwise 1395 public static ColorSpace match( method in class:ColorSpace 1978 * be useful to match color spaces for instance.</p> 2012 * match. This can be achieved by either calling 2865 * functions do not match the ICC parametric curves defined in ICC.1:2004-10 2872 * space's transfer functions do not match the equation defined in 3621 * match the white points. If an adaptation is needed, we use the 4413 // Flip the mesh upside down to match Canva [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.cpp | 1406 bool match; local 1408 status_t err = drm->verify(sessionId, keyId, message, signature, match); 1411 return match;
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 324 * @hide - to match hiding in superclass 650 * @hide - to match hiding in superclass 730 * @hide - to match hiding in superclass 739 * @hide - to match hiding in superclass 748 * @hide - to match hiding in superclass 770 * @hide - to match hiding in superclass 778 * @hide - to match hiding in superclass 830 int match, ComponentName[] set, ComponentName activity) { 835 * @hide - to match hiding in superclass 839 int match, ComponentNam 829 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument 838 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument [all...] |