Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/nan/
DWifiNanSession.java41 protected int mSessionId; field in WifiNanSession
55 mSessionId = sessionId; in WifiNanSession()
66 mManager.stopSession(mSessionId); in stop()
76 mManager.destroySession(mSessionId); in destroy()
86 Log.w(TAG, "WifiNanSession mSessionId=" + mSessionId in finalize()
111 mManager.sendMessage(mSessionId, peerId, message, messageLength, messageId); in sendMessage()
DWifiNanSubscribeSession.java45 mManager.subscribe(mSessionId, subscribeData, subscribeSettings); in subscribe()
DWifiNanPublishSession.java45 mManager.publish(mSessionId, publishData, publishSettings); in publish()
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java51 private int mSessionId = INVALID_SESSION; field in DrmOutputStream
62 mSessionId = mClient.openConvertSession(mimeType); in DrmOutputStream()
63 if (mSessionId == INVALID_SESSION) { in DrmOutputStream()
69 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); in finish()
77 mSessionId = INVALID_SESSION; in finish()
85 if (mSessionId == INVALID_SESSION) { in close()
104 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer); in write()
/frameworks/base/media/java/android/media/
DAudioRecordingConfiguration.java38 private final int mSessionId; field in AudioRecordingConfiguration
52 mSessionId = session; in AudioRecordingConfiguration()
95 public int getClientAudioSessionId() { return mSessionId; } in getClientAudioSessionId()
163 return Objects.hash(mSessionId, mClientSource); in hashCode()
173 dest.writeInt(mSessionId); in writeToParcel()
181 mSessionId = in.readInt(); in AudioRecordingConfiguration()
195 return ((mSessionId == that.mSessionId) in equals()
DMediaDrm.java1073 private byte[] mSessionId; field in CryptoSession
1079 mSessionId = sessionId; in CryptoSession()
1094 return encryptNative(MediaDrm.this, mSessionId, keyid, input, iv); in encrypt()
1107 return decryptNative(MediaDrm.this, mSessionId, keyid, input, iv); in decrypt()
1118 return signNative(MediaDrm.this, mSessionId, keyid, message); in sign()
1132 return verifyNative(MediaDrm.this, mSessionId, keyid, message, signature); in verify()
DAudioRecord.java238 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE; field in AudioRecord
391 mSessionId = session[0]; in AudioRecord()
442 mSessionId = session[0]; in deferred_connect()
482 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE; field in AudioRecord.Builder
579 mSessionId = sessionId; in setSessionId()
623 mAttributes, mFormat, mBufferSizeInBytes, mSessionId); in build()
963 return mSessionId; in getAudioSessionId()
DAudioTrack.java296 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE; field in AudioTrack
526 mSessionId = session[0]; in AudioTrack()
591 mSessionId = session[0]; in deferred_connect()
638 private int mSessionId = AudioManager.AUDIO_SESSION_ID_GENERATE; field in AudioTrack.Builder
739 mSessionId = sessionId; in setSessionId()
773 mAttributes, mFormat, mBufferSizeInBytes, mMode, mSessionId); in build()
1347 return mSessionId; in getAudioSessionId()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java53 private String mSessionId; field in RemotePlaybackClient
193 return mSessionId; in getSessionId()
207 if (mSessionId != sessionId in setSessionId()
208 && (mSessionId == null || !mSessionId.equals(sessionId))) { in setSessionId()
212 mSessionId = sessionId; in setSessionId()
228 return mSessionId != null; in hasSession()
349 performItemAction(intent, mSessionId, null, extras, callback); in playOrEnqueue()
386 performItemAction(intent, mSessionId, itemId, extras, callback); in seek()
416 performItemAction(intent, mSessionId, itemId, extras, callback); in getStatus()
449 performItemAction(intent, mSessionId, itemId, extras, callback); in remove()
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplaySessionInfo.java34 private final int mSessionId; field in WifiDisplaySessionInfo
65 mSessionId = session; in WifiDisplaySessionInfo()
76 return mSessionId; in getSessionId()
94 dest.writeInt(mSessionId); in writeToParcel()
112 +"\n SessionId: " + mSessionId in toString()
/frameworks/base/core/java/android/hardware/camera2/
DTotalCaptureResult.java54 private final int mSessionId; field in TotalCaptureResult
72 mSessionId = sessionId; in TotalCaptureResult()
85 mSessionId = CameraCaptureSession.SESSION_ID_NONE; in TotalCaptureResult()
112 return mSessionId; in getSessionId()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DSession.h35 : mSessionId(sessionId) {} in Session()
38 const android::Vector<uint8_t>& sessionId() const { return mSessionId; } in sessionId()
56 const android::Vector<uint8_t> mSessionId; variable
/frameworks/av/media/libmedia/
DAudioRecord.cpp69 …: mActive(false), mStatus(NO_INIT), mOpPackageName(opPackageName), mSessionId(AUDIO_SESSION_ALLOCA… in AudioRecord()
94 mSessionId(AUDIO_SESSION_ALLOCATE), in AudioRecord()
128 mSessionId); in ~AudioRecord()
129 AudioSystem::releaseAudioSessionId(mSessionId, -1 /*pid*/); in ~AudioRecord()
231 mSessionId = (audio_session_t) AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION); in set()
233 mSessionId = sessionId; in set()
235 ALOGV("set(): mSessionId %d", mSessionId); in set()
279 AudioSystem::acquireAudioSessionId(mSessionId, -1); in set()
534 mSessionId, in openRecord_l()
544 mSessionId, mAttributes.source, mSampleRate, mFormat, mChannelMask, mFlags); in openRecord_l()
[all …]
DAudioEffect.cpp124 mSessionId = sessionId; in set()
133 mIEffectClient, priority, io, mSessionId, mOpPackageName, &mStatus, &mId, &enabled); in set()
163 if (mSessionId > AUDIO_SESSION_OUTPUT_MIX) { in set()
164 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
176 if (mSessionId > AUDIO_SESSION_OUTPUT_MIX) { in ~AudioEffect()
177 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioEffect()
DAudioTrack.cpp272 mSessionId, IPCThreadState::self()->getCallingPid(), mClientPid); in ~AudioTrack()
273 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioTrack()
480 mSessionId = (audio_session_t) AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION); in set()
482 mSessionId = sessionId; in set()
531 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
1239 mSessionId, &streamType, mClientUid, in createTrack_l()
1246mSessionId, streamType, mAttributes.usage, mSampleRate, mFormat, mChannelMask, mFlags); in createTrack_l()
1395 audio_session_t originalSessionId = mSessionId; in createTrack_l()
1406 &mSessionId, in createTrack_l()
1409 ALOGE_IF(originalSessionId != AUDIO_SESSION_ALLOCATE && mSessionId != originalSessionId, in createTrack_l()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanSessionState.java41 private int mSessionId; field in WifiNanSessionState
54 mSessionId = sessionId; in WifiNanSessionState()
69 return mSessionId; in getSessionId()
249 pw.println(" mSessionId: " + mSessionId); in dump()
/frameworks/av/services/audioflinger/
DEffects.h80 return mSessionId; in sessionId()
144 const audio_session_t mSessionId; // audio session ID variable
271 audio_session_t sessionId() const { return mSessionId; } in sessionId()
272 void setSessionId(audio_session_t sessionId) { mSessionId = sessionId; } in setSessionId()
367 audio_session_t mSessionId; // audio session ID variable
DTrackBase.h78 audio_session_t sessionId() const { return mSessionId; } in sessionId()
156 const audio_session_t mSessionId; variable
DTracks.cpp95 mSessionId(sessionId), in TrackBase()
457 AudioSystem::releaseOutput(mThreadIoHandle, mStreamType, mSessionId); in destroy()
538 mSessionId, in dump()
634 mName, IPCThreadState::self()->getCallingPid(), mSessionId); in start()
641 sp<EffectChain> ec = thread->getEffectChain_l(mSessionId); in start()
1023 mState, mSessionId, (mSharedBuffer != 0) ? "static" : "stream", framesReady()); in setSyncEvent()
1563 AudioSystem::stopInput(mThreadIoHandle, mSessionId); in stop()
1575 AudioSystem::stopInput(mThreadIoHandle, mSessionId); in destroy()
1577 AudioSystem::releaseInput(mThreadIoHandle, mSessionId); in destroy()
1611 mSessionId, in dump()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h138 EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector()
144 const audio_session_t mSessionId; variable
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java179 private long mSessionId = System.currentTimeMillis(); field in SipAudioCall
296 mSessionId = System.currentTimeMillis(); in close()
737 new SimpleSessionDescription(mSessionId, getLocalIp());
754 new SimpleSessionDescription(mSessionId, getLocalIp());
821 new SimpleSessionDescription(mSessionId, getLocalIp());
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java76 private int mSessionId; field in BlockingAudioTrack
223 mAudioParams.mSessionId); in createStreamingAudioTrack()
/frameworks/av/include/media/
DAudioRecord.h355 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
606 audio_session_t mSessionId; variable
/frameworks/wilhelm/src/
Dclasses.h97 audio_session_t mSessionId; member
347 audio_session_t mSessionId; member
/frameworks/wilhelm/src/itf/
DIAndroidEffect.cpp32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId); in IAndroidEffect_CreateEffect()

12