/hardware/interfaces/tests/baz/1.0/default/ |
Baz.cpp | 62 hidl_array<bool, 4> out; local 63 out[0] = !x[0]; 64 out[1] = !x[1]; 65 out[2] = !x[2]; 66 out[3] = true; 68 _hidl_cb(out); 76 hidl_vec<bool> out; local 77 out.resize(x.size()); 79 out[i] = !x[i]; 82 _hidl_cb(out); 130 IBase::VectorOfArray out; local 151 hidl_vec<hidl_array<uint8_t, 6> > out; local 166 IBase::StringMatrix3x5 out; local 181 hidl_array<hidl_string, 3, 5> out; local 261 hidl_vec<int32_t> out; local [all...] |
/hardware/interfaces/tests/foo/1.0/default/ |
Foo.cpp | 79 hidl_vec<int32_t> out; local 80 out.resize(param.size()); 82 for (size_t i = 0; i < out.size(); ++i) { 83 out[i] = param[i] * 2; 86 _cb(out); 227 hidl_array<float, 5, 3> out; local 230 out[i][j] = in[j][i]; 234 LOG(INFO) << "SERVER(Foo) transposeMe returning " << to_string(out).c_str(); 236 _cb(out); 245 MultiDimensional out; local 261 StringMatrix3x5 out; local 277 hidl_array<hidl_string, 3, 5> out; local [all...] |
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 82 A2dpAudioStreamOut* out = new A2dpAudioStreamOut(); local 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 84 mOutput = out; 88 delete out; 96 void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { 97 if (mOutput == 0 || mOutput != out) { 98 mHardwareInterface->closeOutputStream(out);
|
AudioHardwareGeneric.cpp | 81 AudioStreamOutGeneric* out = new AudioStreamOutGeneric(); local 82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 87 mOutput = out; 89 delete out; 94 void AudioHardwareGeneric::closeOutputStream(AudioStreamOut* out) { 95 if (mOutput && out == mOutput) {
|
/hardware/qcom/audio/hal/audio_extn/ |
utils.c | 271 if (usecase->stream.out == NULL) { 274 struct stream_out *out = usecase->stream.out; local 275 struct stream_app_type_cfg *app_type_cfg = &out->app_type_cfg; 281 if (audio_is_usb_out_device(out->devices)) { 284 out->sample_rate, 288 app_type_cfg->mode = flags_to_mode(0 /*playback*/, out->flags); 289 if (!audio_is_linear_pcm(out->format)) { 297 } else if (out->format == AUDIO_FORMAT_PCM_16_BIT) { 304 } else if (out->format == AUDIO_FORMAT_PCM_24_BIT_PACKED | 332 struct stream_out *out; local 430 struct stream_out *out = usecase->stream.out; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 72 char[] out = new char[first.length() + second.length() + 10]; local 73 int length = fileReader.read(out); 75 assertEquals(first + second, new String(out, 0, length)); 88 out = new char[first.length() + second.length() + 10]; 89 length = fileReader.read(out); 91 assertEquals(second, new String(out, 0, length));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); local 87 encoder.encode(CharBuffer.wrap("\ud800"), out, true)); 88 assertTrue(encoder.flush(out).isMalformed()); 91 out = ByteBuffer.allocate(10); 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); 99 assertTrue(encoder.encode(buffer2, out, true).isUnmappable()); 140 ByteBuffer out = ByteBuffer.allocate(0x10); local 144 encoder.encode(in, out, false); 146 encoder.encode(in, out, true); 147 encoder.flush(out); 162 ByteBuffer out = ByteBuffer.allocate(0x10); local 170 ByteBuffer out = ByteBuffer.allocate(0x10); local 177 ByteBuffer out = ByteBuffer.allocate(0x10); local 189 ByteBuffer out = ByteBuffer.allocate(0x10); local 196 ByteBuffer out = ByteBuffer.allocate(0x10); local 204 ByteBuffer out = ByteBuffer.allocate(0x10); local 214 ByteBuffer out = ByteBuffer.allocate(0x10); local 228 ByteBuffer out = ByteBuffer.allocate(0x10); local 247 ByteBuffer out = ByteBuffer.allocate(0x10); local 254 ByteBuffer out = ByteBuffer.allocate(0x10); local 263 ByteBuffer out = ByteBuffer.allocate(0x10); local 273 ByteBuffer out = ByteBuffer.allocate(0x10); local 283 ByteBuffer out = ByteBuffer.allocate(0x10); local 301 ByteBuffer out = ByteBuffer.allocate(0x10); local 315 ByteBuffer out = ByteBuffer.allocate(0x10); local 330 ByteBuffer out = ByteBuffer.allocate(0x10); local 345 ByteBuffer out = ByteBuffer.allocate(0x10); local 354 ByteBuffer out = ByteBuffer.allocate(0x10); local 380 ByteBuffer out = ByteBuffer.allocate(0x10); local 390 ByteBuffer out = ByteBuffer.allocate(0x10); local 400 ByteBuffer out = ByteBuffer.allocate(0x10); local 422 ByteBuffer out = ByteBuffer.allocate(0x10); local 434 ByteBuffer out = ByteBuffer.allocate(0x10); local 443 ByteBuffer out = newEncoder.encode(in); local [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 103 @Override protected final CoderResult implFlush(CharBuffer out) { 110 data[OUTPUT_OFFSET] = getArray(out); 125 setPosition(out); 130 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 136 data[OUTPUT_OFFSET]= getArray(out); 155 setPosition(out); 160 private int getArray(CharBuffer out) { 161 if (out.hasArray()) { 162 output = out.array(); 163 outEnd = out.arrayOffset() + out.limit() [all...] |
CharsetEncoderICU.java | 132 @Override protected CoderResult implFlush(ByteBuffer out) { 139 data[OUTPUT_OFFSET] = getArray(out); 154 setPosition(out); 159 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 165 data[OUTPUT_OFFSET]= getArray(out); 185 setPosition(out); 189 private int getArray(ByteBuffer out) { 190 if (out.hasArray()) { 191 output = out.array(); 192 outEnd = out.arrayOffset() + out.limit() [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 181 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 186 protected CoderResult implFlush(ByteBuffer out) { 187 out.put((byte) 'X'); 195 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
|
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 60 new ObjectOutputStream(out).writeObject(originalDfs); 61 byte[] bytes = out.toByteArray(); 134 // that use icu4c's probably-out-of-date time zone transition data.
|
/libcore/luni/src/test/java/libcore/java/util/ |
LibcoreIoDerivedBase64Test.java | 215 byte[] out = decode(bytes); 216 if (out == null) { 219 return bytesToAscii(out); 305 String[] out = new String[length]; local 307 out[i] = "0x" + Integer.toHexString(toConvert[i]); 309 return Arrays.toString(out);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 181 System.out.println("Expected exception was thrown: " + e.getMessage()); 610 System.out.println("Got expected IOException: " + e.getMessage()); 651 System.out.println("Expected exception was thrown: " + e.getMessage()); 662 System.out.println(); 663 System.out.println("------------------------"); 664 System.out.println("------ " + getName()); 665 System.out.println("------------------------"); 672 FileOutputStream out = new FileOutputStream(store); local 677 out.write(buf, 0, read); 680 out.close() [all...] |
/libcore/ojluni/src/main/java/java/io/ |
Console.java | 367 private Writer out; field in class:Console 533 // BEGIN Android-changed: Support custom in/out streams for testing. 534 this(new FileInputStream(FileDescriptor.in), new FileOutputStream(FileDescriptor.out)); 539 // END Android-changed: Support custom in/out streams for testing. 550 out = StreamEncoder.forOutputStreamWriter( 554 pw = new PrintWriter(out, true) { public void close() {} }; 555 formatter = new Formatter(out);
|
/libcore/ojluni/src/main/java/java/util/ |
ArrayPrefixHelpers.java | 109 T in, out; field in class:ArrayPrefixHelpers.CumulateTask 158 T lout = lt.out; 218 t.out = sum; 234 T lout = lt.out; 235 par.out = (rt.hi == fnc ? lout : 236 fn.apply(lout, rt.out)); 261 long in, out; field in class:ArrayPrefixHelpers.LongCumulateTask 310 long lout = lt.out; 370 t.out = sum; 384 long lout = lt.out; 411 double in, out; field in class:ArrayPrefixHelpers.DoubleCumulateTask 561 int in, out; field in class:ArrayPrefixHelpers.IntCumulateTask [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
X509CertificatePair.java | 269 private void emit(DerOutputStream out) 288 out.write(DerValue.tag_Sequence, tagged);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
DistributionPoint.java | 277 * @param out the DerOutputStream to write the extension to. 280 public void encode(DerOutputStream out) throws IOException { 318 out.write(DerValue.tag_Sequence, tagged);
|
GeneralSubtrees.java | 135 * @params out the DerOutputStrean to encode this object to. 137 public void encode(DerOutputStream out) throws IOException { 143 out.write(DerValue.tag_Sequence, seq);
|
RDN.java | 337 * @param out DerOutputStream to which RDN is to be written 340 void encode(DerOutputStream out) throws IOException { 341 out.putOrderedSetOf(DerValue.tag_Set, assertion);
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
TestFormatter.java | 133 System.out.println("Total " + failure + "/" + total + " tests failed"); 135 System.out.println("All tests (" + total + ") PASSED"); 159 String out = new Formatter( local 160 new StringBuilder(), locale).format(fmtStr, dt).out().toString(); 162 System.out.printf("%-24s : %s%n", getClassName(dt), out); 164 if (expected != null && !out.equals(expected)) { 165 System.out.printf("%-24s actual: %s%n FAILED; expected: %s%n", 166 getClassName(dt), out, expected); 167 new RuntimeException().printStackTrace(System.out); [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 474 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 475 putObjectToStream(initial, out); 476 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
/libcore/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/ |
MainActivity.java | 177 FileOutputStream out = new FileOutputStream(to) 180 out.write(buffer, 0, count);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
State.java | 124 public void writeToParcel(Parcel out, int flags) { 125 out.writeInt(action); 126 out.writeStringArray(acceptMimes); 127 out.writeInt(allowMultiple ? 1 : 0); 128 out.writeInt(localOnly ? 1 : 0); 129 out.writeInt(showDeviceStorageOption ? 1 : 0); 130 out.writeInt(showAdvanced ? 1 : 0); 131 DurableUtils.writeToParcel(out, stack); 132 out.writeMap(dirConfigs); 133 out.writeList(excludedAuthorities) [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
FileOperation.java | 106 public void writeToParcel(Parcel out, int flag) { 107 out.writeInt(mOpType); 108 out.writeParcelable(mSrcs, flag); 109 out.writeParcelable(mDestination, flag); 110 out.writeParcelable(mMessenger, flag); 279 public void writeToParcel(Parcel out, int flag) { 280 super.writeToParcel(out, flag); 281 out.writeParcelable(mSrcParent, flag);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 62 /** A less-than-perfect pattern to pull out <body> content */ 117 * @param message the message to write out 118 * @param out the output stream to write the message to 123 public static void writeTo(Context context, Message message, OutputStream out, 131 final OutputStream stream = new BufferedOutputStream(out, 1024); 196 // Write out the attachments until we run out 208 out.flush(); 214 private static void writeOneAttachment(Context context, Writer writer, OutputStream out, 232 // Set up input stream and write it out via base6 [all...] |