/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | 498 int[] streams = { AudioManager.STREAM_ALARM, local 508 for (int i = 0; i < streams.length; i++) { 509 int maxVolume = mAudioManager.getStreamMaxVolume(streams[i]); 511 mAudioManager.setStreamVolume(streams[i], 1, FLAG_SHOW_UI); 512 assertEquals(1, mAudioManager.getStreamVolume(streams[i])); 514 mAudioManager.setStreamVolume(streams[i], maxVolume, FLAG_SHOW_UI); 515 mAudioManager.adjustStreamVolume(streams[i], ADJUST_RAISE, FLAG_SHOW_UI); 516 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); 518 mAudioManager.adjustSuggestedStreamVolume(ADJUST_LOWER, streams[i], FLAG_SHOW_UI); 519 assertEquals(maxVolume - 1, mAudioManager.getStreamVolume(streams[i])) [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_smf.c | 296 /* parse the next event from all the streams */ 328 /* find next event in all streams */ 333 if (pSMFData->streams[i].ticks < temp) 335 temp = pSMFData->streams[i].ticks; 336 pSMFData->nextStream = &pSMFData->streams[i]; 426 /* close all the streams */ 429 if (pSMFData->streams[i].fileHandle != NULL) 431 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 446 if (pSMFData->streams) 447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 478 /* if there are streams open, close them */ 482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 484 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 113 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
eas_miditypes.h | 101 S_SMF_STREAM *streams; /* pointer to individual streams in file */ member in struct:s_smf_data_tag 108 EAS_U16 numStreams; /* actual number of streams */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_smf.c | 296 /* parse the next event from all the streams */ 328 /* find next event in all streams */ 333 if (pSMFData->streams[i].ticks < temp) 335 temp = pSMFData->streams[i].ticks; 336 pSMFData->nextStream = &pSMFData->streams[i]; 426 /* close all the streams */ 429 if (pSMFData->streams[i].fileHandle != NULL) 431 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 446 if (pSMFData->streams) 447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 478 /* if there are streams open, close them */ 482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 484 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 113 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
eas_miditypes.h | 101 S_SMF_STREAM *streams; /* pointer to individual streams in file */ member in struct:s_smf_data_tag 108 EAS_U16 numStreams; /* actual number of streams */
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_smf.c | 296 /* parse the next event from all the streams */ 328 /* find next event in all streams */ 333 if (pSMFData->streams[i].ticks < temp) 335 temp = pSMFData->streams[i].ticks; 336 pSMFData->nextStream = &pSMFData->streams[i]; 426 /* close all the streams */ 429 if (pSMFData->streams[i].fileHandle != NULL) 431 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 446 if (pSMFData->streams) 447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 479 /* if there are streams open, close them */ 483 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 485 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 592 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 115 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
eas_miditypes.h | 101 S_SMF_STREAM *streams; /* pointer to individual streams in file */ member in struct:s_smf_data_tag 108 EAS_U16 numStreams; /* actual number of streams */
|
/bionic/libc/netbsd/isc/ |
ev_streams.c | 79 if (ctx->streams != NULL) 80 ctx->streams->prev = new; 82 new->next = ctx->streams; 83 ctx->streams = new; 113 if (ctx->streams != NULL) 114 ctx->streams->prev = new; 116 new->next = ctx->streams; 117 ctx->streams = new; 155 * The streams list is doubly threaded. First, there's ctx->streams [all...] |
eventlib_p.h | 205 /* Streams. */ 206 evStream *streams; member in struct:__anon497
|
/libcore/luni/src/test/java/tests/api/java/io/ |
SequenceInputStreamTest.java | 77 InputStream streams[] = new InputStream[2]; field in class:SequenceInputStreamTest.StreamEnumerator 82 streams[0] = new ByteArrayInputStream(s1.getBytes()); 83 streams[1] = new ByteArrayInputStream(s2.getBytes()); 87 return count < streams.length; 91 return streams[count++]; 147 // assertEquals("And not on the underlying streams either!", 0, simple1.available()); 148 // assertTrue("And not on the underlying streams either!", simple1.available() <= 0); 149 // assertTrue("And not on the underlying streams either!", simple2.available() <= 0);
|
/external/openssl/crypto/rand/ |
rand_egd.c | 119 # include <streams/un.h>
|
/external/webkit/WebCore/plugins/ |
PluginStream.cpp | 49 static StreamMap& streams() function in namespace:WebCore 79 streams().add(&m_stream, m_instance); 89 streams().remove(&m_stream); 216 return streams().get(stream);
|
/external/webkit/WebKit/mac/Plugins/ |
WebBaseNetscapePluginStream.mm | 80 static StreamMap& streams() 88 return streams().get(stream); 171 streams().add(&m_stream, plugin); 190 streams().remove(&m_stream);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.h | 297 // A ZeroCopyInputStream which reads from several other streams in sequence. 299 // and read errors in the underlying streams, so it assumes any errors mean 300 // end-of-stream. So, if the underlying streams fail for any other reason, 302 // not use ConcatenatingInputStream on streams that might produce read errors 306 // All streams passed in as well as the array itself must remain valid 308 ConcatenatingInputStream(ZeroCopyInputStream* const streams[], int count); 319 // As streams are retired, streams_ is incremented and count_ is 323 int64 bytes_retired_; // Bytes read from previous streams.
|
zero_copy_stream_impl.cc | 351 ZeroCopyInputStream* const streams[], int count) 352 : streams_(streams), stream_count_(count), bytes_retired_(0) { 368 // No more streams.
|
zero_copy_stream_unittest.cc | 663 // Now split it up into multiple streams of varying sizes. 676 ZeroCopyInputStream* streams[] = local 680 ConcatenatingInputStream input(streams, GOOGLE_ARRAYSIZE(streams));
|
/libcore/luni/src/main/java/java/util/ |
ResourceBundle.java | [all...] |
/external/bluetooth/bluez/audio/ |
avdtp.c | 402 GSList *streams; /* Elements of type struct avdtp_stream * */ member in struct:avdtp 722 for (l = session->streams; l != NULL; l = g_slist_next(l)) { 1018 session->streams = g_slist_remove(session->streams, stream); 1026 if (session->ref == 1 && !session->streams) 1081 g_slist_foreach(session->streams, (GFunc) release_stream, session); 1082 session->streams = NULL; 1434 session->streams = g_slist_append(session->streams, stream); [all...] |
/frameworks/base/media/java/android/media/ |
AudioService.java | 154 /** @hide Maximum volume index values for audio streams */ 217 // Streams currently muted by ringer mode 290 // state on streams affected by ringer mode. 343 VolumeStreamState[] streams = mStreamStates = new VolumeStreamState[numStreamTypes]; local 346 streams[i] = new VolumeStreamState(System.VOLUME_SETTINGS[STREAM_VOLUME_ALIAS[i]], i); 349 // Correct stream index values for streams with aliases 352 int index = rescaleIndex(streams[i].mIndex, STREAM_VOLUME_ALIAS[i], i); 353 streams[i].mIndex = streams[i].getValidIndex(index); 355 index = rescaleIndex(streams[i].mLastAudibleIndex, STREAM_VOLUME_ALIAS[i], i) [all...] |