/system/connectivity/wificond/tests/ |
D | scanner_unittest.cpp | 40 using ::testing::_; 127 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, false, _, _, _, _)). in TEST_F() 140 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_SPAN, true, _, _, _, _)). in TEST_F() 156 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_POWER, _, _, _, _, _)). in TEST_F() 171 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_HIGH_ACCURACY, _, _, _, _, _)). in TEST_F() 186 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _, _)). in TEST_F() 200 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _, _)). in TEST_F() 214 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _, _)). in TEST_F() 233 Scan(_, _, _, _, _, _, _, _)). in TEST_F() 250 Scan(_, _, _, _, _, _, _, _)). in TEST_F() [all …]
|
D | server_unittest.cpp | 42 using testing::_; 82 ON_CALL(*if_tool_, SetUpState(_, _)).WillByDefault(Return(true)); in SetUp() 83 ON_CALL(*netlink_utils_, GetWiphyIndex(_)).WillByDefault(Return(true)); in SetUp() 84 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault(Return(true)); in SetUp() 85 ON_CALL(*netlink_utils_, GetInterfaces(_, _)) in SetUp() 88 ON_CALL(*netlink_utils_, GetWiphyInfo(0, _, _, _, _)) in SetUp() 98 ON_CALL(*netlink_utils_, GetWiphyInfo(1, _, _, _, _)) in SetUp() 149 EXPECT_CALL(*netlink_utils_, SubscribeRegDomainChange(_, _)); in TEST_F() 174 EXPECT_CALL(*netlink_utils_, UnsubscribeRegDomainChange(_)); in TEST_F() 218 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault( in TEST_F() [all …]
|
D | client_interface_impl_unittest.cpp | 38 using testing::_; 65 SubscribeMlmeEvent(kTestInterfaceIndex, _)); in SetUp() 67 GetWiphyInfo(kTestWiphyIndex, _, _, _, _)) in SetUp() 76 SubscribeFrameTxStatusEvent(kTestInterfaceIndex, _)) in SetUp() 82 SubscribeChannelSwitchEvent(kTestInterfaceIndex, _)); in SetUp() 127 kAutoMcs, _)) in TEST_F() 134 EXPECT_CALL(*send_mgmt_frame_event_, OnAck(_)); in TEST_F() 167 kMcs, _)) in TEST_F() 174 EXPECT_CALL(*send_mgmt_frame_event_, OnAck(_)); in TEST_F() 189 kAutoMcs, _)) in TEST_F() [all …]
|
D | netlink_utils_unittest.cpp | 36 using testing::_; 410 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 422 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 433 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 444 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 471 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 511 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 561 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 583 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() 605 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F() [all …]
|
D | scan_utils_unittest.cpp | 41 using testing::_; 106 SendMessageAndGetResponses(_, _)).WillByDefault(Return(true)); in SetUp() 138 DoesNL80211PacketMatchCommand(NL80211_CMD_GET_SCAN), _)); in TEST_F() 153 DoesNL80211PacketMatchCommand(NL80211_CMD_TRIGGER_SCAN), _)). in TEST_F() 172 _)). in TEST_F() 192 _)). in TEST_F() 210 _)). in TEST_F() 228 _)). in TEST_F() 248 _)). in TEST_F() 262 DoesNL80211PacketMatchCommand(NL80211_CMD_TRIGGER_SCAN), _)). in TEST_F() [all …]
|
D | ap_interface_impl_unittest.cpp | 46 using testing::_; 95 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F() 109 EXPECT_CALL(*callback, onConnectedClientsChanged(_,_)).Times(3); in TEST_F() 117 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F() 130 EXPECT_CALL(*callback, onConnectedClientsChanged(_,_)).Times(4); in TEST_F() 139 EXPECT_CALL(*netlink_utils_, SubscribeChannelSwitchEvent(kTestInterfaceIndex, _)) in TEST_F()
|
/system/media/audio_utils/ |
D | fifo_writer_T.cpp | 28 #define _(n) \ in memcpyWords() macro 34 _(1) _(2) _(3) _(4) _(5) _(6) _(7) _(8) _(9) _(10) _(11) _(12) _(13) _(14) _(15) _(16) in memcpyWords() 35 #undef _ in memcpyWords()
|
/system/core/fastboot/ |
D | fastboot_driver_test.cpp | 38 EXPECT_CALL(*transport, Write(_, _)) in TEST_F() 41 EXPECT_CALL(*transport, Read(_, _)).WillOnce(Invoke(CopyData("OKAY0.4"))); in TEST_F() 53 EXPECT_CALL(*transport, Write(_, _)) in TEST_F() 56 EXPECT_CALL(*transport, Read(_, _)).WillOnce(Invoke(CopyData("INFOthis is an info line"))); in TEST_F() 57 EXPECT_CALL(*transport, Read(_, _)).WillOnce(Invoke(CopyData("OKAY"))); in TEST_F() 75 EXPECT_CALL(*transport, Write(_, _)) in TEST_F() 78 EXPECT_CALL(*transport, Read(_, _)).WillOnce(Invoke(CopyData("TEXTthis is a text line"))); in TEST_F() 79 EXPECT_CALL(*transport, Read(_, _)) in TEST_F() 82 EXPECT_CALL(*transport, Read(_, _)) in TEST_F() 85 EXPECT_CALL(*transport, Read(_, _)) in TEST_F() [all …]
|
/system/update_engine/ |
D | certificate_checker_unittest.cc | 31 using ::testing::_; 77 EXPECT_CALL(openssl_wrapper_, GetCertificateDigest(nullptr, _, _, _)) in TEST_F() 82 EXPECT_CALL(prefs_, GetString(cert_key_, _)).WillOnce(Return(false)); in TEST_F() 93 EXPECT_CALL(openssl_wrapper_, GetCertificateDigest(nullptr, _, _, _)) in TEST_F() 98 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F() 100 EXPECT_CALL(prefs_, SetString(_, _)).Times(0); in TEST_F() 110 EXPECT_CALL(openssl_wrapper_, GetCertificateDigest(nullptr, _, _, _)) in TEST_F() 115 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F() 130 EXPECT_CALL(prefs_, GetString(_, _)).Times(0); in TEST_F() 131 EXPECT_CALL(openssl_wrapper_, GetCertificateDigest(_, _, _, _)).Times(0); in TEST_F()
|
D | download_action_android_unittest.cc | 44 using testing::_; 60 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStatePayloadIndex, _)) in TEST_F() 62 EXPECT_CALL(prefs, GetInt64(kPrefsManifestMetadataSize, _)) in TEST_F() 64 EXPECT_CALL(prefs, GetInt64(kPrefsManifestSignatureSize, _)) in TEST_F() 66 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextDataOffset, _)) in TEST_F() 68 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F() 123 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStatePayloadIndex, _)) in TEST_F() 125 EXPECT_CALL(prefs, GetInt64(kPrefsManifestMetadataSize, _)) in TEST_F() 127 EXPECT_CALL(prefs, GetInt64(kPrefsManifestSignatureSize, _)) in TEST_F() 130 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextDataOffset, _)) in TEST_F() [all …]
|
/system/update_engine/payload_consumer/ |
D | vabc_partition_writer_unittest.cc | 39 using testing::_; 96 EXPECT_CALL(dynamic_control_, OpenCowWriter(fake_part_name, _, _)) in TEST_F() 102 EXPECT_CALL(*cow_writer, AddSequenceData(_, _)) in TEST_F() 105 ON_CALL(*cow_writer, AddCopy(_, _, _)).WillByDefault(Return(true)); in TEST_F() 106 ON_CALL(*cow_writer, AddLabel(_)).WillByDefault(Return(true)); in TEST_F() 119 EXPECT_CALL(dynamic_control_, OpenCowWriter(fake_part_name, _, _)) in TEST_F() 127 EXPECT_CALL(*cow_writer, AddSequenceData(_, _)) in TEST_F() 130 ON_CALL(*cow_writer, AddCopy(_, _, _)).WillByDefault(Return(true)); in TEST_F() 131 ON_CALL(*cow_writer, AddLabel(_)).WillByDefault(Return(true)); in TEST_F() 172 EXPECT_CALL(dynamic_control_, OpenCowWriter(fake_part_name, _, _)) in AddBlockTest() [all …]
|
D | xor_extent_writer_unittest.cc | 37 using testing::_; 81 ON_CALL(cow_writer_, AddXorBlocks(_, _, _, _, _)).WillByDefault(Return(true)); in TEST_F() 126 EXPECT_CALL(cow_writer_, AddXorBlocks(5, _, kBlockSize * 2, 5, 0)) in TEST_F() 128 EXPECT_CALL(cow_writer_, AddXorBlocks(456, _, kBlockSize * 2, 45, 0)) in TEST_F() 130 EXPECT_CALL(cow_writer_, AddXorBlocks(321, _, kBlockSize * 2, 12, 777)) in TEST_F() 139 ON_CALL(cow_writer_, AddXorBlocks(_, _, _, _, _)).WillByDefault(Return(true)); in TEST_F() 169 EXPECT_CALL(cow_writer_, AddXorBlocks(320, _, kBlockSize * 3, 12, 777)) in TEST_F() 171 EXPECT_CALL(cow_writer_, AddXorBlocks(323, _, kBlockSize, 15, 777)) in TEST_F() 180 ON_CALL(cow_writer_, AddXorBlocks(_, _, _, _, _)).WillByDefault(Return(true)); in TEST_F() 216 EXPECT_CALL(cow_writer_, AddXorBlocks(2, _, kBlockSize, NUM_BLOCKS - 1, 0)) in TEST_F() [all …]
|
D | block_extent_writer_unittest.cc | 38 using testing::_; 70 ON_CALL(writer, WriteExtent(_, _, _)).WillByDefault(Return(true)); in TEST_F() 106 ON_CALL(writer, WriteExtent(_, _, _)).WillByDefault(Return(true)); in TEST_F() 145 ON_CALL(writer, WriteExtent(_, _, _)).WillByDefault(Return(true)); in TEST_F() 147 WriteExtent(_, ExtentForRange(10, BLOCKS_PER_BUFFER), kBlockSize)) in TEST_F() 169 ON_CALL(writer, WriteExtent(_, _, _)).WillByDefault(Return(true)); in TEST_F() 171 WriteExtent(_, ExtentForRange(10, BLOCKS_PER_BUFFER), kBlockSize)) in TEST_F() 178 WriteExtent(_, ExtentForRange(10 + BLOCKS_PER_BUFFER, 1), kBlockSize)); in TEST_F()
|
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 51 using testing::_; 106 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(_)).Times(0); in TEST_F() 164 _, in TEST_F() 167 _, in TEST_F() 173 2, 0, _, 50, _, _, duration, duration_uptime, 3, _)) in TEST_F() 200 ReportUpdateAttemptDownloadMetrics(50, _, _, _, _)) in TEST_F() 203 ReportUpdateAttemptDownloadMetrics(40, _, _, _, _)) in TEST_F() 211 _, _, _, 50, DownloadSourceMatcher(total_bytes), 80, _, _, _, _)) in TEST_F()
|
D | dynamic_partition_control_android_unittest.cc | 39 using testing::_; 64 ON_CALL(dynamicControl(), GetDeviceDir(_)) in SetUp() 70 ON_CALL(dynamicControl(), GetSuperPartitionName(_)) in SetUp() 73 ON_CALL(dynamicControl(), GetDmDevicePathByName(_, _)) in SetUp() 79 ON_CALL(dynamicControl(), EraseSystemOtherAvbFooter(_, _)) in SetUp() 84 ON_CALL(dynamicControl(), PrepareDynamicPartitionsForUpdate(_, _, _, _)) in SetUp() 132 LoadMetadataBuilder(GetSuperDevice(slot), slot, _)) in SetMetadata() 153 ON_CALL(dynamicControl(), UnmapPartitionOnDeviceMapper(_)) in ExpectUnmap() 314 LoadMetadataBuilder(GetSuperDevice(source()), source(), _)) in TEST_P() 406 ON_CALL(dynamicControl(), IsDynamicPartition(_, _)) in TEST_P() [all …]
|
/system/libbase/ |
D | function_ref_benchmark.cpp | 40 for (auto _ : state) { in BenchmarkFuncRaw() local 48 for (auto _ : state) { in BenchmarkFuncPtr() local 56 for (auto _ : state) { in BenchmarkStdFunction() local 64 for (auto _ : state) { in BenchmarkFunctionRef() local 80 for (auto _ : state) { in BenchmarkBigRaw() local 88 for (auto _ : state) { in BenchmarkBigStdFunction() local 96 for (auto _ : state) { in BenchmarkBigFunctionRef() local 103 for (auto _ : state) { in BenchmarkMakeFunctionRef() local 110 for (auto _ : state) { in BenchmarkMakeStdFunction() local
|
D | format_benchmark.cpp | 28 for (auto _ : state) { in BenchmarkFormatInt() local 37 for (auto _ : state) { in BenchmarkStringPrintfInt() local 46 for (auto _ : state) { in BenchmarkFormatFloat() local 55 for (auto _ : state) { in BenchmarkStringPrintfFloat() local 64 for (auto _ : state) { in BenchmarkFormatStrings() local 72 for (auto _ : state) { in BenchmarkStringPrintfStrings() local
|
/system/unwinding/libunwindstack/tests/ |
D | DwarfSectionTest.cpp | 100 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F() 115 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F() 119 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, ®s_, ::testing::_)) in TEST_F() 142 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F() 146 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, ®s_, ::testing::_)) in TEST_F() 163 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde0, ::testing::_, ::testing::_)) in TEST_F() 167 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, ®s_, ::testing::_)) in TEST_F() 179 EXPECT_CALL(*section_, GetCfaLocationInfo(0x600, &fde1, ::testing::_, ::testing::_)) in TEST_F()
|
/system/extras/simpleperf/scripts/ |
D | pylintrc | 7 function-rgx=[a-z_][a-z0-9_]{2,50}$ 8 method-rgx=[a-z_][a-z0-9_]{2,50}$ 9 variable-rgx=[a-z_][a-z0-9_]{0,30}$ 10 attr-rgx=[a-z_][a-z0-9_]{0,30}$ 11 argument-rgx=[a-z_][a-z0-9_]{0,30}$
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | mock_property_fetcher.h | 34 using ::testing::_; in MockPropertyFetcher() 36 ON_CALL(*this, GetProperty(_, _)).WillByDefault(Invoke([](const auto&, const auto& def) { in MockPropertyFetcher() 39 ON_CALL(*this, GetBoolProperty(_, _)).WillByDefault(Invoke([](const auto&, auto def) { in MockPropertyFetcher()
|
/system/incremental_delivery/incfs/tests/ |
D | hardening_benchmark.cpp | 44 for (auto _ : state) { in TestEmpty() local 55 for (auto _ : state) { in TestSignal() local 65 for (auto _ : state) { in TestRead() local 79 for (auto _ : state) { in TestMapPtrRaw() local 92 for (auto _ : state) { in TestMapPtr() local 102 for (auto _ : state) { in TestAccess() local 113 for (auto _ : state) { in TestAccessFast() local 124 for (auto _ : state) { in TestAccessVal() local 135 for (auto _ : state) { in TestAccessNested() local 148 for (auto _ : state) { in TestAccessDoubleNested() local [all …]
|
/system/netd/server/ |
D | XfrmControllerTest.cpp | 63 using ::testing::_; 147 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F() 185 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F() 196 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F() 272 EXPECT_CALL(mockSyscalls, writev(_, _)) in TEST_P() 274 EXPECT_CALL(mockSyscalls, read(_, _)) in TEST_P() 350 EXPECT_CALL(mockSyscalls, writev(_, _)) in testIpSecAddSecurityAssociation() 352 EXPECT_CALL(mockSyscalls, read(_, _)) in testIpSecAddSecurityAssociation() 486 EXPECT_CALL(mockSyscalls, getsockname(Fd(sock), _, _)) in TEST_F() 518 EXPECT_CALL(mockSyscalls, getsockname(_, _, _)) in TEST_P() [all …]
|
/system/media/audio_utils/tests/ |
D | mel_processor_tests.cpp | 34 using ::testing::_; 125 onNewMelValues(_, _, Le(size_t{2}), Eq(mDeviceId), Eq(true))).Times(1); in TEST_P() 137 EXPECT_CALL(*mMelCallback.get(), onNewMelValues(_, _, _, Eq(mDeviceId), Eq(true))) in TEST_P() 171 EXPECT_CALL(*mMelCallback.get(), onMomentaryExposure(Gt(mDefaultRs2), _)) in TEST_P() 173 EXPECT_CALL(*mMelCallback.get(), onNewMelValues(_, _, _, _, Eq(true))) in TEST_P()
|
/system/extras/libatrace_rust/benchmark/src/ |
D | atrace_benchmark.cc | 26 for (auto _ : state) { in BM_TracingOffAtraceBegin() local 33 for (auto _ : state) { in BM_TracingOffAtraceEnd() local 41 for (auto _ : state) { in BM_TracingOnAtraceBegin() local 49 for (auto _ : state) { in BM_TracingOnAtraceEnd() local
|
/system/linkerconfig/contents/tests/configuration/include/ |
D | configurationtest.h | 32 for (auto& [_, link] : ns.links) { in TraverseLink() 39 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible() 45 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible() 68 for (auto& [_, target_namespace] : section.namespaces) { in ValidateSection() 77 for (auto& [_, section] : conf.sections) { in ValidateConfiguration()
|