Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 193) sorted by relevance

12345678

/packages/modules/Bluetooth/system/test/mock/
Dmock_frameworks_libaudio.cc38 AAudioStream* stream) { in AAudioStream_getAllowedCapturePolicy()
42 aaudio_content_type_t AAudioStream_getContentType(AAudioStream* stream) { in AAudioStream_getContentType()
46 aaudio_direction_t AAudioStream_getDirection(AAudioStream* stream) { in AAudioStream_getDirection()
50 aaudio_format_t AAudioStream_getFormat(AAudioStream* stream) { in AAudioStream_getFormat()
54 aaudio_input_preset_t AAudioStream_getInputPreset(AAudioStream* stream) { in AAudioStream_getInputPreset()
59 AAudioStream* stream) { in AAudioStream_getPerformanceMode()
76 aaudio_result_t AAudioStream_close(AAudioStream* stream) { in AAudioStream_close()
80 aaudio_result_t AAudioStream_getTimestamp(AAudioStream* stream, in AAudioStream_getTimestamp()
87 aaudio_result_t AAudioStream_read(AAudioStream* stream, void* buffer, in AAudioStream_read()
93 aaudio_result_t AAudioStream_release(AAudioStream* stream) { in AAudioStream_release()
[all …]
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dstream_apis.cc202 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
216 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
223 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
233 const struct audio_stream* stream) { in out_get_channels()
248 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
262 static int out_set_format(struct audio_stream* stream, audio_format_t format) { in out_set_format()
269 static int out_standby(struct audio_stream* stream) { in out_standby()
298 static int out_dump(const struct audio_stream* stream, int fd) { in out_dump()
304 static int out_set_parameters(struct audio_stream* stream, in out_set_parameters()
425 static char* out_get_parameters(const struct audio_stream* stream, in out_get_parameters()
[all …]
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DIntegerArrayStreamTest.java30 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testPeekConsume() local
39 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testResidualLength() local
47 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testHasAtLeast() local
57 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testExpect() local
65 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testIsEmpty() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImagePropertiesTest.java124 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple() local
155 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich() local
180 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle() local
206 InputStream stream = toUtf8Stream(xmlString); in testParseNoVersion() local
231 InputStream stream = toUtf8Stream(xmlString); in testParseNoFriendlyName() local
253 InputStream stream = toUtf8Stream(xmlString); in testParseFixedVariantThumbnailFormat() local
275 InputStream stream = toUtf8Stream(xmlString); in testParseRangeVariantThumbnailFormat() local
297 InputStream stream = toUtf8Stream(xmlString); in testParseFixedRangeVariantThumbnailFormat() local
322 InputStream stream = toUtf8Stream(xmlString); in testParseNoThumbnailFormats() local
343 InputStream stream = toUtf8Stream(xmlString); in testParseNoFormats() local
[all …]
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpParser.java42 public static MsrpChunk parse(final InputStream stream) throws IOException { in parse()
139 final InputStream stream, final MsrpChunk.Builder transaction, in readHeaders()
179 private static void readChunk(final InputStream stream, final MsrpChunk.Builder chunk) in readChunk()
204 final InputStream stream, final MsrpChunk.Builder chunk, final int chunkSize) in readKnownChunk()
221 private static void readUnknownChunk(final InputStream stream, final MsrpChunk.Builder chunk) in readUnknownChunk()
269 private static void skipEndLine(final InputStream stream, final MsrpChunk.Builder chunk) in skipEndLine()
278 final InputStream stream, final MsrpChunk.Builder transaction) throws IOException { in readContinuationFlag()
337 InputStream stream, final byte[] buffer, final int offset, final int length) in readFromStream()
349 private static int skipWithDelimiter(InputStream stream, byte delimiter) throws IOException { in skipWithDelimiter()
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc143 struct audio_stream_out stream; member
150 struct audio_stream_in stream; member
905 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write()
975 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
983 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
993 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
1112 const struct audio_stream* stream) { in out_get_channels()
1120 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
1126 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format()
1132 static int out_standby(struct audio_stream* stream) { in out_standby()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
DAudioStreamTest.java29 AudioStream stream = new AudioStream(address); in testRtpStream() local
52 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testSetDtmfType() local
75 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testSetCodec() local
92 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testDoubleRelease() local
/packages/apps/Settings/src/com/android/settings/notification/
DAudioHelper.java63 public int getLastAudibleStreamVolume(int stream) { in getLastAudibleStreamVolume()
67 public int getStreamVolume(int stream) { in getStreamVolume()
71 public boolean setStreamVolume(int stream, int volume) { in setStreamVolume()
76 public int getMaxVolume(int stream) { in getMaxVolume()
80 public int getMinVolume(int stream) { in getMinVolume()
/packages/modules/Bluetooth/system/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc134 struct audio_stream_out stream; member
141 struct audio_stream_in stream; member
928 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write()
998 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
1006 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
1016 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
1129 const struct audio_stream* stream) { in out_get_channels()
1137 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
1143 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format()
1149 static int out_standby(struct audio_stream* stream) { in out_standby()
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/
Denum_gen.cc25 void EnumGen::GenDefinition(std::ostream& stream) { in GenDefinition()
36 void EnumGen::GenDefinitionPybind11(std::ostream& stream) { in GenDefinitionPybind11()
44 void EnumGen::GenLogging(std::ostream& stream) { in GenLogging()
63 void EnumGen::GenRustDef(std::ostream& stream) { in GenRustDef()
/packages/modules/Connectivity/Cronet/tests/cts/src/android/net/http/cts/util/
DTestBidirectionalStreamCallback.java248 public void onStreamReady(BidirectionalStream stream) { in onStreamReady()
261 public void onResponseHeadersReceived(BidirectionalStream stream, UrlResponseInfo info) { in onResponseHeadersReceived()
280 BidirectionalStream stream, in onReadCompleted()
318 BidirectionalStream stream, in onWriteCompleted()
339 BidirectionalStream stream, in onResponseTrailersReceived()
354 public void onSucceeded(BidirectionalStream stream, UrlResponseInfo info) { in onSucceeded()
375 public void onFailed(BidirectionalStream stream, UrlResponseInfo info, HttpException error) { in onFailed()
394 public void onCanceled(BidirectionalStream stream, UrlResponseInfo info) { in onCanceled()
409 public void startNextRead(BidirectionalStream stream) { in startNextRead()
413 public void startNextRead(BidirectionalStream stream, ByteBuffer buffer) { in startNextRead()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java56 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream() local
74 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream_withInvalidXml_doesNotCrash_andReturnNull() local
99 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStreamWithDateTime() local
116 InputStream stream = mock(InputStream.class); in fromStream_withIOException_doesNotCrash_andReturnNull() local
130 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream_withIllegalArgumentException_doesNotCrash_andReturnNull() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DANQPParserTest.java55 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getVenueNamePayload() local
69 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getDomainNamePayload() local
88 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getRoamingConsortiumPayload() local
107 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getNAIRealmPayload() local
125 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getThreeGPPNetworkPayload() local
147 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getVendorSpecificPayload() local
213 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getHSConnectionCapabilityPayload() local
248 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getI18NameListPayload() local
DVenueUrlElementTest.java58 private void appendVenue(ByteArrayOutputStream stream, int venueNumber, String url) in appendVenue()
73 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
87 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
139 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in parseBufferWithInvalidLength() local
DDomainNameElementTest.java51 private void appendDomain(ByteArrayOutputStream stream, String domain) throws IOException { in appendDomain()
64 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
DNAIRealmDataTestUtil.java87 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in formatNAIRealmData() local
110 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getNAIRealmData() local
DHSFriendlyNameElementTest.java56 private void appendOperatorName(ByteArrayOutputStream stream, String operator) in appendOperatorName()
73 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/
DWavWriter.java47 DataOutputStream stream = new DataOutputStream( in writeToFile() local
64 private static void writeFileHeader(DataOutputStream stream, int numBytes) throws IOException { in writeFileHeader()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
DWavWriter.java47 DataOutputStream stream = new DataOutputStream( in writeToFile() local
64 private static void writeFileHeader(DataOutputStream stream, int numBytes) throws IOException { in writeFileHeader()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainStateStorage.java52 FileInputStream stream = null; in loadCredentialManagementApp() local
81 FileOutputStream stream; in saveCredentialManagementApp() local
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DManagedImageReader.java108 AllocatingImageStream stream = new AllocatingImageStream(capacity, in createUnallocatedStream() local
150 AllocatingImageStream stream = createUnallocatedStream(capacity); in createPreallocatedStream() local
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DAPDU_AR_DO.java162 public void build(ByteArrayOutputStream stream) throws DO_Exception { in build()
195 BerTlv.encodeLength(temp.size(), stream); in build() local
DPKG_REF_DO.java99 public void build(ByteArrayOutputStream stream) throws DO_Exception { in build()
133 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in hashCode() local
DAR_DO.java153 public void build(ByteArrayOutputStream stream) throws DO_Exception { in build()
171 BerTlv.encodeLength(temp.size(), stream); in build() local
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DZipUtils.java52 try (InputStream stream = zipFile.getInputStream(entry)) { in extractZippedFileToZipStream()
53 writeInputStreamToZipStream(entry.getName(), stream, zipStream); in extractZippedFileToZipStream() local

12345678