Searched refs:res (Results 1 - 25 of 1869) 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/support/compat/api23/android/support/v4/content/res/
H A DResourcesCompatApi23.java17 package android.support.v4.content.res;
19 import android.content.res.ColorStateList;
20 import android.content.res.Resources;
21 import android.content.res.Resources.NotFoundException;
22 import android.content.res.Resources.Theme;
25 public static int getColor(Resources res, int id, Theme theme) throws NotFoundException { argument
26 return res.getColor(id, theme);
29 public static ColorStateList getColorStateList(Resources res, int id, Theme theme) argument
31 return res.getColorStateList(id, theme);
/frameworks/support/compat/ics-mr1/android/support/v4/content/res/
H A DResourcesCompatIcsMr1.java17 package android.support.v4.content.res;
19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawableForDensity(Resources res, int id, int density) argument
27 return res.getDrawableForDensity(id, density);
/frameworks/support/compat/api21/android/support/v4/content/res/
H A DResourcesCompatApi21.java17 package android.support.v4.content.res;
19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme) argument
27 return res.getDrawable(id, theme);
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) argument
32 return res.getDrawableForDensity(id, density, theme);
/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
119 res
160 status_t res; local
224 status_t res; local
262 status_t res; local
302 status_t res; local
345 status_t res; local
408 status_t res; local
443 status_t res; local
491 status_t res; local
539 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/support/compat/java/android/support/v4/content/res/
H A DResourcesCompat.java17 package android.support.v4.content.res;
19 import android.content.res.ColorStateList;
20 import android.content.res.Resources;
21 import android.content.res.Resources.NotFoundException;
22 import android.content.res.Resources.Theme;
33 * Helper for accessing features in {@link android.content.res.Resources}
57 public static Drawable getDrawable(@NonNull Resources res, @DrawableRes int id, argument
60 return ResourcesCompatApi21.getDrawable(res, id, theme);
62 return res.getDrawable(id);
90 public static Drawable getDrawableForDensity(@NonNull Resources res, argument
120 getColor(@onNull Resources res, @ColorRes int id, @Nullable Theme theme) argument
150 getColorStateList(@onNull Resources res, @ColorRes int id, @Nullable Theme theme) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DInterestingConfigChanges.java20 import android.content.res.Configuration;
21 import android.content.res.Resources;
27 public boolean applyNewConfig(Resources res) { argument
28 int configChanges = mLastConfiguration.updateFrom(res.getConfiguration());
29 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi;
32 mLastDensity = res.getDisplayMetrics().densityDpi;
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorResult.java20 public void set(int res) { argument
23 mResult = res;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp151 status_t res; local
153 if ((res = getBufferPreconditionCheckLocked()) != OK) {
154 return res;
163 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, &fenceFd);
164 if (res == OK) {
168 res = mConsumer->attachBuffer(anb);
169 if (res != OK) {
171 __FUNCTION__, mId, strerror(-res), res);
172 return res;
233 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); local
254 status_t res; local
350 status_t res = OK; local
369 status_t res; local
515 status_t res; local
570 status_t res; local
601 status_t res = getEndpointUsage(&usage); local
635 status_t res = stream->mBufferManager->onBufferReleased( local
653 status_t res = mConsumer->detachNextBuffer(buffer, &fence); local
701 status_t res = getEndpointUsage(&usage); local
712 status_t res = getEndpointUsage(&usage); local
[all...]
/frameworks/base/tools/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/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp74 status_t res; local
76 res = Camera2ClientBase::initialize(module);
77 if (res != OK) {
78 return res;
84 res = l.mParameters.initialize(&(mDevice->info()), mDeviceVersion);
85 if (res != OK) {
87 __FUNCTION__, mCameraId, strerror(-res), res);
378 binder::Status res = binder::Status::ok(); local
381 if (callingPid != mClientPid && callingPid != mServicePid) return res;
513 status_t res; local
531 status_t res; local
598 status_t res = OK; local
651 status_t res; local
703 status_t res; local
711 status_t res; local
879 status_t res; local
886 status_t res; local
948 status_t res; local
958 status_t res; local
988 status_t res; local
996 status_t res; local
1176 status_t res; local
1258 status_t res; local
1337 status_t res; local
1382 status_t res; local
1491 status_t res; local
1525 status_t res; local
1631 status_t res; local
1664 status_t res = OK; local
1920 status_t res = OK; local
1962 status_t res; local
2037 status_t res; local
2065 status_t res; local
2113 status_t res = updateProcessorStream(mJpegProcessor, params); local
2125 status_t res; local
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp56 status_t res = OK; local
71 res = mCameraModule->getCameraInfo(
73 if (res) {
76 return res;
110 status_t res = OK; local
132 res = createFlashlightControl(cameraId);
133 if (res) {
134 return res;
136 res = mFlashControl->setTorchMode(cameraId, enabled);
137 return res;
159 status_t res; local
319 status_t res = mCameraModule->getCameraInfo(atoi(cameraId.string()), local
382 status_t res; local
472 status_t res = mCameraModule->getCameraInfo(atoi(cameraId.string()), &info); local
535 status_t res = mCameraModule->getCameraInfo( local
555 status_t res; local
595 status_t res = hasFlashUnitLocked(cameraId, &hasFlash); local
679 status_t res; local
734 status_t res; local
771 status_t res = OK; local
816 status_t res; local
854 status_t res = device->initialize(mCameraModule); local
899 status_t res = native_window_api_disconnect(mSurface.get(), 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...]
/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...]

Completed in 921 milliseconds

1234567891011>>