Lines Matching refs:analyzer
42 NativeAudioAnalyzer * analyzer = new NativeAudioAnalyzer(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio() local
43 aaudio_result_t result = analyzer->openAudio(inputDeviceId, outputDeviceId); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
45 delete analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
46 analyzer = nullptr; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
48 return (jlong) analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
53 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio() local
55 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio()
56 result = analyzer->startAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio()
63 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio() local
64 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio()
65 return analyzer->stopAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio()
72 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio() local
74 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
75 result = analyzer->closeAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
76 delete analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
83 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete() local
84 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete()
85 return analyzer->isRecordingComplete(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete()
92 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency() local
93 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency()
94 return analyzer->isLowLatencyStream(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency()
102 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_has24BitHardwareSupport() local
103 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_has24BitHardwareSupport()
104 return analyzer->has24BitHardwareSupport(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_has24BitHardwareSupport()
112 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getHardwareFormat() local
113 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getHardwareFormat()
114 return analyzer->getHardwareFormat(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getHardwareFormat()
121 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError() local
122 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError()
123 return (jint) analyzer->getError(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError()
130 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze() local
131 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze()
132 return analyzer->analyze(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze()
139 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis() local
140 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis()
141 return analyzer->getLatencyMillis(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis()
148 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence() local
149 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence()
150 return analyzer->getConfidence(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence()
157 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate() local
158 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()
159 return analyzer->getSampleRate(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()
167 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_measureTimestampLatencyMillis() local
168 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_measureTimestampLatencyMillis()
169 return analyzer->measureTimestampLatencyMillis(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_measureTimestampLatencyMillis()