/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | IOUtils.java | 38 import org.apache.commons.io.output.ByteArrayOutputStream; 157 public static void closeQuietly(Writer output) { in closeQuietly() argument 159 if (output != null) { in closeQuietly() 160 output.close(); in closeQuietly() 193 public static void closeQuietly(OutputStream output) { in closeQuietly() argument 195 if (output != null) { in closeQuietly() 196 output.close(); in closeQuietly() 217 ByteArrayOutputStream output = new ByteArrayOutputStream(); in toByteArray() local 218 copy(input, output); in toByteArray() 219 return output.toByteArray(); in toByteArray() [all …]
|
D | CopyUtils.java | 137 public static void copy(byte[] input, OutputStream output) in copy() argument 139 output.write(input); in copy() 154 public static void copy(byte[] input, Writer output) in copy() argument 157 copy(in, output); in copy() 173 Writer output, in copy() argument 177 copy(in, output, encoding); in copy() 195 OutputStream output) in copy() argument 201 output.write(buffer, 0, n); in copy() 220 Writer output) in copy() argument 226 output.write(buffer, 0, n); in copy() [all …]
|
D | EndianUtils.java | 284 public static void writeSwappedShort(OutputStream output, short value) in writeSwappedShort() argument 287 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedShort() 288 output.write( (byte)( ( value >> 8 ) & 0xff ) ); in writeSwappedShort() 329 public static void writeSwappedInteger(OutputStream output, int value) in writeSwappedInteger() argument 332 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedInteger() 333 output.write( (byte)( ( value >> 8 ) & 0xff ) ); in writeSwappedInteger() 334 output.write( (byte)( ( value >> 16 ) & 0xff ) ); in writeSwappedInteger() 335 output.write( (byte)( ( value >> 24 ) & 0xff ) ); in writeSwappedInteger() 390 public static void writeSwappedLong(OutputStream output, long value) in writeSwappedLong() argument 393 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedLong() [all …]
|
D | FileUtils.java | 45 import org.apache.commons.io.output.NullOutputStream; 674 FileOutputStream output = new FileOutputStream(destFile); in doCopyFile() local 676 IOUtils.copy(input, output); in doCopyFile() 678 IOUtils.closeQuietly(output); in doCopyFile() 958 FileOutputStream output = openOutputStream(destination); in copyURLToFile() local 960 IOUtils.copy(input, output); in copyURLToFile() 962 IOUtils.closeQuietly(output); in copyURLToFile()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | DemuxOutputStream.java | 17 package org.apache.commons.io.output; 40 public OutputStream bindStream( OutputStream output ) in bindStream() argument 43 m_streams.set( output ); in bindStream() 56 OutputStream output = getStream(); in close() local 57 if( null != output ) in close() 59 output.close(); in close() 72 OutputStream output = getStream(); in flush() local 73 if( null != output ) in flush() 75 output.flush(); in flush() 89 OutputStream output = getStream(); in write() local [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKey.java | 65 static ExpectedKey newInstance(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, in newInstance() argument 68 return new ExpectedKey(visual, output); in newInstance() 90 return new ExpectedKeyWithMoreKeys(visual, output, moreKeys); in newInstance() 97 visual, output, moreKeysArray, firstAdditionalMoreKeyIndex, in newInstance() 142 protected ExpectedKey(final ExpectedKeyVisual visual, final ExpectedKeyOutput output) { in ExpectedKey() argument 144 mOutput = output; in ExpectedKey() 216 ExpectedAdditionalMoreKey(final ExpectedKeyVisual visual, final ExpectedKeyOutput output) { in ExpectedAdditionalMoreKey() argument 217 super(visual, output); in ExpectedAdditionalMoreKey() 234 ExpectedKeyWithMoreKeys(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, in ExpectedKeyWithMoreKeys() argument 236 super(visual, output); in ExpectedKeyWithMoreKeys() [all …]
|
D | ExpectedKeyOutput.java | 49 abstract boolean equalsTo(final ExpectedKeyOutput output); in equalsTo() argument 94 boolean equalsTo(final ExpectedKeyOutput output) { in equalsTo() argument 95 return (output instanceof Code) && mCode == ((Code)output).mCode; in equalsTo() 151 boolean equalsTo(final ExpectedKeyOutput output) { in equalsTo() argument 152 return (output instanceof Text) && mText == ((Text)output).mText; in equalsTo()
|
D | ActualKeyboardBuilder.java | 108 final String output; in toString() local 110 output = outputText; in toString() 112 output = Constants.printableCode(code); in toString() 114 output = StringUtils.newSingleCodePointString(code); in toString() 116 if (visual.equals(output)) { in toString() 119 return visual + "|" + output; in toString()
|
D | ExpectedKeyVisual.java | 45 abstract boolean equalsTo(final ExpectedKeyOutput output); in equalsTo() argument 84 boolean equalsTo(final ExpectedKeyOutput output) { in equalsTo() argument 134 boolean equalsTo(final ExpectedKeyOutput output) { in equalsTo() argument 135 return output.equalsTo(mLabel); in equalsTo()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | StreamUtils.java | 31 public static boolean byteToIntArray(int[] output, byte[] input, ByteOrder endianness) { in byteToIntArray() argument 33 if (output.length * 4 < length) { in byteToIntArray() 37 for (int i = 0, j = 0; i < output.length; i++, j += 4) { in byteToIntArray() 38 output[i] = ((input[j] & 0xFF) << 24) | ((input[j + 1] & 0xFF) << 16) in byteToIntArray() 42 for (int i = 0, j = 0; i < output.length; i++, j += 4) { in byteToIntArray() 43 output[i] = ((input[j + 3] & 0xFF) << 24) | ((input[j + 2] & 0xFF) << 16) in byteToIntArray() 51 int[] output = new int[input.length / 4]; in byteToIntArray() local 52 byteToIntArray(output, input, endianness); in byteToIntArray() 53 return output; in byteToIntArray()
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 44 # 4096 sub-directories (in 2 levels) under the output directory of each output 54 # information to generate all constant output in the proper language. 195 # sources only. Doxygen will then generate output that is more tailored for C. 202 # sources only. Doxygen will then generate output that is more tailored for 209 # sources only. Doxygen will then generate output that is more tailored for 215 # sources. Doxygen will then generate output that is tailored for 513 # provided by doxygen. Whatever the program writes to standard output 519 # doxygen. The layout file controls the global structure of the generated output files 520 # in an output format independent way. The create the layout file that represents 573 # and error messages should be written. If left blank the output is written [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 44 # 4096 sub-directories (in 2 levels) under the output directory of each output 54 # information to generate all constant output in the proper language. 195 # sources only. Doxygen will then generate output that is more tailored for C. 202 # sources only. Doxygen will then generate output that is more tailored for 209 # sources only. Doxygen will then generate output that is more tailored for 215 # sources. Doxygen will then generate output that is tailored for 513 # provided by doxygen. Whatever the program writes to standard output 519 # doxygen. The layout file controls the global structure of the generated output files 520 # in an output format independent way. The create the layout file that represents 573 # and error messages should be written. If left blank the output is written [all …]
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 44 # 4096 sub-directories (in 2 levels) under the output directory of each output 54 # information to generate all constant output in the proper language. 195 # sources only. Doxygen will then generate output that is more tailored for C. 202 # sources only. Doxygen will then generate output that is more tailored for 209 # sources only. Doxygen will then generate output that is more tailored for 215 # sources. Doxygen will then generate output that is tailored for 513 # provided by doxygen. Whatever the program writes to standard output 519 # doxygen. The layout file controls the global structure of the generated output files 520 # in an output format independent way. The create the layout file that represents 573 # and error messages should be written. If left blank the output is written [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 44 # 4096 sub-directories (in 2 levels) under the output directory of each output 54 # information to generate all constant output in the proper language. 195 # sources only. Doxygen will then generate output that is more tailored for C. 202 # sources only. Doxygen will then generate output that is more tailored for 209 # sources only. Doxygen will then generate output that is more tailored for 215 # sources. Doxygen will then generate output that is tailored for 513 # provided by doxygen. Whatever the program writes to standard output 519 # doxygen. The layout file controls the global structure of the generated output files 520 # in an output format independent way. The create the layout file that represents 573 # and error messages should be written. If left blank the output is written [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FormatDateRangeTest.java | 40 int flags, String output) { in DateTest() argument 62 expectedOutput = output; in DateTest() 67 int flags, String output) { in DateTest() argument 70 flags, output); in DateTest() 188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll() local 189 if (!dateTest.expectedOutput.equals(output)) { in testAll() 192 + " actual: " + output); in testAll() 194 assertEquals(dateTest.expectedOutput, output); in testAll()
|
D | WeekNumberTest.java | 213 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() local 215 + " date: " + output in testAll() 225 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() local 227 + " date: " + output in testAll()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessage.java | 130 DataOutputStream output = new DataOutputStream(buffer); in toByteArray() local 131 output.writeByte(mVersion); in toByteArray() 132 output.writeByte(mField); in toByteArray() 134 output.writeInt(bytes.length + 4); in toByteArray() 135 output.writeInt(mAcceptableLength); in toByteArray() 137 output.writeInt(bytes.length); in toByteArray() 139 output.write(bytes); in toByteArray()
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/ |
D | ShotToShotLatency.java | 125 BufferedWriter output = null; in testShotToShotLatency() local 127 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency() 128 output.write("Shot to shot latency - mean: " + mean + "\n"); in testShotToShotLatency() 129 output.write("Shot to shot latency - standard deviation: " + standardDeviation + "\n"); in testShotToShotLatency() 135 if (output != null) { in testShotToShotLatency() 136 output.close(); in testShotToShotLatency()
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | ShotToShotLatency.java | 124 BufferedWriter output = null; in testShotToShotLatency() local 126 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency() 127 output.write("Shot to shot latency - mean: " + mean + "\n"); in testShotToShotLatency() 128 output.write("Shot to shot latency - standard deviation: " + standardDeviation + "\n"); in testShotToShotLatency() 134 if (output != null) { in testShotToShotLatency() 135 output.close(); in testShotToShotLatency()
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
D | ShotToShotLatency.java | 125 BufferedWriter output = null; in testShotToShotLatency() local 127 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency() 128 output.write("Shot to shot latency - mean: " + mean + "\n"); in testShotToShotLatency() 129 output.write("Shot to shot latency - standard deviation: " + standardDeviation + "\n"); in testShotToShotLatency() 135 if (output != null) { in testShotToShotLatency() 136 output.close(); in testShotToShotLatency()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 150 DataOutputStream output = new DataOutputStream(buffer); in toByteArray() local 153 output.writeByte(VERSION); in toByteArray() 154 output.writeInt(mNumMessages); in toByteArray() 156 output.writeByte(mActions[i]); in toByteArray() 158 output.writeInt(bytes.length); in toByteArray() 159 output.write(bytes); in toByteArray()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtils.java | 77 public static void copy(final InputStream input, final OutputStream output) throws IOException { in copy() argument 80 output.write(buffer, 0, readBytes); in copy() 139 final OutputStream output = new BufferedOutputStream(new FileOutputStream(dst)) in tryGetUncompressedFile() 141 copy(input, output); in tryGetUncompressedFile() 162 final OutputStream output = new BufferedOutputStream(new FileOutputStream(dst)) in tryGetDecryptedFile() 164 copy(input, output); in tryGetDecryptedFile()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMms.java | 701 byte[] output = new byte[text.length()]; // We allocate for the worst case memory need in quotedPrintableToUtf8() 738 output[out++] = (byte)(b1<<4 | b2); // valid hex char, append in quotedPrintableToUtf8() 739 if(V)Log.v(TAG, "Resulting value: " + String.format("0x%2x", output[out-1])); in quotedPrintableToUtf8() 745 output[out++] = b0; in quotedPrintableToUtf8() 749 output[out++] = b0; in quotedPrintableToUtf8() 757 output[out++] = input[in++]; in quotedPrintableToUtf8() 777 result = new String(output, 0, out, charset); in quotedPrintableToUtf8() 781 result = new String(output, 0, out, "UTF-8"); in quotedPrintableToUtf8()
|
D | BluetoothMapbMessage.java | 277 ByteArrayOutputStream output = new ByteArrayOutputStream(); in getLineAsBytes() local 282 if(output.size() == 0) in getLineAsBytes() 287 output.write('\r'); in getLineAsBytes() 289 } else if (readByte == '\n' && output.size() == 0) { in getLineAsBytes() 294 output.write(readByte); in getLineAsBytes() 300 return output.toByteArray(); in getLineAsBytes()
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
D | SerializerTests.java | 102 OutputStream output = new ByteArrayOutputStream(); in testWriteInteger() local 103 Serializer.writeInteger(output, 384); in testWriteInteger() 104 Serializer.writeInteger(output, 0); in testWriteInteger() 105 Serializer.writeInteger(output, -1); in testWriteInteger()
|