Searched defs:sessionId (Results 1 - 25 of 120) sorted by relevance

12345

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSession.h34 explicit Session(const android::Vector<uint8_t>& sessionId) argument
35 : mSessionId(sessionId) {}
38 const android::Vector<uint8_t>& sessionId() const { return mSessionId; } function in class:clearkeydrm::Session
H A DSessionLibrary.cpp51 Vector<uint8_t> sessionId; local
52 sessionId.appendArray(
56 mSessions.add(sessionId, new Session(sessionId));
57 return mSessions.valueFor(sessionId);
61 const Vector<uint8_t>& sessionId) {
63 if (mSessions.indexOfKey(sessionId) < 0) {
66 return mSessions.valueFor(sessionId);
71 mSessions.removeItem(session->sessionId());
60 findSession( const Vector<uint8_t>& sessionId) argument
H A DCryptoFactory.cpp46 android::Vector<uint8_t> sessionId; local
47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size);
49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId);
H A DCryptoPlugin.h34 explicit CryptoPlugin(const android::Vector<uint8_t>& sessionId) { argument
35 mInitStatus = setMediaDrmSession(sessionId);
52 const android::Vector<uint8_t>& sessionId);
H A DCryptoPlugin.cpp84 const android::Vector<uint8_t>& sessionId) {
85 if (!sessionId.size()) {
88 mSession = SessionLibrary::get()->findSession(sessionId);
83 setMediaDrmSession( const android::Vector<uint8_t>& sessionId) argument
H A DDrmPlugin.cpp32 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { argument
34 sessionId = session->sessionId();
38 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { argument
39 sp<Session> session = mSessionLibrary->findSession(sessionId);
40 if (sessionId.size() == 0) {
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockSessionLibrary.cpp43 CasPlugin *plugin, CasSessionId *sessionId) {
49 sessionId->push_back(byteArray[3]);
50 sessionId->push_back(byteArray[2]);
51 sessionId->push_back(byteArray[1]);
52 sessionId->push_back(byteArray[0]);
55 mIDToSessionMap.add(*sessionId, session);
60 const CasSessionId& sessionId) {
63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId);
67 return mIDToSessionMap.valueFor(sessionId);
70 void MockSessionLibrary::destroySession(const CasSessionId& sessionId) { argument
42 addSession( CasPlugin *plugin, CasSessionId *sessionId) argument
59 findSession( const CasSessionId& sessionId) argument
[all...]
/frameworks/av/include/media/
H A DDrmSessionManager.h37 Vector<uint8_t> sessionId; member in struct:android::SessionInfo
50 void addSession(int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t>& sessionId);
51 void useSession(const Vector<uint8_t>& sessionId);
52 void removeSession(const Vector<uint8_t>& sessionId);
65 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId);
/frameworks/av/media/libmedia/include/media/
H A DDrmSessionManager.h37 Vector<uint8_t> sessionId; member in struct:android::SessionInfo
50 void addSession(int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t>& sessionId);
51 void useSession(const Vector<uint8_t>& sessionId);
52 void removeSession(const Vector<uint8_t>& sessionId);
65 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId);
/frameworks/base/core/java/android/hardware/camera2/
H A DTotalCaptureResult.java63 CaptureResultExtras extras, List<CaptureResult> partials, int sessionId) {
72 mSessionId = sessionId;
62 TotalCaptureResult(CameraMetadataNative results, CaptureRequest parent, CaptureResultExtras extras, List<CaptureResult> partials, int sessionId) argument
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DPublishDiscoverySession.java35 public PublishDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { argument
36 super(manager, clientId, sessionId);
H A DSubscribeDiscoverySession.java39 int sessionId) {
40 super(manager, clientId, sessionId);
38 SubscribeDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) argument
/frameworks/av/drm/libmediadrm/
H A DDescramblerImpl.cpp41 static String8 sessionIdToString(const CasSessionId &sessionId) { argument
43 for (size_t i = 0; i < sessionId.size(); i++) {
44 result.appendFormat("%02x ", sessionId[i]);
63 Status DescramblerImpl::setMediaCasSession(const CasSessionId& sessionId) { argument
64 ALOGV("setMediaCasSession: sessionId=%s",
65 sessionIdToString(sessionId).string());
67 return getBinderStatus(mPlugin->setMediaCasSession(sessionId));
H A DDrmSessionManager.cpp32 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { argument
34 for (size_t i = 0; i < sessionId.size(); ++i) {
35 sessionIdStr.appendFormat("%u ", sessionId[i]);
68 int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t> &sessionId) {
69 ALOGV("addSession(pid %d, drm %p, sessionId %s)", pid, drm.get(),
70 GetSessionIdString(sessionId).string());
75 info.sessionId = sessionId;
88 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { argument
89 ALOGV("useSession(%s)", GetSessionIdString(sessionId)
67 addSession( int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t> &sessionId) argument
104 removeSession(const Vector<uint8_t> &sessionId) argument
145 Vector<uint8_t> sessionId; local
211 getLeastUsedSession_l( int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId) argument
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.cpp54 CasPlugin *plugin, CasSessionId *sessionId) {
55 CHECK(sessionId);
62 sessionId->push_back(byteArray[3]);
63 sessionId->push_back(byteArray[2]);
64 sessionId->push_back(byteArray[1]);
65 sessionId->push_back(byteArray[0]);
68 mIDToSessionMap.add(*sessionId, session);
73 const CasSessionId& sessionId) {
76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId);
80 return mIDToSessionMap.valueFor(sessionId);
53 addSession( CasPlugin *plugin, CasSessionId *sessionId) argument
72 findSession( const CasSessionId& sessionId) argument
83 destroySession(const CasSessionId& sessionId) argument
[all...]
/frameworks/av/media/libaudiohal/
H A DEffectsFactoryHalLocal.cpp49 const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId,
52 int result = EffectCreate(pEffectUuid, sessionId, ioId, &handle);
48 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
H A DEffectsFactoryHalHidl.cpp117 const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId,
124 hidlUuid, sessionId, ioId,
116 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.h34 int32_t sessionId,
72 int32_t sessionId; // The sessiond in which the effect is created. member in struct:android::EffectContext
H A DEffectProxy.cpp51 int32_t sessionId,
65 pContext->sessionId = sessionId;
215 pContext->sessionId, pContext->ioId,
226 pContext->sessionId, pContext->ioId,
50 EffectProxyCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) argument
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java82 * @param sessionId the MediaDrm sessionId to associate with this
84 * @throws MediaCryptoException on failure to set the sessionId
86 public final native void setMediaDrmSession(@NonNull byte[] sessionId) argument
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
H A DMediaDrmSigner.java127 * @param sessionId a sessionId obtained from openSession on the MediaDrm object
133 public static byte[] signRSA(MediaDrm drm, byte[] sessionId, argument
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message);
/frameworks/base/core/java/android/service/autofill/
H A DFillEventHistory.java115 public FillEventHistory(int serviceUid, int sessionId, @Nullable Bundle clientState) { argument
118 mSessionId = sessionId;
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsServiceProxyCompat.java64 public void endSession(int sessionId) throws RemoteException { argument
66 getServiceInterface(mBinder).close(sessionId);
97 public ImsCallProfile createCallProfile(int sessionId, int callServiceType, int callType) argument
100 return getServiceInterface(mBinder).createCallProfile(sessionId, callServiceType, callType);
104 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile, argument
107 return getServiceInterface(mBinder).createCallSession(sessionId, profile, listener);
111 public IImsCallSession getPendingCallSession(int sessionId, String callId) argument
114 return getServiceInterface(mBinder).getPendingCallSession(sessionId, callId);
/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DIMMTelFeature.java61 * End a previously started session using the associated sessionId.
62 * @param sessionId an integer (greater than 0) representing the ongoing session. See
65 void endSession(int sessionId) throws RemoteException; argument
109 * @param sessionId a session id which is obtained from {@link #startSession}
125 ImsCallProfile createCallProfile(int sessionId, int callServiceType, int callType) argument
133 * @param sessionId a session id which is obtained from {@link #startSession}
137 IImsCallSession createCallSession(int sessionId, ImsCallProfile profile, argument
143 * @param sessionId a session id which is obtained from {@link #startSession}
146 IImsCallSession getPendingCallSession(int sessionId, String callId) throws RemoteException; argument
160 * @param sessionId
[all...]
H A DMMTelFeature.java49 public void endSession(int sessionId) { argument
71 public ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType) { argument
76 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile, argument
82 public IImsCallSession getPendingCallSession(int sessionId, String callId) { argument

Completed in 301 milliseconds

12345