/frameworks/base/tools/aapt/ |
D | Bundle.h | 62 void setVerbose(bool val) { mVerbose = val; } in setVerbose() argument 64 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList() argument 66 void setForce(bool val) { mForce = val; } in setForce() argument 67 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } in setGrayscaleTolerance() argument 70 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } in setMakePackageDirs() argument 72 void setUpdate(bool val) { mUpdate = val; } in setUpdate() argument 74 void setExtending(bool val) { mExtending = val; } in setExtending() argument 76 void setRequireLocalization(bool val) { mRequireLocalization = val; } in setRequireLocalization() argument 78 void setPseudolocalize(bool val) { mPseudolocalize = val; } in setPseudolocalize() argument 80 void setValues(bool val) { mValues = val; } in setValues() argument [all …]
|
D | ZipEntry.h | 105 void setMarked(bool val) { mMarked = val; } in setMarked() argument 117 static inline void putShortLE(unsigned char* buf, short val) { in putShortLE() argument 118 buf[0] = (unsigned char) val; in putShortLE() 119 buf[1] = (unsigned char) (val >> 8); in putShortLE() 121 static inline void putLongLE(unsigned char* buf, long val) { in putLongLE() argument 122 buf[0] = (unsigned char) val; in putLongLE() 123 buf[1] = (unsigned char) (val >> 8); in putLongLE() 124 buf[2] = (unsigned char) (val >> 16); in putLongLE() 125 buf[3] = (unsigned char) (val >> 24); in putLongLE()
|
/frameworks/base/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 | 171 unsigned int roundUpPower2(unsigned int val) in roundUpPower2() argument 173 val--; in roundUpPower2() 174 val |= val >> 1; in roundUpPower2() 175 val |= val >> 2; in roundUpPower2() 176 val |= val >> 4; in roundUpPower2() 177 val |= val >> 8; in roundUpPower2() 178 val |= val >> 16; in roundUpPower2() 179 val++; in roundUpPower2() 181 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 | 387 public final native void writeInt(int val); in writeInt() argument 393 public final native void writeLong(long val); in writeLong() argument 399 public final native void writeFloat(float val); in writeFloat() argument 405 public final native void writeDouble(double val); in writeDouble() argument 411 public final native void writeString(String val); in writeString() argument 417 public final native void writeStrongBinder(IBinder val); in writeStrongBinder() argument 423 public final void writeStrongInterface(IInterface val) { in writeStrongInterface() argument 424 writeStrongBinder(val == null ? null : val.asBinder()); in writeStrongInterface() 431 public final native void writeFileDescriptor(FileDescriptor val); in writeFileDescriptor() argument 437 public final void writeByte(byte val) { in writeByte() argument [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TreeMapTest.java | 51 int val = mRandom.nextInt(1000); in doTest() local 52 if (SPEW) System.out.println("Adding val = " + val); in doTest() 53 if (val < minVal) { in doTest() 54 minVal = val; in doTest() 56 if (val > maxVal) { in doTest() 57 maxVal = val; in doTest() 59 tm.put(new Integer(val), "V:" + val); in doTest() 60 hm.put(new Integer(val), "V:" + val); in doTest() 77 for (int val = 0; val < 1000; val++) { in doTest() 78 Integer vv = new Integer(val); in doTest() [all …]
|
/frameworks/base/awt/java/awt/image/ |
D | DataBufferDouble.java | 130 public void setElem(int bank, int i, int val) { in setElem() argument 131 data[bank][offsets[bank] + i] = val; in setElem() 136 public void setElemFloat(int bank, int i, float val) { in setElemFloat() argument 137 data[bank][offsets[bank] + i] = val; in setElemFloat() 142 public void setElemDouble(int bank, int i, double val) { in setElemDouble() argument 143 data[bank][offsets[bank] + i] = val; in setElemDouble() 148 public void setElem(int i, int val) { in setElem() argument 149 data[0][offset + i] = val; in setElem() 169 public void setElemFloat(int i, float val) { in setElemFloat() argument 170 data[0][offset + i] = val; in setElemFloat() [all …]
|
D | DataBufferFloat.java | 130 public void setElem(int bank, int i, int val) { in setElem() argument 131 data[bank][offsets[bank] + i] = val; in setElem() 136 public void setElemFloat(int bank, int i, float val) { in setElemFloat() argument 137 data[bank][offsets[bank] + i] = val; in setElemFloat() 142 public void setElemDouble(int bank, int i, double val) { in setElemDouble() argument 143 data[bank][offsets[bank] + i] = (float)val; in setElemDouble() 148 public void setElem(int i, int val) { in setElem() argument 149 data[0][offset + i] = val; in setElem() 169 public void setElemFloat(int i, float val) { in setElemFloat() argument 170 data[0][offset + i] = val; in setElemFloat() [all …]
|
D | DataBuffer.java | 210 public abstract void setElem(int bank, int i, int val); in setElem() argument 222 public void setElemFloat(int bank, int i, float val) { in setElemFloat() argument 223 setElem(bank, i, (int)val); in setElemFloat() 236 public void setElemDouble(int bank, int i, double val) { in setElemDouble() argument 237 setElem(bank, i, (int)val); in setElemDouble() 248 public void setElem(int i, int val) { in setElem() argument 249 setElem(0, i, val); in setElem() 299 public void setElemFloat(int i, float val) { in setElemFloat() argument 300 setElemFloat(0, i, val); in setElemFloat() 311 public void setElemDouble(int i, double val) { in setElemDouble() argument [all …]
|
D | DataBufferInt.java | 130 public void setElem(int bank, int i, int val) { in setElem() argument 131 data[bank][offsets[bank] + i] = val; in setElem() 136 public void setElem(int i, int val) { in setElem() argument 137 data[0][offset + i] = val; in setElem()
|
/frameworks/base/core/java/android/net/http/ |
D | Headers.java | 168 String val = buffer.substringTrimmed(pos, buffer.length()); in parseHeader() local 176 mHeaders[IDX_TRANSFER_ENCODING] = val; in parseHeader() 183 if (HTTP.IDENTITY_CODING.equalsIgnoreCase(val)) { in parseHeader() 196 mHeaders[IDX_CONTENT_LEN] = val; in parseHeader() 198 contentLength = Long.parseLong(val); in parseHeader() 209 mHeaders[IDX_CONTENT_TYPE] = val; in parseHeader() 214 mHeaders[IDX_CONTENT_ENCODING] = val; in parseHeader() 219 mHeaders[IDX_CONN_DIRECTIVE] = val; in parseHeader() 225 mHeaders[IDX_LOCATION] = val; in parseHeader() 230 mHeaders[IDX_PROXY_CONNECTION] = val; in parseHeader() [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/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()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 177 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml() argument 183 writeMapXml(val, null, serializer); in writeMapXml() 199 public static final void writeListXml(List val, OutputStream out) in writeListXml() argument 206 writeListXml(val, null, serializer); in writeListXml() 224 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument 227 if (val == null) { in writeMapXml() 233 Set s = val.entrySet(); in writeMapXml() 263 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument 266 if (val == null) { in writeListXml() 277 int N = val.size(); in writeListXml() [all …]
|
/frameworks/base/libs/rs/ |
D | rsUtils.h | 63 T rsFindHighBit(T val) in rsFindHighBit() argument 66 while(val > 1) { in rsFindHighBit() 68 val>>=1; in rsFindHighBit() 74 bool rsIsPow2(T val) in rsIsPow2() argument 76 return (val & (val-1)) == 0; in rsIsPow2()
|
/frameworks/base/core/java/android/webkit/ |
D | ViewManager.java | 105 private int ctvD(int val) { in ctvD() argument 106 return mWebView.contentToViewDimension(val); in ctvD() 113 private int ctvX(int val) { in ctvX() argument 114 return mWebView.contentToViewX(val); in ctvX() 121 private int ctvY(int val) { in ctvY() argument 122 return mWebView.contentToViewY(val); in ctvY()
|
/frameworks/base/core/java/android/text/ |
D | PackedObjectVector.java | 142 Object val = mValues[i * mColumns + j]; in moveRowGapTo() local 144 mValues[destrow * mColumns + j] = val; in moveRowGapTo() 158 Object val = mValues[i * mColumns + j]; in moveRowGapTo() local 160 mValues[destrow * mColumns + j] = val; in moveRowGapTo() 175 Object val = mValues[i * mColumns + j]; in dump() local 178 System.out.print(val + " "); in dump() 180 System.out.print("(" + val + ") "); in dump()
|
/frameworks/base/include/binder/ |
D | Parcel.h | 73 status_t writeInt32(int32_t val); 74 status_t writeInt64(int64_t val); 75 status_t writeFloat(float val); 76 status_t writeDouble(double val); 77 status_t writeIntPtr(intptr_t val); 82 status_t writeStrongBinder(const sp<IBinder>& val); 83 status_t writeWeakBinder(const wp<IBinder>& val); 99 status_t writeObject(const flat_binder_object& val, bool nullMetaData); 175 status_t writeAligned(T val);
|
/frameworks/base/include/utils/ |
D | List.h | 50 explicit _Node(const T& val) : mVal(val) {} in _Node() argument 56 inline void setVal(const T& val) { mVal = val; } in setVal() argument 207 void push_front(const T& val) { insert(begin(), val); } in push_front() argument 208 void push_back(const T& val) { insert(end(), val); } in push_back() argument 211 iterator insert(iterator posn, const T& val) in insert() argument 213 _Node* newNode = new _Node(val); // alloc & copy-construct in insert()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | PerformanceTests.java | 447 boolean val; in testInstanceOfTrivial() 450 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 451 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 452 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 453 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 454 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 455 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 456 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 457 val = iabc instanceof Alphabet; in testInstanceOfTrivial() 458 val = iabc instanceof Alphabet; in testInstanceOfTrivial() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumberPicker.java | 244 int val = getSelectedPos(str.toString()); in validateCurrentView() local 245 if ((val >= mStart) && (val <= mEnd)) { in validateCurrentView() 246 if (mCurrent != val) { in validateCurrentView() 248 mCurrent = val; in validateCurrentView() 325 for (String val : mDisplayedValues) { in filter() 326 val = val.toLowerCase(); in filter() 327 if (val.startsWith(str)) { in filter() 364 int val = getSelectedPos(result); in filter() local 371 if (val > mEnd) { in filter()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | NmeaParser.java | 160 int val; in updateIntExtra() local 162 val = Integer.parseInt(value); in updateIntExtra() 170 mExtras.putInt(name, val); in updateIntExtra() 175 float val; in updateFloatExtra() local 177 val = Float.parseFloat(value); in updateFloatExtra() 185 mExtras.putFloat(name, val); in updateFloatExtra() 190 double val; in updateDoubleExtra() local 192 val = Double.parseDouble(value); in updateDoubleExtra() 200 mExtras.putDouble(name, val); in updateDoubleExtra() 205 double val = Double.parseDouble(coord); in convertFromHHMM() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMetadataParserTest.java | 350 private void writeStringRecord(int metadataId, String val) { in writeStringRecord() argument 355 mParcel.writeString(val); in writeStringRecord() 360 private void writeIntRecord(int metadataId, int val) { in writeIntRecord() argument 365 mParcel.writeInt(val); in writeIntRecord() 370 private void writeBooleanRecord(int metadataId, boolean val) { in writeBooleanRecord() argument 375 mParcel.writeInt(val ? 1 : 0); in writeBooleanRecord() 380 private void writeLongRecord(int metadataId, long val) { in writeLongRecord() argument 385 mParcel.writeLong(val); in writeLongRecord() 390 private void writeDoubleRecord(int metadataId, double val) { in writeDoubleRecord() argument 395 mParcel.writeDouble(val); in writeDoubleRecord() [all …]
|
/frameworks/base/libs/binder/ |
D | Parcel.cpp | 563 status_t Parcel::writeInt32(int32_t val) in writeInt32() argument 565 return writeAligned(val); in writeInt32() 568 status_t Parcel::writeInt64(int64_t val) in writeInt64() argument 570 return writeAligned(val); in writeInt64() 573 status_t Parcel::writeFloat(float val) in writeFloat() argument 575 return writeAligned(val); in writeFloat() 578 status_t Parcel::writeDouble(double val) in writeDouble() argument 580 return writeAligned(val); in writeDouble() 583 status_t Parcel::writeIntPtr(intptr_t val) in writeIntPtr() argument 585 return writeAligned(val); in writeIntPtr() [all …]
|