Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java73 RecordingState(int riid, RecorderDeathHandler handler) { in RecordingState() argument
74 mRiid = riid; in RecordingState()
146 public void onRecordingConfigurationChanged(int event, int riid, int uid, int session, in onRecordingConfigurationChanged() argument
161 mLegacyRemoteSubmixRiid.set(riid); in onRecordingConfigurationChanged()
167 sEventLogger.enqueue(new RecordingEvent(event, riid, config).printLog(TAG)); in onRecordingConfigurationChanged()
170 dispatchCallbacks(updateSnapshot(event, riid, config)); in onRecordingConfigurationChanged()
197 public void recorderEvent(int riid, int event) { in recorderEvent() argument
198 if (mLegacyRemoteSubmixRiid.get() == riid) { in recorderEvent()
205 if (riid == AudioManager.RECORD_RIID_INVALID in recorderEvent()
207 sEventLogger.enqueue(new RecordingEvent(event, riid, null).printLog(TAG)); in recorderEvent()
[all …]
DAudioService.java13268 public void recorderEvent(int riid, int event) { in recorderEvent() argument
13269 mRecordMonitor.recorderEvent(riid, event); in recorderEvent()
13275 public void releaseRecorder(int riid) { in releaseRecorder() argument
13276 mRecordMonitor.releaseRecorder(riid); in releaseRecorder()
/frameworks/native/services/audiomanager/
DIAudioManager.cpp116 const audio_unique_id_t riid = (audio_unique_id_t) reply.readInt32(); in trackRecorder() local
117 ALOGV("trackRecorder() returned riid %d", riid); in trackRecorder()
118 return riid; in trackRecorder()
122 virtual status_t recorderEvent(audio_unique_id_t riid, recorder_state_t event) { in recorderEvent() argument
125 data.writeInt32((int32_t) riid); in recorderEvent()
130 virtual status_t releaseRecorder(audio_unique_id_t riid) { in releaseRecorder() argument
133 data.writeInt32((int32_t) riid); in releaseRecorder()
/frameworks/native/include/audiomanager/
DIAudioManager.h61 /*oneway*/ virtual status_t recorderEvent(audio_unique_id_t riid, recorder_state_t event) = 0;
62 /*oneway*/ virtual status_t releaseRecorder(audio_unique_id_t riid) = 0;
/frameworks/av/media/libaudioclient/aidl/android/media/
DRecordClientInfo.aidl26 int riid;
DCreateRecordRequest.aidl35 int riid;
DIAudioPolicyService.aidl105 int /* audio_unique_id_t */ riid, in getInputForAttr()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h201 RecordClientDescriptor(audio_port_handle_t portId, audio_unique_id_t riid, uid_t uid, in RecordClientDescriptor() argument
206 mRIId(riid), mSource(source), mFlags(flags), mIsSoundTrigger(isSoundTrigger), in RecordClientDescriptor()
213 audio_unique_id_t riid() const { return mRIId; } in riid() function
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp362 __func__, client->riid(), client->uid(), client->portId(), client->session(), event); in updateClientRecordingConfiguration()
373 const record_client_info_t recordClientInfo{client->riid(), client->uid(), client->session(), in updateClientRecordingConfiguration()
/frameworks/base/media/java/android/media/
DIAudioService.aidl96 oneway void recorderEvent(in int riid, in int event); in recorderEvent() argument
98 oneway void releaseRecorder(in int riid); in releaseRecorder() argument
DAudioSystem.java775 void onRecordingConfigurationChanged(int event, int riid, int uid, int session, int source, in onRecordingConfigurationChanged() argument
810 private static void recordingCallbackFromNative(int event, int riid, int uid, int session, in recordingCallbackFromNative() argument
841 cb.onRecordingConfigurationChanged(event, riid, uid, session, source, portId, silenced, in recordingCallbackFromNative()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp206 bool getInputForAttr(const audio_attributes_t &attr, audio_unique_id_t riid,
285 const audio_attributes_t &attr, audio_unique_id_t riid, audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
301 if (mManager->getInputForAttr(&attr, &input, riid, AUDIO_SESSION_NONE, attributionSource, in getInputForAttr()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h61 audio_unique_id_t riid; member
366 audio_unique_id_t riid,
DIAudioFlinger.h142 audio_unique_id_t riid; variable
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp164 aidl.riid = VALUE_OR_RETURN(legacy2aidl_audio_unique_id_t_int32_t(riid)); in toAidl()
185 legacy.riid = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_unique_id_t(aidl.riid)); in fromAidl()
DAudioSystem.cpp1204 audio_unique_id_t riid, in getInputForAttr() argument
1234 int32_t riidAidl = VALUE_OR_RETURN_STATUS(legacy2aidl_audio_unique_id_t_int32_t(riid)); in getInputForAttr()
2969 legacy.riid = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_unique_id_t(aidl.riid)); in aidl2legacy_RecordClientInfo_record_client_info_t()
2981 aidl.riid = VALUE_OR_RETURN(legacy2aidl_audio_unique_id_t_int32_t(legacy.riid)); in legacy2aidl_record_client_info_t_RecordClientInfo()
DAudioRecord.cpp835 input.riid = mTracker->getRiid(); in createRecord_l()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h163 audio_unique_id_t riid,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h137 audio_unique_id_t riid,
DAudioPolicyManager.cpp2815 audio_unique_id_t riid, in getInputForAttr() argument
3000 clientDesc = new RecordClientDescriptor(*portId, riid, uid, session, attributes, *config, in getInputForAttr()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h123 int32_t riid, int32_t session,
DAudioPolicyInterfaceImpl.cpp598 audio_unique_id_t riid = VALUE_OR_RETURN_BINDER_STATUS( in getInputForAttr() local
706 status = mAudioPolicyManager->getInputForAttr(&attr, &input, riid, session, in getInputForAttr()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp202 audio_unique_id_t riid,
315 audio_unique_id_t riid, in getInputForAttr() argument
334 &attr, input, riid, session, attributionSource, &config, flags, in getInputForAttr()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp612 event, clientInfo->riid, clientInfo->uid, clientInfo->session, in android_media_AudioSystem_recording_callback()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2377 input.riid, in createRecord()