Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DVisualizerEffectTest.java47 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); in testVisualizer_MalformedConstructor() local
49 for (i = 0; i < descriptors.length; ++i) { in testVisualizer_MalformedConstructor()
50 AudioEffect.Descriptor descriptor = descriptors[i]; in testVisualizer_MalformedConstructor()
60 ae = (AudioEffect) ct.newInstance(descriptors[visualizerIndex].type, in testVisualizer_MalformedConstructor()
61 descriptors[visualizerIndex].uuid, 0, mp.getAudioSessionId()); in testVisualizer_MalformedConstructor()
/cts/tests/tests/media/src/android/media/cts/
DMediaCasTest.java156 PluginDescriptor[] descriptors = MediaCas.enumeratePlugins(); in testEnumeratePlugins() local
157 for (int i = 0; i < descriptors.length; i++) { in testEnumeratePlugins()
158 Log.d(TAG, "desciptor[" + i + "]: id=" + descriptors[i].getSystemId() in testEnumeratePlugins()
159 + ", name=" + descriptors[i].getName()); in testEnumeratePlugins()
164 final int CA_system_id = descriptors[i].getSystemId(); in testEnumeratePlugins()
166 fail("Enumerated " + descriptors[i] + " but is not supported."); in testEnumeratePlugins()
170 fail("Enumerated " + descriptors[i] + " but cannot instantiate MediaCas."); in testEnumeratePlugins()
174 … fail("Enumerated " + descriptors[i] + " but cannot instantiate MediaDescrambler."); in testEnumeratePlugins()
236 PluginDescriptor[] descriptors = MediaCas.enumeratePlugins(); in testClearKeyPluginInstalled() local
237 for (int i = 0; i < descriptors.length; i++) { in testClearKeyPluginInstalled()
[all …]