/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | Usb10ASGeneral.java | 54 public int parseRawDescriptors(ByteStream stream) { argument 55 mTerminalLink = stream.getByte(); 56 mDelay = stream.getByte(); 57 mFormatTag = stream.unpackUsbShort();
|
H A D | Usb20ACHeader.java | 45 public int parseRawDescriptors(ByteStream stream) { argument 46 mCategory = stream.getByte(); 47 mTotalLength = stream.unpackUsbShort(); 48 mControls = stream.getByte();
|
H A D | UsbACMidiEndpoint.java | 44 public int parseRawDescriptors(ByteStream stream) { argument 45 super.parseRawDescriptors(stream); 47 mNumJacks = stream.getByte(); 50 mJackIds[jack] = stream.getByte();
|
H A D | UsbACTerminal.java | 52 public int parseRawDescriptors(ByteStream stream) { argument 53 mTerminalID = stream.getByte(); 54 mTerminalType = stream.unpackUsbShort(); 55 mAssocTerminal = stream.getByte();
|
H A D | Usb10ASFormatI.java | 74 public int parseRawDescriptors(ByteStream stream) { argument 75 mNumChannels = stream.getByte(); 76 mSubframeSize = stream.getByte(); 77 mBitResolution = stream.getByte(); 78 mSampleFreqType = stream.getByte(); 81 mSampleRates[0] = stream.unpackUsbTriple(); 82 mSampleRates[1] = stream.unpackUsbTriple(); 86 mSampleRates[index] = stream.unpackUsbTriple();
|
H A D | UsbConfigDescriptor.java | 100 public int parseRawDescriptors(ByteStream stream) { argument 101 mTotalLength = stream.unpackUsbShort(); 102 mNumInterfaces = stream.getByte(); 103 mConfigValue = stream.getUnsignedByte(); 104 mConfigIndex = stream.getByte(); 105 mAttribs = stream.getUnsignedByte(); 106 mMaxPower = stream.getUnsignedByte();
|
H A D | UsbDeviceDescriptor.java | 170 public int parseRawDescriptors(ByteStream stream) { argument 171 mSpec = stream.unpackUsbShort(); 172 mDevClass = stream.getUnsignedByte(); 173 mDevSubClass = stream.getUnsignedByte(); 174 mProtocol = stream.getUnsignedByte(); 175 mPacketSize = stream.getByte(); 176 mVendorID = stream.unpackUsbShort(); 177 mProductID = stream.unpackUsbShort(); 178 mDeviceRelease = stream.unpackUsbShort(); 179 mMfgIndex = stream [all...] |
H A D | Usb10ACHeader.java | 52 public int parseRawDescriptors(ByteStream stream) { argument 54 mTotalLength = stream.unpackUsbShort(); 56 mControls = stream.getByte(); 58 mNumInterfaces = stream.getByte(); 61 mInterfaceNums[index] = stream.getByte();
|
H A D | Usb10ASFormatII.java | 62 public int parseRawDescriptors(ByteStream stream) { argument 63 mMaxBitRate = stream.unpackUsbShort(); 64 mSamplesPerFrame = stream.unpackUsbShort(); 65 mSamFreqType = stream.getByte(); 69 mSampleRates[index] = stream.unpackUsbTriple();
|
H A D | Usb20ASFormatI.java | 53 public int parseRawDescriptors(ByteStream stream) { argument 54 mSubSlotSize = stream.getByte(); 55 mBitResolution = stream.getByte();
|
H A D | Usb20ASFormatII.java | 56 public int parseRawDescriptors(ByteStream stream) { argument 57 mMaxBitRate = stream.unpackUsbShort(); 58 mSlotsPerFrame = stream.unpackUsbShort();
|
H A D | Usb20ASFormatIII.java | 47 public int parseRawDescriptors(ByteStream stream) { argument 48 mSubslotSize = stream.getByte(); 49 mBitResolution = stream.getByte();
|
H A D | Usb10ACMixerUnit.java | 54 public int parseRawDescriptors(ByteStream stream) { argument 55 super.parseRawDescriptors(stream); 57 mChannelConfig = stream.unpackUsbShort(); 58 mChanNameID = stream.getByte(); 63 mControls[index] = stream.getByte(); 66 mNameID = stream.getByte();
|
/frameworks/rs/script_api/ |
H A D | Utilities.cpp | 130 stringstream stream; local 131 stream << "0x" << std::hex << hash << "l"; 132 return stream.str(); 153 // Add the value to the stream, prefixed with a ", " if needed. 154 static void addCommaSeparated(const string& value, ostringstream* stream, bool* needComma) { argument 159 *stream << ", "; 161 *stream << value; 167 ostringstream stream; local 173 addCommaSeparated(userAttribute.substr(1), &stream, &needComma); 175 addCommaSeparated(userAttribute, &stream, [all...] |
/frameworks/rs/ |
H A D | rsAnimation.cpp | 24 void Animation::serialize(Context *rsc, OStream *stream) const { 27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | AtomicFile.kt | 32 val stream = startWrite() 35 block(stream) 39 finishWrite(stream) 41 failWrite(stream)
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | ANQPParserTest.java | 52 ByteArrayOutputStream stream = new ByteArrayOutputStream(); 53 stream.write(new byte[VenueNameElement.VENUE_INFO_LENGTH]); 54 stream.write(getI18NameListPayload(language, text)); 55 return stream.toByteArray(); 66 ByteArrayOutputStream stream = new ByteArrayOutputStream(); 69 stream.write((byte) nameBytes.length); 70 stream.write(nameBytes); 72 return stream.toByteArray(); 85 ByteArrayOutputStream stream = new ByteArrayOutputStream(); 87 stream [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Picture.java | 160 * Create a new picture (already recorded) from the data in the stream. This 171 public static Picture createFromStream(InputStream stream) { argument 172 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE])); 176 * Write the picture contents to a stream. The data can be used to recreate 178 * The resulting stream is NOT to be persisted across device restarts as 186 public void writeToStream(OutputStream stream) { argument 188 if (stream == null) { 191 if (!nativeWriteToStream(mNativePicture, stream, new byte[WORKING_STREAM_STORAGE])) { 198 private static native long nativeCreateFromStream(InputStream stream, byte[] storage); argument 205 OutputStream stream, byt 204 nativeWriteToStream(long nativePicture, OutputStream stream, byte[] storage) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | datapart_decode.cpp | 43 BitstreamDecVideo *stream = video->bitstream; local 100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS) 142 BitstreamDecVideo *stream = video->bitstream; local 151 int32 startSecondPart, startFirstPart = getPointer(stream); 159 BitstreamShowBits16(stream, 9, &code); 162 PV_BitstreamFlushBits(stream, 9); 163 BitstreamShowBits16(stream, 9, &code); 169 MCBPC = PV_VlcDecMCBPC_com_intra(stream); 183 movePointerTo(stream, startFirstPart); 191 BitstreamShowBits16(stream, 307 BitstreamDecVideo *stream = video->bitstream; local 519 BitstreamDecVideo *stream = video->bitstream; local 576 BitstreamDecVideo *stream = video->bitstream; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioStreamOut.cpp | 34 , stream(NULL) 56 if (stream == 0) { 61 status_t status = stream->getRenderPosition(&halPosition); 93 if (stream == 0) { 98 status_t status = stream->getPresentationPosition(&halPosition, timestamp); 138 " stream %p, sampleRate %d, Format %#x, " 163 stream = outStream; 165 status = stream->getFrameSize(&mHalFrameSize); 174 return stream->getFormat(&result) == OK ? result : AUDIO_FORMAT_INVALID; 180 return stream [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | MovieImpl.cpp | 87 SkMemoryStream stream(data, length, false); 88 return Movie::DecodeStream(&stream); 92 std::unique_ptr<SkStreamRewindable> stream = SkStream::MakeFromFile(path); local 93 return stream ? Movie::DecodeStream(stream.get()) : nullptr;
|
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 122 std::ostringstream stream; local 124 stream << std::left; 125 stream << std::setw(max_path) << "Path"; 126 stream << " "; 127 stream << std::setw(6) << "CPUs"; 128 stream << " "; 129 stream << std::setw(6) << "Tasks"; 130 stream << std::endl; 132 stream << std::string(max_path, '_'); 133 stream << " "; 242 std::ostringstream stream; local [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | Registry.cpp | 35 const RegistryEntry* Registry::Find(Stream* stream) { argument 38 if (stream->getRawBuffer() != NULL) { 48 headerSize = stream->peek(header, headerSize);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ParserFactory.java | 59 InputStream stream = new FileInputStream(f); 60 return create(stream, f.getName(), f.length(), isLayout); 63 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) argument 65 return create(stream, name, -1, false); 69 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name, argument 73 stream = readAndClose(stream, name, size); 75 parser.setInput(stream, null); 98 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name, argument 107 BufferedInputStream bufferedStream = new BufferedInputStream(stream); [all...] |
/frameworks/wilhelm/src/desktop/ |
H A D | SDL.cpp | 24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument 36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len); 38 memset(stream, 0, (size_t) len);
|