Home
last modified time | relevance | path

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

12345

/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp37 using ::testing::_;
49 EXPECT_CALL(*mockPreparedModel, execute(_, _)).Times(0); in createMockPreparedModel()
50 EXPECT_CALL(*mockPreparedModel, execute_1_2(_, _, _)).Times(0); in createMockPreparedModel()
51 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)).Times(0); in createMockPreparedModel()
180 EXPECT_CALL(*mockPreparedModel, executeSynchronously_1_3(_, _, _, _, _)) in TEST()
197 EXPECT_CALL(*mockPreparedModel, executeSynchronously_1_3(_, _, _, _, _)) in TEST()
215 EXPECT_CALL(*mockPreparedModel, executeSynchronously_1_3(_, _, _, _, _)) in TEST()
232 EXPECT_CALL(*mockPreparedModel, executeSynchronously_1_3(_, _, _, _, _)) in TEST()
249 EXPECT_CALL(*mockPreparedModel, execute_1_3(_, _, _, _, _)) in TEST()
267 EXPECT_CALL(*mockPreparedModel, execute_1_3(_, _, _, _, _)) in TEST()
[all …]
DDeviceTest.cpp36 using ::testing::_;
86 ON_CALL(*mockDevice, getVersionString(_)).WillByDefault(Invoke(getVersionString_ret)); in createMockDevice()
87 ON_CALL(*mockDevice, getType(_)).WillByDefault(Invoke(getType_ret)); in createMockDevice()
88 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
90 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice()
92 ON_CALL(*mockDevice, getCapabilities_1_3(_)).WillByDefault(Invoke(getCapabilities_ret)); in createMockDevice()
95 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in createMockDevice()
96 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)).Times(0); in createMockDevice()
97 EXPECT_CALL(*mockDevice, getCapabilities_1_2(_)).Times(0); in createMockDevice()
98 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(0); in createMockDevice()
[all …]
DBufferTest.cpp34 using ::testing::_;
96 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeSuccessful)); in TEST()
109 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralError)); in TEST()
123 EXPECT_CALL(*mockBuffer, copyTo(_)) in TEST()
139 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeDeadObjectFailure)); in TEST()
153 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeSuccessful)); in TEST()
166 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralError)); in TEST()
180 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
196 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp36 using ::testing::_;
89 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
106 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
122 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
138 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
155 EXPECT_CALL(*mockCallback, getExecutionInfo(_, _, _)) in TEST()
159 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _, _)) in TEST()
184 EXPECT_CALL(*mockCallback, getExecutionInfo(_, _, _)) in TEST()
189 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _, _)) in TEST()
213 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _, _)) in TEST()
[all …]
DDeviceTest.cpp39 using ::testing::_;
70 ON_CALL(*mockDevice, getVersionString(_)) in createMockDevice()
72 ON_CALL(*mockDevice, getType(_)) in createMockDevice()
75 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
78 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice()
81 ON_CALL(*mockDevice, getCapabilities(_)) in createMockDevice()
93 EXPECT_CALL(*mockDevice, getVersionString(_)).Times(testing::AnyNumber()); in createMockDevice()
94 EXPECT_CALL(*mockDevice, getType(_)).Times(testing::AnyNumber()); in createMockDevice()
95 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(testing::AnyNumber()); in createMockDevice()
96 EXPECT_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)).Times(testing::AnyNumber()); in createMockDevice()
[all …]
DBufferTest.cpp36 using ::testing::_;
98 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
111 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralFailure)); in TEST()
125 EXPECT_CALL(*mockBuffer, copyTo(_)) in TEST()
141 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeDeadObjectFailure)); in TEST()
155 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
168 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
184 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
200 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
/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 …]
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/interfaces/neuralnetworks/utils/common/test/
DResilientPreparedModelTest.cpp27 using ::testing::_;
107 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)) in TEST()
122 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
135 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
150 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
152 EXPECT_CALL(*recoveredMockPreparedModel, execute(_, _, _, _)) in TEST()
170 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
185 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
200 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
216 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
[all …]
DResilientDeviceTest.cpp30 using ::testing::_;
252 EXPECT_CALL(*mockDevice, getSupportedOperations(_)) in TEST()
267 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
280 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
294 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
296 EXPECT_CALL(*recoveredMockDevice, getSupportedOperations(_)) in TEST()
313 EXPECT_CALL(*mockDevice, prepareModel(_, _, _, _, _, _, _)) in TEST()
328 EXPECT_CALL(*mockDevice, prepareModel(_, _, _, _, _, _, _)) in TEST()
343 EXPECT_CALL(*mockDevice, prepareModel(_, _, _, _, _, _, _)) in TEST()
359 EXPECT_CALL(*mockDevice, prepareModel(_, _, _, _, _, _, _)) in TEST()
[all …]
DResilientExecution.cpp27 using ::testing::_;
103 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(Return(kNoExecutionError)); in TEST()
116 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
129 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
143 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
145 EXPECT_CALL(*recoveredMockExecution, compute(_)).Times(1).WillOnce(Return(kNoExecutionError)); in TEST()
159 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)) in TEST()
174 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
187 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
201 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
[all …]
DResilientBufferTest.cpp30 using ::testing::_;
115 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(Return(kNoError)); in TEST()
129 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
143 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
158 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
160 EXPECT_CALL(*recoveredMockBuffer, copyTo(_)).Times(1).WillOnce(Return(kNoError)); in TEST()
175 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(Return(kNoError)); in TEST()
189 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
203 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
218 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
[all …]
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp99 using ::testing::_;
140 EXPECT_CALL(*mock, SetProperty(_, _)).Times(AnyNumber()); in SetUp()
141 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp()
142 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
143 EXPECT_CALL(*mock, GetBoolProperty(_, _)).Times(AnyNumber()); in SetUp()
144 EXPECT_CALL(*mock, WriteStringToFile(_, _, _)).Times(AnyNumber()); in SetUp()
146 ON_CALL(*mock, ReadFileToString(_, _, _)) in SetUp()
149 ON_CALL(*mock, WriteStringToFile(_, _, _)).WillByDefault(Return(true)); in SetUp()
160 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
161 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillByDefault(Return(100)); in enableDefender()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp35 using ::testing::_;
83 ON_CALL(*mockDevice, getVersionString(_)).WillByDefault(Invoke(getVersionString_ret)); in createMockDevice()
84 ON_CALL(*mockDevice, getType(_)).WillByDefault(Invoke(getType_ret)); in createMockDevice()
85 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
87 ON_CALL(*mockDevice, getNumberOfCacheFilesNeeded(_)) in createMockDevice()
89 ON_CALL(*mockDevice, getCapabilities_1_2(_)).WillByDefault(Invoke(getCapabilities_ret)); in createMockDevice()
92 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in createMockDevice()
93 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)).Times(0); in createMockDevice()
94 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(0); in createMockDevice()
95 EXPECT_CALL(*mockDevice, getSupportedOperations_1_1(_, _)).Times(0); in createMockDevice()
[all …]
DPreparedModelTest.cpp36 using ::testing::_;
48 EXPECT_CALL(*mockPreparedModel, execute(_, _)).Times(0); in createMockPreparedModel()
152 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
169 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
187 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
204 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
221 EXPECT_CALL(*mockPreparedModel, execute_1_2(_, _, _)) in TEST()
239 EXPECT_CALL(*mockPreparedModel, execute_1_2(_, _, _)) in TEST()
258 EXPECT_CALL(*mockPreparedModel, execute_1_2(_, _, _)) in TEST()
276 EXPECT_CALL(*mockPreparedModel, execute_1_2(_, _, _)) in TEST()
[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.cc27 using ::testing::_;
303 ON_CALL(*this, ConstructDefaultRequestSettings(_, _)) in DelegateCallsToFakeSession()
308 ON_CALL(*this, ConfigurePipeline(_, _, _, _, _)) in DelegateCallsToFakeSession()
316 ON_CALL(*this, PreparePipeline(_, _)) in DelegateCallsToFakeSession()
320 ON_CALL(*this, GetRequiredIntputStreams(_, _, _)) in DelegateCallsToFakeSession()
325 ON_CALL(*this, GetConfiguredHalStream(_, _)) in DelegateCallsToFakeSession()
334 ON_CALL(*this, SubmitRequests(_, _)) in DelegateCallsToFakeSession()
350 ON_CALL(*this, GetCameraCharacteristics(_)) in DelegateCallsToFakeSession()
355 ON_CALL(*this, GetPhysicalCameraCharacteristics(_, _)) in DelegateCallsToFakeSession()
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp31 using ::testing::_;
137 ON_CALL(*mMockApi, setOlLraPeriod(_)).WillByDefault(Return(true)); in createMock()
138 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock()
139 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
140 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
141 ON_CALL(*mMockApi, setCtrlLoop(_)).WillByDefault(Return(true)); in createMock()
142 ON_CALL(*mMockApi, setLraWaveShape(_)).WillByDefault(Return(true)); in createMock()
143 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock()
146 ON_CALL(*mMockCal, getLraPeriod(_)) in createMock()
148 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 …]
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DDeviceTest.cpp35 using ::testing::_;
78 ON_CALL(*mockDevice, getCapabilities_1_1(_)).WillByDefault(Invoke(getCapabilities_ret)); in createMockDevice()
81 EXPECT_CALL(*mockDevice, getCapabilities(_)).Times(0); in createMockDevice()
82 EXPECT_CALL(*mockDevice, getSupportedOperations(_, _)).Times(0); in createMockDevice()
83 EXPECT_CALL(*mockDevice, prepareModel(_, _)).Times(0); in createMockDevice()
87 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)).Times(testing::AnyNumber()); in createMockDevice()
141 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)).Times(1).WillOnce(Invoke(ret)); in TEST()
154 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)) in TEST()
169 EXPECT_CALL(*mockDevice, getCapabilities_1_1(_)) in TEST()
318 EXPECT_CALL(*mockDevice, getSupportedOperations_1_1(_, _)).Times(1).WillOnce(Invoke(ret)); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DPreparedModelTest.cpp34 using ::testing::_;
119 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
135 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
152 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
169 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
185 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
205 EXPECT_CALL(*mockPreparedModel, execute(_, _)).Times(1).WillOnce(InvokeWithoutArgs(ret)); in TEST()
233 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
255 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
276 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
[all …]
/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 …]
/hardware/interfaces/vibrator/bench/
Dbenchmark.cpp124 for (auto _ : *state) { in performBench()
160 for (auto _ : state) {
171 for (auto _ : state) {
180 for (auto _ : state) {
194 for (auto _ : state) {
221 for (auto _ : state) {
233 for (auto _ : state) {
248 for (auto _ : state) {
268 for (auto _ : state) {
302 for (auto _ : state) {
[all …]

12345