Home
last modified time | relevance | path

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

123

/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.java50 private final int mSessionId; field in AudioRecordingConfiguration
68 mSessionId = session; in AudioRecordingConfiguration()
89 return new String("session:" + arc.mSessionId in toLogFriendlyString()
108 in.mSessionId, in.mClientSource, in.mClientFormat, in anonymizedCopy()
148 public int getClientAudioSessionId() { return mSessionId; } in getClientAudioSessionId()
240 return Objects.hash(mSessionId, mClientSource); in hashCode()
250 dest.writeInt(mSessionId); in writeToParcel()
260 mSessionId = in.readInt(); in AudioRecordingConfiguration()
277 && (mSessionId == that.mSessionId) in equals()
DMediaCas.java218 final ArrayList<Byte> mSessionId; field in MediaCas.Session
221 mSessionId = sessionId; in Session()
239 mICas.setSessionPrivateData(mSessionId, toByteArray(data, 0, data.length))); in setPrivateData()
263 mICas.processEcm(mSessionId, toByteArray(data, offset, length))); in processEcm()
296 mICas.closeSession(mSessionId)); in close()
DMediaDrm.java1084 private byte[] mSessionId; field in CryptoSession
1090 mSessionId = sessionId; in CryptoSession()
1105 return encryptNative(MediaDrm.this, mSessionId, keyid, input, iv); in encrypt()
1118 return decryptNative(MediaDrm.this, mSessionId, keyid, input, iv); in decrypt()
1129 return signNative(MediaDrm.this, mSessionId, keyid, message); in sign()
1143 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()
964 return mSessionId; in getAudioSessionId()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java101 private String mSessionId; field in Session
136 mSessionId = "?"; in setSessionId()
138 mSessionId = sessionId; in setSessionId()
206 return mSessionId; in getSessionId()
235 return mSessionId; in getFullSessionId()
240 SESSION_SEPARATION_CHAR_CHILD + mSessionId; in getFullSessionId()
333 int result = mSessionId != null ? mSessionId.hashCode() : 0; in hashCode()
358 if (mSessionId != null ? in equals()
359 !mSessionId.equals(session.mSessionId) : session.mSessionId != null) in equals()
/frameworks/base/wifi/java/android/net/wifi/aware/
DDiscoverySession.java56 protected final int mSessionId; field in DiscoverySession
83 mSessionId = sessionId; in DiscoverySession()
106 mgr.terminateSession(mClientId, mSessionId); in close()
191 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage()
254 mgr.startRanging(mClientId, mSessionId, params, listener); in startRanging()
306 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, null); in createNetworkSpecifierOpen()
364 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, in createNetworkSpecifierPassphrase()
427 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, pmk, null); in createNetworkSpecifierPmk()
DPublishDiscoverySession.java65 mgr.updatePublish(mClientId, mSessionId, publishConfig); in updatePublish()
DSubscribeDiscoverySession.java70 mgr.updateSubscribe(mClientId, mSessionId, subscribeConfig); in updateSubscribe()
/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/base/core/java/android/view/autofill/
DAutofillManager.java296 private int mSessionId = NO_SESSION; field in AutofillManager
425 mSessionId = savedInstanceState.getInt(SESSION_ID_TAG, NO_SESSION); in onCreate()
428 if (mSessionId != NO_SESSION) { in onCreate()
434 final boolean sessionWasRestored = mService.restoreSession(mSessionId, in onCreate()
438 Log.w(TAG, "Session " + mSessionId + " could not be restored"); in onCreate()
439 mSessionId = NO_SESSION; in onCreate()
443 Log.d(TAG, "session " + mSessionId + " was restored"); in onCreate()
483 if (mSessionId != NO_SESSION) { in onSaveInstanceState()
484 outState.putInt(SESSION_ID_TAG, mSessionId); in onSaveInstanceState()
976 mService.setAuthenticationResult(responseData, mSessionId, authenticationId, in onAuthenticationResult()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java52 String mSessionId; field in RemotePlaybackClient
192 return mSessionId; in getSessionId()
206 if (!ObjectsCompat.equals(mSessionId, sessionId)) { in setSessionId()
210 mSessionId = sessionId; in setSessionId()
226 return mSessionId != null; in hasSession()
347 performItemAction(intent, mSessionId, null, extras, callback); in playOrEnqueue()
384 performItemAction(intent, mSessionId, itemId, extras, callback); in seek()
414 performItemAction(intent, mSessionId, itemId, extras, callback); in getStatus()
447 performItemAction(intent, mSessionId, itemId, extras, callback); in remove()
474 performSessionAction(intent, mSessionId, extras, callback); in pause()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlaylistItem.java29 private final String mSessionId; field in PlaylistItem
44 mSessionId = qid; in PlaylistItem()
74 return mSessionId; in getSessionId()
133 return "[" + mSessionId + "|" + mItemId + "|" in toString()
DSessionManager.java41 private int mSessionId; field in SessionManager
62 return mSessionValid ? Integer.toString(mSessionId) : null; in getSessionId()
115 PlaylistItem item = new PlaylistItem(Integer.toString(mSessionId), in add()
216 mSessionId++; in startSession()
220 return Integer.toString(mSessionId); in startSession()
234 int sessionState = (sid != null && sid.equals(mSessionId)) ? in getSessionStatus()
/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/libaudioclient/
DAudioRecord.cpp70 mSessionId(AUDIO_SESSION_ALLOCATE), in AudioRecord()
96 mSessionId(AUDIO_SESSION_ALLOCATE), in AudioRecord()
131 mSessionId); in ~AudioRecord()
132 AudioSystem::releaseAudioSessionId(mSessionId, -1 /*pid*/); in ~AudioRecord()
234 mSessionId = (audio_session_t) AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION); in set()
236 mSessionId = sessionId; in set()
238 ALOGV("set(): mSessionId %d", mSessionId); in set()
282 AudioSystem::acquireAudioSessionId(mSessionId, -1); in set()
567 mSessionId, in openRecord_l()
577 mSessionId, mAttributes.source, mSampleRate, mFormat, mChannelMask, mFlags); in openRecord_l()
[all …]
DAudioEffect.cpp124 mSessionId = sessionId; in set()
134 mIEffectClient, priority, io, mSessionId, mOpPackageName, mClientPid, in set()
168 if (mSessionId > AUDIO_SESSION_OUTPUT_MIX) { in set()
169 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid); in set()
181 if (mSessionId > AUDIO_SESSION_OUTPUT_MIX) { in ~AudioEffect()
182 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid); in ~AudioEffect()
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java59 private final int mSessionId; field in FillEventHistory
77 return mSessionId; in getSessionId()
117 mSessionId = sessionId; in FillEventHistory()
/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp55 std::vector<uint8_t> mSessionId; member
115 *sessionId = mProgramCas.mSessionId; in getCasSession()
124 *sessionId = mStreamPidToCasMap[index].mSessionId; in getCasSession()
189 session->mSessionId = sessionId; in initSession()
210 if (!casSession.mSessionId.empty()) { in closeSession()
211 cas->closeSession(casSession.mSessionId); in closeSession()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java47 private int mSessionId; field in WifiAwareDiscoverySessionState
76 mSessionId = sessionId; in WifiAwareDiscoverySessionState()
84 return mSessionId; in getSessionId()
304 pw.println(" mSessionId: " + mSessionId); in dump()
/frameworks/av/services/audioflinger/
DEffects.h82 return mSessionId; in sessionId()
155 const audio_session_t mSessionId; // audio session ID variable
295 audio_session_t sessionId() const { return mSessionId; } in sessionId()
296 void setSessionId(audio_session_t sessionId) { mSessionId = sessionId; } in setSessionId()
401 audio_session_t mSessionId; // audio session ID variable
DTrackBase.h79 audio_session_t sessionId() const { return mSessionId; } in sessionId()
197 const audio_session_t mSessionId; variable
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java78 @Nullable private String mSessionId; field in SmartSelectionEventTracker
101 if (event.mEventType != SelectionEvent.EventType.SELECTION_STARTED && mSessionId == null in logEvent()
110 mSessionId = startNewSession(); in logEvent()
149 .addTaggedData(SESSION_ID, mSessionId); in writeEvent()
160 mSessionId = createSessionId(); in startNewSession()
161 return mSessionId; in startNewSession()
174 mSessionId = null; in endSession()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h138 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector()
144 const audio_session_t mSessionId; variable

123