Home
last modified time | relevance | path

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

12345678910

/system/bt/stack/test/
Dble_advertiser_test.cc36 using ::testing::_;
160 EXPECT_CALL(*hci_mock, ReadInstanceCount(_)) in SetUp()
211 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(_, _)) in TEST_F()
234 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
236 EXPECT_CALL(*hci_mock, SetParameters2(_, _, _, _, _, _, _, _)) in TEST_F()
250 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F()
266 _)) in TEST_F()
284 _)) in TEST_F()
288 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(_, _)) in TEST_F()
311 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
[all …]
Dgatt_connection_manager_test.cc12 using testing::_;
95 EXPECT_CALL(*localAcceptlistMock, AcceptlistRemove(_)).Times(0); in TEST_F()
105 EXPECT_CALL(*localAcceptlistMock, AcceptlistAdd(_)).Times(0); in TEST_F()
121 EXPECT_CALL(*localAcceptlistMock, AcceptlistRemove(_)).Times(0); in TEST_F()
131 EXPECT_CALL(*localAcceptlistMock, AcceptlistAdd(_)).Times(0); in TEST_F()
156 EXPECT_CALL(*localAcceptlistMock, AcceptlistRemove(_)).Times(0); in TEST_F()
157 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
158 EXPECT_CALL(*AlarmMock::Get(), AlarmSetOnMloop(_, _, _, _)).Times(1); in TEST_F()
170 EXPECT_CALL(*localAcceptlistMock, AcceptlistRemove(_)).Times(1); in TEST_F()
171 EXPECT_CALL(*AlarmMock::Get(), AlarmFree(_)).Times(1); in TEST_F()
[all …]
/system/connectivity/wificond/tests/
Dscanner_unittest.cpp40 using ::testing::_;
122 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, false, _, _, _)). in TEST_F()
135 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_SPAN, true, _, _, _)). in TEST_F()
151 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_LOW_POWER, _, _, _, _)). in TEST_F()
166 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_HIGH_ACCURACY, _, _, _, _)). in TEST_F()
181 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _)). in TEST_F()
195 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _)). in TEST_F()
209 Scan(_, _, IWifiScannerImpl::SCAN_TYPE_DEFAULT, _, _, _, _)). in TEST_F()
228 Scan(_, _, _, _, _, _, _)). in TEST_F()
245 Scan(_, _, _, _, _, _, _)). in TEST_F()
[all …]
Dserver_unittest.cpp42 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()
97 ON_CALL(*netlink_utils_, GetWiphyInfo(1, _, _, _)) in SetUp()
147 EXPECT_CALL(*netlink_utils_, SubscribeRegDomainChange(_, _)); in TEST_F()
172 EXPECT_CALL(*netlink_utils_, UnsubscribeRegDomainChange(_)); in TEST_F()
216 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault( 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()
81 SubscribeChannelSwitchEvent(kTestInterfaceIndex, _)); in SetUp()
126 kAutoMcs, _)) in TEST_F()
133 EXPECT_CALL(*send_mgmt_frame_event_, OnAck(_)); in TEST_F()
166 kMcs, _)) in TEST_F()
173 EXPECT_CALL(*send_mgmt_frame_event_, OnAck(_)); in TEST_F()
188 kAutoMcs, _)) in TEST_F()
[all …]
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc28 using ::testing::_;
122 EXPECT_CALL(*mock_handler_, Enable(_, false, _, _, _, _)).Times(1); in TearDown()
123 EXPECT_CALL(*mock_handler_, Unregister(_)).Times(1); in TearDown()
143 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in RegisterTestAdvertiser()
159 EXPECT_CALL(*mock_handler_, StartAdvertising(_, _, _, _, _, _, _)) in StartAdvertising()
190 EXPECT_CALL(*mock_handler_, Enable(_, false, _, _, _, _)) in AdvertiseDataTestHelper()
228 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in TEST_F()
245 EXPECT_CALL(*mock_handler_, RegisterAdvertiser(_)) in TEST_F()
263 EXPECT_CALL(*mock_handler_, Enable(client_if0, false, _, _, _, _)).Times(1); in TEST_F()
295 EXPECT_CALL(*mock_handler_, StartAdvertising(_, _, _, _, _, _, _)) in TEST_F()
[all …]
/system/update_engine/update_manager/
Dmock_policy.h35 UpdateCheckAllowed(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
40 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
45 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
48 ON_CALL(*this, P2PEnabled(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
53 testing::_, testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
Dreal_system_provider_unittest.cc35 using testing::_;
51 ON_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in SetUp()
99 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
108 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
114 EXPECT_CALL(*kiosk_app_proxy_mock_, GetRequiredPlatformVersion(_, _, _)) in TEST_F()
Dreal_updater_provider_unittest.cc38 using testing::_;
116 GetBootTimeAtUpdate(_)) in SetupUpdateCompletedTime()
139 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
148 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
154 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
160 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
166 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
172 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
178 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
184 EXPECT_CALL(*FakeSystemState::Get()->mock_update_attempter(), GetStatus(_)) in TEST_F()
[all …]
/system/update_engine/cros/
Dmetrics_reporter_omaha_unittest.cc31 using testing::_;
57 SendToUMA(metrics::kMetricDailyOSAgeDays, _, _, _, _)) in TEST_F()
75 SendEnumToUMA(metrics::kMetricCheckResult, static_cast<int>(result), _)) in TEST_F()
79 metrics::kMetricCheckReaction, static_cast<int>(reaction), _)) in TEST_F()
88 SendSparseToUMA(metrics::kMetricCheckTargetVersion, _)) in TEST_F()
91 SendSparseToUMA(metrics::kMetricCheckRollbackTargetVersion, _)) in TEST_F()
96 SendToUMA(metrics::kMetricCheckTimeSinceLastCheckMinutes, 1, _, _, _)) in TEST_F()
101 metrics::kMetricCheckTimeSinceLastCheckUptimeMinutes, 1, _, _, _)) in TEST_F()
125 SendSparseToUMA(metrics::kMetricCheckDownloadErrorCode, _)); in TEST_F()
131 SendSparseToUMA(metrics::kMetricCheckRollbackTargetVersion, _)) 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.cc40 using testing::_;
119 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
128 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateTimestampStart, _)) in TEST_F()
130 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateDurationUptime, _)) in TEST_F()
162 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
171 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateTimestampStart, _)) in TEST_F()
173 EXPECT_CALL(*prefs, SetInt64(kPrefsUpdateDurationUptime, _)) in TEST_F()
214 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
260 EXPECT_CALL(*prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
270 EXPECT_CALL(*prefs, SetInt64(kPrefsBackoffExpiryTime, _)).Times(AtLeast(2)); in TEST_F()
[all …]
Dcommon_service_unittest.cc32 using testing::_;
85 EXPECT_CALL(*mock_update_attempter_, CheckForInstall(_, _)) in TEST_F()
93 EXPECT_CALL(*mock_update_attempter_, CheckForInstall(_, _)) in TEST_F()
100 EXPECT_CALL(*mock_update_attempter_, SetDlcActiveValue(_, _)) in TEST_F()
107 EXPECT_CALL(*mock_update_attempter_, SetDlcActiveValue(_, _)) in TEST_F()
119 SetTargetChannel("stable-channel", true, _)) in TEST_F()
129 EXPECT_CALL(mock_device_policy, GetReleaseChannelDelegated(_)) in TEST_F()
132 SetTargetChannel("beta-channel", true, _)) in TEST_F()
144 SetTargetChannel("foo-channel", true, _)) in TEST_F()
/system/media/audio_utils/
Dfifo_writer_T.cpp28 #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/update_engine/
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()
Ddownload_action_android_unittest.cc44 using testing::_;
63 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStatePayloadIndex, _)) in TEST_F()
65 EXPECT_CALL(prefs, GetInt64(kPrefsManifestMetadataSize, _)) in TEST_F()
67 EXPECT_CALL(prefs, GetInt64(kPrefsManifestSignatureSize, _)) in TEST_F()
69 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextDataOffset, _)) in TEST_F()
71 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F()
127 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStatePayloadIndex, _)) in TEST_F()
129 EXPECT_CALL(prefs, GetInt64(kPrefsManifestMetadataSize, _)) in TEST_F()
131 EXPECT_CALL(prefs, GetInt64(kPrefsManifestSignatureSize, _)) in TEST_F()
134 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextDataOffset, _)) in TEST_F()
[all …]
/system/bt/profile/avrcp/tests/
Davrcp_connection_handler_test.cc26 using ::testing::_;
44 ON_CALL(mock_avrcp_, Close(_)).WillByDefault(Return(0)); in SetUp()
48 EXPECT_CALL(mock_avrcp_, FindService(_, _, _, _)) in SetUpSdp()
64 EXPECT_CALL(mock_sdp_, FindAttributeInRec(_, _)) in SetUpSdp()
68 EXPECT_CALL(mock_sdp_, FindServiceInDb(_, _, _)) in SetUpSdp()
73 EXPECT_CALL(mock_sdp_, FindProfileVersionInRec(_, _, _)) in SetUpSdp()
94 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
117 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
141 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
166 EXPECT_CALL(mock_avrcp_, Open(_, _, RawAddress::kAny)) in TEST_F()
[all …]
/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc40 using testing::_;
88 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(_)).Times(0); in TEST_F()
145 _, in TEST_F()
148 _, in TEST_F()
154 2, 0, _, 50, _, _, duration, duration_uptime, 3, _)) in TEST_F()
181 ReportUpdateAttemptDownloadMetrics(50, _, _, _, _)) in TEST_F()
184 ReportUpdateAttemptDownloadMetrics(40, _, _, _, _)) in TEST_F()
191 _, in TEST_F()
192 _, in TEST_F()
193 _, in TEST_F()
[all …]
/system/bt/bta/vc/
Dvc_test.cc44 using testing::_;
130 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database()
169 ON_CALL(gatt_interface, GetCharacteristic(_, _)) in SetUp()
186 ON_CALL(gatt_interface, GetOwningService(_, _)) in SetUp()
200 ON_CALL(gatt_interface, GetServices(_)) in SetUp()
207 ON_CALL(gatt_interface, RegisterForNotifications(gatt_if, _, _)) in SetUp()
211 ON_CALL(gatt_interface, DeregisterForNotifications(gatt_if, _, _)) in SetUp()
215 ON_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in SetUp()
234 EXPECT_CALL(gatt_interface, AppRegister(_, _, _)) in TestAppRegister()
253 ON_CALL(btm_interface, GetSecurityFlagsByTransport(address, NotNull(), _)) in TestConnect()
[all …]
Ddevices_test.cc34 using ::testing::_;
131 EXPECT_CALL(gatt_interface, CancelOpen(gatt_if, test_address_1, _)); in TEST_F()
154 data_expected, GATT_WRITE, _, _)); in TEST_F()
184 data_expected, GATT_WRITE, _, _)); in TEST_F()
202 WriteCharacteristic(_, control_point_handle, _, _, _, _)) in TEST_F()
221 ON_CALL(gatt_interface, GetCharacteristic(_, _)) in SetUp()
236 ON_CALL(gatt_interface, GetOwningService(_, _)) in SetUp()
248 ON_CALL(gatt_interface, GetServices(_)).WillByDefault(Return(&services)); in SetUp()
347 EXPECT_CALL(gatt_queue, ReadCharacteristic(_, handle_pair.first, _, _)); in TEST_F()
348 EXPECT_CALL(gatt_queue, WriteDescriptor(_, handle_pair.second, in TEST_F()
[all …]
/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/unwinding/libunwindstack/tests/
DDwarfSectionTest.cpp94 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
109 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
113 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
136 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_, ::testing::_)) in TEST_F()
140 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
157 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde0, ::testing::_, ::testing::_)) in TEST_F()
161 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
173 EXPECT_CALL(*section_, GetCfaLocationInfo(0x600, &fde1, ::testing::_, ::testing::_)) in TEST_F()
/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 …]

12345678910