Home
last modified time | relevance | path

Searched refs:BAD_VALUE (Results 1 – 25 of 240) sorted by relevance

12345678910

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraDeviceInfo.cpp98 return BAD_VALUE; in InitializeSensorDefaults()
113 return BAD_VALUE; in InitializeSensorDefaults()
124 return BAD_VALUE; in InitializeSensorDefaults()
134 return BAD_VALUE; in InitializeSensorDefaults()
143 return BAD_VALUE; in InitializeSensorDefaults()
152 return BAD_VALUE; in InitializeSensorDefaults()
179 return BAD_VALUE; in InitializeSensorDefaults()
187 return BAD_VALUE; in InitializeSensorDefaults()
193 return BAD_VALUE; in InitializeSensorDefaults()
199 return BAD_VALUE; in InitializeSensorDefaults()
[all …]
DEmulatedCameraProviderHWLImpl.cpp79 return BAD_VALUE; in GetTagFromName()
118 return BAD_VALUE; in GetTagFromName()
265 return BAD_VALUE; in GetConcurrentStreamingCameraIds()
292 return BAD_VALUE; in IsConcurrentStreamCombinationSupported()
364 return BAD_VALUE; in GetEnumValue()
383 return BAD_VALUE; in GetUInt8Value()
394 return BAD_VALUE; in GetUInt8Value()
404 return BAD_VALUE; in GetUInt8Value()
413 return BAD_VALUE; in GetInt32Value()
424 return BAD_VALUE; in GetInt32Value()
[all …]
DEmulatedCameraDeviceHWLImpl.cpp128 return BAD_VALUE; in GetCameraCharacteristics()
164 return BAD_VALUE; in GetPhysicalCameraCharacteristics()
176 return BAD_VALUE; in GetPhysicalCameraCharacteristics()
213 return BAD_VALUE; in TurnOnTorchWithStrengthLevel()
234 return BAD_VALUE; in ConstructDefaultRequestSettings()
240 return BAD_VALUE; in ConstructDefaultRequestSettings()
245 return BAD_VALUE; in ConstructDefaultRequestSettings()
262 return BAD_VALUE; in CreateCameraDeviceSessionHwl()
272 return BAD_VALUE; in CreateCameraDeviceSessionHwl()
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp61 EXPECT_EQ(BAD_VALUE, CoreUtils::audioInputFlagsFromHal(kInvalidInputFlags, &invalid)); in TEST()
65 EXPECT_EQ(BAD_VALUE, CoreUtils::audioInputFlagsToHal(invalid, &halInvalid)); in TEST()
102 EXPECT_EQ(BAD_VALUE, CoreUtils::audioOutputFlagsFromHal(kInvalidOutputFlags, &invalid)); in TEST()
106 EXPECT_EQ(BAD_VALUE, CoreUtils::audioOutputFlagsToHal(invalid, &halInvalid)); in TEST()
169 EXPECT_EQ(BAD_VALUE, CoreUtils::microphoneInfoFromHal(halInvalid, &invalid)); in TEST()
173 EXPECT_EQ(BAD_VALUE, CoreUtils::microphoneInfoToHal(oversizeDeviceId, &halInvalid)); in TEST()
176 EXPECT_EQ(BAD_VALUE, CoreUtils::microphoneInfoToHal(invalidDeviceType, &halInvalid)); in TEST()
179 EXPECT_EQ(BAD_VALUE, CoreUtils::microphoneInfoToHal(oversizeChannelMapping, &halInvalid)); in TEST()
183 EXPECT_EQ(BAD_VALUE, CoreUtils::microphoneInfoToHal(oversizeFrequencyResponses, &halInvalid)); in TEST()
224 EXPECT_EQ(BAD_VALUE, CoreUtils::sinkMetadataToHal(invalidSource, nullptr)); in TEST()
[all …]
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc46 case BAD_VALUE: in ConvertToAidlReturn()
73 return BAD_VALUE; in ConvertToAidlVendorTagType()
98 return BAD_VALUE; in ConvertToAidlVendorTagType()
109 return BAD_VALUE; in ConvertToAidlVendorTagSections()
137 return BAD_VALUE; in ConvertToAidlResourceCost()
158 return BAD_VALUE; in ConvertToHalTemplateType()
182 return BAD_VALUE; in ConvertToHalTemplateType()
193 return BAD_VALUE; in ConvertToAidlHalStreamConfig()
234 return BAD_VALUE; in WriteToResultMetadataQueue()
239 return BAD_VALUE; in WriteToResultMetadataQueue()
[all …]
Daidl_thermal_utils.cc44 return BAD_VALUE; in ConvertToAidlTemperatureType()
84 return BAD_VALUE; in ConvertToAidlTemperatureType()
95 return BAD_VALUE; in ConvertToHalTemperatureType()
136 return BAD_VALUE; in ConvertToHalTemperatureType()
147 return BAD_VALUE; in ConvertToHalThrottlingSeverity()
179 return BAD_VALUE; in ConvertToHalThrottlingSeverity()
190 return BAD_VALUE; in ConvertToHalTemperature()
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp57 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskFromHal(kInvalidHalChannelMask, in TEST()
59 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskFromHal(kInvalidHalChannelMask, in TEST()
62 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("", &halInvalid)); in TEST()
64 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("AUDIO_CHANNEL_INVALID", &halInvalid)); in TEST()
65 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMaskToHal("random string", &halInvalid)); in TEST()
128 EXPECT_EQ(BAD_VALUE, in TEST()
135 EXPECT_EQ(BAD_VALUE, HidlUtils::audioChannelMasksFromHal(invalidChannelMasks, &empty)); in TEST()
165 EXPECT_EQ(BAD_VALUE, HidlUtils::audioConfigBaseFromHal(halInvalidChannelMask, false /*isInput*/, in TEST()
167 EXPECT_EQ(BAD_VALUE, in TEST()
171 EXPECT_EQ(BAD_VALUE, in TEST()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAControl.cpp65 return BAD_VALUE; in get()
85 return BAD_VALUE; in set()
88 return (ret < 0) ? BAD_VALUE : NO_ERROR; in set()
105 return BAD_VALUE; in set()
108 return (ret < 0) ? BAD_VALUE : NO_ERROR; in set()
125 return BAD_VALUE; in setext()
128 return (ret < 0) ? BAD_VALUE : NO_ERROR; in setext()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.cpp51 return BAD_VALUE; in SupportsSessionHalBufManager()
64 return BAD_VALUE; in SupportsSessionHalBufManager()
75 return BAD_VALUE; in GetSensorCharacteristics()
83 return BAD_VALUE; in GetSensorCharacteristics()
104 return BAD_VALUE; in GetSensorCharacteristics()
132 return BAD_VALUE; in GetSensorCharacteristics()
147 return BAD_VALUE; in GetSensorCharacteristics()
179 return BAD_VALUE; in GetSensorCharacteristics()
225 return BAD_VALUE; in GetSensorCharacteristics()
233 return BAD_VALUE; in GetSensorCharacteristics()
[all …]
/hardware/google/camera/common/hal/tests/
Dmock_device_hwl.h43 return BAD_VALUE; in GetResourceCost()
53 return BAD_VALUE; in GetCameraCharacteristics()
77 return BAD_VALUE; in GetPhysicalCameraCharacteristics()
83 return BAD_VALUE; in GetPhysicalCameraCharacteristics()
98 return BAD_VALUE; in TurnOnTorchWithStrengthLevel()
119 return BAD_VALUE; in DumpState()
131 return BAD_VALUE; in CreateCameraDeviceSessionHwl()
Dmock_provider_hwl.h40 return BAD_VALUE; in SetCallback()
57 return BAD_VALUE; in GetVendorTags()
66 return BAD_VALUE; in GetVisibleCameraIds()
86 return BAD_VALUE; in IsConcurrentStreamCombinationSupported()
108 return BAD_VALUE; in CreateBufferAllocatorHwl()
Dmock_device_session_hwl.cc39 return BAD_VALUE; in ConstructDefaultRequestSettings()
65 return BAD_VALUE; in ConfigurePipeline()
73 return BAD_VALUE; in ConfigurePipeline()
127 return BAD_VALUE; in GetRequiredIntputStreams()
130 return BAD_VALUE; in GetRequiredIntputStreams()
147 return BAD_VALUE; in GetConfiguredHalStream()
178 return BAD_VALUE; in SubmitRequests()
220 return BAD_VALUE; in GetCameraCharacteristics()
237 return BAD_VALUE; in GetPhysicalCameraCharacteristics()
275 return BAD_VALUE; in IsReconfigurationRequired()
/hardware/google/camera/common/hal/utils/
Dinternal_stream_manager.cc96 return BAD_VALUE; in RegisterNewInternalStream()
121 return BAD_VALUE; in GetBufferDescriptor()
127 return BAD_VALUE; in GetBufferDescriptor()
217 return BAD_VALUE; in CanHalStreamsShareBuffersLocked()
260 return BAD_VALUE; in AllocateSharedBuffers()
270 return BAD_VALUE; in AllocateSharedBuffers()
275 return BAD_VALUE; in AllocateSharedBuffers()
284 return BAD_VALUE; in AllocateSharedBuffers()
317 return BAD_VALUE; in RemoveOwnerStreamIdLocked()
389 return BAD_VALUE; in GetStreamBuffer()
[all …]
Dcamera_id_manager.cc79 return BAD_VALUE; in Initialize()
102 return BAD_VALUE; in ValidateInput()
117 return BAD_VALUE; in ValidateInput()
131 return BAD_VALUE; in ValidateInput()
147 return BAD_VALUE; in ValidateMappedIds()
206 return BAD_VALUE; in GetPublicCameraId()
222 return BAD_VALUE; in GetInternalCameraId()
226 return BAD_VALUE; in GetInternalCameraId()
Dpipeline_request_id_manager.cc52 return BAD_VALUE; in SetPipelineRequestId()
92 return BAD_VALUE; in GetPipelineRequestId()
97 return BAD_VALUE; in GetPipelineRequestId()
103 return BAD_VALUE; in GetPipelineRequestId()
113 return BAD_VALUE; in GetPipelineRequestId()
Dvendor_tag_utils.cc38 return BAD_VALUE; in CombineVendorTags()
63 return BAD_VALUE; in CombineVendorTags()
73 return BAD_VALUE; in CombineVendorTags()
233 return BAD_VALUE; in GetTagInfo()
239 return BAD_VALUE; in GetTagInfo()
250 return BAD_VALUE; in GetTag()
259 return BAD_VALUE; in GetTag()
Dmulticam_realtime_process_block.cc90 return BAD_VALUE; in SetResultProcessor()
108 return BAD_VALUE; in GetCameraStreamConfigurationMap()
116 return BAD_VALUE; in GetCameraStreamConfigurationMap()
186 return BAD_VALUE; in GetConfiguredHalStreams()
216 return BAD_VALUE; in GetBufferPhysicalCameraIdLocked()
223 return BAD_VALUE; in GetBufferPhysicalCameraIdLocked()
229 return BAD_VALUE; in GetBufferPhysicalCameraIdLocked()
240 return BAD_VALUE; in GetOutputBufferPipelineIdLocked()
255 return BAD_VALUE; in GetOutputBufferPipelineIdLocked()
349 return BAD_VALUE; in ProcessRequests()
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp54 return BAD_VALUE; in audioIndexChannelMaskFromHal()
65 return BAD_VALUE; in audioInputChannelMaskFromHal()
76 return BAD_VALUE; in audioOutputChannelMaskFromHal()
94 return BAD_VALUE; in audioChannelMaskFromHal()
116 return halChannelMasks.size() == channelMasks->size() ? NO_ERROR : BAD_VALUE; in audioChannelMasksFromHal()
127 return BAD_VALUE; in audioChannelMaskToHal()
212 return BAD_VALUE; in audioContentTypeFromHal()
223 return BAD_VALUE; in audioContentTypeToHal()
233 return BAD_VALUE; in audioDeviceTypeFromHal()
242 return BAD_VALUE; in audioDeviceTypeToHal()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/util/tests/
Deffectutils_tests.cpp79 EXPECT_EQ(BAD_VALUE, EffectUtils::effectBufferConfigToHal(invalidChannelMask, &halInvalid)); in TEST()
82 EXPECT_EQ(BAD_VALUE, EffectUtils::effectBufferConfigToHal(invalidFormat, &halInvalid)); in TEST()
88 EXPECT_EQ(BAD_VALUE, EffectUtils::effectBufferConfigFromHal(halInvalidChannelMask, in TEST()
90 EXPECT_EQ(BAD_VALUE, EffectUtils::effectBufferConfigFromHal(halInvalidChannelMask, in TEST()
95 EXPECT_EQ(BAD_VALUE, EffectUtils::effectBufferConfigFromHal(halInvalidFormat, false /*isInput*/, in TEST()
97 EXPECT_EQ(BAD_VALUE, in TEST()
141 EXPECT_EQ(BAD_VALUE, EffectUtils::effectDescriptorToHal(longName, &halDesc)); in TEST()
144 EXPECT_EQ(BAD_VALUE, EffectUtils::effectDescriptorToHal(longImplementor, &halDesc)); in TEST()
/hardware/google/easel/amber/camera/libhdrplusclient/
DHdrPlusClientUtils.cpp40 return BAD_VALUE; in getRgb()
65 return BAD_VALUE; in getRgb()
76 return BAD_VALUE; in getRgb()
85 return BAD_VALUE; in writePpm()
124 return BAD_VALUE; in comparePpm()
139 return BAD_VALUE; in comparePpm()
153 return BAD_VALUE; in comparePpm()
159 return BAD_VALUE; in comparePpm()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp132 return Error::BAD_VALUE; in grallocErrorToMapperError()
192 return Error::BAD_VALUE; in lockBuffer()
373 return Error::BAD_VALUE; in validateBufferSize()
386 return Error::BAD_VALUE; in validateBufferSize()
394 return Error::BAD_VALUE; in validateBufferSize()
402 return Error::BAD_VALUE; in validateBufferSize()
409 return Error::BAD_VALUE; in validateBufferSize()
419 return Error::BAD_VALUE; in validateBufferSize()
426 return Error::BAD_VALUE; in validateBufferSize()
433 return Error::BAD_VALUE; in validateBufferSize()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp118 ASSERT_EQ(Error::BAD_VALUE, ret) in TEST_P()
124 ASSERT_EQ(Error::BAD_VALUE, ret) in TEST_P()
130 ASSERT_EQ(Error::BAD_VALUE, ret) in TEST_P()
136 ASSERT_EQ(Error::BAD_VALUE, ret) in TEST_P()
141 ASSERT_EQ(Error::BAD_VALUE, ret) in TEST_P()
203 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P()
/hardware/interfaces/cas/1.2/default/
DDescramblerImpl.cpp98 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
108 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
115 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
132 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
150 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp98 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
108 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
115 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
132 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
150 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
/hardware/interfaces/cas/aidl/default/
DDescramblerImpl.cpp95 return toStatus(BAD_VALUE); in descramble()
105 return toStatus(BAD_VALUE); in descramble()
113 return toStatus(BAD_VALUE); in descramble()
132 return toStatus(BAD_VALUE); in descramble()
151 return toStatus(BAD_VALUE); in descramble()

12345678910