Home
last modified time | relevance | path

Searched refs:_ (Results 1 – 25 of 192) sorted by relevance

12345678

/system/bt/stack/test/
Dble_advertiser_test.cc35 using ::testing::_;
162 EXPECT_CALL(*hci_mock, ReadInstanceCount(_)) in SetUp()
213 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(_, _)) in TEST_F()
236 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
238 EXPECT_CALL(*hci_mock, SetParameters2(_, _, _, _, _, _, _, _)) in TEST_F()
252 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F()
268 _)) in TEST_F()
286 _)) in TEST_F()
290 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(_, _)) in TEST_F()
313 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
[all …]
Dgatt_connection_manager_test.cc12 using testing::_;
94 EXPECT_CALL(*localWhiteListMock, WhiteListRemove(_)).Times(0); in TEST_F()
104 EXPECT_CALL(*localWhiteListMock, WhiteListAdd(_)).Times(0); in TEST_F()
120 EXPECT_CALL(*localWhiteListMock, WhiteListRemove(_)).Times(0); in TEST_F()
130 EXPECT_CALL(*localWhiteListMock, WhiteListAdd(_)).Times(0); in TEST_F()
155 EXPECT_CALL(*localWhiteListMock, WhiteListRemove(_)).Times(0); in TEST_F()
156 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
157 EXPECT_CALL(*AlarmMock::Get(), AlarmSetOnMloop(_, _, _, _)).Times(1); in TEST_F()
169 EXPECT_CALL(*localWhiteListMock, WhiteListRemove(_)).Times(1); in TEST_F()
170 EXPECT_CALL(*AlarmMock::Get(), AlarmFree(_)).Times(1); in TEST_F()
[all …]
/system/connectivity/wificond/tests/
Dscanner_unittest.cpp40 using ::testing::_;
119 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _)). in TEST_F()
132 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_SPAN, _, _, _)). in TEST_F()
147 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_POWER, _, _, _)). in TEST_F()
162 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_HIGH_ACCURACY, _, _, _)). in TEST_F()
177 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _)). in TEST_F()
191 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _)). in TEST_F()
205 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _)). in TEST_F()
224 Scan(_, _, _, _, _, _)). in TEST_F()
241 Scan(_, _, _, _, _, _)). in TEST_F()
[all …]
Dclient_interface_impl_unittest.cpp38 using testing::_;
65 SubscribeMlmeEvent(kTestInterfaceIndex, _)); in SetUp()
67 GetWiphyInfo(kTestWiphyIndex, _, _, _)) in SetUp()
75 SubscribeFrameTxStatusEvent(kTestInterfaceIndex, _)) in SetUp()
121 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(false)); in TEST_F()
128 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(true)); in TEST_F()
136 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(true)); in TEST_F()
144 EXPECT_CALL(*if_tool_, SetMacAddress(_, in TEST_F()
161 kAutoMcs, _)) in TEST_F()
168 EXPECT_CALL(*send_mgmt_frame_event_, OnAck(_)); in TEST_F()
[all …]
Dnetlink_utils_unittest.cpp36 using testing::_;
321 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
333 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
344 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
355 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
382 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
421 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
470 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
490 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
511 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
[all …]
/system/connectivity/wifilogd/tests/
Dmain_loop_unittest.cpp35 using ::testing::_;
67 EXPECT_CALL(*os_, ReceiveDatagram(kControlSocketFd, _, _)); in TEST_F()
68 EXPECT_CALL(*command_processor_, ProcessCommand(_, _, _)).Times(AnyNumber()); in TEST_F()
73 EXPECT_CALL(*os_, ReceiveDatagram(_, _, Ge(protocol::kMaxMessageSize))); in TEST_F()
74 EXPECT_CALL(*command_processor_, ProcessCommand(_, _, _)).Times(AnyNumber()); in TEST_F()
79 EXPECT_CALL(*os_, ReceiveDatagram(_, _, _)) in TEST_F()
83 ProcessCommand(_, sizeof(protocol::Command), _)); in TEST_F()
88 EXPECT_CALL(*os_, ReceiveDatagram(_, _, _)) in TEST_F()
92 ProcessCommand(_, protocol::kMaxMessageSize, _)); in TEST_F()
97 EXPECT_CALL(*os_, ReceiveDatagram(_, _, _)) in TEST_F()
[all …]
Dcommand_processor_unittest.cpp44 using ::testing::_;
71 ON_CALL(*os_, Write(_, _, _)) in CommandProcessorTest()
256 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
262 EXPECT_CALL(*os_, Write(_, _, _)).Times(0); in TEST_F()
272 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
282 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
290 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
298 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
306 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
314 EXPECT_CALL(*os_, Write(_, _, _)).Times(AtLeast(1)); in TEST_F()
[all …]
/system/update_engine/
Dmetrics_reporter_omaha_unittest.cc32 using testing::_;
54 SendToUMA(metrics::kMetricDailyOSAgeDays, _, _, _, _)) in TEST_F()
78 SendEnumToUMA(metrics::kMetricCheckResult, static_cast<int>(result), _)) in TEST_F()
82 metrics::kMetricCheckReaction, static_cast<int>(reaction), _)) in TEST_F()
91 SendSparseToUMA(metrics::kMetricCheckTargetVersion, _)) in TEST_F()
94 SendSparseToUMA(metrics::kMetricCheckRollbackTargetVersion, _)) in TEST_F()
99 SendToUMA(metrics::kMetricCheckTimeSinceLastCheckMinutes, 1, _, _, _)) in TEST_F()
104 metrics::kMetricCheckTimeSinceLastCheckUptimeMinutes, 1, _, _, _)) in TEST_F()
132 SendSparseToUMA(metrics::kMetricCheckDownloadErrorCode, _)); in TEST_F()
138 SendSparseToUMA(metrics::kMetricCheckRollbackTargetVersion, _)) in TEST_F()
[all …]
Dcertificate_checker_unittest.cc31 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()
Dupdate_attempter_android_unittest.cc39 using testing::_;
85 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(_)).Times(0); in TEST_F()
141 ReportUpdateAttemptMetrics(_, in TEST_F()
143 _, in TEST_F()
146 _, in TEST_F()
152 2, 0, _, 50, _, _, duration, duration_uptime, 3, _)) in TEST_F()
179 ReportUpdateAttemptDownloadMetrics(50, _, _, _, _)) in TEST_F()
182 ReportUpdateAttemptDownloadMetrics(40, _, _, _, _)) in TEST_F()
189 _, in TEST_F()
190 _, in TEST_F()
[all …]
Dmock_p2p_manager.h33 ON_CALL(*this, SetDevicePolicy(testing::_)) in MockP2PManager()
48 LookupUrlForFile(testing::_, testing::_, testing::_, testing::_)) in MockP2PManager()
51 ON_CALL(*this, FileShare(testing::_, testing::_)) in MockP2PManager()
53 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager()
55 ON_CALL(*this, FileGetSize(testing::_)) in MockP2PManager()
57 ON_CALL(*this, FileGetExpectedSize(testing::_)) in MockP2PManager()
60 ON_CALL(*this, FileGetVisible(testing::_, testing::_)) in MockP2PManager()
63 ON_CALL(*this, FileMakeVisible(testing::_)) in MockP2PManager()
Dpayload_state_unittest.cc42 using testing::_;
115 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST()
124 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateTimestampStart, _)) in TEST()
126 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateDurationUptime, _)) in TEST()
158 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST()
167 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateTimestampStart, _)) in TEST()
169 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateDurationUptime, _)) in TEST()
210 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST()
256 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST()
266 EXPECT_CALL(*prefs, SetInt64(kPrefsBackoffExpiryTime, _)).Times(AtLeast(2)); in TEST()
[all …]
Dcommon_service_unittest.cc33 using testing::_;
89 EXPECT_CALL(*mock_update_attempter_, CheckForInstall(_, _)) in TEST_F()
97 EXPECT_CALL(*mock_update_attempter_, CheckForInstall(_, _)) in TEST_F()
104 EXPECT_CALL(*mock_update_attempter_, SetDlcActiveValue(_, _)) in TEST_F()
111 EXPECT_CALL(*mock_update_attempter_, SetDlcActiveValue(_, _)) in TEST_F()
123 SetTargetChannel("stable-channel", true, _)) in TEST_F()
133 EXPECT_CALL(mock_device_policy, GetReleaseChannelDelegated(_)) in TEST_F()
136 SetTargetChannel("beta-channel", true, _)) in TEST_F()
148 SetTargetChannel("foo-channel", true, _)) in TEST_F()
Dp2p_manager_unittest.cc58 using testing::_;
113 EXPECT_CALL(*mock_policy_, P2PEnabled(_, _, _, _)); in TEST_F()
114 EXPECT_CALL(*mock_policy_, P2PEnabledChanged(_, _, _, _, false)); in TEST_F()
124 EXPECT_CALL(*mock_policy_, P2PEnabled(_, _, _, _)) in TEST_F()
127 EXPECT_CALL(*mock_policy_, P2PEnabledChanged(_, _, _, _, true)); in TEST_F()
128 EXPECT_CALL(*mock_policy_, P2PEnabledChanged(_, _, _, _, false)); in TEST_F()
/system/update_engine/update_manager/
Dmock_policy.h36 UpdateCheckAllowed(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
41 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
46 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
51 UpdateDownloadAllowed(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
54 ON_CALL(*this, P2PEnabled(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
59 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
Dreal_system_provider_unittest.cc35 using testing::_;
53 ON_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in SetUp()
100 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
109 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
115 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
Dreal_updater_provider_unittest.cc41 using testing::_;
121 GetBootTimeAtUpdate(_)) in SetupUpdateCompletedTime()
144 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
153 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
159 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
165 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
171 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
177 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
183 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
189 EXPECT_CALL(*fake_sys_state_.mock_update_attempter(), GetStatus(_)) in TEST_F()
[all …]
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc28 using ::testing::_;
120 EXPECT_CALL(*mock_handler_, Enable(_, false, _, _, _, _)).Times(1); in TearDown()
121 EXPECT_CALL(*mock_handler_, Unregister(_)).Times(1); in TearDown()
141 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in RegisterTestAdvertiser()
157 EXPECT_CALL(*mock_handler_, StartAdvertising(_, _, _, _, _, _, _)) in StartAdvertising()
188 EXPECT_CALL(*mock_handler_, Enable(_, false, _, _, _, _)) in AdvertiseDataTestHelper()
226 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in TEST_F()
243 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in TEST_F()
261 EXPECT_CALL(*mock_handler_, Enable(client_if0, false, _, _, _, _)).Times(1); in TEST_F()
293 EXPECT_CALL(*mock_handler_, StartAdvertising(_, _, _, _, _, _, _)) in TEST_F()
[all …]
/system/media/audio_utils/
Dfifo_writer32.cpp30 #define _(n) \ in memcpyWords() macro
36 _(1) _(2) _(3) _(4) _(5) _(6) _(7) _(8) _(9) _(10) _(11) _(12) _(13) _(14) _(15) _(16) in memcpyWords()
37 #undef _ in memcpyWords()
/system/bt/profile/avrcp/tests/
Davrcp_connection_handler_test.cc27 using ::testing::_;
45 ON_CALL(mock_avrcp_, Close(_)).WillByDefault(Return(0)); in SetUp()
49 EXPECT_CALL(mock_avrcp_, FindService(_, _, _, _)) in SetUpSdp()
65 EXPECT_CALL(mock_sdp_, FindAttributeInRec(_, _)) in SetUpSdp()
69 EXPECT_CALL(mock_sdp_, FindServiceInDb(_, _, _)) in SetUpSdp()
74 EXPECT_CALL(mock_sdp_, FindProfileVersionInRec(_, _, _)) in SetUpSdp()
95 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
118 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
142 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
167 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
[all …]
/system/core/libunwindstack/tests/
DDwarfSectionTest.cpp92 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
106 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
110 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
132 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
136 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
152 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde0, ::testing::_, ::testing::_)) in TEST_F()
156 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
167 EXPECT_CALL(*section_, GetCfaLocationInfo(0x600, &fde1, ::testing::_, ::testing::_)) in TEST_F()
/system/extras/simpleperf/scripts/
Dpylintrc7 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/
Dmock_property_fetcher.h34 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/libbase/
Dformat_benchmark.cpp28 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/netd/server/
DXfrmControllerTest.cpp62 using ::testing::_;
146 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F()
184 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F()
195 EXPECT_CALL(mockSyscalls, getsockopt(Fd(sockFd), IPPROTO_UDP, UDP_ENCAP, _, _)) in TEST_F()
271 EXPECT_CALL(mockSyscalls, writev(_, _)) in TEST_P()
273 EXPECT_CALL(mockSyscalls, read(_, _)) in TEST_P()
348 EXPECT_CALL(mockSyscalls, writev(_, _)) in testIpSecAddSecurityAssociation()
350 EXPECT_CALL(mockSyscalls, read(_, _)) in testIpSecAddSecurityAssociation()
469 EXPECT_CALL(mockSyscalls, writev(_, _)).Times(0); in TEST_F()
486 EXPECT_CALL(mockSyscalls, getsockname(Fd(sock), _, _)) in TEST_F()
[all …]

12345678