Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserverTest.kt139 val sessionId = transitionObserver.getLoggerSessionId() in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent() constant
141 assertThat(sessionId).isNotNull() in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
143 .logSessionEnter(eq(sessionId!!), eq(EnterReason.APP_FREEFORM_INTENT)) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
144 verify(desktopModeEventLogger, times(1)).logTaskAdded(eq(sessionId), any()) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
158 val sessionId = transitionObserver.getLoggerSessionId() in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag() constant
160 assertThat(sessionId).isNotNull() in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
162 .logSessionEnter(eq(sessionId!!), eq(EnterReason.APP_HANDLE_DRAG)) in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
163 verify(desktopModeEventLogger, times(1)).logTaskAdded(eq(sessionId), any()) in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
176 val sessionId = transitionObserver.getLoggerSessionId() in transitEnterDesktopByButtonTap_logTaskAddedAndEnterReasonButtonTap() constant
178 assertThat(sessionId).isNotNull() in transitEnterDesktopByButtonTap_logTaskAddedAndEnterReasonButtonTap()
[all …]
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java114 @NonNull AppPredictionSessionId sessionId, @NonNull IBinder token) { in createPredictionSession() argument
115 runForUserLocked("createPredictionSession", sessionId, (service) -> in createPredictionSession()
116 service.onCreatePredictionSessionLocked(context, sessionId, token)); in createPredictionSession()
120 public void notifyAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEvent() argument
122 runForUserLocked("notifyAppTargetEvent", sessionId, in notifyAppTargetEvent()
123 (service) -> service.notifyAppTargetEventLocked(sessionId, event)); in notifyAppTargetEvent()
127 public void notifyLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShown() argument
129 runForUserLocked("notifyLaunchLocationShown", sessionId, (service) -> in notifyLaunchLocationShown()
130 service.notifyLaunchLocationShownLocked(sessionId, launchLocation, targetIds)); in notifyLaunchLocationShown()
134 public void sortAppTargets(@NonNull AppPredictionSessionId sessionId, in sortAppTargets() argument
[all …]
DAppPredictionPerUserService.java118 @NonNull AppPredictionSessionId sessionId, @NonNull IBinder token) { in onCreatePredictionSessionLocked() argument
129 final boolean serviceExists = resolveService(sessionId, true, in onCreatePredictionSessionLocked()
130 usesPeopleService, s -> s.onCreatePredictionSession(context, sessionId)); in onCreatePredictionSessionLocked()
131 if (serviceExists && !mSessionInfos.containsKey(sessionId)) { in onCreatePredictionSessionLocked()
133 sessionId, context, usesPeopleService, token, () -> { in onCreatePredictionSessionLocked()
135 onDestroyPredictionSessionLocked(sessionId); in onCreatePredictionSessionLocked()
139 mSessionInfos.put(sessionId, sessionInfo); in onCreatePredictionSessionLocked()
142 onDestroyPredictionSessionLocked(sessionId); in onCreatePredictionSessionLocked()
151 public void notifyAppTargetEventLocked(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEventLocked() argument
153 final AppPredictionSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifyAppTargetEventLocked()
[all …]
/frameworks/base/core/java/android/service/appprediction/
DAppPredictionService.java81 AppPredictionSessionId sessionId) {
84 AppPredictionService.this, context, sessionId));
88 public void notifyAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) {
91 AppPredictionService.this, sessionId, event));
95 public void notifyLaunchLocationShown(AppPredictionSessionId sessionId,
99 AppPredictionService.this, sessionId, launchLocation,
104 public void sortAppTargets(AppPredictionSessionId sessionId, ParceledListSlice targets,
108 AppPredictionService.this, sessionId, targets.getList(), null,
113 public void registerPredictionUpdates(AppPredictionSessionId sessionId,
117 AppPredictionService.this, sessionId, callback));
[all …]
/frameworks/base/core/java/android/service/smartspace/
DSmartspaceService.java75 SmartspaceSessionId sessionId) {
78 SmartspaceService.this, smartspaceConfig, sessionId));
82 public void notifySmartspaceEvent(SmartspaceSessionId sessionId,
86 SmartspaceService.this, sessionId, event));
90 public void requestSmartspaceUpdate(SmartspaceSessionId sessionId) {
93 SmartspaceService.this, sessionId));
97 public void registerSmartspaceUpdates(SmartspaceSessionId sessionId,
101 SmartspaceService.this, sessionId, callback));
105 public void unregisterSmartspaceUpdates(SmartspaceSessionId sessionId,
109 SmartspaceService.this, sessionId, callback));
[all …]
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp128 result = "session {" + std::to_string(event.clientId) + "," + std::to_string(event.sessionId) + in toString()
139 SessionIdType sessionId) in CallbackImpl() argument
140 : mOwner(owner), mClientId(clientId), mSessionId(sessionId) {} in CallbackImpl()
204 void TranscoderWrapper::reportError(ClientIdType clientId, SessionIdType sessionId, in reportError() argument
212 auto it = mPausedStateMap.find(SessionKeyType(clientId, sessionId)); in reportError()
214 mPausedStateMap.emplace(SessionKeyType(clientId, sessionId), in reportError()
218 callback->onResourceLost(clientId, sessionId); in reportError()
220 callback->onError(clientId, sessionId, toTranscodingError(err)); in reportError()
225 void TranscoderWrapper::start(ClientIdType clientId, SessionIdType sessionId, in start() argument
229 queueEvent(Event::Start, clientId, sessionId, [=] { in start()
[all …]
/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/libmediadrm/
DDrmHal.cpp63 DrmStatus DrmHal::openSession(DrmPlugin::SecurityLevel securityLevel, Vector<uint8_t>& sessionId) { in openSession() argument
64 if (mDrmHalAidl->initCheck() == OK) return mDrmHalAidl->openSession(securityLevel, sessionId); in openSession()
65 return mDrmHalHidl->openSession(securityLevel, sessionId); in openSession()
68 DrmStatus DrmHal::closeSession(Vector<uint8_t> const& sessionId) { in closeSession() argument
69 if (mDrmHalAidl->initCheck() == OK) return mDrmHalAidl->closeSession(sessionId); in closeSession()
70 return mDrmHalHidl->closeSession(sessionId); in closeSession()
73 DrmStatus DrmHal::getKeyRequest(Vector<uint8_t> const& sessionId, Vector<uint8_t> const& initData, in getKeyRequest() argument
79 return mDrmHalAidl->getKeyRequest(sessionId, initData, mimeType, keyType, in getKeyRequest()
81 return mDrmHalHidl->getKeyRequest(sessionId, initData, mimeType, keyType, optionalParameters, in getKeyRequest()
85 DrmStatus DrmHal::provideKeyResponse(Vector<uint8_t> const& sessionId, in provideKeyResponse() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitor.kt67 .associateBy { it.sessionId } in <lambda>()
90 override fun onCreated(sessionId: Int) { in <lambda>()
91 logger.i({ "session created $int1" }) { int1 = sessionId } in <lambda>()
92 updateSession(sessionId) in <lambda>()
96 override fun onFinished(sessionId: Int, success: Boolean) { in <lambda>()
97 logger.i({ "session finished $int1" }) { int1 = sessionId } in <lambda>()
99 sessions.remove(sessionId) in <lambda>()
107 override fun onBadgingChanged(sessionId: Int) { in <lambda>()
108 logger.i({ "session badging changed $int1" }) { int1 = sessionId } in <lambda>()
109 updateSession(sessionId) in <lambda>()
[all …]
/frameworks/base/core/java/android/service/search/
DSearchUiService.java80 public void onCreateSearchSession(SearchContext context, SearchSessionId sessionId) {
83 SearchUiService.this, context, sessionId));
87 SearchUiService.this, context, sessionId));
91 public void onQuery(SearchSessionId sessionId, Query input,
95 SearchUiService.this, sessionId, input,
100 public void onNotifyEvent(SearchSessionId sessionId, Query query, SearchTargetEvent event) {
103 SearchUiService.this, sessionId, query, event));
107 public void onRegisterEmptyQueryResultUpdateCallback(SearchSessionId sessionId,
111 SearchUiService.this, sessionId, callback));
115 public void onUnregisterEmptyQueryResultUpdateCallback(SearchSessionId sessionId,
[all …]
/frameworks/av/media/module/service.mediatranscoding/
DSimulatedTranscoder.cpp60 ClientIdType clientId, SessionIdType sessionId, const TranscodingRequestParcel& request, in start() argument
70 sessionId, (long long)processingTimeUs); in start()
71 SessionKeyType key = std::make_pair(clientId, sessionId); in start()
75 queueEvent(Event::Start, clientId, sessionId, [=] { in start()
78 callback->onStarted(clientId, sessionId); in start()
83 void SimulatedTranscoder::pause(ClientIdType clientId, SessionIdType sessionId) { in pause() argument
84 queueEvent(Event::Pause, clientId, sessionId, [=] { in pause()
87 callback->onPaused(clientId, sessionId); in pause()
93 ClientIdType clientId, SessionIdType sessionId, const TranscodingRequestParcel& /*request*/, in resume() argument
96 queueEvent(Event::Resume, clientId, sessionId, [=] { in resume()
[all …]
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java106 @NonNull SmartspaceSessionId sessionId, @NonNull IBinder token) { in onCreateSmartspaceSessionLocked() argument
107 final boolean serviceExists = resolveService(sessionId, in onCreateSmartspaceSessionLocked()
108 s -> s.onCreateSmartspaceSession(smartspaceConfig, sessionId)); in onCreateSmartspaceSessionLocked()
110 if (serviceExists && !mSessionInfos.containsKey(sessionId)) { in onCreateSmartspaceSessionLocked()
112 sessionId, smartspaceConfig, token, () -> { in onCreateSmartspaceSessionLocked()
114 onDestroyLocked(sessionId); in onCreateSmartspaceSessionLocked()
118 mSessionInfos.put(sessionId, sessionInfo); in onCreateSmartspaceSessionLocked()
121 onDestroyLocked(sessionId); in onCreateSmartspaceSessionLocked()
130 public void notifySmartspaceEventLocked(@NonNull SmartspaceSessionId sessionId, in notifySmartspaceEventLocked() argument
132 final SmartspaceSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifySmartspaceEventLocked()
[all …]
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderInterface.h35 virtual void start(ClientIdType clientId, SessionIdType sessionId,
38 virtual void pause(ClientIdType clientId, SessionIdType sessionId) = 0;
39 virtual void resume(ClientIdType clientId, SessionIdType sessionId,
44 virtual void stop(ClientIdType clientId, SessionIdType sessionId, bool abandon = false) = 0;
55 virtual void onStarted(ClientIdType clientId, SessionIdType sessionId) = 0;
56 virtual void onPaused(ClientIdType clientId, SessionIdType sessionId) = 0;
57 virtual void onResumed(ClientIdType clientId, SessionIdType sessionId) = 0;
58 virtual void onFinish(ClientIdType clientId, SessionIdType sessionId) = 0;
59 virtual void onError(ClientIdType clientId, SessionIdType sessionId,
61 virtual void onProgressUpdate(ClientIdType clientId, SessionIdType sessionId,
[all …]
/frameworks/av/media/libeffects/preprocessing/aidl/
DPreProcessingSession.h67 int sessionId = common.session; in createSession() local
68 LOG(DEBUG) << __func__ << type << " with sessionId " << sessionId; in createSession()
69 if (mSessionMap.count(sessionId) == 0 && mSessionMap.size() >= MAX_PRE_PROC_SESSIONS) { in createSession()
74 if (mSessionMap.count(sessionId)) { in createSession()
75 if (findPreProcessingTypeInList(mSessionMap[sessionId], type)) { in createSession()
76 LOG(ERROR) << __func__ << type << " already exist in session " << sessionId; in createSession()
81 auto& list = mSessionMap[sessionId]; in createSession()
94 void releaseSession(const PreProcessingEffectType& type, int sessionId) { in releaseSession() argument
95 LOG(DEBUG) << __func__ << type << " sessionId " << sessionId; in releaseSession()
96 if (mSessionMap.count(sessionId)) { in releaseSession()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DGlobalSession.h65 int sessionId = common.session; in createSession() local
66 LOG(VERBOSE) << __func__ << type << " with sessionId " << sessionId; in createSession()
67 if (mSessionMap.count(sessionId) == 0 && mSessionMap.size() >= MAX_BUNDLE_SESSIONS) { in createSession()
72 if (mSessionMap.count(sessionId)) { in createSession()
73 if (findBundleTypeInList(mSessionMap[sessionId], type)) { in createSession()
74 LOG(ERROR) << __func__ << type << " already exist in session " << sessionId; in createSession()
79 auto& list = mSessionMap[sessionId]; in createSession()
92 void releaseSession(const lvm::BundleEffectType& type, int sessionId) { in releaseSession() argument
93 LOG(VERBOSE) << __func__ << type << " sessionId " << sessionId; in releaseSession()
94 if (mSessionMap.count(sessionId)) { in releaseSession()
[all …]
/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java133 public abstract void onStartSession(@NonNull String sessionId, @SessionFlag int flag, in onStartSession() argument
144 public abstract void onEndSession(@NonNull String sessionId) throws IOException; in onEndSession() argument
194 public void startSession(String sessionId, @SessionFlag int flag, in startSession() argument
199 onStartSession(sessionId, flag, deviceFd, new File(upperPath), in startSession()
201 sendResult(sessionId, null /* throwable */, callback); in startSession()
203 sendResult(sessionId, t, callback); in startSession()
209 public void notifyVolumeStateChanged(String sessionId, StorageVolume vol, in notifyVolumeStateChanged() argument
214 sendResult(sessionId, null /* throwable */, callback); in notifyVolumeStateChanged()
216 sendResult(sessionId, t, callback); in notifyVolumeStateChanged()
222 public void freeCache(String sessionId, String volumeUuid, long bytes, in freeCache() argument
[all …]
/frameworks/base/media/java/android/media/metrics/
DMediaMetricsManager.java49 public void reportPlaybackMetrics(@NonNull String sessionId, PlaybackMetrics metrics) { in reportPlaybackMetrics() argument
51 mService.reportPlaybackMetrics(sessionId, metrics, mUserId); in reportPlaybackMetrics()
60 public void reportBundleMetrics(@NonNull String sessionId, PersistableBundle metrics) { in reportBundleMetrics() argument
62 mService.reportBundleMetrics(sessionId, metrics, mUserId); in reportBundleMetrics()
71 public void reportNetworkEvent(@NonNull String sessionId, NetworkEvent event) { in reportNetworkEvent() argument
73 mService.reportNetworkEvent(sessionId, event, mUserId); in reportNetworkEvent()
83 public void reportPlaybackStateEvent(@NonNull String sessionId, PlaybackStateEvent event) { in reportPlaybackStateEvent() argument
85 mService.reportPlaybackStateEvent(sessionId, event, mUserId); in reportPlaybackStateEvent()
95 public void reportTrackChangeEvent(@NonNull String sessionId, TrackChangeEvent event) { in reportTrackChangeEvent() argument
97 mService.reportTrackChangeEvent(sessionId, event, mUserId); in reportTrackChangeEvent()
[all …]
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl49 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values, in autofill() argument
52 void onGetCredentialResponse(int sessionId, in AutofillId id, in onGetCredentialResponse() argument
55 void onGetCredentialException(int sessionId, in AutofillId id, in onGetCredentialException() argument
61 void autofillContent(int sessionId, in AutofillId id, in ClipData content); in autofillContent() argument
66 void authenticate(int sessionId, int authenticationId, in IntentSender intent, in authenticate() argument
73 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews() argument
80 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() argument
86 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() argument
91 void requestHideFillUiWhenDestroyed(int sessionId, in AutofillId id); in requestHideFillUiWhenDestroyed() argument
97 void notifyNoFillUi(int sessionId, in AutofillId id, int sessionFinishedState); in notifyNoFillUi() argument
[all …]
/frameworks/base/media/java/android/media/
DMediaRoute2ProviderService.java208 public abstract void onSetSessionVolume(long requestId, @NonNull String sessionId, int volume); in onSetSessionVolume() argument
218 public final RoutingSessionInfo getSessionInfo(@NonNull String sessionId) { in getSessionInfo() argument
219 if (TextUtils.isEmpty(sessionId)) { in getSessionInfo()
223 return mSessionInfos.get(sessionId); in getSessionInfo()
265 String sessionId = sessionInfo.getId(); in notifySessionCreated() local
267 if (mSessionInfos.containsKey(sessionId)) { in notifySessionCreated()
295 String sessionId = sessionInfo.getId(); in notifySessionUpdated() local
297 if (mSessionInfos.containsKey(sessionId)) { in notifySessionUpdated()
298 mSessionInfos.put(sessionId, sessionInfo); in notifySessionUpdated()
313 public final void notifySessionReleased(@NonNull String sessionId) { in notifySessionReleased() argument
[all …]
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java180 int sessionId = Install.multi(TEST_APEX_WITH_APK_V2, TestApp.A2).setStaged().commit(); in testDuplicateApkInApexShouldFail_Commit() local
181 storeSessionId(sessionId); in testDuplicateApkInApexShouldFail_Commit()
187 int sessionId = retrieveLastSessionId(); in testDuplicateApkInApexShouldFail_Verify() local
189 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testDuplicateApkInApexShouldFail_Verify()
195 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testSystemServerRestartDoesNotAffectStagedSessions_Commit() local
197 assertSessionReady(sessionId); in testSystemServerRestartDoesNotAffectStagedSessions_Commit()
198 storeSessionId(sessionId); in testSystemServerRestartDoesNotAffectStagedSessions_Commit()
204 int sessionId = retrieveLastSessionId(); in testSystemServerRestartDoesNotAffectStagedSessions_Verify() local
205 assertSessionReady(sessionId); in testSystemServerRestartDoesNotAffectStagedSessions_Verify()
238 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testStagedSessionShouldCleanUpOnOnSuccess_Commit() local
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeEventLogger.kt29 fun logSessionEnter(sessionId: Int, enterReason: EnterReason) { in logSessionEnter()
33 sessionId, in logSessionEnter()
41 /* session_id */ sessionId in logSessionEnter()
49 fun logSessionExit(sessionId: Int, exitReason: ExitReason) { in logSessionExit()
53 sessionId, in logSessionExit()
61 /* session_id */ sessionId in logSessionExit()
69 fun logTaskAdded(sessionId: Int, taskUpdate: TaskUpdate) { in logTaskAdded()
73 sessionId, in logTaskAdded()
93 sessionId in logTaskAdded()
101 fun logTaskRemoved(sessionId: Int, taskUpdate: TaskUpdate) { in logTaskRemoved()
[all …]
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java108 @NonNull SearchSessionId sessionId, @NonNull IBinder token) { in createSearchSession() argument
109 runForUserLocked("createSearchSession", sessionId, (service) -> in createSearchSession()
110 service.onCreateSearchSessionLocked(context, sessionId, token)); in createSearchSession()
114 public void notifyEvent(@NonNull SearchSessionId sessionId, @NonNull Query query, in notifyEvent() argument
116 runForUserLocked("notifyEvent", sessionId, in notifyEvent()
117 (service) -> service.notifyLocked(sessionId, query, event)); in notifyEvent()
121 public void query(@NonNull SearchSessionId sessionId, in query() argument
124 runForUserLocked("query", sessionId, in query()
125 (service) -> service.queryLocked(sessionId, query, callback)); in query()
128 public void registerEmptyQueryResultUpdateCallback(@NonNull SearchSessionId sessionId, in registerEmptyQueryResultUpdateCallback() argument
[all …]
DSearchUiPerUserService.java107 @NonNull SearchSessionId sessionId, @NonNull IBinder token) { in onCreateSearchSessionLocked() argument
108 final boolean serviceExists = resolveService(sessionId, in onCreateSearchSessionLocked()
109 s -> s.onCreateSearchSession(context, sessionId)); in onCreateSearchSessionLocked()
111 if (serviceExists && !mSessionInfos.containsKey(sessionId)) { in onCreateSearchSessionLocked()
113 sessionId, context, token, () -> { in onCreateSearchSessionLocked()
115 onDestroyLocked(sessionId); in onCreateSearchSessionLocked()
119 mSessionInfos.put(sessionId, sessionInfo); in onCreateSearchSessionLocked()
122 onDestroyLocked(sessionId); in onCreateSearchSessionLocked()
131 public void notifyLocked(@NonNull SearchSessionId sessionId, @NonNull Query query, in notifyLocked() argument
133 final SearchSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifyLocked()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h46 virtual status_t openSession(Vector<uint8_t>& sessionId);
48 virtual status_t closeSession(const Vector<uint8_t>& sessionId);
65 virtual status_t removeKeys(const Vector<uint8_t>& sessionId) { in removeKeys() argument
66 if (sessionId.size() == 0) { in removeKeys()
74 const Vector<uint8_t>& sessionId, in restoreKeys() argument
76 if (sessionId.size() == 0 || keySetId.size() == 0) { in restoreKeys()
83 const Vector<uint8_t>& sessionId,
151 virtual status_t getSecurityLevel(Vector<uint8_t> const &sessionId, in getSecurityLevel() argument
153 UNUSED(sessionId); in getSecurityLevel()
158 virtual status_t setSecurityLevel(Vector<uint8_t> const &sessionId, in setSecurityLevel() argument
[all …]
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.cpp54 CasPlugin *plugin, CasSessionId *sessionId) { in addSession() argument
55 CHECK(sessionId); in addSession()
62 sessionId->push_back(byteArray[3]); in addSession()
63 sessionId->push_back(byteArray[2]); in addSession()
64 sessionId->push_back(byteArray[1]); in addSession()
65 sessionId->push_back(byteArray[0]); in addSession()
68 mIDToSessionMap.add(*sessionId, session); in addSession()
73 const CasSessionId& sessionId) { in findSession() argument
76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession()
80 return mIDToSessionMap.valueFor(sessionId); in findSession()
[all …]

12345678910>>...21