/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | AuthMatch.java | 7 * Indeterminate means that there is no ANQP information to match against. 20 public static String toString(int match) { argument 21 if (match < 0) { 23 } else if (match == 0) { 28 if ((match & Realm) != 0) { 31 if ((match & Method) != 0) { 34 if ((match & Param) != 0) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | AuthMatch.java | 7 * Indeterminate means that there is no ANQP information to match against. 20 public static String toString(int match) { argument 21 if (match < 0) { 24 else if (match == 0) { 29 if ((match & Realm) != 0) { 32 if ((match & Method) != 0) { 35 if ((match & Param) != 0) {
|
/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/tools/aapt2/filter/ |
H A D | ConfigFilter_test.cpp | 27 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi"))); 28 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr"))); 35 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi"))); 42 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr"))); 49 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr-320dpi"))); 59 EXPECT_TRUE(filter.match(test::parseConfigOrDie("en"))); 66 EXPECT_FALSE(filter.match(test::parseConfigOrDie("de"))); 78 EXPECT_FALSE(filter.match(test::parseConfigOrDie("fr-sw600dp-v13"))); 85 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr-sw320dp-v13"))); 92 EXPECT_TRUE(filter.match(tes [all...] |
H A D | ConfigFilter.h | 37 virtual bool match(const ConfigDescription& config) const = 0; 43 * the configuration to match, they must be compatible. Otherwise the configuration to match is 52 bool match(const ConfigDescription& config) const override;
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | PhoneUtil.java | 31 // parens, so numbers such as "1 (425) 222-2342" match. 44 // comes from the CurrentCountryIso. For now, let's just do this simple match. 49 Matcher match = PHONE_PATTERN.matcher(number); 50 return match.matches();
|
/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/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/core/tests/coretests/src/android/app/ |
H A D | SuggestionProvider.java | 65 int match = sURLMatcher.match(url); 66 switch (match) { 87 int match = sURLMatcher.match(url); 88 switch (match) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDevice.java | 61 // These definitions match the ones in wpa_supplicant 173 Matcher match; 185 match = twoTokenPattern.matcher(string); 186 if (!match.find()) { 189 deviceAddress = match.group(2); 192 match = threeTokenPattern.matcher(string); 193 if (!match.find()) { 196 deviceAddress = match.group(1); 199 match = detailedDevicePattern.matcher(string); 200 if (!match [all...] |
/frameworks/base/tools/aapt/ |
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/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...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | NAIRealmElement.java | 49 public int match(Credential credential) { method in class:NAIRealmElement 56 int match = realmData.match(credLabels, credential); 57 if (match > best) { 58 best = match;
|
H A D | NAIRealmData.java | 61 public int match(List<String> credLabels, Credential credential) { method in class:NAIRealmData 74 // else there is a realm match and one or more EAP methods - check them. 82 int match = eapMethod.match(credential) | realmMatch; 83 if (match > best) { 84 best = match;
|
/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/tests/coretests/src/android/app/activity/ |
H A D | LocalProvider.java | 89 int match = sURLMatcher.match(url); 90 switch (match) { 118 int match = sURLMatcher.match(url); 119 switch (match) { 133 int match = sURLMatcher.match(url); 135 switch (match) {
|
/frameworks/base/tools/aapt/tests/ |
H A D | ResourceFilter_test.cpp | 37 EXPECT_TRUE(filter.match(config)); 42 EXPECT_TRUE(filter.match(config)); 52 EXPECT_TRUE(filter.match(config)); 63 EXPECT_TRUE(filter.match(config)); 75 EXPECT_TRUE(filter.match(config)); 86 EXPECT_TRUE(filter.match(config)); 97 EXPECT_FALSE(filter.match(config)); 110 EXPECT_FALSE(filter.match(config)); 123 EXPECT_TRUE(filter.match(config)); 134 EXPECT_TRUE(filter.match(confi [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | StateListAnimator.java | 57 * @param specs The drawable state specs to match against 58 * @param animation The Animation to run when the specs match 112 Tuple match = null; 117 match = tuple; 121 if (match == mLastMatch) { 128 mLastMatch = match; 131 if (match != null && view != null && view.getVisibility() == View.VISIBLE ) { 132 start(match); 136 private void start(Tuple match) { argument 137 mRunningAnimation = match [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | DialerKeyListener.java | 69 int match = super.lookup(event, content); 71 if (match != 0) { 72 return match;
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | DirectoryCertificateSource.java | 93 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/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 120 int match = sURLMatcher.match(url); 121 switch (match) { 133 int match = sURLMatcher.match(url); 134 switch (match) {
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | DomainMatcher.java | 22 private Label(Match match) { argument 23 mMatch = match; 24 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null; 27 private void addDomain(Iterator<String> labels, Match match) { argument 32 subLabel.addDomain(labels, match); 34 mSubDomains.put(labelName, new Label(match));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
H A D | DomainMatcher.java | 25 private Label(Match match) { argument 26 mMatch = match; 27 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null; 30 private void addDomain(Iterator<String> labels, Match match) { argument 35 subLabel.addDomain(labels, match); 37 mSubDomains.put(labelName, new Label(match));
|
/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...] |