Home
last modified time | relevance | path

Searched refs:activeMicrophones (Results 1 – 25 of 27) sorted by relevance

12

/aosp12/frameworks/base/media/java/android/media/
H A DMediaRecorder.java1745 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones() local
1746 int status = native_getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
1753 AudioManager.setPortIdForMicrophones(activeMicrophones); in getActiveMicrophones()
1756 if (activeMicrophones.size() == 0) { in getActiveMicrophones()
1765 activeMicrophones.add(microphone); in getActiveMicrophones()
1768 return activeMicrophones; in getActiveMicrophones()
1772 ArrayList<MicrophoneInfo> activeMicrophones); in native_getActiveMicrophones() argument
H A DAudioRecord.java1988 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones() local
1989 int status = native_get_active_microphones(activeMicrophones); in getActiveMicrophones()
1996 AudioManager.setPortIdForMicrophones(activeMicrophones); in getActiveMicrophones()
1999 if (activeMicrophones.size() == 0) { in getActiveMicrophones()
2008 activeMicrophones.add(microphone); in getActiveMicrophones()
2011 return activeMicrophones; in getActiveMicrophones()
2297 ArrayList<MicrophoneInfo> activeMicrophones); in native_get_active_microphones() argument
/aosp12/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
H A DStagefrightRecorderTest.cpp289 std::vector<media::MicrophoneInfo> activeMicrophones{}; in TEST_F() local
290 status = mStfRecorder->getActiveMicrophones(&activeMicrophones); in TEST_F()
292 ASSERT_GT(activeMicrophones.size(), 0) << "No active microphones are found"; in TEST_F()
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DIAudioRecord.aidl42 void getActiveMicrophones(out MicrophoneInfoData[] activeMicrophones); in getActiveMicrophones() argument
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
H A DAudioPrimaryHidlHalTest.cpp91 hidl_vec<MicrophoneInfo> activeMicrophones; in TEST_P() local
92 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_P()
94 EXPECT_NE(0U, activeMicrophones.size()); in TEST_P()
/aosp12/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp431 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones) in getActiveMicrophones() argument
441 status = reply.readParcelableVector(activeMicrophones); in getActiveMicrophones()
759 std::vector<media::MicrophoneInfo> activeMicrophones; in onTransact() local
760 status_t status = getActiveMicrophones(&activeMicrophones); in onTransact()
765 reply->writeParcelableVector(activeMicrophones); in onTransact()
H A Dmediarecorder.cpp887 status_t MediaRecorder::getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones) in getActiveMicrophones() argument
895 return mMediaRecorder->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp777 std::vector<media::MicrophoneInfo> activeMicrophones; in android_media_MediaRecord_getActiveMicrophones() local
778 status_t status = mr->getActiveMicrophones(&activeMicrophones); in android_media_MediaRecord_getActiveMicrophones()
785 for (size_t i = 0; i < activeMicrophones.size(); i++) { in android_media_MediaRecord_getActiveMicrophones()
787 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_MediaRecord_getActiveMicrophones()
/aosp12/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp809 std::vector<media::MicrophoneInfo> activeMicrophones; in android_media_AudioRecord_get_active_microphones() local
810 status_t status = lpRecorder->getActiveMicrophones(&activeMicrophones); in android_media_AudioRecord_get_active_microphones()
817 for (size_t i = 0; i < activeMicrophones.size(); i++) { in android_media_AudioRecord_get_active_microphones()
819 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_AudioRecord_get_active_microphones()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DIMediaRecorder.h77 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
H A DMediaRecorderBase.h77 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
H A Dmediarecorder.h269 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DAudioSource.h85 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/aosp12/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.h86 std::vector<media::MicrophoneInfo>* activeMicrophones);
H A DMediaRecorderClient.cpp561 std::vector<media::MicrophoneInfo>* activeMicrophones) { in getActiveMicrophones() argument
565 return mRecorder->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
H A DStagefrightRecorder.h85 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
H A DStagefrightRecorder.cpp2553 std::vector<media::MicrophoneInfo>* activeMicrophones) { in getActiveMicrophones() argument
2555 return mAudioSourceNode->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
/aosp12/frameworks/av/media/libstagefright/
H A DAudioSource.cpp538 std::vector<media::MicrophoneInfo>* activeMicrophones) { in getActiveMicrophones() argument
540 return mRecord->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
/aosp12/frameworks/av/services/audioflinger/
H A DRecordTracks.h76 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
H A DTracks.cpp2287 std::vector<media::MicrophoneInfoData>* activeMicrophones) { in getActiveMicrophones() argument
2291 activeMicrophones->resize(mics.size()); in getActiveMicrophones()
2293 status = mics[i].writeToParcelable(&activeMicrophones->at(i)); in getActiveMicrophones()
2613 std::vector<media::MicrophoneInfo>* activeMicrophones) in getActiveMicrophones() argument
2618 return recordThread->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
H A DAudioFlinger.h686 std::vector<media::MicrophoneInfoData>* activeMicrophones);
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
H A DAudioPrimaryHidlHalTest.cpp876 hidl_vec<MicrophoneInfo> activeMicrophones; in TEST_P() local
877 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_P()
879 EXPECT_NE(0U, activeMicrophones.size()); in TEST_P()
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DAudioRecord.h579 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/aosp12/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp1542 status_t AudioRecord::getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones) in getActiveMicrophones() argument
1547 activeMicrophones->resize(mics.size()); in getActiveMicrophones()
1549 status = activeMicrophones->at(i).readFromParcelable(mics[i]); in getActiveMicrophones()
/aosp12/frameworks/av/media/libaudioclient/fuzzer/
H A Daudioflinger_fuzzer.cpp361 std::vector<media::MicrophoneInfo> activeMicrophones; in invokeAudioRecord() local
362 record->getActiveMicrophones(&activeMicrophones); in invokeAudioRecord()

12