/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 280 ArrayList<String> val = mEmailsForAdnRec.get(adnRecNum - 1); 281 if (val == null) { 282 val = new ArrayList<String>(); 284 val.add(email); 286 mEmailsForAdnRec.put(adnRecNum - 1, val); 400 Map<Integer, Integer> val = new HashMap<Integer, Integer>(); 409 parseEf(tlvEf, val, tag); 413 mFileIds.put(recNum, val); 416 void parseEf(SimTlv tlv, Map<Integer, Integer> val, int parentTag) { argument 441 val [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 628 int32_t val; local 629 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { 630 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHSTATUSCHANGE, val); 631 notifyClient(kEventPrefetchStatusChange, val, 0, notifyUser); 633 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { 634 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHFILLLEVELUPDATE, val); 635 notifyClient(kEventPrefetchFillLevelUpdate, val, 0, notifyUser); 637 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { 638 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_ENDOFSTREAM, val); 639 notifyClient(kEventEndOfStream, val, [all...] |
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 471 final Object val = values.get(key); 472 if (val instanceof String) { 473 mExtras.putString(key, (String) val); 474 } else if (val instanceof Float) { 475 mExtras.putFloat(key, (Float) val); 476 } else if (val instanceof Double) { 477 mExtras.putDouble(key, (Double) val); 478 } else if (val instanceof Boolean) { 479 mExtras.putBoolean(key, (Boolean) val); 480 } else if (val instanceo [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dcac_prediction.cpp | 48 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);
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 167 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 D | android_util_Binder.cpp | 546 jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val) argument 548 if (val == NULL) return NULL; 550 if (val->checkSubclass(&gBinderOffsets)) { 552 jobject object = static_cast<JavaBBinder*>(val.get())->object(); 553 LOGDEATH("objectForBinder %p: it's our own %p!\n", val.get(), object); 562 jobject object = (jobject)val->findObject(&gBinderProxyOffsets); 566 ALOGV("objectForBinder %p: found existing %p!\n", val.get(), res); 569 LOGDEATH("Proxy object %p of IBinder %p no longer in working set!!!", object, val.get()); 571 val->detachObject(&gBinderProxyOffsets); 577 LOGDEATH("objectForBinder %p: created new proxy %p !\n", val 1012 push_eventlog_int(char** pos, const char* end, jint val) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 520 * 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/qs/tiles/ |
H A D | DataUsageDetailView.java | 116 double val; 119 val = b / GB; 122 val = b / MB; 125 val = b / KB; 128 return FORMAT.format(val * (bytes < 0 ? -1 : 1)) + " " + suffix;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkCapabilities.java | 224 private int[] enumerateBits(long val) { argument 225 int size = Long.bitCount(val); 229 while (val > 0) { 230 if ((val & 1) == 1) result[index++] = resource; 231 val = val >> 1;
|
/frameworks/base/core/java/android/os/ |
H A D | CommonTimeUtils.java | 70 public int transactSetInt(int method_code, int val) { argument 76 data.writeInt(val); 112 public int transactSetLong(int method_code, long val) { argument 118 data.writeLong(val); 154 public int transactSetString(int method_code, String val) { argument 160 data.writeString(val);
|
H A D | IPowerManager.aidl | 51 void setStayOnSetting(int val);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 662 native void rsnScriptSetVarI(long con, long id, int slot, int val); argument 663 synchronized void nScriptSetVarI(long id, int slot, int val) { argument 665 rsnScriptSetVarI(mContext, id, slot, val); 673 native void rsnScriptSetVarJ(long con, long id, int slot, long val); argument 674 synchronized void nScriptSetVarJ(long id, int slot, long val) { argument 676 rsnScriptSetVarJ(mContext, id, slot, val); 684 native void rsnScriptSetVarF(long con, long id, int slot, float val); argument 685 synchronized void nScriptSetVarF(long id, int slot, float val) { argument 687 rsnScriptSetVarF(mContext, id, slot, val); 694 native void rsnScriptSetVarD(long con, long id, int slot, double val); argument 695 nScriptSetVarD(long id, int slot, double val) argument 704 rsnScriptSetVarV(long con, long id, int slot, byte[] val) argument 705 nScriptSetVarV(long id, int slot, byte[] val) argument 709 rsnScriptGetVarV(long con, long id, int slot, byte[] val) argument 710 nScriptGetVarV(long id, int slot, byte[] val) argument 714 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims) argument 716 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims) argument 721 rsnScriptSetVarObj(long con, long id, int slot, long val) argument 722 nScriptSetVarObj(long id, int slot, long val) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfoExtractor.cpp | 184 llvm::StringRef val = getStringFromOperand(node->getOperand(1)); local 191 writeString(val, result->mStringPool, &cur_string_pool_offset))); 318 llvm::StringRef val = getStringFromOperand(node->getOperand(0)); local 319 if (val.empty()) { 324 if (val.getAsInteger(10, slot)) { 325 ALOGE("Non-integer object slot value '%s' in %s!", val.str().c_str(),
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 58 float val = 0; 61 gLinePts[index + 1] = val; 63 gLinePts[index + 3] = val; 65 val += 8 + (2.0f/NUM_PARALLEL_LINES); 67 val = 0; 69 gLinePts[index + 0] = val; 71 gLinePts[index + 2] = val; 74 val += 8 + (2.0f/NUM_PARALLEL_LINES);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 408 public static boolean isValidHour(int val) { argument 409 return val >= 0 && val < 24; 412 public static boolean isValidMinute(int val) { argument 413 return val >= 0 && val < 60; 417 final String val = parser.getAttributeValue(null, att); 418 if (TextUtils.isEmpty(val)) return defValue; 419 return Boolean.valueOf(val); 423 final String val [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.cpp | 1275 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1277 helper_extract_thumb_movw_movt_addend(val) + pReloc.addend(); 1291 val = helper_insert_val_thumb_movw_movt_inst(val, X); 1292 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = val >> 16; 1293 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = val & 0xFFFFu; 1310 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1312 helper_extract_thumb_movw_movt_addend(val) + pReloc.addend(); 1315 val = helper_insert_val_thumb_movw_movt_inst(val, 1335 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1357 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1394 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 571 native void rsnScriptSetVarI(int con, int id, int slot, int val); argument 572 synchronized void nScriptSetVarI(int id, int slot, int val) { argument 574 rsnScriptSetVarI(mContext, id, slot, val); 576 native void rsnScriptSetVarJ(int con, int id, int slot, long val); argument 577 synchronized void nScriptSetVarJ(int id, int slot, long val) { argument 579 rsnScriptSetVarJ(mContext, id, slot, val); 581 native void rsnScriptSetVarF(int con, int id, int slot, float val); argument 582 synchronized void nScriptSetVarF(int id, int slot, float val) { argument 584 rsnScriptSetVarF(mContext, id, slot, val); 586 native void rsnScriptSetVarD(int con, int id, int slot, double val); argument 587 nScriptSetVarD(int id, int slot, double val) argument 591 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 592 nScriptSetVarV(int id, int slot, byte[] val) argument 596 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 598 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 603 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 604 nScriptSetVarObj(int id, int slot, int val) argument [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 39 static inline T convertValue(double val) argument 42 return floor(val * 32767.0 + 0.5); 44 return floor(val * (1UL<<31) + 0.5); 46 return val; // assume float or double
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 115 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 D | SparseWeakArray.java | 128 WeakReference<?> val = values[i]; 132 if (val != DELETED && val.get() != null) { 135 values[o] = val;
|
/frameworks/rs/cpp/util/ |
H A D | StrongPointer.h | 31 TextOutput& printStrongPointer(TextOutput& to, const void* val); 115 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 214 return printStrongPointer(to, val.get());
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFTypes.h | 73 TYPE(IMPL val) : value(val) { } \ 76 TYPE &operator=(IMPL val) { value = val; return *this; } \
|
/frameworks/rs/server/ |
H A D | StrongPointer.h | 30 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/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifTag.java | 655 long[] val = (long[]) mValue; 656 int[] arr = new int[val.length]; 657 for (int i = 0; i < val.length; i++) { 658 arr[i] = (int) val[i]; // Truncates 764 Object val = ((Object[]) mValue)[0]; 765 if (val == null) { 768 return val.toString();
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 789 sampleP.val[0] = vrev64_s16(sampleP.val[0]); 790 sampleP.val[1] = vrev64_s16(sampleP.val[1]); 795 samplePExt.val[0] = vshll_n_s16(sampleP.val[0], 15); 796 samplePExt.val[1] = vshll_n_s16(sampleP.val[1], 15); 800 sampleNExt.val[0] = vshll_n_s16(sampleN.val[ [all...] |