Home
last modified time | relevance | path

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

1234567

/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp214 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
220 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
233 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
257 ASSERT_EQ(BAD_VALUE, mProducer->disconnect(TEST_API_OTHER)); in TEST_F()
259 ASSERT_EQ(BAD_VALUE, mProducer->disconnect(/*api*/0xDEADBEEF)); in TEST_F()
300 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value)); in TEST_F()
301 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value)); in TEST_F()
302 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUERY_LAST_OFF_BY_ONE, &value)); in TEST_F()
305 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &value)); in TEST_F()
306 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_CONCRETE_TYPE, &value)); in TEST_F()
[all …]
DBufferQueue_test.cpp183 EXPECT_EQ(BAD_VALUE, mConsumer->setMaxAcquiredBufferCount( in TEST_F()
186 EXPECT_EQ(BAD_VALUE, mConsumer->setMaxAcquiredBufferCount(0)); in TEST_F()
187 EXPECT_EQ(BAD_VALUE, mConsumer->setMaxAcquiredBufferCount(-3)); in TEST_F()
188 EXPECT_EQ(BAD_VALUE, mConsumer->setMaxAcquiredBufferCount( in TEST_F()
190 EXPECT_EQ(BAD_VALUE, mConsumer->setMaxAcquiredBufferCount(100)); in TEST_F()
216 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
217 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
219 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
227 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
230 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
[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()
125 return BAD_VALUE; in write()
139 return BAD_VALUE; in write()
212 return BAD_VALUE; in addStrip()
222 return BAD_VALUE; in addIfd()
235 return BAD_VALUE; in addIfd()
245 return BAD_VALUE; in addSubIfd()
251 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/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp103 return BAD_VALUE; in closeSession()
125 return BAD_VALUE; in getKeyRequest()
156 return BAD_VALUE; in getKeyRequest()
164 return BAD_VALUE; in getKeyRequest()
181 return BAD_VALUE; in provideKeyResponse()
184 return BAD_VALUE; in provideKeyResponse()
211 return BAD_VALUE; in removeKeys()
228 return BAD_VALUE; in restoreKeys()
234 return BAD_VALUE; in restoreKeys()
249 return BAD_VALUE; in queryKeyStatus()
[all …]
/frameworks/native/libs/input/
DKeyLayoutMap.cpp224 return BAD_VALUE; in parse()
232 return BAD_VALUE; in parse()
255 return BAD_VALUE; in parseKey()
261 return BAD_VALUE; in parseKey()
270 return BAD_VALUE; in parseKey()
283 return BAD_VALUE; in parseKey()
288 return BAD_VALUE; in parseKey()
311 return BAD_VALUE; in parseAxis()
316 return BAD_VALUE; in parseAxis()
332 return BAD_VALUE; in parseAxis()
[all …]
DKeyCharacterMap.cpp705 return BAD_VALUE; in parse()
722 return BAD_VALUE; in parse()
732 return BAD_VALUE; in parse()
738 return BAD_VALUE; in parse()
745 return BAD_VALUE; in parse()
752 return BAD_VALUE; in parse()
763 return BAD_VALUE; in parseType()
783 return BAD_VALUE; in parseType()
801 return BAD_VALUE; in parseMap()
818 return BAD_VALUE; in parseMapKey()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp173 return BAD_VALUE; in produceFrame()
176 return BAD_VALUE; in produceFrame()
179 return BAD_VALUE; in produceFrame()
182 return BAD_VALUE; in produceFrame()
185 return BAD_VALUE; in produceFrame()
204 return BAD_VALUE; in produceFrame()
230 return BAD_VALUE; in produceFrame()
241 return BAD_VALUE; in produceFrame()
263 return BAD_VALUE; in produceFrame()
268 return BAD_VALUE; in produceFrame()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp116 return BAD_VALUE; in setAudioSource()
133 return BAD_VALUE; in setVideoSource()
150 return BAD_VALUE; in setOutputFormat()
167 return BAD_VALUE; in setAudioEncoder()
184 return BAD_VALUE; in setVideoEncoder()
196 return BAD_VALUE; in setVideoSize()
211 return BAD_VALUE; in setVideoFrameRate()
225 return BAD_VALUE; in setCamera()
229 return BAD_VALUE; in setCamera()
330 return BAD_VALUE; in setParamAudioSamplingRate()
[all …]
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp63 return BAD_VALUE; in requestBuffer()
67 return BAD_VALUE; in requestBuffer()
92 return BAD_VALUE; in setBufferCount()
99 return BAD_VALUE; in setBufferCount()
113 return BAD_VALUE; in setBufferCount()
151 return BAD_VALUE; in waitForFreeSlotThenRelock()
265 return BAD_VALUE; in dequeueBuffer()
404 return BAD_VALUE; in detachBuffer()
408 return BAD_VALUE; in detachBuffer()
412 return BAD_VALUE; in detachBuffer()
[all …]
DBufferQueueConsumer.cpp193 return BAD_VALUE; in detachBuffer()
197 return BAD_VALUE; in detachBuffer()
212 return BAD_VALUE; in attachBuffer()
215 return BAD_VALUE; in attachBuffer()
285 return BAD_VALUE; in releaseBuffer()
304 return BAD_VALUE; in releaseBuffer()
324 return BAD_VALUE; in releaseBuffer()
344 return BAD_VALUE; in connect()
372 return BAD_VALUE; in disconnect()
388 return BAD_VALUE; in getReleasedBuffers()
[all …]
/frameworks/native/opengl/tests/include/
DEGLUtils.h85 return BAD_VALUE; in selectConfigForPixelFormat()
88 return BAD_VALUE; in selectConfigForPixelFormat()
92 return BAD_VALUE; in selectConfigForPixelFormat()
97 return BAD_VALUE; in selectConfigForPixelFormat()
131 return BAD_VALUE; in selectConfigForNativeWindow()
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp88 return BAD_VALUE; in setMasterElectionPriority()
106 return BAD_VALUE; in setMasterElectionEndpoint()
110 return BAD_VALUE; in setMasterElectionEndpoint()
116 return BAD_VALUE; in setMasterElectionEndpoint()
121 return BAD_VALUE; in setMasterElectionEndpoint()
177 return BAD_VALUE; in setMasterAnnounceInterval()
180 return BAD_VALUE; in setMasterAnnounceInterval()
205 return BAD_VALUE; in setClientSyncInterval()
208 return BAD_VALUE; in setClientSyncInterval()
233 return BAD_VALUE; in setPanicThreshold()
/frameworks/av/camera/
DVendorTagDescriptor.cpp63 return BAD_VALUE; in createDescriptorFromOps()
69 return BAD_VALUE; in createDescriptorFromOps()
88 return BAD_VALUE; in createDescriptorFromOps()
93 return BAD_VALUE; in createDescriptorFromOps()
99 return BAD_VALUE; in createDescriptorFromOps()
110 return BAD_VALUE; in createDescriptorFromOps()
145 return BAD_VALUE; in createFromParcel()
156 return BAD_VALUE; in createFromParcel()
173 res = BAD_VALUE; in createFromParcel()
182 res = BAD_VALUE; in createFromParcel()
[all …]
DCaptureResult.cpp32 return BAD_VALUE; in readFromParcel()
48 return BAD_VALUE; in writeToParcel()
76 return BAD_VALUE; in readFromParcel()
107 return BAD_VALUE; in writeToParcel()
DProCamera.cpp193 return BAD_VALUE; in createStream()
211 return BAD_VALUE; in createStream()
333 status_t stat = BAD_VALUE; in waitForFrameBuffer()
368 return BAD_VALUE; in dropFrameBuffer()
370 return BAD_VALUE; in dropFrameBuffer()
377 return BAD_VALUE; in dropFrameBuffer()
395 status_t stat = BAD_VALUE; in waitForFrameMetadata()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp152 return BAD_VALUE; in createAudioPatch()
156 return BAD_VALUE; in createAudioPatch()
185 status = BAD_VALUE; in createAudioPatch()
200 status = BAD_VALUE; in createAudioPatch()
209 status = BAD_VALUE; in createAudioPatch()
293 status = BAD_VALUE; in createAudioPatch()
312 status = BAD_VALUE; in createAudioPatch()
340 status = BAD_VALUE; in createAudioPatch()
348 status = BAD_VALUE; in createAudioPatch()
353 status = BAD_VALUE; in createAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp45 return BAD_VALUE; in setDeviceConnectionState()
49 return BAD_VALUE; in setDeviceConnectionState()
78 return BAD_VALUE; in setPhoneState()
108 return BAD_VALUE; in setForceUse()
111 return BAD_VALUE; in setForceUse()
154 return BAD_VALUE; in startOutput()
182 return BAD_VALUE; in stopOutput()
250 return BAD_VALUE; in getInputForAttr()
259 return BAD_VALUE; in getInputForAttr()
339 return BAD_VALUE; in initStreamVolume()
[all …]
DAudioPolicyInterfaceImpl.cpp40 return BAD_VALUE; in setDeviceConnectionState()
44 return BAD_VALUE; in setDeviceConnectionState()
73 return BAD_VALUE; in setPhoneState()
103 return BAD_VALUE; in setForceUse()
106 return BAD_VALUE; in setForceUse()
168 return BAD_VALUE; in startOutput()
195 return BAD_VALUE; in stopOutput()
260 return BAD_VALUE; in getInputForAttr()
265 return BAD_VALUE; in getInputForAttr()
374 return BAD_VALUE; in initStreamVolume()
[all …]
/frameworks/av/media/libmedia/
DAudioParameter.cpp105 return BAD_VALUE; in addInt()
116 return BAD_VALUE; in addFloat()
126 return BAD_VALUE; in remove()
136 return BAD_VALUE; in get()
179 return BAD_VALUE; in getAt()
DAudioRecord.cpp43 return BAD_VALUE; in getMinFrameCount()
60 return BAD_VALUE; in getMinFrameCount()
150 return BAD_VALUE; in set()
158 return BAD_VALUE; in set()
182 return BAD_VALUE; in set()
194 return BAD_VALUE; in set()
199 return BAD_VALUE; in set()
205 return BAD_VALUE; in set()
361 return BAD_VALUE; in getMarkerPosition()
387 return BAD_VALUE; in getPositionUpdatePeriod()
[all …]
/frameworks/native/libs/ui/
DPixelFormat.cpp39 return BAD_VALUE; in bytesPerPixel()
55 return BAD_VALUE; in bitsPerPixel()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp54 return BAD_VALUE; in initialize()
100 return BAD_VALUE; in initialize()
1183 return BAD_VALUE; in set()
1195 return BAD_VALUE; in set()
1233 return BAD_VALUE; in set()
1283 return BAD_VALUE; in set()
1294 return BAD_VALUE; in set()
1312 return BAD_VALUE; in set()
1352 return BAD_VALUE; in set()
1437 return BAD_VALUE; in set()
[all …]

1234567