/packages/services/Car/libvehiclenetwork/native/ |
D | VehicleNetworkProtoUtil.cpp | 26 static status_t copyString(const std::string& in, uint8_t** out, int32_t* len) { in copyString() argument 29 *out = NULL; in copyString() 32 *out = new uint8_t[*len]; in copyString() 33 ASSERT_OR_HANDLE_NO_MEMORY(*out, return NO_MEMORY); in copyString() 34 memcpy(*out, in.data(), *len); in copyString() 39 VehiclePropValue& out, bool /*inPlace*/) { in toVehiclePropValue() argument 40 out.set_prop(in.prop); in toVehiclePropValue() 41 out.set_value_type(in.value_type); in toVehiclePropValue() 42 out.set_timestamp(in.timestamp); in toVehiclePropValue() 43 out.set_zone(in.zone); in toVehiclePropValue() [all …]
|
/packages/apps/Launcher3/ |
D | print_db.py | 70 def print_intent(out, id, i, cell): argument 72 out.write("""<span class="intent" title="%s">shortcut</span>""" % ( 77 def print_icon(out, id, i, cell): argument 80 out.write("""<img style="width: 3em; height: 3em;" src="%s">""" % ( icon_fn )) 85 def print_icon_type(out, id, i, cell): argument 87 out.write("Application (%d)" % cell) 89 out.write("Shortcut (%d)" % cell) 91 out.write("Folder (%d)" % cell) 93 out.write("Widget (%d)" % cell) 95 out.write("%d" % cell) [all …]
|
/packages/apps/Launcher2/ |
D | print_db.py | 50 def print_intent(out, id, i, cell): argument 52 out.write("""<span class="intent" title="%s">shortcut</span>""" % ( 57 def print_icon(out, id, i, cell): argument 60 out.write("""<img src="%s">""" % ( icon_fn )) 65 def print_cell(out, id, i, cell): argument 67 out.write(cgi.escape(str(cell))) 74 def render_cell_info(out, cell, occupied): argument 76 out.write(" <td width=%d height=%d></td>\n" % 90 out.write((" <td colspan=%d rowspan=%d width=%d height=%d" 97 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] )) [all …]
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
D | DvrStorageManager.java | 188 private void writeFormatInt(DataOutputStream out, MediaFormat format, String key) in writeFormatInt() argument 191 out.writeInt(format.getInteger(key)); in writeFormatInt() 193 out.writeInt(NO_VALUE); in writeFormatInt() 197 private void writeFormatLong(DataOutputStream out, MediaFormat format, String key) in writeFormatLong() argument 200 out.writeLong(format.getLong(key)); in writeFormatLong() 202 out.writeLong(NO_VALUE_LONG); in writeFormatLong() 206 private void writeFormatFloat(DataOutputStream out, MediaFormat format, String key) in writeFormatFloat() argument 209 out.writeFloat(format.getFloat(key)); in writeFormatFloat() 211 out.writeFloat(NO_VALUE); in writeFormatFloat() 215 private void writeString(DataOutputStream out, String str) throws IOException { in writeString() argument [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 241 public void writeToParcel(final Parcel out, final int flags) { in writeToParcel() argument 242 out.writeString(mUri); in writeToParcel() 243 out.writeLong(mRowId); in writeToParcel() 244 out.writeLong(mTimestampInMillis); in writeToParcel() 245 out.writeLong(mTimestampSentInMillis); in writeToParcel() 246 out.writeInt(mType); in writeToParcel() 247 out.writeLong(mThreadId); in writeToParcel() 248 out.writeInt(mStatus); in writeToParcel() 249 out.writeInt(mRead ? 1 : 0); in writeToParcel() 250 out.writeInt(mSeen ? 1 : 0); in writeToParcel() [all …]
|
/packages/services/Car/car-support-lib/src/android/support/car/app/ |
D | CarFragmentActivity.java | 498 StringBuilder out = new StringBuilder(128); in viewToString() local 499 out.append(view.getClass().getName()); in viewToString() 500 out.append('{'); in viewToString() 501 out.append(Integer.toHexString(System.identityHashCode(view))); in viewToString() 502 out.append(' '); in viewToString() 504 case View.VISIBLE: out.append('V'); break; in viewToString() 505 case View.INVISIBLE: out.append('I'); break; in viewToString() 506 case View.GONE: out.append('G'); break; in viewToString() 507 default: out.append('.'); break; in viewToString() 509 out.append(view.isFocusable() ? 'F' : '.'); in viewToString() [all …]
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
D | WaveHeader.java | 230 public int write(OutputStream out) throws IOException { in write() argument 232 writeId(out, "RIFF"); in write() 233 writeInt(out, 36 + mNumBytes); in write() 234 writeId(out, "WAVE"); in write() 237 writeId(out, "fmt "); in write() 238 writeInt(out, 16); in write() 239 writeShort(out, mFormat); in write() 240 writeShort(out, mNumChannels); in write() 241 writeInt(out, mSampleRate); in write() 242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | MatrixUtils.h | 63 static void convert9to33(double out[3][3], double in[9]) { in convert9to33() 64 out[0][0] = in[0]; in convert9to33() 65 out[0][1] = in[1]; in convert9to33() 66 out[0][2] = in[2]; in convert9to33() 68 out[1][0] = in[3]; in convert9to33() 69 out[1][1] = in[4]; in convert9to33() 70 out[1][2] = in[5]; in convert9to33() 72 out[2][0] = in[6]; in convert9to33() 73 out[2][1] = in[7]; in convert9to33() 74 out[2][2] = in[8]; in convert9to33() [all …]
|
D | Pyramid.cpp | 148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, in BorderExpandOdd() argument 169 for (j = -out->border; j < out->height + out->border; j++) { in BorderExpandOdd() 170 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd() 173 out->ptr[j][i2+1] = (short) (out->ptr[j][i2+1] + in BorderExpandOdd() 207 void PyramidShort::BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) in BorderReduceOdd() argument 230 s = out->ptr[-(off >> 1)] - out->border; in BorderReduceOdd() 231 ns = s + out->pitch; in BorderReduceOdd() 232 ls = s + out->pitch * (out->height + off); in BorderReduceOdd() 233 p = scr->ptr[-off] - out->border; in BorderReduceOdd() 237 for (; s < ls; s = ns, ns += out->pitch, p = np, np += pitch2) { in BorderReduceOdd() [all …]
|
D | ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) in rgba2yvu() argument 31 ImageType yimg = out; in rgba2yvu() 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) in rgb2yvu() argument 76 ImageType yimg = out; in rgb2yvu() 121 ImageType out = ImageUtils::allocateImage(width, height, 1); in rgb2gray() local 122 ImageType outCopy = out; in rgb2gray() 143 return out; in rgb2gray() 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) in rgb2gray() argument 149 ImageType gray = out; in rgb2gray() 151 ImageType outCopy = out; in rgb2gray() [all …]
|
D | trsMatrix.cpp | 79 void inv33d(const double m[3][3], double out[3][3]) in inv33d() 83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det; in inv33d() 84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det; in inv33d() 85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det; in inv33d() 87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det; in inv33d() 88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det; in inv33d() 89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det; in inv33d() 91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det; in inv33d() 92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det; in inv33d() 93 out[2][2] = (m[0][0]*m[1][1] - m[0][1]*m[1][0]) / det; in inv33d()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 240 ArrayList<String> out = null; in filterOutEmptyString() local 244 if (out == null) { in filterOutEmptyString() 245 out = CollectionUtils.arrayAsList(array, 0, i); in filterOutEmptyString() 247 } else if (out != null) { in filterOutEmptyString() 248 out.add(entry); in filterOutEmptyString() 251 if (out == null) { in filterOutEmptyString() 254 return out.toArray(new String[out.size()]); in filterOutEmptyString() 263 ArrayList<String> out = null; in insertAdditionalMoreKeys() local 271 if (out != null) { in insertAdditionalMoreKeys() 272 out.add(additionalMoreKey); in insertAdditionalMoreKeys() [all …]
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
D | UTF7StyleCharsetEncoder.java | 105 protected CoderResult implFlush(ByteBuffer out) { in implFlush() argument 107 if (out.remaining() < 2) in implFlush() 110 out.put(base64.getChar(sextet)); in implFlush() 111 out.put(unshift); in implFlush() 144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop() argument 146 if (out.remaining() < 4) in encodeLoop() 150 unshift(out, ch); in encodeLoop() 151 out.put((byte)ch); in encodeLoop() 153 out.put(shift); in encodeLoop() 154 out.put(unshift); in encodeLoop() [all …]
|
D | UTF7StyleCharsetDecoder.java | 64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() argument 72 if (!out.hasRemaining()) in decodeLoop() 74 out.put((char)shift); in decodeLoop() 79 if (!out.hasRemaining()) in decodeLoop() 81 CoderResult result = handleBase64(in, out, b); in decodeLoop() 94 if (!out.hasRemaining()) in decodeLoop() 96 out.put((char)b); in decodeLoop() 120 private CoderResult handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) { in handleBase64() argument 130 out.put((char)tempChar); in handleBase64() 136 out.put((char)lastRead); in handleBase64() [all …]
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | MoreKeysResources.java | 119 ps = System.out; in writeToJava() 137 private void inflateTemplate(final LineNumberReader in, final PrintStream out) in inflateTemplate() argument 142 dumpNames(out); in inflateTemplate() 144 dumpDefaultTexts(out); in inflateTemplate() 146 dumpTexts(out); in inflateTemplate() 148 dumpLocalesMap(out); in inflateTemplate() 150 out.println(line); in inflateTemplate() 155 private void dumpNames(final PrintStream out) { in dumpNames() argument 160 out.format(" /* %3d:%2d */ \"%s\",\n", index, histogramValue, name); in dumpNames() 164 private void dumpDefaultTexts(final PrintStream out) { in dumpDefaultTexts() argument [all …]
|
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
D | BluetoothMapMessagesListing.java | 71 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 72 out.writeString(mHandle); in writeToParcel() 73 out.writeString(mSubject); in writeToParcel() 74 out.writeString(dateToString(mDateTime)); in writeToParcel() 75 out.writeString(mSender); in writeToParcel() 76 out.writeString(mSenderAddress); in writeToParcel() 77 out.writeString(mReplyAddress); in writeToParcel() 78 out.writeString(mRecipient); in writeToParcel() 79 out.writeString(mRecipientAddress); in writeToParcel() 80 out.writeInt(mType); in writeToParcel() [all …]
|
D | BluetoothMapMessage.java | 118 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 120 out.writeInt(mStatus); in writeToParcel() 121 out.writeInt(mType); in writeToParcel() 122 out.writeString(mFolder); in writeToParcel() 123 out.writeInt(mBodyLength); in writeToParcel() 125 out.writeInt(mLanguage); in writeToParcel() 126 out.writeString(mVersion); in writeToParcel() 129 out.writeString(mSender); in writeToParcel() 130 out.writeString(mRecipient); in writeToParcel() 133 out.writeString(mMessage); in writeToParcel()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | ProvisioningParams.java | 226 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 227 out.writeString(timeZone); in writeToParcel() 228 out.writeLong(localTime); in writeToParcel() 229 out.writeSerializable(locale); in writeToParcel() 231 out.writeParcelable(wifiInfo, 0 /* default */ ); in writeToParcel() 233 out.writeString(deviceAdminPackageName); in writeToParcel() 234 out.writeParcelable(deviceAdminComponentName, 0 /* default */); in writeToParcel() 236 out.writeParcelable(deviceAdminDownloadInfo, 0 /* default */); in writeToParcel() 238 out.writeParcelable(adminExtrasBundle, 0 /* default */); in writeToParcel() 240 out.writeInt(startedByTrustedSource ? 1 : 0); in writeToParcel() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 40 System.out.println("Header attributes :"); in showInfo() 41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo() 61 System.out.println("Words in the dictionary : " + wordCount); in showInfo() 62 System.out.println("Bigram count : " + bigramCount); in showInfo() 63 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount in showInfo() 70 System.out.println(word + " is not in the dictionary"); in showWordInfo() 73 System.out.println("Word: " + word); in showWordInfo() 74 System.out.println(" Freq: " + ptNode.getProbability()); in showWordInfo() 76 System.out.println(" Is not a word"); in showWordInfo() 79 System.out.println(" Is possibly offensive"); in showWordInfo() [all …]
|
D | Diff.java | 62 System.out.println("Header :"); in run() 71 System.out.println("Body :"); in run() 92 System.out.println(" " + optionKey + " : " in diffHeaders() 100 System.out.println(" " + optionKey + " : null <=> " + options1.get(optionKey)); in diffHeaders() 104 System.out.println(" No differences"); in diffHeaders() 115 System.out.println("Deleted: " + word0Property.mWord + " " in diffWords() 121 System.out.println("Probability changed: " + word0Property.mWord + " " in diffWords() 127 System.out.println("Not a word: " + word0Property.mWord + " " in diffWords() 132 System.out.println("Possibly-offensive: " + word0Property.mWord + " " in diffWords() 149 System.out.println("Added: " + word1Property.mWord + " " in diffWords() [all …]
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 152 out = [] 154 out.append(PAGE_BEGIN % { 199 out.append(CHART % { 241 out.append(CHART % { 273 out.append(CHART % { 337 out.append(CHART % { 368 out.append(CHART % { 386 if out[-1] != SPACER: out.append(SPACER) 420 out.append(CHART % { 442 if out[-1] != SPACER: out.append(SPACER) [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 704 private void writeLength(int length, CodedOutputStreamMicro out) throws IOException { in writeLength() argument 709 out.writeRawBytes(dataLength); in writeLength() 717 public void writeReqToStream(CodedOutputStreamMicro out) throws IOException { in writeReqToStream() argument 733 writeLength(msg.getSerializedSize(), out); in writeReqToStream() local 734 msg.writeTo(out); in writeReqToStream() 742 writeLength(msg.getSerializedSize(), out); in writeReqToStream() local 743 msg.writeTo(out); in writeReqToStream() 761 writeLength(msg.getSerializedSize(), out); in writeReqToStream() local 762 msg.writeTo(out); in writeReqToStream() 781 writeLength(msg.getSerializedSize(), out); in writeReqToStream() local [all …]
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
D | EmailHtmlUtil.java | 39 StringBuilder out = new StringBuilder(); in escapeCharacterToDisplay() local 43 out.append(text.substring(end, start)); in escapeCharacterToDisplay() 49 out.append(" "); in escapeCharacterToDisplay() 51 out.append(' '); in escapeCharacterToDisplay() 53 out.append("<br>"); in escapeCharacterToDisplay() 55 out.append("<"); in escapeCharacterToDisplay() 57 out.append(">"); in escapeCharacterToDisplay() 59 out.append("&"); in escapeCharacterToDisplay() 62 out.append(text.substring(end)); in escapeCharacterToDisplay() 63 text = out.toString(); in escapeCharacterToDisplay()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | FileWriterWithEncoding.java | 55 private final Writer out; field in FileWriterWithEncoding 155 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding() 181 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding() 207 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding() 266 out.write(idx); in write() 275 out.write(chr); in write() 286 out.write(chr, st, end); in write() 295 out.write(str); in write() 306 out.write(str, st, end); in write() 314 out.flush(); in flush() [all …]
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | CameraLatency.java | 127 BufferedWriter out = new BufferedWriter(fstream); in testImageCapture() local 128 out.write("Camera Latency : \n"); in testImageCapture() 129 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); in testImageCapture() 130 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); in testImageCapture() 131 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); in testImageCapture() 132 out.write("Avg mShutterToPictureDisplayedTime = " in testImageCapture() 134 out.write("Avg mPictureDisplayedToJpegCallbackTime = " in testImageCapture() 136 out.write("Avg mJpegCallbackFinishTime = " + in testImageCapture() 138 out.write("Avg FirstPreviewTime = " + in testImageCapture() 140 out.close(); in testImageCapture()
|