Searched refs:res (Results 1 - 25 of 2180) sorted by relevance

1234567891011>>

/frameworks/av/camera/camera2/
H A DSubmitInfo.cpp26 status_t res; local
29 res = parcel->writeInt32(mRequestId);
30 if (res != OK) return res;
32 res = parcel->writeInt64(mLastFrameNumber);
33 return res;
37 status_t res; local
40 res = parcel->readInt32(&mRequestId);
41 if (res != OK) return res;
[all...]
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.aidl17 package android.content.res;
H A DConfiguration.aidl18 package android.content.res;
H A DObbInfo.aidl17 package android.content.res;
H A DConstantState.java16 package android.content.res;
52 public T newInstance(Resources res) { argument
60 public T newInstance(Resources res, Resources.Theme theme) { argument
61 return newInstance(res);
/frameworks/compile/mclinker/lib/Script/
H A DNullaryOp.cpp22 IntOperand* res = result(); local
23 res->setValue(pBackend.sectionStartOffset());
24 return res;
31 IntOperand* res = result(); local
32 res->setValue(pBackend.abiPageSize());
33 return res;
40 IntOperand* res = result(); local
41 res->setValue(pBackend.commonPageSize());
42 return res;
H A DBinaryOp.cpp29 IntOperand* res = result(); local
30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value());
31 return res;
37 IntOperand* res = result(); local
38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value());
39 return res;
45 IntOperand* res = result(); local
46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value());
47 return res;
53 IntOperand* res local
61 IntOperand* res = result(); local
69 IntOperand* res = result(); local
77 IntOperand* res = result(); local
85 IntOperand* res = result(); local
93 IntOperand* res = result(); local
101 IntOperand* res = result(); local
109 IntOperand* res = result(); local
117 IntOperand* res = result(); local
125 IntOperand* res = result(); local
134 IntOperand* res = result(); local
143 IntOperand* res = result(); local
152 IntOperand* res = result(); local
161 IntOperand* res = result(); local
170 IntOperand* res = result(); local
178 IntOperand* res = result(); local
192 IntOperand* res = result(); local
202 IntOperand* res = result(); local
213 IntOperand* res = result(); local
226 IntOperand* res = result(); local
[all...]
H A DTernaryOp.cpp23 IntOperand* res = result(); local
25 res->setValue(m_pOperand[1]->value());
27 res->setValue(m_pOperand[2]->value());
28 return res;
41 IntOperand* res = result(); local
53 res->setValue(form1);
55 res->setValue(form2);
56 return res;
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_parcelable.cpp39 status_t res = NO_ERROR; local
46 res = parcel->writeUint32(kUdsMagicParcelHeader);
47 if (res != NO_ERROR) {
48 ALOGE("ChannelParcelable::writeToParcel: Cannot write magic: res=%d.", res);
49 return res;
52 res = parcel->writeFileDescriptor(data_fd_.Get());
53 if (res != NO_ERROR) {
54 ALOGE("ChannelParcelable::writeToParcel: Cannot write data fd: res=%d.",
55 res);
82 status_t res = NO_ERROR; local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp63 status_t res; local
65 res = deletePreviewStream();
66 if (res != OK) return res;
77 status_t res; local
79 res = deleteRecordingStream();
80 if (res != OK) return res;
101 status_t res; local
118 res
155 status_t res; local
218 status_t res; local
256 status_t res; local
296 status_t res; local
337 status_t res; local
397 status_t res; local
432 status_t res; local
480 status_t res; local
528 status_t res; local
[all...]
/frameworks/base/core/jni/
H A Dcore_jni_helpers.h35 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); local
36 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name);
37 return res;
42 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); local
43 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name);
44 return res;
49 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); local
50 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name);
51 return res;
56 jmethodID res local
63 jobject res = env->NewGlobalRef(in); local
70 int res = AndroidRuntime::registerNativeMethods(env, className, gMethods, numMethods); local
[all...]
H A Dandroid_server_NetworkManagementSocketTagger.cpp43 int res = qtaguid_tagSocket(userFd, tagNum, uid); local
44 if (res < 0) {
47 return (jint)res;
59 int res = qtaguid_untagSocket(userFd); local
60 if (res < 0) {
63 return (jint)res;
69 int res = qtaguid_setCounterSet(setNum, uid); local
70 if (res < 0) {
73 return (jint)res;
79 int res local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp173 status_t res; local
174 res = getBufferLockedCommon(&anb, &fenceFd);
175 if (res != OK) {
176 return res;
199 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); local
201 if (res != OK) {
202 return res;
221 status_t res; local
248 res = currentConsumer->cancelBuffer(currentConsumer.get(),
251 if (res !
325 status_t res = OK; local
344 status_t res; local
365 status_t res; local
506 status_t res; local
591 status_t res; local
649 status_t res; local
664 status_t res; local
688 status_t res = getEndpointUsage(&usage); local
731 status_t res = stream->mBufferManager->onBufferReleased( local
772 status_t res = mConsumer->detachNextBuffer(buffer, &fence); local
850 status_t res = getEndpointUsage(&usage); local
861 status_t res = getEndpointUsage(&usage); local
[all...]
H A DCamera3SharedOutputStream.cpp49 status_t res = OK; local
64 res = mStreamSplitter->connect(initialSurfaces, usage, mUsage, camera3_stream::max_buffers,
66 if (res != OK) {
68 __FUNCTION__, strerror(-res), res);
69 return res;
72 return res;
77 status_t res = OK; local
81 res = mStreamSplitter->notifyBufferReleased(buffer);
84 return res;
136 status_t res; local
173 status_t res = consumer->queueBuffer(consumer.get(), buffer, anwReleaseFence); local
190 status_t res; local
212 status_t res; local
224 status_t res = OK; local
339 status_t res = revertPartialUpdateLocked(removedSurfaces, *outputMap); local
356 status_t res = revertPartialUpdateLocked(removedSurfaces, *outputMap); local
366 status_t res = revertPartialUpdateLocked(removedSurfaces, *outputMap); local
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorResult.java20 public void set(int res) { argument
23 mResult = res;
/frameworks/layoutlib/bridge/src/android/content/res/
H A DTypedArray_Delegate.java17 package android.content.res;
32 /*package*/ static TypedArray obtain(Resources res, int len) { argument
33 return BridgeTypedArray.obtain(res, len);
/frameworks/av/camera/
H A DCaptureResult.cpp64 status_t res; local
69 if ((res = parcel->readString16(&mPhysicalCameraId)) != OK) {
70 ALOGE("%s: Failed to read camera id: %d", __FUNCTION__, res);
71 return res;
74 if ((res = mPhysicalCameraMetadata.readFromParcel(parcel)) != OK) {
75 ALOGE("%s: Failed to read metadata from parcel: %d", __FUNCTION__, res);
76 return res;
82 status_t res; local
83 if ((res = parcel->writeString16(mPhysicalCameraId)) != OK) {
85 __FUNCTION__, res);
118 status_t res = OK; local
175 status_t res; local
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayUri.cpp129 SLresult res; local
149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
150 CheckErr(res);
164 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
165 iidArray, required); CheckErr(res);
168 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
169 CheckErr(res);
188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
189 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
192 res
322 SLresult res; local
[all...]
H A DslesTestGetPositionUri.cpp69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); local
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res);
96 SLresult res; local
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
118 res
131 SLresult res; local
313 SLresult res; local
[all...]
H A DslesTestLoopUri.cpp126 SLresult res; local
146 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
147 CheckErr(res);
158 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
159 iidArray, required); CheckErr(res);
162 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
163 CheckErr(res);
186 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
187 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
190 res
288 SLresult res; local
[all...]
H A DslesTestManyPlayers.cpp76 SLresult res; local
79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId);
82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId);
107 SLresult res; local
116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId);
123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerI
132 SLresult res; local
207 SLresult res; local
[all...]
/frameworks/native/libs/gui/view/
H A DSurface.cpp37 status_t res = OK;
40 res = parcel->writeString16(name);
41 if (res != OK) return res;
44 res = parcel->writeInt32(0);
45 if (res != OK) return res;
58 status_t res = OK;
63 res = parcel->readInt32(&isSingleBuffered);
64 if (res !
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestSawtoothBufferQueue.cpp59 void CheckErr( SLresult res )
61 if ( res != SL_RESULT_SUCCESS )
63 fprintf(stdout, "%u SL failure, exiting\n", res);
67 //fprintf(stdout, "%d SL success, proceeding...\n", res);
88 SLresult res; local
95 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData,
97 CheckErr(res);
109 SLresult res; local
135 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
136 CheckErr(res);
274 SLresult res; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastidct.cpp329 int res, res2; local
341 res = tmp + (pred_word & 0xFF);
342 CLIP_RESULT(res);
345 dst_word = (res2 << 8) | res;
346 res = tmp + ((pred_word >> 16) & 0xFF);
347 CLIP_RESULT(res);
348 dst_word |= (res << 16);
349 res = tmp + ((pred_word >> 24) & 0xFF);
350 CLIP_RESULT(res);
351 dst_word |= (res << 2
376 int res, res2; local
435 int res, res2; local
505 int res, res2; local
581 int res, res2; local
638 int res, res2; local
694 int res, res2; local
749 int res, res2; local
870 int res, res2; local
925 int res, res2; local
991 int res, res2; local
1064 int res, res2; local
1119 int res, res2; local
1172 int res, res2; local
1225 int res, res2; local
1324 int res, res2; local
1372 int res, res2; local
1432 int res, res2; local
1503 int res, res2; local
1580 int res, res2; local
1638 int res, res2; local
1695 int res, res2; local
1751 int res, res2; local
[all...]
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp63 void CheckErr( SLresult res )
65 if ( res != SL_RESULT_SUCCESS ) {
66 fprintf(stderr, "%u SL failure, exiting\n", res);
103 SLresult res; local
123 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
124 CheckErr(res);
138 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
139 iidArray, required); CheckErr(res);
142 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
143 CheckErr(res);
266 SLresult res; member in class:MimeUri
[all...]

Completed in 2414 milliseconds

1234567891011>>