/frameworks/av/cmds/stagefright/ |
D | WaveWriter.h | 26 uint16_t num_channels, uint32_t sampling_rate) in WaveWriter() argument 30 write_u16(num_channels); in WaveWriter() 32 write_u32(sampling_rate * num_channels * 2); in WaveWriter() 33 write_u16(num_channels * 2); in WaveWriter()
|
/frameworks/av/media/libstagefright/ |
D | XINGSeeker.cpp | 95 int num_channels; in CreateFromSource() local 97 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, in CreateFromSource() 107 if (num_channels != 1) offset += 32; in CreateFromSource() 110 if (num_channels != 1) offset += 17; in CreateFromSource()
|
D | MP3Extractor.cpp | 148 int sample_rate, num_channels, bitrate; in Resync() local 151 &sample_rate, &num_channels, &bitrate)) { in Resync() 309 int num_channels; in MP3Extractor() local 312 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 324 int num_channels; in MP3Extractor() local 327 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 347 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor()
|
D | MPEG4Extractor.cpp | 1119 uint32_t num_channels = 0; in parseChunk() local 1121 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk() 1122 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk() 1408 uint32_t num_channels = U16_AT(&buffer[16]); in parseChunk() local 1441 num_channels = U32_AT(&v2buffer[12]); // num audio channels in parseChunk() 1455 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk() 1458 chunk, num_channels, sample_size, sample_rate); in parseChunk() 1459 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_framedecoder.cpp | 190 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; in pvmp3_framedecoder() 191 pExt->num_channels = pVars->num_channels; in pvmp3_framedecoder() 362 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder() 405 if (pVars->num_channels == 2) in pvmp3_framedecoder() 441 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder() 490 pVars->num_channels, in pvmp3_framedecoder() 497 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; in pvmp3_framedecoder() 659 pVars->num_channels = 0; in pvmp3_InitDecoder()
|
D | s_tmp3dec_file.h | 87 int32 num_channels; member
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ScanScheduleUtil.java | 59 if (bucket1.num_channels != bucket2.num_channels) return false; in bucketEquals() 60 for (int c = 0; c < bucket1.num_channels; c++) { in bucketEquals()
|
D | NoBandChannelHelper.java | 149 bucketSettings.num_channels = 0; in fillBucketSettings() 153 bucketSettings.num_channels = mChannels.size(); in fillBucketSettings()
|
D | KnownBandsChannelHelper.java | 245 bucketSettings.num_channels = 0; in fillBucketSettings() 249 bucketSettings.num_channels = mChannels.size(); in fillBucketSettings()
|
D | ChannelHelper.java | 252 return toString(bucketSettings.channels, bucketSettings.num_channels); in toString()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
D | pvmp3decoder_api.h | 183 int16 num_channels; member
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 294 uint32_t sample_rate, num_channels, bitrate; in resync() local 297 &sample_rate, &num_channels, &bitrate)) { in resync()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 147 bucket.num_channels = channels.length; in addBucketWithChannels() 338 actual.buckets[i].num_channels); in assertNativeScanSettingsEquals() 428 } else if (bucketSettings.num_channels != expectedChannels.length) { 432 .appendText(", was ").appendValue(bucketSettings.num_channels);
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 72 uint16_t num_channels; member 146 chunkFormat->num_channels, in createBufferQueueAudioPlayer()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 338 || mConfig->num_channels != mNumChannels) { in onQueueFilled() 340 mNumChannels = mConfig->num_channels; in onQueueFilled()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | ChannelHelperTest.java | 149 testBucket.num_channels = 2; in addChannelsWifiNativeBucket_channels()
|
D | BackgroundScanSchedulerTest.java | 806 assertTrue("num channels <= 0", schedule.buckets[i].num_channels > 0); in assertBuckets() 808 schedule.buckets[i].num_channels <= mScheduler.getMaxChannelsPerBucket()); in assertBuckets() 810 for (int c = 0; c < schedule.buckets[i].num_channels; c++) { in assertBuckets()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 252 int num_channels = in.readInt(); 253 settings.channels = new ChannelSpec[num_channels]; 254 for (int i = 0; i < num_channels; i++) {
|
/frameworks/opt/net/wifi/service/jni/ |
D | wifi_hal_stub.h | 66 int band, int max_channels, wifi_channel *channels, int *num_channels);
|
D | com_android_server_wifi_WifiNative.cpp | 502 params.buckets[i].num_channels = helper.getIntField(bucket, "num_channels"); in android_net_wifi_startScan() 505 for (int j = 0; j < params.buckets[i].num_channels; j++) { in android_net_wifi_startScan() 1400 int num_channels = 0; in android_net_wifi_getValidChannels() local 1402 channels, &num_channels); in android_net_wifi_getValidChannels() 1405 JNIObject<jintArray> channelArray = helper.newIntArray(num_channels); in android_net_wifi_getValidChannels() 1407 ALOGE("failed to allocate channel list, num_channels=%d", num_channels); in android_net_wifi_getValidChannels() 1411 helper.setIntArrayRegion(channelArray, 0, num_channels, channels); in android_net_wifi_getValidChannels()
|
/frameworks/opt/net/wifi/service/lib/ |
D | wifi_hal_stub.cpp | 129 int band, int max_channels, wifi_channel *channels, int *num_channels) { in wifi_get_valid_channels_stub() argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 579 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local 585 if (num_channels != 1u) { in dequeueAccessUnitPCMAudio()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1682 public int num_channels; field in WifiNative.BucketSettings
|