Home
last modified time | relevance | path

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

12345678910

/packages/modules/Bluetooth/system/test/mock/
Dmock_frameworks_libaudio.cc32 AAudioStream* stream) { in AAudioStream_getAllowedCapturePolicy()
36 aaudio_content_type_t AAudioStream_getContentType(AAudioStream* stream) { in AAudioStream_getContentType()
40 aaudio_direction_t AAudioStream_getDirection(AAudioStream* stream) { in AAudioStream_getDirection()
44 aaudio_format_t AAudioStream_getFormat(AAudioStream* stream) { in AAudioStream_getFormat()
48 aaudio_input_preset_t AAudioStream_getInputPreset(AAudioStream* stream) { in AAudioStream_getInputPreset()
53 AAudioStream* stream) { in AAudioStream_getPerformanceMode()
70 aaudio_result_t AAudioStream_close(AAudioStream* stream) { in AAudioStream_close()
74 aaudio_result_t AAudioStream_getTimestamp(AAudioStream* stream, in AAudioStream_getTimestamp()
81 aaudio_result_t AAudioStream_read(AAudioStream* stream, void* buffer, in AAudioStream_read()
87 aaudio_result_t AAudioStream_release(AAudioStream* stream) { in AAudioStream_release()
[all …]
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dstream_apis.cc200 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
214 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
221 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
231 const struct audio_stream* stream) { in out_get_channels()
246 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
260 static int out_set_format(struct audio_stream* stream, audio_format_t format) { in out_set_format()
267 static int out_standby(struct audio_stream* stream) { in out_standby()
296 static int out_dump(const struct audio_stream* stream, int fd) { in out_dump()
302 static int out_set_parameters(struct audio_stream* stream, in out_set_parameters()
423 static char* out_get_parameters(const struct audio_stream* stream, in out_get_parameters()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImagePropertiesTest.java130 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple() local
165 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich() local
191 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle() local
218 InputStream stream = toUtf8Stream(xmlString); in testParseNoVersion() local
244 InputStream stream = toUtf8Stream(xmlString); in testParseNoFriendlyName() local
267 InputStream stream = toUtf8Stream(xmlString); in testParseFixedVariantThumbnailFormat() local
290 InputStream stream = toUtf8Stream(xmlString); in testParseRangeVariantThumbnailFormat() local
313 InputStream stream = toUtf8Stream(xmlString); in testParseFixedRangeVariantThumbnailFormat() local
341 InputStream stream = toUtf8Stream(xmlString); in testParseNoThumbnailFormats() local
360 InputStream stream = toUtf8Stream(xmlString); in testParseNoFormats() local
[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/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.cc141 struct audio_stream_out stream; member
148 struct audio_stream_in stream; member
903 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write()
973 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
981 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
991 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
1110 const struct audio_stream* stream) { in out_get_channels()
1118 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
1124 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format()
1130 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.cc132 struct audio_stream_out stream; member
139 struct audio_stream_in stream; member
926 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write()
996 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate()
1004 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate()
1014 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size()
1127 const struct audio_stream* stream) { in out_get_channels()
1135 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format()
1141 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format()
1147 static int out_standby(struct audio_stream* stream) { in out_standby()
[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/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()
/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/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DPersistableBundleUtils.java32 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in toByteArray() local
42 ByteArrayInputStream stream = new ByteArrayInputStream(input); in fromByteArray() local
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/
DBackCompatAndroidProcessDetector.kt46 val stream = context.file.inputStream() in <lambda>() constant
/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/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/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
/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

12345678910