Lines Matching refs:format
396 const sp<AMessage> &format,
403 msg->setMessage("format", format);
431 const sp<AMessage> &format,
438 meta->setMessage("format", format);
455 sp<AMessage> format;
456 CHECK(msg->findMessage("format", &format));
470 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming);
1873 const sp<AMessage> &format,
1883 CHECK(format->findInt32("channel-count", &numChannels));
1886 if (!format->findInt32("channel-mask", &channelMask)) {
1892 CHECK(format->findInt32("sample-rate", &sampleRate));
1897 CHECK(format->findString("mime", &mime));
1909 format->findInt32("bitrate", &avgBitRate);
1913 && format->findInt32("aac-profile", &aacProfile)) {
1914 // Redefine AAC format as per aac profile
1922 format->findInt64(
1926 offloadInfo.format = audioFormat;
2070 sp<AMessage> format;
2071 CHECK(meta->findMessage("format", &format));
2085 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming);