/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 119 for (int encoding : info.getEncodings()) { in scanDevicesForEncodings() 120 text += String.format("0x%08X, ", encoding); in scanDevicesForEncodings() 131 for (int encoding : info.getEncodings()) { in scanDevicesForEncodings() 132 switch (encoding) { in scanDevicesForEncodings() 199 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack() argument 203 encoding); in createAudioTrack() 208 encoding, bufferSize, in createAudioTrack() 329 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase() argument 331 mEncoding = encoding; in SamplePlayerBase() 458 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts() argument [all …]
|
D | AudioFormatTest.java | 187 for (int encoding : encodings) { in testFrameSize() 189 .setEncoding(encoding) in testFrameSize() 194 assertEquals("AudioFormat with encoding " + encoding + " has the wrong frame size", in testFrameSize()
|
D | AudioTrackOffloadTest.java | 159 private static AudioFormat getAudioFormatWithEncoding(int encoding) { in getAudioFormatWithEncoding() argument 161 .setEncoding(encoding) in getAudioFormatWithEncoding()
|
D | MediaCodecTest.java | 945 int encoding = metrics.getInt(MediaCodec.MetricsConstants.ENCODER, -1); in testDequeueSurface() local 946 if (encoding != 1) { in testDequeueSurface() 947 fail("getMetrics() returns bad encoder value " + encoding); in testDequeueSurface() 1018 int encoding = metrics.getInt(MediaCodec.MetricsConstants.ENCODER, -1); in testReconfigureWithoutSurface() local 1019 if (encoding != 1) { in testReconfigureWithoutSurface() 1020 fail("getMetrics() returns bad encoder value " + encoding); in testReconfigureWithoutSurface() 1100 int encoding = metrics.getInt(MediaCodec.MetricsConstants.ENCODER, -1); in testDecodeAfterFlush() 1101 if (encoding != 0) { in testDecodeAfterFlush() 1102 fail("getMetrics() returns bad encoder value " + encoding); in testDecodeAfterFlush()
|
D | AudioTrackTest.java | 2126 private void doTestTimestamp(int sampleRate, int channelMask, int encoding, int transferMode, in doTestTimestamp() argument 2137 AudioFormat.getBytesPerSample(encoding) in doTestTimestamp() 2152 .setEncoding(encoding) in doTestTimestamp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioUtils.java | 68 public static int sampleSizeInBytes(int encoding) { in sampleSizeInBytes() argument 69 switch (encoding) { in sampleSizeInBytes() 81 public static int calcFrameSizeInBytes(int encoding, int numChannels) { in calcFrameSizeInBytes() argument 82 return sampleSizeInBytes(encoding) * numChannels; in calcFrameSizeInBytes()
|
D | StreamRecorder.java | 59 public static int calcNumBufferBytes(int numChannels, int sampleRate, int encoding) { in calcNumBufferBytes() argument 65 encoding); in calcNumBufferBytes() 69 AudioUtils.countToInPositionMask(numChannels), encoding); in calcNumBufferBytes() 75 public static int calcNumBufferFrames(int numChannels, int sampleRate, int encoding) { in calcNumBufferFrames() argument 76 return calcNumBufferBytes(numChannels, sampleRate, encoding) / in calcNumBufferFrames() 77 AudioUtils.calcFrameSizeInBytes(encoding, numChannels); in calcNumBufferFrames()
|
D | StreamPlayer.java | 90 private static int calcNumBufferBytes(int sampleRate, int numChannels, int encoding) { in calcNumBufferBytes() argument 93 encoding); in calcNumBufferBytes() 96 private static int calcNumBufferFrames(int sampleRate, int numChannels, int encoding) { in calcNumBufferFrames() argument 97 return calcNumBufferBytes(sampleRate, numChannels, encoding) in calcNumBufferFrames() 98 / AudioUtils.calcFrameSizeInBytes(encoding, numChannels); in calcNumBufferFrames()
|
/cts/tools/utils/cts/ |
D | tools.py | 71 self.encoding = 'UTF-8' 106 doc.writexml(writer, addindent=' ', newl='\n', encoding=self.encoding) 215 doc.writexml(stream, addindent=' ', newl='\n', encoding='UTF-8')
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewSyncLoader.java | 209 final String mimeType, final String encoding) { in loadDataAndWaitForCompletion() argument 210 callAndWait(() -> mWebView.loadData(data, mimeType, encoding)); in loadDataAndWaitForCompletion() 220 final String data, final String mimeType, final String encoding, in loadDataWithBaseURLAndWaitForCompletion() argument 223 () -> mWebView.loadDataWithBaseURL(baseUrl, data, mimeType, encoding, historyUrl)); in loadDataWithBaseURLAndWaitForCompletion()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | MyWebView.java | 39 public void myLoadData(String url, String data, String mimeType, String encoding) { in myLoadData() argument 41 super.loadData(data, mimeType, encoding); in myLoadData()
|
/cts/tests/tests/media/res/raw/ |
D | voice12_48k_128kbps_15s_ac3_readme.txt | 6 encoding=AC3
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletFactory.java | 82 String encoding = null; in getRootDoc() local 117 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess, in getRootDoc()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/ |
D | poc.c | 95 struct iw_point encoding; /* Encoding stuff : tokens */ member
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | ProAudioActivity.java | 143 for (int encoding : encodings) { in isHDMIValid() 144 if (encoding == AudioFormat.ENCODING_PCM_FLOAT) { in isHDMIValid()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebChromeClientTest.java | 375 final String encoding = "base64"; in testOnConsoleMessage() local 377 mOnUiThread.loadDataAndWaitForCompletion(encodedHtml, mimeType, encoding); in testOnConsoleMessage()
|
D | WebViewTest.java | 1249 private String readTextFile(File file, Charset encoding) in readTextFile() argument 1255 return new String(bytes, encoding); in readTextFile()
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 334 jsonData = json.load(jsonFile, encoding='utf-8') 341 jsonData = json.load(jsonFile, encoding='utf-8', object_pairs_hook=lambda items: items)
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | reduce.rscript | 448 // The oorrBadPos encoding is as follows: 456 // (encoding is C + length(vector)*E)
|