/frameworks/base/core/java/android/service/appprediction/ |
D | AppPredictionService.java | 79 AppPredictionSessionId sessionId) { 82 AppPredictionService.this, context, sessionId)); 86 public void notifyAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { 89 AppPredictionService.this, sessionId, event)); 93 public void notifyLaunchLocationShown(AppPredictionSessionId sessionId, 97 AppPredictionService.this, sessionId, launchLocation, 102 public void sortAppTargets(AppPredictionSessionId sessionId, ParceledListSlice targets, 106 AppPredictionService.this, sessionId, targets.getList(), null, 111 public void registerPredictionUpdates(AppPredictionSessionId sessionId, 115 AppPredictionService.this, sessionId, callback)); [all …]
|
D | IPredictionService.aidl | 34 in AppPredictionSessionId sessionId); in onCreatePredictionSession() argument 36 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() argument 38 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() argument 41 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() argument 44 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() argument 47 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() argument 50 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() argument 52 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession() argument
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 90 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/base/core/java/android/service/contentcapture/ |
D | ContentCaptureService.java | 142 public void onSessionStarted(ContentCaptureContext context, int sessionId, int uid, 145 ContentCaptureService.this, context, sessionId, uid, clientReceiver, 150 public void onActivitySnapshot(int sessionId, SnapshotData snapshotData) { 153 ContentCaptureService.this, sessionId, snapshotData)); 157 public void onSessionFinished(int sessionId) { 159 ContentCaptureService.this, sessionId)); 295 @NonNull ContentCaptureSessionId sessionId) { in onCreateContentCaptureSession() argument 297 Log.v(TAG, "onCreateContentCaptureSession(id=" + sessionId + ", ctx=" + context + ")"); in onCreateContentCaptureSession() 308 public void onContentCaptureEvent(@NonNull ContentCaptureSessionId sessionId, in onContentCaptureEvent() argument 310 if (sVerbose) Log.v(TAG, "onContentCaptureEventsRequest(id=" + sessionId + ")"); in onContentCaptureEvent() [all …]
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | RemoteAppPredictionService.java | 77 @NonNull AppPredictionSessionId sessionId) { in onCreatePredictionSession() argument 78 scheduleAsyncRequest((s) -> s.onCreatePredictionSession(context, sessionId)); in onCreatePredictionSession() 84 public void notifyAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEvent() argument 86 scheduleAsyncRequest((s) -> s.notifyAppTargetEvent(sessionId, event)); in notifyAppTargetEvent() 92 public void notifyLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShown() argument 95 -> s.notifyLaunchLocationShown(sessionId, launchLocation, targetIds)); in notifyLaunchLocationShown() 101 public void sortAppTargets(@NonNull AppPredictionSessionId sessionId, in sortAppTargets() argument 103 scheduleAsyncRequest((s) -> s.sortAppTargets(sessionId, targets, callback)); in sortAppTargets() 110 public void registerPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in registerPredictionUpdates() argument 112 scheduleAsyncRequest((s) -> s.registerPredictionUpdates(sessionId, callback)); in registerPredictionUpdates() [all …]
|
D | AppPredictionPerUserService.java | 106 @NonNull AppPredictionSessionId sessionId) { in onCreatePredictionSessionLocked() argument 109 service.onCreatePredictionSession(context, sessionId); in onCreatePredictionSessionLocked() 111 if (!mSessionInfos.containsKey(sessionId)) { in onCreatePredictionSessionLocked() 112 mSessionInfos.put(sessionId, new AppPredictionSessionInfo(sessionId, context, in onCreatePredictionSessionLocked() 122 public void notifyAppTargetEventLocked(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEventLocked() argument 126 service.notifyAppTargetEvent(sessionId, event); in notifyAppTargetEventLocked() 134 public void notifyLaunchLocationShownLocked(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShownLocked() argument 138 service.notifyLaunchLocationShown(sessionId, launchLocation, targetIds); in notifyLaunchLocationShownLocked() 146 public void sortAppTargetsLocked(@NonNull AppPredictionSessionId sessionId, in sortAppTargetsLocked() argument 150 service.sortAppTargets(sessionId, targets, callback); in sortAppTargetsLocked() [all …]
|
D | AppPredictionManagerService.java | 110 @NonNull AppPredictionSessionId sessionId) { in createPredictionSession() argument 112 (service) -> service.onCreatePredictionSessionLocked(context, sessionId)); in createPredictionSession() 116 public void notifyAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEvent() argument 119 (service) -> service.notifyAppTargetEventLocked(sessionId, event)); in notifyAppTargetEvent() 123 public void notifyLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShown() argument 126 service.notifyLaunchLocationShownLocked(sessionId, launchLocation, targetIds)); in notifyLaunchLocationShown() 130 public void sortAppTargets(@NonNull AppPredictionSessionId sessionId, in sortAppTargets() argument 134 (service) -> service.sortAppTargetsLocked(sessionId, targets, callback)); in sortAppTargets() 138 public void registerPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in registerPredictionUpdates() argument 141 (service) -> service.registerPredictionUpdatesLocked(sessionId, callback)); in registerPredictionUpdates() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 46 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/libmediadrm/ |
D | DrmSessionManager.cpp | 37 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { in GetSessionIdString() argument 39 for (size_t i = 0; i < sessionId.size(); ++i) { in GetSessionIdString() 40 sessionIdStr.appendFormat("%u ", sessionId[i]); in GetSessionIdString() 55 static Vector<MediaResource> toResourceVec(const Vector<uint8_t> &sessionId) { in toResourceVec() argument 58 resources.push_back(MediaResource(MediaResource::kDrmSession, toStdVec(sessionId), UINT64_MAX)); in toResourceVec() 122 const sp<IResourceManagerClient>& drm, const Vector<uint8_t> &sessionId) { in addSession() argument 125 GetSessionIdString(sessionId).string()); in addSession() 133 mSessionMap[toStdVec(sessionId)] = (SessionInfo){pid, uid, clientId}; in addSession() 134 mService->addResource(pid, uid, clientId, drm, toResourceVec(sessionId)); in addSession() 137 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { in useSession() argument [all …]
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 198 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0; 201 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0; 257 virtual status_t removeKeys(Vector<uint8_t> const &sessionId) = 0; 261 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 270 queryKeyStatus(Vector<uint8_t> const &sessionId, 348 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId, 357 virtual status_t setMacAlgorithm(Vector<uint8_t> const &sessionId, 363 virtual status_t encrypt(Vector<uint8_t> const &sessionId, 372 virtual status_t decrypt(Vector<uint8_t> const &sessionId, 381 virtual status_t sign(Vector<uint8_t> const &sessionId, [all …]
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | TextClassifierService.java | 114 TextClassificationSessionId sessionId, 119 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback))); 125 TextClassificationSessionId sessionId, 130 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback))); 135 TextClassificationSessionId sessionId, 140 sessionId, request, mCancellationSignal, new ProxyCallback<>(callback))); 145 TextClassificationSessionId sessionId, 149 () -> TextClassifierService.this.onSelectionEvent(sessionId, event)); 154 TextClassificationSessionId sessionId, 158 () -> TextClassifierService.this.onTextClassifierEvent(sessionId, event)); [all …]
|
D | ITextClassifierService.aidl | 38 in TextClassificationSessionId sessionId, in onSuggestSelection() argument 43 in TextClassificationSessionId sessionId, in onClassifyText() argument 48 in TextClassificationSessionId sessionId, in onGenerateLinks() argument 54 in TextClassificationSessionId sessionId, in onSelectionEvent() argument 58 in TextClassificationSessionId sessionId, in onTextClassifierEvent() argument 63 in TextClassificationSessionId sessionId); in onCreateTextClassificationSession() argument 66 in TextClassificationSessionId sessionId); in onDestroyTextClassificationSession() argument 69 in TextClassificationSessionId sessionId, in onDetectLanguage() argument 74 in TextClassificationSessionId sessionId, in onSuggestConversationActions() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 99 PackageInstallerSession storedSession = mStagedSessions.get(sessionInfo.sessionId); in updateStoredSession() 103 mStagedSessions.put(sessionInfo.sessionId, sessionInfo); in updateStoredSession() 182 final ApexInfoList apexInfoList = mApexManager.submitStagedSession(session.sessionId, in submitSessionToApexService() 209 Slog.d(TAG, "Session " + session.sessionId + " has following APEX packages: [" in submitSessionToApexService() 221 if (!mApexManager.abortStagedSession(session.sessionId)) { in checkRequiredVersionCode() 222 Slog.e(TAG, "Failed to abort apex session " + session.sessionId); in checkRequiredVersionCode() 240 if (!mApexManager.abortStagedSession(session.sessionId)) { in checkDowngrade() 241 Slog.e(TAG, "Failed to abort apex session " + session.sessionId); in checkDowngrade() 303 Slog.d(TAG, "Resuming session " + session.sessionId); in resumeSession() 309 apexSessionInfo = mApexManager.getStagedSessionInfo(session.sessionId); in resumeSession() [all …]
|
D | PackageInstallerService.java | 232 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); in systemReady() 265 "An orphan staged session " + session.sessionId + " is found, " in restoreAndApplyStagedSessionIfNeeded() 320 final int sessionId = allocateSessionIdLocked(); in allocateStageDirLegacy() local 321 mLegacySessions.put(sessionId, true); in allocateStageDirLegacy() 322 final File sessionStageDir = buildTmpSessionDir(sessionId, volumeUuid); in allocateStageDirLegacy() 334 final int sessionId = allocateSessionIdLocked(); in allocateExternalStageCidLegacy() local 335 mLegacySessions.put(sessionId, true); in allocateExternalStageCidLegacy() 336 return "smdl" + sessionId + ".tmp"; in allocateExternalStageCidLegacy() 387 mSessions.put(session.sessionId, session); in readSessionsLocked() 394 mAllocatedSessions.put(session.sessionId, true); in readSessionsLocked() [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeySessionLibrary.cpp | 54 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 …]
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockSessionLibrary.cpp | 43 CasPlugin *plugin, CasSessionId *sessionId) { in addSession() argument 49 sessionId->push_back(byteArray[3]); in addSession() 50 sessionId->push_back(byteArray[2]); in addSession() 51 sessionId->push_back(byteArray[1]); in addSession() 52 sessionId->push_back(byteArray[0]); in addSession() 55 mIDToSessionMap.add(*sessionId, session); in addSession() 60 const CasSessionId& sessionId) { in findSession() argument 63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession() 67 return mIDToSessionMap.valueFor(sessionId); in findSession() 70 void MockSessionLibrary::destroySession(const CasSessionId& sessionId) { in destroySession() argument [all …]
|
D | MockCasPlugin.cpp | 125 status_t MockCasPlugin::openSession(CasSessionId* sessionId) { in openSession() argument 127 return MockSessionLibrary::get()->addSession(this, sessionId); in openSession() 131 CasSessionId* sessionId) { in openSession() argument 134 return MockSessionLibrary::get()->addSession(this, sessionId); in openSession() 137 status_t MockCasPlugin::closeSession(const CasSessionId &sessionId) { in closeSession() argument 138 ALOGV("closeSession: sessionId=%s", arrayToString(sessionId).string()); in closeSession() 142 MockSessionLibrary::get()->findSession(sessionId); in closeSession() 147 MockSessionLibrary::get()->destroySession(sessionId); in closeSession() 152 const CasSessionId &sessionId, const CasData& /*data*/) { in setSessionPrivateData() argument 154 arrayToString(sessionId).string()); in setSessionPrivateData() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmPlugin.h | 78 Return<Status> closeSession(const hidl_vec<uint8_t>& sessionId) override; 109 Return<Status> removeKeys(const hidl_vec<uint8_t>& sessionId) { in removeKeys() 110 if (sessionId.size() == 0) { in removeKeys() 117 const hidl_vec<uint8_t>& sessionId, 121 const hidl_vec<uint8_t>& sessionId, 176 Return<void> getSecurityLevel(const hidl_vec<uint8_t>& sessionId, 203 const hidl_vec<uint8_t>& sessionId, const hidl_string& algorithm) { in setCipherAlgorithm() 204 if (sessionId.size() == 0 || algorithm.size() == 0) { in setCipherAlgorithm() 211 const hidl_vec<uint8_t>& sessionId, const hidl_string& algorithm) { in setMacAlgorithm() 212 if (sessionId.size() == 0 || algorithm.size() == 0) { in setMacAlgorithm() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | SessionLibrary.cpp | 51 Vector<uint8_t> sessionId; in createSession() local 52 sessionId.appendArray( in createSession() 56 mSessions.add(sessionId, new Session(sessionId)); in createSession() 57 return mSessions.valueFor(sessionId); in createSession() 61 const Vector<uint8_t>& sessionId) { in findSession() argument 63 if (mSessions.indexOfKey(sessionId) < 0) { in findSession() 66 return mSessions.valueFor(sessionId); in findSession() 71 mSessions.removeItem(session->sessionId()); in destroySession()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 83 status_t MockDrmPlugin::openSession(Vector<uint8_t> &sessionId) in openSession() argument 90 sessionId.appendArray((uint8_t *)&r, sizeof(long)); in openSession() 92 mSessions.add(sessionId); in openSession() 94 ALOGD("MockDrmPlugin::openSession() -> %s", vectorToString(sessionId).string()); in openSession() 98 status_t MockDrmPlugin::closeSession(Vector<uint8_t> const &sessionId) in closeSession() argument 101 ALOGD("MockDrmPlugin::closeSession(%s)", vectorToString(sessionId).string()); in closeSession() 102 ssize_t index = findSession(sessionId); in closeSession() 112 status_t MockDrmPlugin::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest() argument 122 … vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(), in getKeyRequest() 125 ssize_t index = findSession(sessionId); in getKeyRequest() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | IPredictionManager.aidl | 32 in AppPredictionSessionId sessionId); in createPredictionSession() argument 34 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() argument 36 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() argument 39 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() argument 42 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() argument 45 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() argument 48 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() argument 50 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession() argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | SessionLibrary.cpp | 56 std::vector<uint8_t> sessionId; in createSession() local 57 sessionId.insert(sessionId.end(), sessionIdRaw, in createSession() 61 sp<Session> >(sessionId, new Session(sessionId))); in createSession() 63 mSessions.find(sessionId); in createSession() 72 const std::vector<uint8_t>& sessionId) { in findSession() argument 75 mSessions.find(sessionId); in findSession() 85 mSessions.erase(session->sessionId()); in destroySession()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 134 @Nullable TextClassificationSessionId sessionId, in onSuggestSelection() 147 userState.mService.onSuggestSelection(sessionId, request, callback); in onSuggestSelection() 150 () -> onSuggestSelection(sessionId, request, callback), in onSuggestSelection() 158 @Nullable TextClassificationSessionId sessionId, in onClassifyText() 171 userState.mService.onClassifyText(sessionId, request, callback); in onClassifyText() 174 () -> onClassifyText(sessionId, request, callback), in onClassifyText() 182 @Nullable TextClassificationSessionId sessionId, in onGenerateLinks() 195 userState.mService.onGenerateLinks(sessionId, request, callback); in onGenerateLinks() 198 () -> onGenerateLinks(sessionId, request, callback), in onGenerateLinks() 206 @Nullable TextClassificationSessionId sessionId, SelectionEvent event) in onSelectionEvent() [all …]
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmHal.h | 66 explicit DrmSessionClient(DrmHal* drm, const Vector<uint8_t>& sessionId) in DrmSessionClient() 67 : mSessionId(sessionId), in DrmSessionClient() 100 Vector<uint8_t> &sessionId); 102 virtual status_t closeSession(Vector<uint8_t> const &sessionId); 105 getKeyRequest(Vector<uint8_t> const &sessionId, 112 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, 118 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 121 virtual status_t queryKeyStatus(Vector<uint8_t> const &sessionId, 145 virtual status_t getSecurityLevel(Vector<uint8_t> const &sessionId, 161 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId, [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareClientState.java | 153 int sessionId = session.getSessionId(); in addSession() local 154 if (mSessions.get(sessionId) != null) { in addSession() 155 Log.w(TAG, "createSession: sessionId already exists (replaced) - " + sessionId); in addSession() 158 mSessions.put(sessionId, session); in addSession() 168 public void removeSession(int sessionId) { in removeSession() argument 169 if (mSessions.get(sessionId) == null) { in removeSession() 170 Log.e(TAG, "removeSession: sessionId doesn't exist - " + sessionId); in removeSession() 174 mSessions.delete(sessionId); in removeSession() 183 public WifiAwareDiscoverySessionState terminateSession(int sessionId) { in terminateSession() argument 184 WifiAwareDiscoverySessionState session = mSessions.get(sessionId); in terminateSession() [all …]
|