/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 214 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 0, 8)); in TEST_F() 215 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 8, 0)); in TEST_F() 219 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 221 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); in TEST_F() 225 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F() 229 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 231 EXPECT_EQ(OK, native_window_set_buffers_dimensions(mANW.get(), 16, 8)); in TEST_F() 232 EXPECT_EQ(OK, native_window_set_buffers_format(mANW.get(), PIXEL_FORMAT_RGB_565)); in TEST_F() 233 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); in TEST_F() 237 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F() [all …]
|
D | SurfaceTextureMultiContextGL_test.cpp | 29 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 34 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 44 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 49 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 52 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F() 60 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 65 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 69 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F() 76 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 81 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() [all …]
|
D | BufferQueue_test.cpp | 59 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in GetMinUndequeuedBufferCount() 128 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false)); in TEST_F() 130 ASSERT_EQ(OK, in TEST_F() 139 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); in TEST_F() 142 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F() 145 ASSERT_EQ(OK, buffer->unlock()); in TEST_F() 150 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F() 153 ASSERT_EQ(OK, mConsumer->acquireBuffer(&item, 0)); in TEST_F() 156 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, in TEST_F() 159 ASSERT_EQ(OK, item.mGraphicBuffer->unlock()); in TEST_F() [all …]
|
D | StreamSplitter_test.cpp | 65 ASSERT_EQ(OK, outputConsumer->consumerConnect(new DummyListener, false)); in TEST_F() 69 ASSERT_EQ(OK, status); in TEST_F() 70 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F() 73 ASSERT_EQ(OK, outputProducer->allowAllocation(false)); in TEST_F() 76 ASSERT_EQ(OK, inputProducer->connect(new DummyProducerListener, in TEST_F() 85 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); in TEST_F() 88 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F() 91 ASSERT_EQ(OK, buffer->unlock()); in TEST_F() 96 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F() 100 ASSERT_EQ(OK, inputProducer->allowAllocation(false)); in TEST_F() [all …]
|
D | SurfaceTextureGL_test.cpp | 491 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F() 496 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F() 506 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), in TEST_F() 511 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F() 512 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F() 514 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F() 515 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F() 517 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F() 518 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F() 520 ASSERT_EQ(OK, native_window_api_disconnect(mANW.get(), in TEST_F() [all …]
|
/frameworks/av/media/common_time/ |
D | ICommonTimeConfig.cpp | 62 if (status == OK) { in getMasterElectionPriority() 64 if (status == OK) { in getMasterElectionPriority() 79 if (status == OK) { in setMasterElectionPriority() 92 if (status == OK) { in getMasterElectionEndpoint() 94 if (status == OK) { in getMasterElectionEndpoint() 117 if (status == OK) { in setMasterElectionEndpoint() 131 if (status == OK) { in getMasterElectionGroupId() 133 if (status == OK) { in getMasterElectionGroupId() 149 if (status == OK) { in setMasterElectionGroupId() 162 if (status == OK) { in getInterfaceBinding() [all …]
|
D | ICommonClock.cpp | 60 if (status == OK) { in isCommonTimeValid() 62 if (status == OK) { in isCommonTimeValid() 77 if (status == OK) { in commonTimeToLocalTime() 79 if (status == OK) { in commonTimeToLocalTime() 93 if (status == OK) { in localTimeToCommonTime() 95 if (status == OK) { in localTimeToCommonTime() 106 if (status == OK) { in getCommonTime() 108 if (status == OK) { in getCommonTime() 119 if (status == OK) { in getCommonFreq() 121 if (status == OK) { in getCommonFreq() [all …]
|
/frameworks/base/media/tests/players/ |
D | invoke_mock_media_player.cpp | 32 using android::OK; 57 virtual status_t initCheck() {return OK;} in initCheck() 69 return OK; in setDataSource() 73 return OK; in setDataSource() 77 return OK; in setVideoSurfaceTexture() 79 virtual status_t prepare() { return OK; } in prepare() 80 virtual status_t prepareAsync() { return OK; } in prepareAsync() 81 virtual status_t start() { return OK; } in start() 82 virtual status_t stop() { return OK; } in stop() 83 virtual status_t pause() { return OK; } in pause() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 28 if(mEndianOut.open() != OK) { in OpcodeListBuilder() 34 if(mEndianOut.close() != OK) { in ~OpcodeListBuilder() 51 return OK; in buildOpList() 161 if (err != OK) return err; in addGainMapsForMetadata() 179 if (err != OK) return err; in addGainMapsForMetadata() 197 if (err != OK) return err; in addGainMapsForMetadata() 236 if (err != OK) return err; in addGainMap() 242 if (err != OK) return err; in addGainMap() 251 if (err != OK) return err; in addGainMap() 266 if (err != OK) return err; in addGainMap() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | StreamingProcessor.cpp | 66 if (res != OK) return res; in setPreviewWindow() 72 return OK; in setPreviewWindow() 80 if (res != OK) return res; in setRecordingWindow() 86 return OK; in setRecordingWindow() 130 if (res != OK) { in updatePreviewRequest() 138 if (res != OK) { in updatePreviewRequest() 147 if (res != OK) { in updatePreviewRequest() 153 return OK; in updatePreviewRequest() 172 if (res != OK) { in updatePreviewStream() 183 if (res != OK) { in updatePreviewStream() [all …]
|
/frameworks/av/media/libstagefright/ |
D | AMRWriter.cpp | 36 mInitCheck(mFd < 0? NO_INIT: OK), in AMRWriter() 58 if (mInitCheck != OK) { in addSource() 94 return OK; in addSource() 98 if (mInitCheck != OK) { in start() 109 return OK; in start() 112 return OK; in start() 117 if (err != OK) { in start() 133 return OK; in start() 138 return OK; in pause() 141 return OK; in pause() [all …]
|
D | AACWriter.cpp | 41 mInitCheck(mFd < 0? NO_INIT: OK), in AACWriter() 71 if (mInitCheck != OK) { in addSource() 96 return OK; in addSource() 100 if (mInitCheck != OK) { in start() 111 return OK; in start() 114 return OK; in start() 122 if (err != OK) { in start() 138 return OK; in start() 143 return OK; in pause() 146 return OK; in pause() [all …]
|
D | NuMediaExtractor.cpp | 54 CHECK_EQ((status_t)OK, info->mSource->stop()); in ~NuMediaExtractor() 128 if (err == OK) { in setDataSource() 132 return OK; in setDataSource() 149 if (err != OK) { in setDataSource() 160 if (err == OK) { in setDataSource() 164 return OK; in setDataSource() 175 if (err != OK) { in setDataSource() 186 if (err == OK) { in setDataSource() 225 return OK; in updateDurationAndBitrate() 283 return OK; in getFileFormat() [all …]
|
D | ESDS.cpp | 51 if (mInitCheck != OK) { in getObjectTypeIndication() 57 return OK; in getObjectTypeIndication() 61 if (mInitCheck != OK) { in getCodecSpecificInfo() 68 return OK; in getCodecSpecificInfo() 104 return OK; in skipDescriptorHeader() 114 if (err != OK) { in parse() 186 if (err != OK) { in parseESDescriptor() 200 if (mInitCheck != OK) { in getBitRate() 207 return OK; in getBitRate() 225 return OK; in parseDecoderConfigDescriptor() [all …]
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.cpp | 62 return OK; in extractSRTLocalDescriptions() 81 return OK; in extract3GPPLocalDescriptions() 86 return OK; in extract3GPPLocalDescriptions() 99 return OK; in extract3GPPLocalDescriptions() 108 return OK; in extract3GPPLocalDescriptions() 120 return OK; in extract3GPPLocalDescriptions() 132 return OK; in extract3GPPLocalDescriptions() 167 return OK; in extract3GPPLocalDescriptions() 185 return OK; in extract3GPPLocalDescriptions() 205 return OK; in extract3GPPLocalDescriptions() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.cpp | 117 if ((res = getBufferPreconditionCheckLocked()) != OK) { in getBufferLocked() 128 if (res == OK) { in getBufferLocked() 133 if (res != OK) { in getBufferLocked() 145 } else if (res != OK) { in getBufferLocked() 168 if (res != OK) { in getBufferLocked() 189 return OK; in getBufferLocked() 199 if (res != OK) { in returnBufferLocked() 205 return OK; in returnBufferLocked() 241 if (res != OK) { in returnBufferCheckedLocked() 265 if (res != OK) { in returnBufferCheckedLocked() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 51 if (err != OK) { in PostAndAwaitResponse() 56 err = OK; in PostAndAwaitResponse() 136 err = OK; in onMessageReceived() 156 if (err == OK) { in onMessageReceived() 172 status_t err = OK; in onMessageReceived() 177 if (err == OK) { in onMessageReceived() 182 if (err == OK) { in onMessageReceived() 188 if (err == OK) { in onMessageReceived() 212 if (err == OK) { in onMessageReceived() 228 status_t err = OK; in onMessageReceived() [all …]
|
D | mediafilter.cpp | 81 return OK; in processBuffers() 85 return OK; in handleSetParameters() 101 return OK; in processBuffers() 105 return OK; in handleSetParameters() 121 return OK; in processBuffers() 125 return OK; in handleSetParameters() 170 if (err != OK) { in tryCopyDecodedBuffer() 234 if (err == OK) { in tryCopyDecodedBuffer() 244 CHECK(err == OK); in tryCopyDecodedBuffer() 247 CHECK(err == OK); in tryCopyDecodedBuffer() [all …]
|
D | codec.cpp | 83 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in decode() 95 CHECK_EQ(err, (status_t)OK); in decode() 114 CHECK_EQ(err, (status_t)OK); in decode() 133 CHECK_EQ(err, (status_t)OK); in decode() 149 CHECK_EQ((status_t)OK, codec->start()); in decode() 151 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode() 152 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode() 165 if (err != OK) { in decode() 174 if (err == OK) { in decode() 180 CHECK_EQ(err, (status_t)OK); in decode() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 77 if (res != OK) { in initialize() 85 if (res != OK) { in initialize() 131 return OK; in initialize() 456 return OK; in connect() 468 return OK; in lock() 477 return OK; in lock() 497 return OK; in unlock() 511 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in setPreviewTarget() 557 if (res != OK) { in setPreviewWindowL() 568 if (res != OK) { in setPreviewWindowL() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 99 return OK; in init() 124 return OK; in setAudioSource() 141 return OK; in setVideoSource() 158 return OK; in setOutputFormat() 175 return OK; in setAudioEncoder() 188 return OK; in setVideoEncoder() 202 return OK; in setVideoSize() 216 return OK; in setVideoFrameRate() 233 return OK; in setCamera() 240 return OK; in setPreviewSurface() [all …]
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 93 return OK; in unlock() 125 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK, in acquire() 185 return OK; in checkType() 195 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update() 208 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() 221 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { in update() 234 if ( (res = checkType(tag, TYPE_INT64)) != OK) { in update() 247 if ( (res = checkType(tag, TYPE_DOUBLE)) != OK) { in update() 260 if ( (res = checkType(tag, TYPE_RATIONAL)) != OK) { in update() 273 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() [all …]
|
/frameworks/av/media/libmedia/ |
D | IDrm.cpp | 70 if (status != OK) { in initCheck() 83 if (status != OK) { in isCryptoSchemeSupported() 97 if (status != OK) { in createPlugin() 108 if (status != OK) { in destroyPlugin() 120 if (status != OK) { in openSession() 134 if (status != OK) { in closeSession() 163 if (status != OK) { in getKeyRequest() 183 if (status != OK) { in provideKeyResponse() 198 if (status != OK) { in removeKeys() 213 if (status != OK) { in restoreKeys() [all …]
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 57 status_t err = OK; in readFromParcel() 62 if ((err = parcel->readInt32(&rotation)) != OK) { in readFromParcel() 68 if ((err = parcel->readInt32(&setID)) != OK) { in readFromParcel() 74 if ((err = surfaceShim.readFromParcel(parcel)) != OK) { in readFromParcel() 99 status_t err = OK; in writeToParcel() 102 if (err != OK) return err; in writeToParcel() 105 if (err != OK) return err; in writeToParcel() 112 if (err != OK) return err; in writeToParcel() 114 return OK; in writeToParcel()
|
/frameworks/base/libs/common_time/ |
D | common_time_server_api.cpp | 51 return OK; in getMasterAddr() 74 return OK; in isCommonTimeValid() 83 return OK; in getMasterElectionPriority() 93 return OK; in setMasterElectionPriority() 100 return OK; in getMasterElectionEndpoint() 130 return OK; in setMasterElectionEndpoint() 136 return OK; in getMasterElectionGroupId() 142 return OK; in setMasterElectionGroupId() 150 return OK; in getInterfaceBinding() 166 return OK; in setInterfaceBinding() [all …]
|