Searched refs:val (Results 76 - 100 of 179) sorted by relevance

12345678

/frameworks/support/renderscript/v8/rs_support/
H A DrsScript.cpp54 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument
55 //ALOGE("setVar %i %p %i", slot, val, len);
60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
63 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, argument
70 (void *)val, len, e, dims, dimLen);
73 void Script::setVarObj(uint32_t slot, ObjectBase *val) { argument
74 //ALOGE("setVarObj %i %p", slot, val);
79 //ALOGE("setvarobj %i %p", slot, val);
80 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimPhoneBookManager.java281 ArrayList<String> val = mEmailsForAdnRec.get(adnRecNum - 1);
282 if (val == null) {
283 val = new ArrayList<String>();
285 val.add(email);
287 mEmailsForAdnRec.put(adnRecNum - 1, val);
401 Map<Integer, Integer> val = new HashMap<Integer, Integer>();
410 parseEf(tlvEf, val, tag);
414 mFileIds.put(recNum, val);
417 void parseEf(SimTlv tlv, Map<Integer, Integer> val, int parentTag) { argument
442 val
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp626 int32_t val; local
627 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) {
628 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHSTATUSCHANGE, val);
629 notifyClient(kEventPrefetchStatusChange, val, 0, notifyUser);
631 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) {
632 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHFILLLEVELUPDATE, val);
633 notifyClient(kEventPrefetchFillLevelUpdate, val, 0, notifyUser);
635 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) {
636 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_ENDOFSTREAM, val);
637 notifyClient(kEventEndOfStream, val,
[all...]
/frameworks/native/libs/utils/
H A DZipFileRO.cpp329 static unsigned int roundUpPower2(unsigned int val) argument
331 val--;
332 val |= val >> 1;
333 val |= val >> 2;
334 val |= val >> 4;
335 val |= val >>
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java377 native void rsnScriptSetVarI(int con, int id, int slot, int val); argument
378 synchronized void nScriptSetVarI(int id, int slot, int val) { argument
380 rsnScriptSetVarI(mContext, id, slot, val);
382 native void rsnScriptSetVarJ(int con, int id, int slot, long val); argument
383 synchronized void nScriptSetVarJ(int id, int slot, long val) { argument
385 rsnScriptSetVarJ(mContext, id, slot, val);
387 native void rsnScriptSetVarF(int con, int id, int slot, float val); argument
388 synchronized void nScriptSetVarF(int id, int slot, float val) { argument
390 rsnScriptSetVarF(mContext, id, slot, val);
392 native void rsnScriptSetVarD(int con, int id, int slot, double val); argument
393 nScriptSetVarD(int id, int slot, double val) argument
397 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument
398 nScriptSetVarV(int id, int slot, byte[] val) argument
402 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument
404 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument
409 rsnScriptSetVarObj(int con, int id, int slot, int val) argument
410 nScriptSetVarObj(int id, int slot, int val) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp191 static void android_os_Parcel_writeInt(JNIEnv* env, jclass clazz, jint nativePtr, jint val) { argument
193 const status_t err = parcel->writeInt32(val);
199 static void android_os_Parcel_writeLong(JNIEnv* env, jclass clazz, jint nativePtr, jlong val) argument
203 const status_t err = parcel->writeInt64(val);
210 static void android_os_Parcel_writeFloat(JNIEnv* env, jclass clazz, jint nativePtr, jfloat val) argument
214 const status_t err = parcel->writeFloat(val);
221 static void android_os_Parcel_writeDouble(JNIEnv* env, jclass clazz, jint nativePtr, jdouble val) argument
225 const status_t err = parcel->writeDouble(val);
232 static void android_os_Parcel_writeString(JNIEnv* env, jclass clazz, jint nativePtr, jstring val) argument
237 if (val) {
[all...]
H A Dandroid_os_SystemProperties.cpp167 const char* val; local
176 val = ""; /* NULL pointer not allowed here */
178 val = env->GetStringUTFChars(valJ, NULL);
181 err = property_set(key, val);
186 env->ReleaseStringUTFChars(valJ, val);
H A Dandroid_util_Binder.cpp555 jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val) argument
557 if (val == NULL) return NULL;
559 if (val->checkSubclass(&gBinderOffsets)) {
561 jobject object = static_cast<JavaBBinder*>(val.get())->object();
562 LOGDEATH("objectForBinder %p: it's our own %p!\n", val.get(), object);
571 jobject object = (jobject)val->findObject(&gBinderProxyOffsets);
575 ALOGV("objectForBinder %p: found existing %p!\n", val.get(), res);
578 LOGDEATH("Proxy object %p of IBinder %p no longer in working set!!!", object, val.get());
580 val->detachObject(&gBinderProxyOffsets);
586 LOGDEATH("objectForBinder %p: created new proxy %p !\n", val
982 push_eventlog_int(char** pos, const char* end, jint val) argument
[all...]
H A DAndroidRuntime.cpp589 const char* val; local
594 case 'n': val = "-Xverify:none"; break;
595 case 'r': val = "-Xverify:remote"; break;
596 case 'a': val = "-Xverify:all"; break;
597 default: val = NULL; break;
600 if (val != NULL) {
601 opt.optionString = val;
609 case 'n': val = "-Xdexopt:none"; break;
610 case 'v': val = "-Xdexopt:verified"; break;
611 case 'a': val
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddcac_prediction.cpp48 int32 val; local
157 val = (int32)(*AC_tmp++) * QP_tmp;
158 q_block[i] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
186 val = (int32)(*AC_tmp++) * QP_tmp;
187 q_block[i<<3] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
H A Dmp4lib_int.h170 int32 val; member in struct:tagVLCtab
176 int16 val; member in struct:tagVLCshorttab
/frameworks/base/media/java/android/media/
H A DMetadata.java520 * Check val is either a system id or a custom one.
521 * @param val Metadata key to test.
524 private boolean checkMetadataId(final int val) { argument
525 if (val <= ANY || (LAST_SYSTEM < val && val < FIRST_CUSTOM)) {
526 Log.e(TAG, "Invalid metadata ID " + val);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBrightnessController.java115 final int val = value + mMinimumBacklight;
116 setBrightness(val);
121 Settings.System.SCREEN_BRIGHTNESS, val,
/frameworks/base/core/java/android/os/
H A DCommonTimeUtils.java69 public int transactSetInt(int method_code, int val) { argument
75 data.writeInt(val);
111 public int transactSetLong(int method_code, long val) { argument
117 data.writeLong(val);
153 public int transactSetString(int method_code, String val) { argument
159 data.writeString(val);
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java356 int val = (int)secondsSinceMidnight / (60*60);
357 c.set(Calendar.HOUR_OF_DAY, val);
358 secondsSinceMidnight -= val * (60*60);
359 val = (int)secondsSinceMidnight / 60;
360 c.set(Calendar.MINUTE, val);
361 c.set(Calendar.SECOND, (int)secondsSinceMidnight - (val*60));
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackGraphs.java129 for (double val : sortedValues) {
130 agg += val;
141 for (double val : sortedValues) {
142 agg += val;
143 sqrAgg += val*val;
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp211 llvm::StringRef val = getStringFromOperand(node->getOperand(1)); local
218 writeString(val, result->mStringPool, &cur_string_pool_offset)));
345 llvm::StringRef val = getStringFromOperand(node->getOperand(0)); local
346 if (val.empty()) {
351 if (val.getAsInteger(10, slot)) {
352 ALOGE("Non-integer object slot value '%s' in %s!", val.str().c_str(),
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java422 int val;
424 val = mLastCount;
426 val = mCount.get();
428 val -= mUnpluggedCount;
430 val -= mLoadedCount;
434 return val;
637 long val;
639 val = mLastTime;
641 val = computeRunTimeLocked(batteryRealtime);
643 val
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java519 native void rsnScriptSetVarI(int con, int id, int slot, int val); argument
520 synchronized void nScriptSetVarI(int id, int slot, int val) { argument
522 rsnScriptSetVarI(mContext, id, slot, val);
524 native void rsnScriptSetVarJ(int con, int id, int slot, long val); argument
525 synchronized void nScriptSetVarJ(int id, int slot, long val) { argument
527 rsnScriptSetVarJ(mContext, id, slot, val);
529 native void rsnScriptSetVarF(int con, int id, int slot, float val); argument
530 synchronized void nScriptSetVarF(int id, int slot, float val) { argument
532 rsnScriptSetVarF(mContext, id, slot, val);
534 native void rsnScriptSetVarD(int con, int id, int slot, double val); argument
535 nScriptSetVarD(int id, int slot, double val) argument
539 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument
540 nScriptSetVarV(int id, int slot, byte[] val) argument
544 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument
546 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument
551 rsnScriptSetVarObj(int con, int id, int slot, int val) argument
552 nScriptSetVarObj(int id, int slot, int val) argument
[all...]
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java115 int val = prefs.getInt(PREF_KEY, 0);
116 String str = "'" + PREF_KEY + "' is " + val;
124 int val = prefs.getInt(PREF_KEY, 0);
126 editor.putInt(PREF_KEY, val+1);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java128 WeakReference<?> val = values[i];
132 if (val != DELETED && val.get() != null) {
135 values[o] = val;
/frameworks/compile/linkloader/include/
H A DELFTypes.h73 TYPE(IMPL val) : value(val) { } \
76 TYPE &operator=(IMPL val) { value = val; return *this; } \
/frameworks/compile/mclinker/lib/LD/
H A DEhFrame.cpp329 uint32_t val = *p; local
333 val = bswap32(val);
334 return val;
/frameworks/native/include/utils/
H A DStrongPointer.h30 TextOutput& printStrongPointer(TextOutput& to, const void* val);
114 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
213 return printStrongPointer(to, val.get());
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp442 AString val; local
443 if (!GetAttribute(params.c_str(), "cpresent", &val)) {
445 } else if (val == "0") {
448 CHECK(val == "1");
452 CHECK(GetAttribute(params.c_str(), "config", &val));
454 sp<ABuffer> config = decodeHex(val);

Completed in 310 milliseconds

12345678