/system/bt/gd/cert/ |
D | behavior.py | 55 def begin(self, matcher): argument 56 return PersistenceStage(self, matcher, self._reply_stage_factory) 91 def wait_until_invoked(self, matcher, times, timeout): argument 96 invoked_times = sum((matcher(i) for i in self._invoked_obj)) 105 def __init__(self, behavior, matcher, reply_stage_factory): argument 107 self._matcher = matcher 121 def init(self, behavior, matcher, persistence): argument 123 self._matcher = matcher 132 def __init__(self, matcher, persistence, fn): argument 133 self._matcher = matcher [all …]
|
D | cert_self_test.py | 103 def test_request(self, matcher): argument 104 return self.test_request_behavior.begin(matcher)
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | DistroVersion.java | 69 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/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 52 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/core/fs_mgr/tests/src/com/android/tests/vendoroverlay/ |
D | VendorOverlayHostTest.java | 58 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/ |
D | fixtures.cpp | 127 const auto matcher = [](usb_ifc_info* info) -> int { in SetUp() local 131 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in SetUp() 211 const auto matcher = [](usb_ifc_info* info) -> int { in ReconnectFastbootDevice() local 215 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in ReconnectFastbootDevice()
|
D | main.cpp | 164 const auto matcher = [](usb_ifc_info* info) -> int { in TEST() local 169 transport = usb_open(matcher); in TEST() 988 auto matcher = [&](const std::tuple<std::string, uint32_t>& tup) { in TEST_P() local 991 EXPECT_NE(std::find_if(parts.begin(), parts.end(), matcher), parts.end()) in TEST_P() 994 auto matcher = [&](const std::tuple<std::string, uint32_t>& tup) { in TEST_P() local 997 EXPECT_NE(std::find_if(parts.begin(), parts.end(), matcher), parts.end()) in TEST_P() 1742 const auto matcher = [](usb_ifc_info* info) -> int { in main() local 1747 transport = usb_open(matcher); in main()
|
/system/apex/tests/util/com/android/tests/util/ |
D | ModuleTestUtils.java | 81 Matcher m = p.matcher(l); in getApexInfo() 228 boolean isReady = mIsSessionReadyPattern.matcher(sessionInfo).find(); in isReadyNotApplied() 229 boolean isApplied = mIsSessionAppliedPattern.matcher(sessionInfo).find(); in isReadyNotApplied()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | MediaSwCodecHostTest.java | 59 Matcher m = CODEC_NAME_REGEX.matcher(line); in checkCodecs()
|
D | MediaHostTest.java | 63 Matcher m = EXTRACTOR_PLUGIN_REGEX.matcher(line); in checkMediaExtractor()
|
/system/libziparchive/ |
D | zip_archive_test.cc | 260 static void AssertIterationOrderWithMatcher(std::function<bool(std::string_view)> matcher, in AssertIterationOrderWithMatcher() argument 266 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie, matcher)); in AssertIterationOrderWithMatcher() 299 auto matcher = [](std::string_view name) { return name == "a.txt"; }; in TEST() local 300 AssertIterationOrderWithMatcher(matcher, kExpectedMatchesSorted); in TEST() 306 auto matcher = [](std::string_view name) { in TEST() local 309 AssertIterationOrderWithMatcher(matcher, kExpectedMatchesSorted); in TEST() 314 auto matcher = [](std::string_view name) { in TEST() local 318 AssertIterationOrderWithMatcher(matcher, kExpectedMatchesSorted); in TEST()
|
D | zip_archive.cc | 890 std::function<bool(std::string_view)> matcher; member 895 : archive(archive), matcher(std::move(in_matcher)) {} in IterationHandle() 897 bool Match(std::string_view entry_name) const { return matcher(entry_name); } in Match() 908 auto matcher = [prefix = std::string(optional_prefix), in StartIteration() local 912 return StartIteration(archive, cookie_ptr, std::move(matcher)); in StartIteration() 916 std::function<bool(std::string_view)> matcher) { in StartIteration() argument 923 *cookie_ptr = new IterationHandle(archive, matcher); in StartIteration()
|
/system/core/adb/client/ |
D | incremental_utils.cpp | 313 auto matcher = [](std::string_view entry_name) { in InstallationPriorityBlocks() local 322 if (StartIteration(zip, &cookie, std::move(matcher)) != 0) { in InstallationPriorityBlocks()
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 240 std::function<bool(std::string_view entry_name)> matcher);
|
/system/bt/gd/l2cap/classic/cert/ |
D | cert_l2cap.py | 139 def on_config_req(self, matcher): argument 140 return self.on_config_req_behavior.begin(matcher)
|
/system/update_engine/ |
D | dynamic_partition_control_android_unittest.cc | 191 const Matcher<MetadataBuilder*>& matcher) { in UpdatePartitionMetadata() argument 200 if (matcher.MatchAndExplain(super_metadata.get(), &listener)) { in UpdatePartitionMetadata()
|
/system/libvintf/test/ |
D | vintf_object_tests.cpp | 466 void expectFileNotExist(const Matcher& matcher) { in expectFileNotExist() argument 467 EXPECT_CALL(fetcher(), fetch(matcher, _)) in expectFileNotExist()
|