/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 89 int sessionId = -1; in FwdLockFile_AcquireSession() local 103 sessionId = candidateSessionId; in FwdLockFile_AcquireSession() 113 return sessionId; in FwdLockFile_AcquireSession() 124 int sessionId = -1; in FwdLockFile_FindSession() local 134 sessionId = candidateSessionId; in FwdLockFile_FindSession() 143 return sessionId; in FwdLockFile_FindSession() 151 static void FwdLockFile_ReleaseSession(int sessionId) { in FwdLockFile_ReleaseSession() argument 153 assert(0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL); in FwdLockFile_ReleaseSession() 154 free(sessionPtrs[sessionId]->pContentType); in FwdLockFile_ReleaseSession() 155 free(sessionPtrs[sessionId]->pEncryptedSessionKey); in FwdLockFile_ReleaseSession() [all …]
|
/frameworks/base/services/audioflinger/ |
D | AudioFlinger.h | 87 int *sessionId, 167 int sessionId, 172 virtual status_t moveEffects(int sessionId, int srcOutput, int dstOutput); 202 int *sessionId, 329 int sessionId); 336 int sessionId() { return mSessionId; } in sessionId() function 439 int sessionId, 456 sp<EffectChain> getEffectChain(int sessionId); 458 sp<EffectChain> getEffectChain_l(int sessionId); 472 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId); [all …]
|
D | AudioFlinger.cpp | 381 int *sessionId, in createTrack() argument 416 LOGV("createTrack() sessionId: %d", (sessionId == NULL) ? -2 : *sessionId); in createTrack() 417 if (sessionId != NULL && *sessionId != AUDIO_SESSION_OUTPUT_MIX) { in createTrack() 422 uint32_t sessions = t->hasAudioSession(*sessionId); in createTrack() 433 lSessionId = *sessionId; in createTrack() 437 if (sessionId != NULL) { in createTrack() 438 *sessionId = lSessionId; in createTrack() 767 track->sessionId()); in setParameters() 770 track->sessionId()); in setParameters() 1223 const effect_uuid_t *type, bool suspend, int sessionId) in setEffectSuspended() argument [all …]
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 194 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 …]
|
D | FwdLockConv.h | 192 FwdLockConv_Status_t FwdLockConv_ConvertData(int sessionId, 211 FwdLockConv_Status_t FwdLockConv_CloseSession(int sessionId, FwdLockConv_Output_t *pOutput);
|
/frameworks/base/media/libmedia/ |
D | IAudioFlinger.cpp | 93 int *sessionId, in createTrack() argument 109 if (sessionId != NULL) { in createTrack() 110 lSessionId = *sessionId; in createTrack() 118 if (sessionId != NULL) { in createTrack() 119 *sessionId = lSessionId; in createTrack() 138 int *sessionId, in openRecord() argument 152 if (sessionId != NULL) { in openRecord() 153 lSessionId = *sessionId; in openRecord() 161 if (sessionId != NULL) { in openRecord() 162 *sessionId = lSessionId; in openRecord() [all …]
|
D | AudioEffect.cpp | 49 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()
|
D | mediaplayer.cpp | 538 status_t MediaPlayer::setAudioSessionId(int sessionId) in setAudioSessionId() argument 540 LOGV("MediaPlayer::setAudioSessionId(%d)", sessionId); in setAudioSessionId() 546 if (sessionId < 0) { in setAudioSessionId() 549 if (sessionId != mAudioSessionId) { in setAudioSessionId() 551 AudioSystem::acquireAudioSessionId(sessionId); in setAudioSessionId() 552 mAudioSessionId = sessionId; in setAudioSessionId()
|
D | AudioRecord.cpp | 97 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()
|
D | Visualizer.cpp | 40 int sessionId) in Visualizer() argument 41 : AudioEffect(SL_IID_VISUALIZATION, NULL, priority, cbf, user, sessionId), in Visualizer()
|
D | AudioTrack.cpp | 96 int sessionId) in AudioTrack() argument 101 0, false, sessionId); in AudioTrack() 114 int sessionId) in AudioTrack() argument 119 sharedBuffer, false, sessionId); in AudioTrack() 153 int sessionId) in set() argument 220 mSessionId = sessionId; in set()
|
/frameworks/base/include/media/ |
D | AudioEffect.h | 231 int sessionId = 0, 243 int sessionId = 0, 265 int sessionId = 0,
|
D | IAudioFlinger.h | 57 int *sessionId, 68 int *sessionId, 156 int sessionId,
|
D | AudioTrack.h | 152 int sessionId = 0); 172 int sessionId = 0); 198 int sessionId = 0);
|
D | AudioRecord.h | 160 int sessionId = 0); 187 int sessionId = 0);
|
D | EffectsFactoryApi.h | 112 int EffectCreate(effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHan…
|
D | Visualizer.h | 71 int sessionId = 0);
|
D | mediaplayer.h | 199 status_t setAudioSessionId(int sessionId);
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 304 int bufferSizeInBytes, int mode, int sessionId) in AudioTrack() argument 317 if (sessionId < 0) { in AudioTrack() 318 throw (new IllegalArgumentException("Invalid audio session ID: "+sessionId)); in AudioTrack() 322 session[0] = sessionId; in AudioTrack() 1150 int buffSizeInBytes, int mode, int[] sessionId); in native_setup() argument
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_inner.h | 64 int32_t sessionId; member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 157 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/ |
D | drm_api.c | 47 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/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 226 jint sessionId, jintArray jId) in android_media_visualizer_native_setup() argument 260 sessionId); in android_media_visualizer_native_setup()
|
/frameworks/base/voip/java/android/net/sip/ |
D | SimpleSessionDescription.java | 66 public SimpleSessionDescription(long sessionId, String address) { in SimpleSessionDescription() argument 69 mFields.parse(String.format("o=- %d %d %s", sessionId, in SimpleSessionDescription()
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 175 int sessionId = nSession[0]; in android_media_AudioRecord_setup() local 211 sessionId); in android_media_AudioRecord_setup()
|