/frameworks/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 31 using android::OK; 56 virtual status_t initCheck() {return OK;} 67 return OK; 70 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} 72 const sp<IGraphicBufferProducer>& bufferProducer) {return OK;} 73 virtual status_t prepare() {return OK;} 74 virtual status_t prepareAsync() {return OK;} 75 virtual status_t start() {return OK;} 76 virtual status_t stop() {return OK;} 77 virtual status_t pause() {return OK;} [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 203 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, 0, 0)); 204 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, -1, 0)); 205 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 0, -1)); 206 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, -1, 0)); 207 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 8, 0)); 208 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 8, 0, 0)); 213 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); 217 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); 222 EXPECT_EQ(OK, native_window_set_buffers_geometry(mANW.get(), 16, 8, PIXEL_FORMAT_RGB_565)); 223 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wai [all...] |
H A D | BufferQueue_test.cpp | 81 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); 82 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); 83 ASSERT_EQ(OK, mBQ->acquireBuffer(&item)); 89 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); 90 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); 111 ASSERT_EQ(OK, mBQ->setMaxAcquiredBufferCount(1)); 112 ASSERT_EQ(OK, mBQ->setMaxAcquiredBufferCount(2)); 113 ASSERT_EQ(OK, mBQ->setMaxAcquiredBufferCount(
|
/frameworks/av/media/common_time/ |
H A D | ICommonTimeConfig.cpp | 62 if (status == OK) { 64 if (status == OK) { 79 if (status == OK) { 92 if (status == OK) { 94 if (status == OK) { 117 if (status == OK) { 131 if (status == OK) { 133 if (status == OK) { 149 if (status == OK) { 162 if (status == OK) { [all...] |
H A D | ICommonClock.cpp | 60 if (status == OK) { 62 if (status == OK) { 77 if (status == OK) { 79 if (status == OK) { 93 if (status == OK) { 95 if (status == OK) { 106 if (status == OK) { 108 if (status == OK) { 119 if (status == OK) { 121 if (status == OK) { [all...] |
/frameworks/av/services/camera/libcameraservice/camera3/ |
H A D | Camera3OutputStream.cpp | 88 if ((res = getBufferPreconditionCheckLocked()) != OK) { 96 if (res != OK) { 109 return OK; 119 if (res != OK) { 125 return OK; 157 if (res != OK) { 185 if (res != OK) { 193 if (res != OK) { 199 if (res != OK) { 206 return OK; [all...] |
H A D | Camera3InputStream.cpp | 57 if ((res = getBufferPreconditionCheckLocked()) != OK) { 69 if (res != OK) { 87 return OK; 148 if (res != OK) { 156 return OK; 170 if ((res = Camera3IOStreamBase::disconnectLocked()) != OK) { 182 return OK; 201 if ((res = Camera3IOStreamBase::configureQueueLocked()) != OK) { 222 if (res != OK) { 228 if (res != OK) { [all...] |
H A D | Camera3IOStreamBase.cpp | 75 } else if (res != OK) { 88 if (res != OK) { 135 if (res != OK) { 140 // OK 147 return OK; 158 // OK 173 return OK; 214 return OK; 231 return OK; 248 if ((res = returnBufferPreconditionCheckLocked()) != OK) { [all...] |
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 86 ok = ok && mData->writeInt32(-1) == OK; 87 ok = ok && mData->writeInt32(kMetaMarker) == OK; 101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK; 102 ok = ok && mData->writeInt32(key) == OK; 103 ok = ok && mData->writeInt32(BOOLEAN_VAL) == OK; 104 ok = ok && mData->writeInt32(val ? 1 : 0) == OK; 121 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK; 122 ok = ok && mData->writeInt32(key) == OK; 123 ok = ok && mData->writeInt32(INTEGER_VAL) == OK; 124 ok = ok && mData->writeInt32(val) == OK; [all...] |
H A D | mediarecorder.cpp | 44 if (OK != ret) { 69 if (OK != ret) { 90 if (OK != ret) { 97 if (OK != ret) { 121 if (OK != ret) { 133 if (OK != ret) { 152 if (OK != ret) { 166 if (OK != ret) { 192 if (OK != ret) { 222 if (OK ! [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AMRWriter.cpp | 41 mInitCheck = OK; 47 mInitCheck(mFd < 0? NO_INIT: OK), 69 if (mInitCheck != OK) { 105 return OK; 109 if (mInitCheck != OK) { 120 return OK; 123 return OK; 128 if (err != OK) { 144 return OK; 149 return OK; [all...] |
H A D | AACWriter.cpp | 51 mInitCheck = OK; 57 mInitCheck(mFd < 0? NO_INIT: OK), 86 if (mInitCheck != OK) { 111 return OK; 115 if (mInitCheck != OK) { 126 return OK; 129 return OK; 137 if (err != OK) { 153 return OK; 158 return OK; [all...] |
H A D | ESDS.cpp | 49 if (mInitCheck != OK) { 55 return OK; 59 if (mInitCheck != OK) { 66 return OK; 102 return OK; 112 if (err != OK) { 178 if (err != OK) { 204 return OK; 212 if (err != OK) { 223 return OK; [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 50 if (err != OK) { 55 err = OK; 138 err = OK; 158 if (err == OK) { 174 status_t err = OK; 179 if (err == OK) { 184 if (err == OK) { 190 if (err == OK) { 214 if (err == OK) { 230 status_t err = OK; [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextDriver.cpp | 62 return OK; 71 return OK; 80 return OK; 84 return OK; 88 return OK; 104 return OK; 108 return OK; 116 status_t ret = OK; 128 if (ret != OK) { 152 return OK; [all...] |
H A D | TimedTextSRTSource.cpp | 49 if (err != OK) { 62 return OK; 72 if (err != OK) { 78 return OK; 94 case OK: 107 return OK; 132 if ((err = readNextLine(offset, &data)) != OK) { 139 if ((err = readNextLine(offset, &data)) != OK) { 159 if ((err = readNextLine(offset, &data)) != OK) { 174 return OK; [all...] |
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 86 return OK; 118 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK, 170 return OK; 180 if ( (res = checkType(tag, TYPE_INT32)) != OK) { 193 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { 206 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { 219 if ( (res = checkType(tag, TYPE_INT64)) != OK) { 232 if ( (res = checkType(tag, TYPE_DOUBLE)) != OK) { 245 if ( (res = checkType(tag, TYPE_RATIONAL)) != OK) { 258 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { [all...] |
/frameworks/base/services/common_time/ |
H A D | common_time_server_api.cpp | 49 return OK; 72 return OK; 81 return OK; 91 return OK; 98 return OK; 128 return OK; 134 return OK; 140 return OK; 148 return OK; 164 return OK; [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 120 * mInitCheck is set to OK 124 * mInitCheck is set to an error (!OK) 139 mInitCheck = OK; 168 mInitCheck = OK; 222 return (mInitCheck == OK); 236 if (mInitCheck != OK) { 248 if (mInitCheck != OK) { 259 return OK; 265 if (mInitCheck != OK) { 279 if (mInitCheck != OK) { [all...] |
H A D | StagefrightRecorder.cpp | 87 return OK; 112 return OK; 129 return OK; 146 return OK; 163 return OK; 180 return OK; 194 return OK; 208 return OK; 225 return OK; 232 return OK; [all...] |
H A D | StagefrightPlayer.cpp | 47 return OK; 53 return OK; 124 if (err != OK) { 130 return OK; 139 if (err != OK) { 141 return OK; 146 return OK; 154 return OK; 213 return OK;
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 72 if (res != OK) { 89 if (res != OK ) return res; 100 if (res != OK) { 107 if (res != OK) { 115 if (res != OK ) { 122 if (res != OK) { 130 if (res != OK) { 140 return OK; 145 status_t res = OK; 157 if (res != OK) { [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 63 return OK; 69 return OK; 152 return OK; 173 return (mState == STATE_PREPARED) ? OK : UNKNOWN_ERROR; 187 return OK; 201 if (err != OK) { 242 return OK; 255 return OK; 267 return OK; 298 return OK; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | SDPLoader.cpp | 89 status_t err = OK; 106 if (err != OK) { 117 if (err == OK && !mCancelled) { 120 if (err != OK) { 123 err = OK; 129 if (err == OK && !mCancelled) {
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | ZslProcessor.cpp | 146 if (res != OK) { 155 if (res != OK) { 164 if (res != OK) { 184 if (res != OK) { 192 if (res != OK) { 203 return OK; 222 if (res != OK) { 231 if (res != OK) { 243 return OK; 306 if (res == OK) reques [all...] |