/frameworks/base/tools/aapt/ |
D | Bundle.h | 80 void setVerbose(bool val) { mVerbose = val; } in setVerbose() argument 82 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList() argument 84 void setForce(bool val) { mForce = val; } in setForce() argument 85 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } in setGrayscaleTolerance() argument 88 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } in setMakePackageDirs() argument 90 void setUpdate(bool val) { mUpdate = val; } in setUpdate() argument 92 void setExtending(bool val) { mExtending = val; } in setExtending() argument 94 void setRequireLocalization(bool val) { mRequireLocalization = val; } in setRequireLocalization() argument 96 void setPseudolocalize(bool val) { mPseudolocalize = val; } in setPseudolocalize() argument 97 void setWantUTF16(bool val) { mWantUTF16 = val; } in setWantUTF16() argument [all …]
|
D | ZipEntry.h | 110 void setMarked(bool val) { mMarked = val; } in setMarked() argument 122 static inline void putShortLE(unsigned char* buf, short val) { in putShortLE() argument 123 buf[0] = (unsigned char) val; in putShortLE() 124 buf[1] = (unsigned char) (val >> 8); in putShortLE() 126 static inline void putLongLE(unsigned char* buf, long val) { in putLongLE() argument 127 buf[0] = (unsigned char) val; in putLongLE() 128 buf[1] = (unsigned char) (val >> 8); in putLongLE() 129 buf[2] = (unsigned char) (val >> 16); in putLongLE() 130 buf[3] = (unsigned char) (val >> 24); in putLongLE()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestRunner.java | 86 String val = arguments.getString("enable_iterations"); in onCreate() local 87 if (val != null) { in onCreate() 89 sEnableIterations = Integer.parseInt(val); in onCreate() 95 val = arguments.getString("discoverable_iterations"); in onCreate() 96 if (val != null) { in onCreate() 98 sDiscoverableIterations = Integer.parseInt(val); in onCreate() 104 val = arguments.getString("scan_iterations"); in onCreate() 105 if (val != null) { in onCreate() 107 sScanIterations = Integer.parseInt(val); in onCreate() 113 val = arguments.getString("enable_pan_iterations"); in onCreate() [all …]
|
/frameworks/av/media/libaah_rtp/ |
D | aah_tx_packet.cpp | 38 void TRTPPacket::setSeqNumber(uint16_t val) { in setSeqNumber() argument 39 mSeqNumber = val; in setSeqNumber() 53 void TRTPPacket::setPTS(int64_t val) { in setPTS() argument 55 mPTS = val; in setPTS() 63 void TRTPPacket::setEpoch(uint32_t val) { in setEpoch() argument 64 mEpoch = val; in setEpoch() 70 uint32_t val = ntohl(*buf); in setEpoch() local 71 val &= ~(kTRTPEpochMask << kTRTPEpochShift); in setEpoch() 72 val |= (mEpoch & kTRTPEpochMask) << kTRTPEpochShift; in setEpoch() 73 *buf = htonl(val); in setEpoch() [all …]
|
D | aah_tx_packet.h | 65 void setSeqNumber(uint16_t val); 68 void setPTS(int64_t val); 71 void setEpoch(uint32_t val); 72 void setProgramID(uint16_t val); 73 void setSubstreamID(uint16_t val); 79 void setExpireTime(nsecs_t val); 96 void writeU8(uint8_t*& buf, uint8_t val); 97 void writeU16(uint8_t*& buf, uint16_t val); 98 void writeU32(uint8_t*& buf, uint32_t val); 99 void writeU64(uint8_t*& buf, uint64_t val); [all …]
|
/frameworks/native/libs/utils/ |
D | TextOutput.cpp | 37 TextOutput& operator<<(TextOutput& to, bool val) in operator <<() argument 39 if (val) to.print("true", 4); in operator <<() 44 TextOutput& operator<<(TextOutput& to, int val) in operator <<() argument 47 sprintf(buf, "%d", val); in operator <<() 52 TextOutput& operator<<(TextOutput& to, long val) in operator <<() argument 55 sprintf(buf, "%ld", val); in operator <<() 60 TextOutput& operator<<(TextOutput& to, unsigned int val) in operator <<() argument 63 sprintf(buf, "%u", val); in operator <<() 68 TextOutput& operator<<(TextOutput& to, unsigned long val) in operator <<() argument 71 sprintf(buf, "%lu", val); in operator <<() [all …]
|
D | misc.cpp | 180 unsigned int roundUpPower2(unsigned int val) in roundUpPower2() argument 182 val--; in roundUpPower2() 183 val |= val >> 1; in roundUpPower2() 184 val |= val >> 2; in roundUpPower2() 185 val |= val >> 4; in roundUpPower2() 186 val |= val >> 8; in roundUpPower2() 187 val |= val >> 16; in roundUpPower2() 188 val++; in roundUpPower2() 190 return val; in roundUpPower2()
|
D | Debug.cpp | 59 static inline char makehexdigit(uint32_t val) in makehexdigit() argument 61 return "0123456789abcdef"[val&0xF]; in makehexdigit() 64 static char* appendhexnum(uint32_t val, char* out) in appendhexnum() argument 67 *out++ = makehexdigit( val>>i ); in appendhexnum() 73 static inline char makeupperhexdigit(uint32_t val) in makeupperhexdigit() argument 75 return "0123456789ABCDEF"[val&0xF]; in makeupperhexdigit() 78 static char* appendupperhexnum(uint32_t val, char* out) in appendupperhexnum() argument 81 *out++ = makeupperhexdigit( val>>i ); in appendupperhexnum() 253 const unsigned char val = *(pos+startIndex+(index*dir)); in printHexData() local 254 *c++ = makehexdigit(val>>4); in printHexData() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 244 private static native void nativeWriteInt(int nativePtr, int val); in nativeWriteInt() argument 245 private static native void nativeWriteLong(int nativePtr, long val); in nativeWriteLong() argument 246 private static native void nativeWriteFloat(int nativePtr, float val); in nativeWriteFloat() argument 247 private static native void nativeWriteDouble(int nativePtr, double val); in nativeWriteDouble() argument 248 private static native void nativeWriteString(int nativePtr, String val); in nativeWriteString() argument 249 private static native void nativeWriteStrongBinder(int nativePtr, IBinder val); in nativeWriteStrongBinder() argument 250 private static native void nativeWriteFileDescriptor(int nativePtr, FileDescriptor val); in nativeWriteFileDescriptor() argument 480 public final void writeInt(int val) { in writeInt() argument 481 nativeWriteInt(mNativePtr, val); in writeInt() 488 public final void writeLong(long val) { in writeLong() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | set_sign.cpp | 252 Word16 val, min; in set_sign() local 258 val = dn[i]; in set_sign() 260 if (val >= 0) in set_sign() 267 val = negate(val); in set_sign() 268 dn[i] = val; /* modify dn[] according to the fixed sign */ in set_sign() 271 dn2[i] = val; in set_sign() 498 Word16 val; in set_sign12k2() local 525 val = *(p_cn++); in set_sign12k2() 526 s = L_mac(s, val, val, pOverflow); in set_sign12k2() 527 val = *(p_dn++); in set_sign12k2() [all …]
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
D | sparse_weight_vector.h | 86 bool GetElementMinBound(const Key &fname, double *val) const { in GetElementMinBound() argument 87 return GetValue(wmin_, fname, val); in GetElementMinBound() 89 bool GetElementMaxBound(const Key &fname, double *val) const { in GetElementMaxBound() argument 90 return GetValue(wmax_, fname, val); in GetElementMaxBound() 100 double val = 0; in GetElement() local 101 GetValue(w_, fname, &val); in GetElement() 102 return val; in GetElement() 104 void SetElement(const Key &fname, const double val) { in SetElement() argument 106 w_[fname] = val; in SetElement() 108 void AddUpdateElement(const Key &fname, const double val) { in AddUpdateElement() argument [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | Headers.java | 171 String val = buffer.substringTrimmed(pos, buffer.length()); in parseHeader() local 179 mHeaders[IDX_TRANSFER_ENCODING] = val; in parseHeader() 186 if (HTTP.IDENTITY_CODING.equalsIgnoreCase(val)) { in parseHeader() 199 mHeaders[IDX_CONTENT_LEN] = val; in parseHeader() 201 contentLength = Long.parseLong(val); in parseHeader() 212 mHeaders[IDX_CONTENT_TYPE] = val; in parseHeader() 217 mHeaders[IDX_CONTENT_ENCODING] = val; in parseHeader() 222 mHeaders[IDX_CONN_DIRECTIVE] = val; in parseHeader() 228 mHeaders[IDX_LOCATION] = val; in parseHeader() 233 mHeaders[IDX_PROXY_CONNECTION] = val; in parseHeader() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_seek_synch.cpp | 133 uint16 val; in pvmp3_frame_synch() local 215 val = (tmp1 << 3); in pvmp3_frame_synch() 216 val |= (tmp2 >> 5); in pvmp3_frame_synch() 221 val = 0; // force mismatch in pvmp3_frame_synch() 224 if (val == SYNC_WORD) in pvmp3_frame_synch() 284 uint16 val; in pvmp3_header_sync() local 290 val = (uint16)getUpTo17bits(inputStream, SYNC_WORD_LNGTH); in pvmp3_header_sync() 292 while (((val&SYNC_WORD) != SYNC_WORD) && (inputStream->usedBits < availableBits)) in pvmp3_header_sync() 294 val <<= 8; in pvmp3_header_sync() 295 val |= getUpTo9bits(inputStream, 8); in pvmp3_header_sync() [all …]
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | UT_struct.java | 38 int val = 100; in run() local 39 i.x = val; in run() 40 i.y = val; in run() 43 s.invoke_struct_test(val); in run() 47 val = 200; in run() 48 p.set_x(0, val, true); in run() 49 p.set_y(0, val, true); in run() 50 s.invoke_struct_test(val); in run()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastcodemb.cpp | 486 Int i, val, sav = 0; in getBlockSAV() local 491 val = *block++; in getBlockSAV() 492 if (val > 0) sav += val; in getBlockSAV() 493 else sav -= val; in getBlockSAV() 494 val = *block++; in getBlockSAV() 495 if (val > 0) sav += val; in getBlockSAV() 496 else sav -= val; in getBlockSAV() 497 val = *block++; in getBlockSAV() 498 if (val > 0) sav += val; in getBlockSAV() 499 else sav -= val; in getBlockSAV() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | CompoundTransform.java | 82 public void setValue(Float3 val) { in setValue() argument 83 mData.value.x = val.x; in setValue() 84 mData.value.y = val.y; in setValue() 85 mData.value.z = val.z; in setValue() 102 public void setAxis(Float3 val) { in setAxis() argument 103 mData.value.x = val.x; in setAxis() 104 mData.value.y = val.y; in setAxis() 105 mData.value.z = val.z; in setAxis() 108 public void setAngle(float val) { in setAngle() argument 109 mData.value.w = val; in setAngle() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Shift_Sat_v32xv32.c | 28 void Shift_Sat_v32xv32 (const LVM_INT16 val, in Shift_Sat_v32xv32() argument 36 if(val>0) in Shift_Sat_v32xv32() 45 b=(a<<val); in Shift_Sat_v32xv32() 47 if( (b>>val) != a ) /* if overflow occured, right shift will show difference*/ in Shift_Sat_v32xv32() 63 else if(val<0) in Shift_Sat_v32xv32() 65 RShift=(LVM_INT16)(-val); in Shift_Sat_v32xv32()
|
D | Shift_Sat_v16xv16.c | 28 void Shift_Sat_v16xv16 (const LVM_INT16 val, in Shift_Sat_v16xv16() argument 36 if(val>0) in Shift_Sat_v16xv16() 43 temp = temp << val; in Shift_Sat_v16xv16() 60 else if(val<0) in Shift_Sat_v16xv16() 62 RShift=(LVM_INT16)(-val); in Shift_Sat_v16xv16()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | ParcelBenchmark.java | 37 final byte val = 0xF; in timeWriteByte() 39 mParcel.writeByte(val); in timeWriteByte() 51 final int val = 0xF; in timeWriteInt() local 53 mParcel.writeInt(val); in timeWriteInt() 65 final long val = 0xF; in timeWriteLong() local 67 mParcel.writeLong(val); in timeWriteLong()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 179 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml() argument 185 writeMapXml(val, null, serializer); in writeMapXml() 201 public static final void writeListXml(List val, OutputStream out) in writeListXml() argument 208 writeListXml(val, null, serializer); in writeListXml() 226 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument 229 if (val == null) { in writeMapXml() 235 Set s = val.entrySet(); in writeMapXml() 265 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument 268 if (val == null) { in writeListXml() 279 int N = val.size(); in writeListXml() [all …]
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 48 int val; in run() local 50 val = BatteryManager.BATTERY_PLUGGED_AC | in run() 54 val = 0; in run() 56 val = BatteryManager.BATTERY_PLUGGED_USB; in run() 58 val = BatteryManager.BATTERY_PLUGGED_AC; in run() 68 pm.setStayOnSetting(val); in run()
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 351 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseStreamInf() local 352 val.trim(); in parseStreamInf() 354 ALOGV("key=%s value=%s", key.c_str(), val.c_str()); in parseStreamInf() 357 const char *s = val.c_str(); in parseStreamInf() 429 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseCipherInfo() local 430 val.trim(); in parseCipherInfo() 432 ALOGV("key=%s value=%s", key.c_str(), val.c_str()); in parseCipherInfo() 442 if (val.size() >= 2 in parseCipherInfo() 443 && val.c_str()[0] == '"' in parseCipherInfo() 444 && val.c_str()[val.size() - 1] == '"') { in parseCipherInfo() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 32 void LoadConst_16( const LVM_INT16 val, 36 void LoadConst_32( const LVM_INT32 val, 53 const LVM_INT16 val, 66 const LVM_INT16 val, 92 const LVM_INT16 val, 97 const LVM_INT16 val, 113 void Shift_Sat_v16xv16 ( const LVM_INT16 val, 118 void Shift_Sat_v32xv32 ( const LVM_INT16 val,
|
/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 112 AString val; in MakeAVCCodecSpecificData() local 113 if (!GetAttribute(params, "profile-level-id", &val)) { in MakeAVCCodecSpecificData() 117 sp<ABuffer> profileLevelID = decodeHex(val); in MakeAVCCodecSpecificData() 128 if (!GetAttribute(params, "sprop-parameter-sets", &val)) { in MakeAVCCodecSpecificData() 134 ssize_t commaPos = val.find(",", start); in MakeAVCCodecSpecificData() 135 size_t end = (commaPos < 0) ? val.size() : commaPos; in MakeAVCCodecSpecificData() 137 AString nalString(val, start, end - start); in MakeAVCCodecSpecificData() 219 AString val; in MakeAACCodecSpecificData() local 220 CHECK(GetAttribute(params, "config", &val)); in MakeAACCodecSpecificData() 222 sp<ABuffer> config = decodeHex(val); in MakeAACCodecSpecificData() [all …]
|
/frameworks/base/core/java/android/speech/srec/ |
D | WaveHeader.java | 257 private static void writeInt(OutputStream out, int val) throws IOException { in writeInt() argument 258 out.write(val >> 0); in writeInt() 259 out.write(val >> 8); in writeInt() 260 out.write(val >> 16); in writeInt() 261 out.write(val >> 24); in writeInt() 264 private static void writeShort(OutputStream out, short val) throws IOException { in writeShort() argument 265 out.write(val >> 0); in writeShort() 266 out.write(val >> 8); in writeShort()
|