Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/base/native/android/
Dsensor.cpp77 RETURN_IF_MANAGER_IS_NULL(android::BAD_VALUE); in ASensorManager_getSensorList()
87 RETURN_IF_MANAGER_IS_NULL(android::BAD_VALUE); in ASensorManager_getDynamicSensorList()
135 RETURN_IF_MANAGER_IS_NULL(android::BAD_VALUE); in ASensorManager_destroyEventQueue()
136 RETURN_IF_QUEUE_IS_NULL(android::BAD_VALUE); in ASensorManager_destroyEventQueue()
145 RETURN_IF_MANAGER_IS_NULL(android::BAD_VALUE); in ASensorManager_createSharedMemoryDirectChannel()
149 return android::BAD_VALUE; in ASensorManager_createSharedMemoryDirectChannel()
154 return android::BAD_VALUE; in ASensorManager_createSharedMemoryDirectChannel()
171 RETURN_IF_MANAGER_IS_NULL(android::BAD_VALUE); in ASensorManager_createHardwareBufferDirectChannel()
175 return android::BAD_VALUE; in ASensorManager_createHardwareBufferDirectChannel()
180 return android::BAD_VALUE; in ASensorManager_createHardwareBufferDirectChannel()
[all …]
/frameworks/av/media/libmediahelper/
DAudioValidator.cpp41 status = BAD_VALUE; in validateAudioAttributes()
51 status = BAD_VALUE; in validateEffectDescriptor()
62 status = BAD_VALUE; in validateAudioPortConfig()
74 status = BAD_VALUE;
77 status = BAD_VALUE;
81 status = BAD_VALUE;
106 status = BAD_VALUE; in validateAudioPatch()
109 status = BAD_VALUE; in validateAudioPatch()
113 status = BAD_VALUE; in validateAudioPatch()
118 status = BAD_VALUE; in validateAudioPatch()
[all …]
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp108 return BAD_VALUE; in writeData()
175 return BAD_VALUE; in validateAndSetStripTags()
181 return BAD_VALUE; in validateAndSetStripTags()
187 return BAD_VALUE; in validateAndSetStripTags()
193 return BAD_VALUE; in validateAndSetStripTags()
204 return BAD_VALUE; in validateAndSetStripTags()
222 return BAD_VALUE; in validateAndSetStripTags()
239 return BAD_VALUE; in validateAndSetStripTags()
258 return BAD_VALUE; in validateAndSetStripTags()
270 return BAD_VALUE; in validateAndSetStripTags()
[all …]
DTiffWriter.cpp66 return BAD_VALUE; in write()
78 return BAD_VALUE; in write()
90 return BAD_VALUE; in write()
124 return BAD_VALUE; in write()
138 return BAD_VALUE; in write()
211 return BAD_VALUE; in addStrip()
221 return BAD_VALUE; in addIfd()
234 return BAD_VALUE; in addIfd()
244 return BAD_VALUE; in addSubIfd()
250 return BAD_VALUE; in addSubIfd()
[all …]
DFileOutput.cpp41 return BAD_VALUE; in open()
50 return BAD_VALUE; in write()
58 return BAD_VALUE; in write()
72 ret = BAD_VALUE; in close()
DFileInput.cpp42 return BAD_VALUE; in open()
51 return BAD_VALUE; in read()
58 return BAD_VALUE; in read()
78 ret = BAD_VALUE; in close()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp182 return BAD_VALUE; in getLockedImageInfo()
187 return BAD_VALUE; in getLockedImageInfo()
192 return BAD_VALUE; in getLockedImageInfo()
197 return BAD_VALUE; in getLockedImageInfo()
223 return BAD_VALUE; in getLockedImageInfo()
228 return BAD_VALUE; in getLockedImageInfo()
233 return BAD_VALUE; in getLockedImageInfo()
238 return BAD_VALUE; in getLockedImageInfo()
262 return BAD_VALUE; in getLockedImageInfo()
267 return BAD_VALUE; in getLockedImageInfo()
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp105 return BAD_VALUE; in closeSession()
128 return BAD_VALUE; in getKeyRequest()
160 return BAD_VALUE; in getKeyRequest()
168 return BAD_VALUE; in getKeyRequest()
176 return BAD_VALUE; in getKeyRequest()
195 return BAD_VALUE; in provideKeyResponse()
198 return BAD_VALUE; in provideKeyResponse()
225 return BAD_VALUE; in removeKeys()
242 return BAD_VALUE; in restoreKeys()
248 return BAD_VALUE; in restoreKeys()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h67 return android::BAD_VALUE; in removeKeys()
77 return android::BAD_VALUE; in restoreKeys()
106 return android::BAD_VALUE; in provideProvisionResponse()
118 return android::BAD_VALUE; in getSecureStop()
127 return android::BAD_VALUE; in releaseSecureStops()
180 return android::BAD_VALUE; in setCipherAlgorithm()
188 return android::BAD_VALUE; in setMacAlgorithm()
201 return android::BAD_VALUE; in encrypt()
215 return android::BAD_VALUE; in decrypt()
228 return android::BAD_VALUE; in sign()
[all …]
/frameworks/av/media/libaudioclient/
DPolicyAidlConversion.cpp38 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixType_uint32_t()
49 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixType()
58 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixCallbackFlag_uint32_t()
67 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixCallbackFlag()
96 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixRouteFlag_uint32_t()
107 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixRouteFlag()
167 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixMatchCriterionValue()
198 return unexpected(BAD_VALUE); in legacy2aidl_AudioMixMatchCriterionValue()
283 return unexpected(BAD_VALUE); in aidl2legacy_AudioPolicyDeviceState_audio_policy_dev_state_t()
296 return unexpected(BAD_VALUE); in legacy2aidl_audio_policy_dev_state_t_AudioPolicyDeviceState()
[all …]
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp36 using android::BAD_VALUE;
230 RETURN_IF_MANAGER_IS_NULL(BAD_VALUE); in ASensorManager_getSensorList()
267 RETURN_IF_MANAGER_IS_NULL(BAD_VALUE); in ASensorManager_destroyEventQueue()
268 RETURN_IF_QUEUE_IS_NULL(BAD_VALUE); in ASensorManager_destroyEventQueue()
279 RETURN_IF_MANAGER_IS_NULL(BAD_VALUE);
286 RETURN_IF_MANAGER_IS_NULL(BAD_VALUE);
299 RETURN_IF_MANAGER_IS_NULL(BAD_VALUE);
310 RETURN_IF_QUEUE_IS_NULL(BAD_VALUE); in ASensorEventQueue_registerSensor()
318 RETURN_IF_QUEUE_IS_NULL(BAD_VALUE); in ASensorEventQueue_enableSensor()
325 RETURN_IF_QUEUE_IS_NULL(BAD_VALUE); in ASensorEventQueue_disableSensor()
[all …]
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp71 return base::unexpected(BAD_VALUE); in aidl2legacy_AudioHalProductStrategy_ProductStrategyType()
103 return base::unexpected(BAD_VALUE); in legacy_device_category_to_string()
121 return base::unexpected(BAD_VALUE); in aidl2legacy_DeviceCategory()
331 return BAD_VALUE; in parseAttributes()
341 return BAD_VALUE; in parseAttributes()
377 return BAD_VALUE; in deserializeAttributes()
390 return BAD_VALUE; in deserializeAttributes()
396 status_t ret = BAD_VALUE; in deserializeAttributesCollection()
435 return BAD_VALUE; in deserialize()
450 return BAD_VALUE; in deserialize()
[all …]
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionEq.cpp51 return BAD_VALUE; in setParameter()
60 return BAD_VALUE; in setParameter()
70 return BAD_VALUE; in setParameter()
80 return BAD_VALUE; in setParameter()
90 return BAD_VALUE; in setParameter()
97 return BAD_VALUE; in setParameter()
134 return unexpected(BAD_VALUE); in getParameterPresetName()
144 return unexpected(BAD_VALUE); in getParameterPresetName()
150 param.setStatus(BAD_VALUE); in getParameter()
152 return BAD_VALUE; in getParameter()
[all …]
DAidlConversionSpatializer.cpp65 android::BAD_VALUE; in isSpatializerParameterSupported()
77 return BAD_VALUE; in setParameter()
85 return BAD_VALUE; in setParameter()
95 return BAD_VALUE; in setParameter()
105 return BAD_VALUE; in setParameter()
112 return BAD_VALUE; in setParameter()
128 return BAD_VALUE; in setParameter()
135 return BAD_VALUE; in setParameter()
172 return BAD_VALUE; in getParameter()
180 return BAD_VALUE; in getParameter()
[all …]
DAidlConversionVirtualizer.cpp52 return BAD_VALUE; in setParameter()
60 return BAD_VALUE; in setParameter()
69 return BAD_VALUE; in setParameter()
92 param.setStatus(BAD_VALUE); in getParameter()
93 return BAD_VALUE; in getParameter()
117 return BAD_VALUE; in getParameter()
140 return BAD_VALUE; in getParameter()
/frameworks/av/media/libaudiohal/impl/
DEffectConversionHelperAidl.cpp98 return BAD_VALUE; in handleCommand()
109 return BAD_VALUE; in handleInit()
122 return BAD_VALUE; in handleSetParameter()
128 return BAD_VALUE; in handleSetParameter()
142 return BAD_VALUE; in handleGetParameter()
148 return BAD_VALUE; in handleGetParameter()
170 return BAD_VALUE; in handleSetConfig()
232 return BAD_VALUE; in handleGetConfig()
241 return BAD_VALUE; in handleGetConfig()
259 return BAD_VALUE; in handleReset()
[all …]
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp266 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_P()
272 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_P()
285 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_P()
312 ASSERT_EQ(BAD_VALUE, mProducer->disconnect(TEST_API_OTHER)); in TEST_P()
314 ASSERT_EQ(BAD_VALUE, mProducer->disconnect(/*api*/0xDEADBEEF)); in TEST_P()
373 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value)); in TEST_P()
374 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value)); in TEST_P()
375 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUERY_LAST_OFF_BY_ONE, &value)); in TEST_P()
378 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &value)); in TEST_P()
379 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_CONCRETE_TYPE, &value)); in TEST_P()
[all …]
/frameworks/av/media/audioaidlconversion/
DAidlConversionEffect.cpp50 using ::android::BAD_VALUE;
74 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Type_uint32()
90 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Type()
104 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Insert_uint32()
118 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Insert()
132 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Volume_uint32()
146 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Volume()
199 return unexpected(BAD_VALUE); in aidl2legacy_Flags_HardwareAccelerator_uint32()
212 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_HardwareAccelerator()
296 return unexpected(BAD_VALUE); in legacy2aidl_uint32_levelEstimator_Parameter_agc()
[all …]
DAidlConversionCppNdk.cpp46 using ::android::BAD_VALUE;
116 return BAD_VALUE; in aidl2legacy_string()
125 return unexpected(BAD_VALUE); in legacy2aidl_string()
129 return unexpected(BAD_VALUE); in legacy2aidl_string()
868 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
887 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
903 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
908 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
945 return unexpected(BAD_VALUE); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
963 return unexpected(BAD_VALUE); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
[all …]
DAidlConversionCore.cpp28 using ::android::BAD_VALUE;
45 return unexpected(BAD_VALUE); in aidl2legacy_MicrophoneDirection_audio_microphone_direction_t()
60 return unexpected(BAD_VALUE); in legacy2aidl_audio_microphone_direction_t_MicrophoneDirection()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp340 return BAD_VALUE; in parse()
347 return BAD_VALUE; in parse()
369 return BAD_VALUE; in parseKey()
376 return BAD_VALUE; in parseKey()
385 return BAD_VALUE; in parseKey()
398 return BAD_VALUE; in parseKey()
403 return BAD_VALUE; in parseKey()
424 return BAD_VALUE; in parseAxis()
429 return BAD_VALUE; in parseAxis()
445 return BAD_VALUE; in parseAxis()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_utils_SurfaceUtils.cpp49 err = BAD_VALUE; \
97 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceType()
115 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceDataspace()
134 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceDimens()
139 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceDimens()
145 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceDimens()
173 return BAD_VALUE; in SurfaceUtils_nativeDetectSurfaceUsageFlags()
/frameworks/av/camera/camera2/
DCaptureRequest.cpp44 return BAD_VALUE; in readFromParcel()
62 return BAD_VALUE; in readFromParcel()
69 return BAD_VALUE; in readFromParcel()
131 return BAD_VALUE; in readFromParcel()
153 return BAD_VALUE; in readFromParcel()
159 return BAD_VALUE; in readFromParcel()
170 return BAD_VALUE; in writeToParcel()
/frameworks/base/cmds/incident_helper/src/parsers/
DPageTypeInfoParser.cpp71 } else return BAD_VALUE; in Parse()
75 } else return BAD_VALUE; in Parse()
87 } else return BAD_VALUE; in Parse()
94 } else return BAD_VALUE; in Parse()
106 } else return BAD_VALUE; in Parse()
/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp331 return BAD_VALUE; in detachBuffer()
337 return BAD_VALUE; in detachBuffer()
341 return BAD_VALUE; in detachBuffer()
367 return BAD_VALUE; in attachBuffer()
370 return BAD_VALUE; in attachBuffer()
377 return BAD_VALUE; in attachBuffer()
399 return BAD_VALUE; in attachBuffer()
460 return BAD_VALUE; in releaseBuffer()
481 return BAD_VALUE; in releaseBuffer()
524 return BAD_VALUE; in connect()
[all …]

12345678910>>...20