Searched refs:OK (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp31 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 DSurfaceTextureClient_test.cpp207 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, 0, 0));
208 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, -1, 0));
209 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 0, -1));
210 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, -1, 0));
211 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 8, 0));
212 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 8, 0, 0));
217 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf));
221 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
226 EXPECT_EQ(OK, native_window_set_buffers_geometry(mANW.get(), 16, 8, PIXEL_FORMAT_RGB_565));
227 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wai
[all...]
H A DBufferQueue_test.cpp81 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf));
82 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo));
83 ASSERT_EQ(OK, mBQ->acquireBuffer(&item, 0));
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 DICommonTimeConfig.cpp62 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 DICommonClock.cpp60 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/media/libmedia/
H A DMetadata.cpp86 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 Dmediarecorder.cpp44 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 DAMRWriter.cpp41 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 DAACWriter.cpp51 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 DESDS.cpp49 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...]
H A DAMRExtractor.cpp113 return OK;
141 if (mDataSource->getSize(&streamSize) == OK) {
143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) {
161 mInitCheck = OK;
170 if (mInitCheck != OK) {
180 return mInitCheck == OK ? 1 : 0;
184 if (mInitCheck != OK || index != 0) {
193 if (mInitCheck != OK || index != 0) {
233 return OK;
243 return OK;
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp88 if ((res = getBufferPreconditionCheckLocked()) != OK) {
111 if (res != OK) {
124 return OK;
134 if (res != OK) {
140 return OK;
172 if (res != OK) {
200 if (res != OK) {
208 if (res != OK) {
214 if (res != OK) {
239 status_t res = OK;
[all...]
H A DCamera3InputStream.cpp57 if ((res = getBufferPreconditionCheckLocked()) != OK) {
69 if (res != OK) {
87 return OK;
147 if (res != OK) {
168 if ((res = Camera3IOStreamBase::disconnectLocked()) != OK) {
180 return OK;
195 if ((res = Camera3IOStreamBase::configureQueueLocked()) != OK) {
216 if (res != OK) {
222 if (res != OK) {
228 return OK;
[all...]
/frameworks/av/camera/
H A DCameraMetadata.cpp90 return OK;
122 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK,
182 return OK;
192 if ( (res = checkType(tag, TYPE_INT32)) != OK) {
205 if ( (res = checkType(tag, TYPE_BYTE)) != OK) {
218 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) {
231 if ( (res = checkType(tag, TYPE_INT64)) != OK) {
244 if ( (res = checkType(tag, TYPE_DOUBLE)) != OK) {
257 if ( (res = checkType(tag, TYPE_RATIONAL)) != OK) {
270 if ( (res = checkType(tag, TYPE_BYTE)) != OK) {
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp50 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 DTimedTextDriver.cpp62 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 DTimedTextSRTSource.cpp49 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/camera2/
H A DCaptureRequest.cpp40 if ((err = mMetadata.readFromParcel(parcel)) != OK) {
47 if ((err = parcel->readInt32(&size)) != OK) {
84 return OK;
95 if ((err = mMetadata.writeToParcel(parcel)) != OK) {
121 return OK;
/frameworks/base/services/common_time/
H A Dcommon_time_server_api.cpp49 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 DDrm.cpp120 * mInitCheck is set to OK
124 * mInitCheck is set to an error (!OK)
139 mInitCheck = OK;
168 mInitCheck = OK;
220 if (mInitCheck != OK) {
243 if (mInitCheck != OK) {
255 if (mInitCheck != OK) {
266 return OK;
272 if (mInitCheck != OK) {
286 if (mInitCheck != OK) {
[all...]
H A DStagefrightRecorder.cpp88 return OK;
113 return OK;
130 return OK;
147 return OK;
164 return OK;
181 return OK;
195 return OK;
209 return OK;
226 return OK;
233 return OK;
[all...]
H A DStagefrightPlayer.cpp47 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/device2/
H A DCamera2Device.cpp72 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/libstagefright/rtsp/
H A DSDPLoader.cpp89 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/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp37 mEOSResult(OK) {
65 return OK;
69 return OK;
80 while (mEOSResult == OK && mBuffers.empty()) {
97 return OK;
108 while (mEOSResult == OK && mBuffers.empty()) {
132 return OK;
167 mEOSResult = OK;
192 mEOSResult = OK;
204 CHECK(result != OK);
[all...]

Completed in 8341 milliseconds

1234567891011>>