Searched refs:res (Results 1 - 25 of 1775) 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/v4/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/v4/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/v4/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/device3/
H A DCamera3OutputStream.cpp115 status_t res; local
117 if ((res = getBufferPreconditionCheckLocked()) != OK) {
118 return res;
127 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, &fenceFd);
128 if (res == OK) {
132 res = mConsumer->attachBuffer(anb);
133 if (res != OK) {
135 __FUNCTION__, mId, strerror(-res), res);
136 return res;
197 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); local
218 status_t res; local
313 status_t res = OK; local
332 status_t res; local
472 status_t res; local
522 status_t res; local
547 status_t res = getEndpointUsage(&usage); local
581 status_t res = stream->mBufferManager->onBufferReleased( local
599 status_t res = mConsumer->detachNextBuffer(buffer, &fence); local
627 status_t res = getEndpointUsage(&usage); 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
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/v4/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/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);
375 binder::Status res = binder::Status::ok(); local
378 if (callingPid != mClientPid && callingPid != mServicePid) return res;
510 status_t res; local
528 status_t res; local
595 status_t res = OK; local
648 status_t res; local
700 status_t res; local
708 status_t res; local
876 status_t res; local
883 status_t res; local
945 status_t res; local
955 status_t res; local
985 status_t res; local
993 status_t res; local
1173 status_t res; local
1255 status_t res; local
1334 status_t res; local
1379 status_t res; local
1488 status_t res; local
1522 status_t res; local
1628 status_t res; local
1661 status_t res = OK; local
1917 status_t res = OK; local
1959 status_t res; local
2034 status_t res; local
2062 status_t res; local
2110 status_t res = updateProcessorStream(mJpegProcessor, params); local
2122 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 497 milliseconds

1234567891011>>