Home
last modified time | relevance | path

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

12345

/hardware/libhardware/tests/input/evdev/
DMouseInputMapper_test.cpp27 using ::testing::_;
55 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_X, _, _, _)); in TEST_F()
56 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_Y, _, _, _)); in TEST_F()
57 EXPECT_CALL(reportDef, declareUsages(id, _, 3)) in TEST_F()
71 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(0); in TEST_F()
72 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0); in TEST_F()
84 EXPECT_CALL(reportDef, addCollection(_, _)); in TEST_F()
85 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(2); in TEST_F()
86 EXPECT_CALL(reportDef, declareUsages(_, _, 3)); in TEST_F()
100 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
[all …]
DSwitchInputMapper_test.cpp27 using ::testing::_;
53 EXPECT_CALL(reportDef, declareUsages(INPUT_COLLECTION_ID_SWITCH, _, 2)) in TEST_F()
64 EXPECT_CALL(reportDef, addCollection(_, _)).Times(0); in TEST_F()
65 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0); in TEST_F()
75 EXPECT_CALL(reportDef, addCollection(_, _)); in TEST_F()
76 EXPECT_CALL(reportDef, declareUsages(_, _, _)); in TEST_F()
88 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
90 EXPECT_CALL(report, reportEvent(_)); in TEST_F()
DInputDevice_test.cpp35 using ::testing::_;
47 EXPECT_CALL(mHost, createDeviceIdentifier(_, _, _, _, _)) in SetUp()
57 ON_CALL(mHost, registerDevice(_, _)) in SetUp()
119 EXPECT_CALL(mHost, freeReportDefinition(_)); in TEST_F()
120 EXPECT_CALL(mHost, registerDevice(_, _)); in TEST_F()
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp97 using ::testing::_;
112 EXPECT_CALL(*mock, SetProperty(_, _)).Times(AnyNumber()); in SetUp()
113 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp()
114 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
115 EXPECT_CALL(*mock, GetBoolProperty(_, _)).Times(AnyNumber()); in SetUp()
116 EXPECT_CALL(*mock, WriteStringToFile(_, _, _)).Times(AnyNumber()); in SetUp()
118 ON_CALL(*mock, ReadFileToString(_, _, _)) in SetUp()
121 ON_CALL(*mock, WriteStringToFile(_, _, _)).WillByDefault(Return(true)); in SetUp()
146 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
147 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillByDefault(Return(100)); in enableDefender()
[all …]
/hardware/google/camera/common/hal/tests/
Dprocess_block_tests.cc29 using ::testing::_;
175 EXPECT_CALL(*session_hwl_, ConfigurePipeline(_, _, _, _, _)).Times(1); in TEST_F()
176 EXPECT_CALL(*session_hwl_, GetConfiguredHalStream(_, _)) in TEST_F()
178 EXPECT_CALL(*session_hwl_, SubmitRequests(_, _)).Times(1); in TEST_F()
184 EXPECT_CALL(*result_processor, AddPendingRequests(_, _)).Times(1); in TEST_F()
185 EXPECT_CALL(*result_processor, ProcessResult(_)).Times(1); in TEST_F()
186 EXPECT_CALL(*result_processor, Notify(_)).Times(1); in TEST_F()
215 EXPECT_CALL(*session_hwl_, ConfigurePipeline(_, _, _, _, _)) in TEST_F()
217 EXPECT_CALL(*session_hwl_, GetConfiguredHalStream(_, _)).Times(num_streams); in TEST_F()
218 EXPECT_CALL(*session_hwl_, SubmitRequests(_, _)).Times(1); in TEST_F()
[all …]
Dmock_device_session_hwl.cc28 using ::testing::_;
298 ON_CALL(*this, ConstructDefaultRequestSettings(_, _)) in DelegateCallsToFakeSession()
303 ON_CALL(*this, ConfigurePipeline(_, _, _, _, _)) in DelegateCallsToFakeSession()
311 ON_CALL(*this, PreparePipeline(_, _)) in DelegateCallsToFakeSession()
315 ON_CALL(*this, GetRequiredIntputStreams(_, _, _)) in DelegateCallsToFakeSession()
320 ON_CALL(*this, GetConfiguredHalStream(_, _)) in DelegateCallsToFakeSession()
329 ON_CALL(*this, SubmitRequests(_, _)) in DelegateCallsToFakeSession()
345 ON_CALL(*this, GetCameraCharacteristics(_)) in DelegateCallsToFakeSession()
350 ON_CALL(*this, GetPhysicalCameraCharacteristics(_, _)) in DelegateCallsToFakeSession()
Dcamera_device_session_tests.cc32 using ::testing::_;
62 /*type=*/_, /*default_settings=*/nullptr)) in TestInvalidDefaultRequestSettingsForType()
80 /*type=*/_, /*default_settings=*/_)) in TestDefaultRequestSettingsForType()
276 EXPECT_CALL(*session_hwl, ConfigurePipeline(/*camera_id=*/_, in TEST_F()
277 /*hwl_pipeline_callback=*/_, in TEST_F()
278 /*request_config=*/_, in TEST_F()
279 /*overall_config=*/_, in TEST_F()
280 /*pipeline_id=*/_)) in TEST_F()
314 EXPECT_CALL(*session_hwl, ConfigurePipeline(_, _, _, _, _)).Times(1); in TEST_F()
315 EXPECT_CALL(*session_hwl, SubmitRequests(_, _)).Times(kNumPreviewRequests); in TEST_F()
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp31 using ::testing::_;
136 ON_CALL(*mMockApi, setOlLraPeriod(_)).WillByDefault(Return(true)); in createMock()
137 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock()
138 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
139 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
140 ON_CALL(*mMockApi, setCtrlLoop(_)).WillByDefault(Return(true)); in createMock()
141 ON_CALL(*mMockApi, setLraWaveShape(_)).WillByDefault(Return(true)); in createMock()
142 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock()
145 ON_CALL(*mMockCal, getLraPeriod(_)) in createMock()
147 ON_CALL(*mMockCal, getCloseLoopThreshold(_)) in createMock()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_test.cpp32 using testing::_;
83 EXPECT_CALL(*component1_, PopulateStaticFields(_)).WillOnce(Return(0)); in TEST_F()
84 EXPECT_CALL(*component2_, PopulateStaticFields(_)).WillOnce(Return(0)); in TEST_F()
134 EXPECT_CALL(*component1_, PopulateStaticFields(_)) in TEST_F()
137 EXPECT_CALL(*component2_, PopulateStaticFields(_)).WillOnce(Return(err)); in TEST_F()
171 EXPECT_CALL(*component1_, SupportsRequestValues(_)).WillOnce(Return(true)); in TEST_F()
172 EXPECT_CALL(*component2_, SupportsRequestValues(_)).WillOnce(Return(true)); in TEST_F()
184 EXPECT_CALL(*component1_, SupportsRequestValues(_)) in TEST_F()
187 EXPECT_CALL(*component2_, SupportsRequestValues(_)).WillOnce(Return(false)); in TEST_F()
200 EXPECT_CALL(*component1_, SupportsRequestValues(_)).Times(0); in TEST_F()
[all …]
Dv4l2_control_delegate_test.cpp27 using testing::_;
49 EXPECT_CALL(*mock_device_, GetControl(control_id_, _)) in TEST_F()
51 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(device_result, _)) in TEST_F()
61 EXPECT_CALL(*mock_device_, GetControl(control_id_, _)) in TEST_F()
64 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(device_result, _)) in TEST_F()
73 EXPECT_CALL(*mock_device_, GetControl(control_id_, _)).WillOnce(Return(err)); in TEST_F()
82 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)) in TEST_F()
84 EXPECT_CALL(*mock_device_, SetControl(control_id_, conversion_result, _)) in TEST_F()
93 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)).WillOnce(Return(err)); in TEST_F()
100 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)) in TEST_F()
[all …]
Dpartial_metadata_factory_test.cpp33 using testing::_;
158 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)).WillOnce(Return(-1)); in TEST_F()
174 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
193 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
216 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
240 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
265 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
270 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(kv.first, _)) in TEST_F()
275 EXPECT_CALL(*mock_converter_, V4L2ToMetadata(7, _)).WillOnce(Return(-EINVAL)); in TEST_F()
299 EXPECT_CALL(*mock_device_, QueryControl(control_id, _)) in TEST_F()
[all …]
Dslider_control_options_test.cpp29 using testing::_;
66 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
82 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
98 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
111 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
Dmenu_control_options_test.cpp29 using testing::_;
63 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
76 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
91 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
Dmap_converter_test.cpp27 using testing::_;
40 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)) in ExpectConvertToV4L2()
88 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)).WillOnce(Return(err)); in TEST_F()
97 EXPECT_CALL(*converter_, V4L2ToMetadata(kv->first, _)) in TEST_F()
Dranged_converter_test.cpp27 using testing::_;
41 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)) in ExpectConvert()
80 EXPECT_CALL(*converter_, MetadataToV4L2(initial, _)).WillOnce(Return(err)); in TEST_F()
Dtagged_control_delegate_test.cpp27 using testing::_;
59 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
69 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
Dcontrol_test.cpp33 using testing::_;
151 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
161 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
171 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
179 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
192 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
204 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
217 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
231 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
243 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
[all …]
Dstate_test.cpp32 using testing::_;
75 EXPECT_CALL(*mock_delegate_, GetValue(_)) in TEST_F()
88 EXPECT_CALL(*mock_delegate_, GetValue(_)).WillOnce(Return(err)); in TEST_F()
Dtagged_control_options_test.cpp27 using testing::_;
84 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_id, _)) in TEST_F()
95 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_id, _)) in TEST_F()
/hardware/libhardware/modules/camera/3_4/
Dstatic_properties_test.cpp31 using testing::_;
54 EXPECT_CALL(*mock_reader_, Facing(_)) in SetDefaultExpectations()
57 EXPECT_CALL(*mock_reader_, Orientation(_)) in SetDefaultExpectations()
60 EXPECT_CALL(*mock_reader_, MaxInputStreams(_)) in SetDefaultExpectations()
63 EXPECT_CALL(*mock_reader_, MaxOutputStreams(_, _, _)) in SetDefaultExpectations()
69 EXPECT_CALL(*mock_reader_, RequestCapabilities(_)) in SetDefaultExpectations()
73 EXPECT_CALL(*mock_reader_, StreamConfigurations(_)) in SetDefaultExpectations()
76 EXPECT_CALL(*mock_reader_, StreamStallDurations(_)) in SetDefaultExpectations()
79 EXPECT_CALL(*mock_reader_, ReprocessFormats(_)) in SetDefaultExpectations()
212 EXPECT_CALL(*mock_reader_, Facing(_)).WillOnce(Return(99)); in TEST_F()
[all …]
Dformat_metadata_factory_test.cpp31 using testing::_;
78 EXPECT_CALL(*mock_device_, GetFormats(_)) in TEST_F()
81 EXPECT_CALL(*mock_device_, GetQualifiedFormats(_)) in TEST_F()
86 EXPECT_CALL(*mock_device_, GetFormatFrameSizes(format, _)) in TEST_F()
90 EXPECT_CALL(*mock_device_, GetFormatFrameDurationRange(format, size, _)) in TEST_F()
139 EXPECT_CALL(*mock_device_, GetFormats(_)) in TEST_F()
145 EXPECT_CALL(*mock_device_, GetQualifiedFormats(_)) in TEST_F()
150 EXPECT_CALL(*mock_device_, GetFormatFrameSizes(format, _)) in TEST_F()
154 EXPECT_CALL(*mock_device_, GetFormatFrameDurationRange(format, size, _)) in TEST_F()
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp34 using ::testing::_;
168 ON_CALL(*mMockApi, getEffectCount(_)) in createMock()
171 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock()
174 ON_CALL(*mMockApi, getEffectDuration(_)) in createMock()
179 ON_CALL(*mMockCal, getVolLevels(_)) in createMock()
225 EXPECT_CALL(*mMockApi, setF0(_)).Times(times); in relaxMock()
226 EXPECT_CALL(*mMockApi, setRedc(_)).Times(times); in relaxMock()
227 EXPECT_CALL(*mMockApi, setQ(_)).Times(times); in relaxMock()
228 EXPECT_CALL(*mMockApi, setActivate(_)).Times(times); in relaxMock()
229 EXPECT_CALL(*mMockApi, setDuration(_)).Times(times); in relaxMock()
[all …]
/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp105 for (auto _ : state) {
111 for (auto _ : state) {
119 for (auto _ : state) {
125 for (auto _ : state) {
131 for (auto _ : state) {
139 for (auto _ : state) {
178 for (auto _ : state) {
/hardware/interfaces/wifi/1.4/default/tests/
Dwifi_iface_util_unit_tests.cpp67 EXPECT_CALL(*iface_tool_, SetMacAddress(testing::_, testing::_)) in TEST_F()
69 EXPECT_CALL(*iface_tool_, SetUpState(testing::_, testing::_)) in TEST_F()
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp29 using ::testing::_;
705 EXPECT_CALL(mpc, itemEnd(_, _, _, _)).Times(0); in TEST()
706 EXPECT_CALL(mpc, error(_, _)).Times(0); in TEST()
721 EXPECT_CALL(mpc, itemEnd(_, _, _, _)).Times(0); in TEST()
722 EXPECT_CALL(mpc, error(_, _)).Times(0); in TEST()
736 EXPECT_CALL(mpc, itemEnd(_, _, _, _)).Times(0); in TEST()
737 EXPECT_CALL(mpc, error(_, _)).Times(0); in TEST()
751 EXPECT_CALL(mpc, itemEnd(_, _, _, _)).Times(0); in TEST()
752 EXPECT_CALL(mpc, error(_, _)).Times(0); in TEST()
766 EXPECT_CALL(mpc, itemEnd(_, _, _, _)).Times(0); in TEST()
[all …]

12345