Lines Matching refs:analyzer
43 NativeAudioAnalyzer * analyzer = new NativeAudioAnalyzer(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio() local
44 aaudio_result_t result = analyzer->openAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
46 delete analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
47 analyzer = nullptr; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
49 return (jlong) analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_openAudio()
54 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio() local
56 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio()
57 result = analyzer->startAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio()
64 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio() local
65 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio()
66 return analyzer->stopAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio()
73 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio() local
75 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
76 result = analyzer->closeAudio(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
77 delete analyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio()
84 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete() local
85 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete()
86 return analyzer->isRecordingComplete(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete()
93 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency() local
94 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency()
95 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_getError() local
103 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError()
104 return (jint) analyzer->getError(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError()
111 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze() local
112 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze()
113 return analyzer->analyze(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze()
120 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis() local
121 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis()
122 return analyzer->getLatencyMillis(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis()
129 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence() local
130 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence()
131 return analyzer->getConfidence(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence()
138 NativeAudioAnalyzer * analyzer = (NativeAudioAnalyzer *) pAnalyzer; in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate() local
139 if (analyzer != nullptr) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()
140 return analyzer->getSampleRate(); in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()