Home
last modified time | relevance | path

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

123

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c90 int sessionId = -1; in FwdLockFile_AcquireSession() local
104 sessionId = candidateSessionId; in FwdLockFile_AcquireSession()
115 return sessionId; in FwdLockFile_AcquireSession()
126 int sessionId = -1; in FwdLockFile_FindSession() local
136 sessionId = candidateSessionId; in FwdLockFile_FindSession()
145 return sessionId; in FwdLockFile_FindSession()
153 static void FwdLockFile_ReleaseSession(int sessionId) { in FwdLockFile_ReleaseSession() argument
155 assert(0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL); in FwdLockFile_ReleaseSession()
156 free(sessionPtrs[sessionId]->pContentType); in FwdLockFile_ReleaseSession()
157 free(sessionPtrs[sessionId]->pEncryptedSessionKey); in FwdLockFile_ReleaseSession()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c194 int sessionId = -1; in FwdLockConv_AcquireSession() local
201 sessionId = i; in FwdLockConv_AcquireSession()
207 return sessionId; in FwdLockConv_AcquireSession()
217 static int FwdLockConv_IsValidSession(int sessionId) { in FwdLockConv_IsValidSession() argument
218 return 0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL; in FwdLockConv_IsValidSession()
226 static void FwdLockConv_ReleaseSession(int sessionId) { in FwdLockConv_ReleaseSession() argument
228 assert(FwdLockConv_IsValidSession(sessionId)); in FwdLockConv_ReleaseSession()
229 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data. in FwdLockConv_ReleaseSession()
230 free(sessionPtrs[sessionId]); in FwdLockConv_ReleaseSession()
231 sessionPtrs[sessionId] = NULL; in FwdLockConv_ReleaseSession()
[all …]
DFwdLockConv.h192 FwdLockConv_Status_t FwdLockConv_ConvertData(int sessionId,
211 FwdLockConv_Status_t FwdLockConv_CloseSession(int sessionId, FwdLockConv_Output_t *pOutput);
/frameworks/av/services/audioflinger/
DAudioFlinger.h100 int *sessionId,
111 int *sessionId,
199 int sessionId,
204 virtual status_t moveEffects(int sessionId, audio_io_handle_t srcOutput,
386 int sessionId);
394 int sessionId() const { return mSessionId; } in sessionId() function
513 int sessionId,
530 sp<EffectChain> getEffectChain(int sessionId);
532 sp<EffectChain> getEffectChain_l(int sessionId);
547 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId);
[all …]
DAudioFlinger.cpp449 int *sessionId, in createTrack() argument
478 ALOGV("createTrack() sessionId: %d", (sessionId == NULL) ? -2 : *sessionId); in createTrack()
479 if (sessionId != NULL && *sessionId != AUDIO_SESSION_OUTPUT_MIX) { in createTrack()
485 uint32_t sessions = t->hasAudioSession(*sessionId); in createTrack()
492 lSessionId = *sessionId; in createTrack()
496 if (sessionId != NULL) { in createTrack()
497 *sessionId = lSessionId; in createTrack()
886 track->sessionId()); in setParameters()
889 track->sessionId()); in setParameters()
1110 sp<AudioFlinger::PlaybackThread> AudioFlinger::getEffectThread_l(int sessionId, int EffectId) in getEffectThread_l() argument
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.h20 extern void android_eq_init(int sessionId, IEqualizer* ieq);
31 extern void android_bb_init(int sessionId, IBassBoost* ibb);
42 extern void android_virt_init(int sessionId, IVirtualizer* ivi);
80 int sessionId);
132 extern bool android_fx_initEffectObj(int sessionId, android::sp<android::AudioEffect>& effect,
Dandroid_Effect.cpp253 void android_bb_init(int sessionId, IBassBoost* ibb) { in android_bb_init() argument
254 SL_LOGV("session %d", sessionId); in android_bb_init()
256 if (!android_fx_initEffectObj(sessionId, ibb->mBassBoostEffect, in android_bb_init()
273 void android_eq_init(int sessionId, IEqualizer* ieq) { in android_eq_init() argument
274 SL_LOGV("android_eq_init on session %d", sessionId); in android_eq_init()
276 if (!android_fx_initEffectObj(sessionId, ieq->mEqEffect, &ieq->mEqDescriptor.type)) { in android_eq_init()
322 void android_virt_init(int sessionId, IVirtualizer* ivi) { in android_virt_init() argument
323 SL_LOGV("android_virt_init on session %d", sessionId); in android_virt_init()
325 if (!android_fx_initEffectObj(sessionId, ivi->mVirtualizerEffect, in android_virt_init()
616 bool android_fx_initEffectObj(int sessionId, android::sp<android::AudioEffect>& effect, in android_fx_initEffectObj() argument
[all …]
Dandroid_LocAVPlayer.cpp50 mPlaybackParams.sessionId); in onPrepare()
60 mPlaybackParams.sessionId); in onPrepare()
Dandroid_defs.h70 int sessionId; member
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp95 int *sessionId, in createTrack() argument
112 if (sessionId != NULL) { in createTrack()
113 lSessionId = *sessionId; in createTrack()
121 if (sessionId != NULL) { in createTrack()
122 *sessionId = lSessionId; in createTrack()
141 int *sessionId, in openRecord() argument
155 if (sessionId != NULL) { in openRecord()
156 lSessionId = *sessionId; in openRecord()
164 if (sessionId != NULL) { in openRecord()
165 *sessionId = lSessionId; in openRecord()
[all …]
DAudioEffect.cpp49 int sessionId, in AudioEffect() argument
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io); in AudioEffect()
62 int sessionId, in AudioEffect() argument
86 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io); in AudioEffect()
94 int sessionId, in set() argument
122 mSessionId = sessionId; in set()
Dmediaplayer.cpp547 status_t MediaPlayer::setAudioSessionId(int sessionId) in setAudioSessionId() argument
549 ALOGV("MediaPlayer::setAudioSessionId(%d)", sessionId); in setAudioSessionId()
555 if (sessionId < 0) { in setAudioSessionId()
558 if (sessionId != mAudioSessionId) { in setAudioSessionId()
560 AudioSystem::acquireAudioSessionId(sessionId); in setAudioSessionId()
561 mAudioSessionId = sessionId; in setAudioSessionId()
DAudioRecord.cpp96 int sessionId) in AudioRecord() argument
101 frameCount, flags, cbf, user, notificationFrames, sessionId); in AudioRecord()
132 int sessionId) in set() argument
166 if (sessionId == 0 ) { in set()
169 mSessionId = sessionId; in set()
DAudioTrack.cpp107 int sessionId) in AudioTrack() argument
115 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId); in AudioTrack()
129 int sessionId) in AudioTrack() argument
136 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId); in AudioTrack()
149 int sessionId) in AudioTrack() argument
157 sharedBuffer, false /*threadCanCallJava*/, sessionId); in AudioTrack()
192 int sessionId) in set() argument
270 mSessionId = sessionId; in set()
/frameworks/av/include/media/
DAudioEffect.h232 int sessionId = 0,
244 int sessionId = 0,
266 int sessionId = 0,
DAudioTrack.h163 int sessionId = 0);
175 int sessionId = 0);
195 int sessionId = 0);
221 int sessionId = 0);
DIAudioFlinger.h69 int *sessionId,
80 int *sessionId,
177 int sessionId,
DEffectsFactoryApi.h112 int EffectCreate(const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, effect_handle_t…
DAudioRecord.h165 int sessionId = 0);
192 int sessionId = 0);
DVisualizer.h71 int sessionId = 0);
/frameworks/base/media/java/android/media/
DAudioTrack.java306 int bufferSizeInBytes, int mode, int sessionId) in AudioTrack() argument
319 if (sessionId < 0) { in AudioTrack()
320 throw (new IllegalArgumentException("Invalid audio session ID: "+sessionId)); in AudioTrack()
324 session[0] = sessionId; in AudioTrack()
1208 int buffSizeInBytes, int mode, int[] sessionId); in native_setup() argument
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h64 int32_t sessionId; member
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java157 int sessionId; in test1_0ConstructorFromType() local
161 sessionId = ar.getAudioSessionId(); in test1_0ConstructorFromType()
163 sessionId = 0; in test1_0ConstructorFromType()
169 sessionId); in test1_0ConstructorFromType()
200 int sessionId; in test1_1ConstructorFromUuid() local
204 sessionId = ar.getAudioSessionId(); in test1_1ConstructorFromUuid()
206 sessionId = 0; in test1_1ConstructorFromUuid()
211 sessionId); in test1_1ConstructorFromUuid()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c47 s->sessionId = curID++; in newSession()
89 return s->sessionId; in addSession()
95 static T_DRM_Session_Node* getSession(int32_t sessionId) in getSession() argument
99 if (sessionId < 0 || NULL == sessionTable) in getSession()
103 if (sessionId == s->sessionId) in getSession()
113 static void removeSession(int32_t sessionId) in removeSession() argument
117 if (sessionId < 0 || NULL == sessionTable) in removeSession()
120 if (sessionId == sessionTable->sessionId) { in removeSession()
128 if (preS->next->sessionId == sessionId) in removeSession()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.h72 int32_t sessionId,

123