/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
FragmentContentIdTest.java | 21 import static android.support.test.espresso.assertion.ViewAssertions.matches; 54 onView(withId(R.id.fragment_b)).check(matches(isDisplayed()));
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
TermsActivityTest.java | 21 import static android.support.test.espresso.assertion.ViewAssertions.matches; 100 onView(withText(HEADER_0_TOP)).check(matches(isDisplayed())); 102 onView(withText(d.mHeader)).check(matches(isDisplayed())); 110 onView(withText(CONTENT_1)).check(matches(isDisplayed())); 115 onView(withText(CONTENT_3)).check(matches(isDisplayed())); 124 onView(withText(CONTENT_1)).check(matches(isDisplayed())); 128 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); 137 matches(not(isDisplayed()));
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
ManageApplicationsLaunchTest.java | 31 import static android.support.test.espresso.assertion.ViewAssertions.matches; 54 onView(allOf(withText("Calculator"))).check(matches(isDisplayed())); method
|
/packages/apps/StorageManager/tests/app/src/com/android/storagemanager/deletionhelper/ |
DeletionHelperActivityTest.java | 20 import static android.support.test.espresso.assertion.ViewAssertions.matches; 43 onView(withText(R.string.deletion_helper_apps_group_title)).check(matches(isDisplayed()));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
RawContactMatcher.java | 73 // Returned value when we found multiple matches and that was not allowed 101 * with the former rather than the latter. This is why "reverse" matches have slightly lower 102 * scores than direct matches. 310 final List<MatchScore> matches = new ArrayList<>(); local 318 matches.add(score); 325 matches.add(score); 328 return matches; 332 * Returns matches in the order of descending score. 336 List<MatchScore> matches = mScoreList.subList(0, mScoreCount); local 337 Collections.sort(matches); [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
flock_linux_32bit.go | 10 // On 32-bit Linux systems, the fcntl syscall that matches Go's
|
/prebuilts/go/linux-x86/src/syscall/ |
flock_linux_32bit.go | 10 // On 32-bit Linux systems, the fcntl syscall that matches Go's
|
/system/tools/hidl/docs/src/lexer/ |
HidlLexer.kt | 61 val matches = matchToDocEnd.find(line)?.groups 62 if (matches != null) { 63 if (!matches[2]!!.value.isNullOrBlank()) { 67 sb.append(matches[1]!!.value)
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
DmesgParser.java | 46 // Matches: [ 14.822691] init: 49 // Matches: [ 3.791635] ueventd: 53 // Matches: starting service 'ueventd'... 56 // Matches: Service 'ueventd' (pid 439) exited with status 0 65 // Matches: init first stage started! 66 // Matches: init second stage started! 70 // Matches: [ 13.647997] init: init first stage started! 74 // Matches: init: processing action (early-init) from (/init.rc:14) 78 // Matches: init: processing action (early-init) 82 // Matches: init: processing action (early-init) from (/init.rc:14 246 private static Matcher matches(Pattern pattern, String line) { method in class:DmesgParser [all...] |
NativeCrashParser.java | 29 /** Matches: Build fingerprint: 'fingerprint' */ 31 /** Matches: pid: 957, tid: 963 >>> com.android.camera <<< */ 47 if (m.matches()) { 54 if (m.matches()) {
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
TraceFormatParserTest.java | 70 Assert.assertTrue(m.matches()); 86 Assert.assertTrue(m.matches()); 142 Assert.assertTrue(m.matches()); 170 Assert.assertTrue(m.matches()); 182 Assert.assertTrue(m.matches()); 195 Assert.assertTrue(m.matches()); 209 Assert.assertTrue(m.matches()); 223 Assert.assertTrue(m.matches());
|
/external/guava/guava-tests/test/com/google/common/base/ |
ToStringHelperTest.java | 44 assertTrue(toTest, toTest.matches(".*\\{\\}")); 55 assertTrue(toTest, toTest.matches(".*\\{\\}")); 66 assertTrue(toTest, toTest.matches(".*\\{\\}")); 77 assertTrue(toTest, toTest.matches(".*\\{\\}")); 96 assertTrue(toTest, toTest.matches(".*\\{\\}")); 115 assertTrue(toTest, toTest.matches(".*\\{\\}")); 148 assertTrue(toTest, toTest.matches(".*\\{\\}")); 180 assertTrue(toTest, toTest.matches(".*\\{field1\\=Hello\\}")); 187 assertTrue(toTest, toTest.matches(".*\\{field1\\=42\\}")); 194 assertTrue(toTest, toTest.matches(".*\\{field1\\=null\\}")) [all...] |
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_align.c | 44 /* Matches must be in order of increasing line */ 45 struct bpf_reg_match matches[MAX_MATCHES]; member in struct:bpf_align_test 64 .matches = { 92 .matches = { 121 .matches = { 143 .matches = { 186 .matches = { 219 .matches = { 259 .matches = { 318 .matches = [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
WifiSettingsUiTest.java | 21 import static android.support.test.espresso.assertion.ViewAssertions.matches; 195 matches(isDisplayed())); 206 matches(not(isDisplayed()))); 228 withEffectiveVisibility(VISIBLE))).check(matches(isDisplayed())); 239 matches(isDisplayed())); 262 matches(isDisplayed())); 288 onView(withText(TEST_SSID)).check(matches(isDisplayed())); 291 onView(withText(TEST_SSID)).check(matches(isDisplayed())); 294 onView(withText(TEST_SSID)).check(matches(isDisplayed())); 340 onView(withText(resourceId(STRING, WIFI_PASSWORD))).check(matches(isDisplayed())) [all...] |
/development/tools/bugreport/src/com/android/bugreport/anr/ |
AnrParser.java | 71 if (Utils.matches(procNameRe, text)) { 78 } else if (Utils.matches(pidRe, text)) { 82 } else if (Utils.matches(reasonRe, text)) { 86 } else if (Utils.matches(cpuUsageRe, text)) { 97 } else if (Utils.matches(beginProcessRe, text)) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
Label.java | 234 public boolean matches(int atom) { method in class:Label 244 public boolean matches(IntSet set) { method in class:Label 249 // matches if intersection non-nil 256 public boolean matches(Label other) { method in class:Label 258 return matches(other.getSet()); 261 return matches(other.getAtom());
|
/external/autotest/client/site_tests/logging_KernelCrash/ |
logging_KernelCrash.py | 36 matches = r'write_breakme' # for 2.6.38 kernels and 3.0.13 x86 37 matches += r'|breakme_do_bug' # for 3.2 kernels 38 matches += r'|__bug' # for 3.0.13 ARM 39 matches += r'|lkdtm_do_action'# for 3.8.11 with lkdtm 40 regex = r'kernel-(' + matches + r')-[0-9A-F]{8}$'
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
VariantValueTest.cpp | 125 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher( 130 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) 134 matches("int foo() { return 1 + 1; }", 152 EXPECT_FALSE(matches( 157 matches("int foo() { return 1 + 1; }",
|
/external/easymock/src/org/easymock/internal/ |
ExpectedInvocation.java | 88 public boolean matches(Invocation actual) {
method in class:ExpectedInvocation 92 && matches(actual.getArguments()) : this.invocation.matches(
96 private boolean matches(Object[] arguments) {
method in class:ExpectedInvocation 101 if (!matchers.get(i).matches(arguments[i])) {
|
/external/iproute2/tc/ |
m_bpf.c | 88 if (matches(*argv, "bpf") != 0) 97 if (matches(*argv, "run") == 0) { 112 } else if (matches(*argv, "help") == 0) { 115 } else if (matches(*argv, "index") == 0) { 130 if (matches(*argv, "index") == 0) {
|
m_nat.c | 53 if (matches(*argv, "egress") == 0) 55 else if (matches(*argv, "ingress") != 0) 95 if (matches(*argv, "nat") == 0) { 105 } else if (matches(*argv, "help") == 0) { 121 if (matches(*argv, "index") == 0) {
|
/external/libmicrohttpd/src/testcurl/ |
test_urlparse.c | 49 static int matches; variable 78 matches += 1; 81 matches += 2; 84 matches += 4; 171 if (matches != 7)
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
ContextMenuUtils.java | 21 import static android.support.test.espresso.assertion.ViewAssertions.matches; 65 onContextMenu().check(matches(isDisplayed())); 92 onContextMenu().check(matches( 140 onContextMenu().check(matches(new TypeSafeMatcher<View>() { 173 onContextMenu().check(matches(
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/ |
ChannelNotificationSettingsTest.java | 22 import static android.support.test.espresso.assertion.ViewAssertions.matches; 75 matches(isDisplayed())); 95 onView(allOf(withText("Off"), isDisplayed())).check(matches(isDisplayed())); 97 + " appearing on this device"))).check(matches(isDisplayed())); method 100 onView(allOf(withText("On the lock screen"))).check(matches(isDisplayed())); method
|
/prebuilts/go/darwin-x86/src/path/ |
match.go | 16 // Match reports whether name matches the shell file name pattern. 22 // '*' matches any sequence of non-/ characters 23 // '?' matches any single non-/ character 26 // c matches character c (c != '*', '?', '\\', '[') 27 // '\\' c matches character c 30 // c matches character c (c != '\\', '-', ']') 31 // '\\' c matches character c 32 // lo '-' hi matches character c for lo <= c <= hi 45 // Trailing * matches rest of string unless it has a /. 113 // matchChunk checks whether chunk matches the beginning of s [all...] |