Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 11 of 11) sorted by relevance

/system/timezone/distro/core/src/main/com/android/timezone/distro/
DDistroVersion.java69 if (!RULES_VERSION_PATTERN.matcher(rulesVersion).matches()) { in DistroVersion()
79 Matcher matcher = DISTRO_VERSION_PATTERN.matcher(distroVersion); in fromBytes() local
80 if (!matcher.matches()) { in fromBytes()
84 String formatMajorVersion = matcher.group(1); in fromBytes()
85 String formatMinorVersion = matcher.group(2); in fromBytes()
86 String rulesVersion = matcher.group(3); in fromBytes()
87 String revision = matcher.group(4); in fromBytes()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java52 Matcher matcher = offsetPattern.matcher(utcOffsetString); in parseUtcOffsetToMillis() local
53 if (!matcher.matches()) { in parseUtcOffsetToMillis()
56 int minutes = Integer.parseInt(matcher.group(2)); in parseUtcOffsetToMillis()
61 long millis = TimeUnit.HOURS.toMillis(Integer.parseInt(matcher.group(1))); in parseUtcOffsetToMillis()
/system/apex/tests/src/com/android/tests/apex/
DApexTestUtils.java65 Matcher m = p.matcher(l); in getApexInfo()
114 Matcher matcher = pattern.matcher(text); in assertMatchesRegex() local
117 matcher.find()); in assertMatchesRegex()
DApexE2EBaseHostTest.java118 boolean isReady = mIsSessionReadyPattern.matcher(sessionInfo).find(); in isReadyNotApplied()
119 boolean isApplied = mIsSessionAppliedPattern.matcher(sessionInfo).find(); in isReadyNotApplied()
DMediaHostTest.java76 Matcher m = EXTRACTOR_PLUGIN_REGEX.matcher(line); in checkMediaExtractor()
DMediaSwCodecHostTest.java81 Matcher m = CODEC_NAME_REGEX.matcher(line); in checkCodecs()
/system/core/fs_mgr/tests/src/com/android/tests/vendoroverlay/
DVendorOverlayHostTest.java58 vendorPattern.matcher(result.getStdout()).find()); in setup()
60 productPattern.matcher(result.getStdout()).find()); in setup()
119 Matcher kernelVersionMatcher = kernelVersionPattern.matcher(result.getStdout()); in testConditionsMet()
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp116 const auto matcher = [](usb_ifc_info* info) -> int { in SetUp() local
120 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in SetUp()
177 const auto matcher = [](usb_ifc_info* info) -> int { in ReconnectFastbootDevice() local
181 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in ReconnectFastbootDevice()
Dmain.cpp164 const auto matcher = [](usb_ifc_info* info) -> int { in TEST() local
169 transport = usb_open(matcher); in TEST()
1008 auto matcher = [&](const std::tuple<std::string, uint32_t>& tup) { in TEST_P() local
1011 EXPECT_NE(std::find_if(parts.begin(), parts.end(), matcher), parts.end()) in TEST_P()
1014 auto matcher = [&](const std::tuple<std::string, uint32_t>& tup) { in TEST_P() local
1017 EXPECT_NE(std::find_if(parts.begin(), parts.end(), matcher), parts.end()) in TEST_P()
1760 const auto matcher = [](usb_ifc_info* info) -> int { in main() local
1765 transport = usb_open(matcher); in main()
/system/update_engine/
Dboot_control_android_unittest.cc349 const Matcher<MetadataBuilder*>& matcher) { in ExpectStoreMetadataMatch() argument
351 StoreMetadata(GetSuperDevice(target()), matcher, target())) in ExpectStoreMetadataMatch()
742 const Matcher<MetadataBuilder*>& matcher) override { in ExpectStoreMetadataMatch() argument
747 matcher)); in ExpectStoreMetadataMatch()
/system/libvintf/test/
Dvintf_object_tests.cpp498 void expectFileNotExist(const Matcher& matcher) { in expectFileNotExist() argument
499 EXPECT_CALL(fetcher(), fetch(matcher, _)) in expectFileNotExist()