/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 82 : mSessionId(toAndroidVector(sessionId)), in FakeDrm() 88 mDrmSessionManager->removeSession(mSessionId); in reclaimResource() 95 for (size_t i = 0; i < mSessionId.size(); ++i) { in getName() 96 name.appendFormat("%02x", mSessionId[i]); in getName() 107 const Vector<uint8_t> mSessionId; member 160 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mTestDrm1->mSessionId); in addSession() 161 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mTestDrm2->mSessionId); in addSession() 162 mDrmSessionManager->addSession(kTestPid2, mTestDrm3, mTestDrm3->mSessionId); in addSession() 176 EXPECT_TRUE(mDrmSessionManager->containsSession(mTestDrm1->mSessionId)); in TEST_F() 177 EXPECT_TRUE(mDrmSessionManager->containsSession(mTestDrm2->mSessionId)); in TEST_F() [all …]
|
/frameworks/base/media/java/android/media/metrics/ |
D | LogSessionId.java | 29 @NonNull private final String mSessionId; field in LogSessionId 39 mSessionId = Objects.requireNonNull(id); in LogSessionId() 45 return mSessionId; in getStringId() 50 return mSessionId; in toString() 58 return Objects.equals(mSessionId, that.mSessionId); in equals() 63 return Objects.hash(mSessionId); in hashCode()
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppPredictor.java | 82 private final AppPredictionSessionId mSessionId; field in AppPredictor 99 mSessionId = new AppPredictionSessionId( in AppPredictor() 102 mPredictionManager.createPredictionSession(predictionContext, mSessionId, mToken); in AppPredictor() 122 mPredictionManager.notifyAppTargetEvent(mSessionId, event); in notifyAppTargetEvent() 142 mPredictionManager.notifyLaunchLocationShown(mSessionId, launchLocation, in notifyLaunchLocationShown() 172 mPredictionManager.registerPredictionUpdates(mSessionId, callbackWrapper); in registerPredictionUpdates() 199 mPredictionManager.unregisterPredictionUpdates(mSessionId, callbackWrapper); in unregisterPredictionUpdates() 218 mPredictionManager.requestPredictionUpdate(mSessionId); in requestPredictionUpdate() 241 mPredictionManager.sortAppTargets(mSessionId, new ParceledListSlice(targets), in sortTargets() 259 mPredictionManager.onDestroyPredictionSession(mSessionId); in destroy() [all …]
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillId.java | 41 private int mSessionId; field in AutofillId 72 mSessionId = sessionId; in AutofillId() 158 return mSessionId; in getSessionId() 164 mSessionId = sessionId; in setSessionId() 170 mSessionId = NO_SESSION; in resetSessionId() 184 result = prime * result + mSessionId; in hashCode() 197 if (mSessionId != other.mSessionId) return false; in equals() 222 builder.append('@').append(mSessionId); in toString() 237 parcel.writeInt(mSessionId); in writeToParcel()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmOutputStream.java | 54 private int mSessionId = INVALID_SESSION; field in DrmOutputStream 65 mSessionId = mClient.openConvertSession(mimeType); in DrmOutputStream() 66 if (mSessionId == INVALID_SESSION) { in DrmOutputStream() 72 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); in finish() 80 mSessionId = INVALID_SESSION; in finish() 88 if (mSessionId == INVALID_SESSION) { in close() 107 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer); in write()
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceSession.java | 83 private final SmartspaceSessionId mSessionId; field in SmartspaceSession 101 mSessionId = new SmartspaceSessionId( in SmartspaceSession() 104 mInterface.createSmartspaceSession(smartspaceConfig, mSessionId, mToken); in SmartspaceSession() 123 mInterface.notifySmartspaceEvent(mSessionId, event); in notifySmartspaceEvent() 138 mInterface.requestSmartspaceUpdate(mSessionId); in requestSmartspaceUpdate() 167 mInterface.registerSmartspaceUpdates(mSessionId, callbackWrapper); in addOnTargetsAvailableListener() 168 mInterface.requestSmartspaceUpdate(mSessionId); in addOnTargetsAvailableListener() 194 mInterface.unregisterSmartspaceUpdates(mSessionId, callbackWrapper); in removeOnTargetsAvailableListener() 211 mInterface.destroySmartspaceSession(mSessionId); in destroy()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SystemTextClassifier.java | 53 private TextClassificationSessionId mSessionId; field in SystemTextClassifier 93 mManagerService.onSuggestSelection(mSessionId, request, callback); in suggestSelection() 116 mManagerService.onClassifyText(mSessionId, request, callback); in classifyText() 146 mManagerService.onGenerateLinks(mSessionId, request, callback); in generateLinks() 164 mManagerService.onSelectionEvent(mSessionId, event); in onSelectionEvent() 182 mManagerService.onTextClassifierEvent(mSessionId, event); in onTextClassifierEvent() 197 mManagerService.onDetectLanguage(mSessionId, request, callback); in detectLanguage() 217 mManagerService.onSuggestConversationActions(mSessionId, request, callback); in suggestConversationActions() 241 if (mSessionId != null) { in destroy() 242 mManagerService.onDestroyTextClassificationSession(mSessionId); in destroy() [all …]
|
D | TextClassificationSession.java | 41 private final TextClassificationSessionId mSessionId; field in TextClassificationSession 53 mSessionId = new TextClassificationSessionId(); in TextClassificationSession() 54 mEventHelper = new SelectionEventHelper(mSessionId, mClassificationContext); in TextClassificationSession() 68 mClassificationContext, mSessionId); in initializeRemoteSession() 116 event.mHiddenTempSessionId = mSessionId; in onTextClassifierEvent() 172 private final TextClassificationSessionId mSessionId; field in TextClassificationSession.SelectionEventHelper 183 mSessionId = Objects.requireNonNull(sessionId); in SelectionEventHelper() 207 event.setSessionId(mSessionId); in sanitizeEvent()
|
D | SelectionEvent.java | 135 @Nullable private TextClassificationSessionId mSessionId; field in SelectionEvent 169 mSessionId = in.readInt() > 0 in SelectionEvent() 196 dest.writeInt(mSessionId != null ? 1 : 0); in writeToParcel() 197 if (mSessionId != null) { in writeToParcel() 198 mSessionId.writeToParcel(dest, flags); in writeToParcel() 544 return mSessionId; in getSessionId() 550 mSessionId = id; in setSessionId() 644 mEventIndex, mSessionId, mStart, mEnd, mSmartStart, mSmartEnd, mSystemTcMetadata); in hashCode() 670 && Objects.equals(mSessionId, other.mSessionId) in equals() 690 mEventIndex, mSessionId, mStart, mEnd, mSmartStart, mSmartEnd, mSystemTcMetadata); in toString()
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackConfiguration.java | 214 private int mSessionId; field in AudioPlaybackConfiguration 230 + " sessionId=" + pic.mSessionId); in AudioPlaybackConfiguration() 244 mSessionId = pic.mSessionId; in AudioPlaybackConfiguration() 288 anonymCopy.mSessionId = AudioSystem.AUDIO_SESSION_ALLOCATE; in anonymizedCopy() 339 return mSessionId; in getSessionId() 426 final boolean changed = sessionId != mSessionId; in handleSessionIdEvent() 427 mSessionId = sessionId; in handleSessionIdEvent() 529 mSessionId); in hashCode() 551 dest.writeInt(mSessionId); in writeToParcel() 564 mSessionId = in.readInt(); in AudioPlaybackConfiguration() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplaySessionInfo.java | 34 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/telecomm/java/android/telecom/Logging/ |
D | Session.java | 132 private String mSessionId; field in Session 167 mSessionId = "?"; in setSessionId() 169 mSessionId = sessionId; in setSessionId() 245 return mSessionId; in getSessionId() 278 return TRUNCATE_STRING + mSessionId; in getFullSessionId() 286 return mSessionId; in getFullSessionId() 291 + SESSION_SEPARATION_CHAR_CHILD + mSessionId; in getFullSessionId() 412 int result = mSessionId != null ? mSessionId.hashCode() : 0; in hashCode() 437 if (mSessionId != null ? in equals() 438 !mSessionId.equals(session.mSessionId) : session.mSessionId != null) in equals()
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | mediadrm_fuzzer.cpp | 128 Vector<uint8_t> mSessionId = {}; member in DrmFuzzer 171 mDrm->openSession(securityLevel, mSessionId); in invokeDrmOpenSession() 174 void DrmFuzzer::invokeDrmCloseSession() { mDrm->closeSession(mSessionId); } in invokeDrmCloseSession() 182 mDrm->setCipherAlgorithm(mSessionId, in invokeDrmSetAlgorithmAPI() 184 mDrm->setMacAlgorithm(mSessionId, String8(kMacAlgorithm[mFuzzedDataProvider->ConsumeBool()])); in invokeDrmSetAlgorithmAPI() 207 mDrm->getSecurityLevel(mSessionId, &securityLevel); in invokeDrmDecryptEncryptAPI() 243 mDrm->getKeyRequest(mSessionId, initData, mimeType, keyType, mdOptionalParameters, keyRequest, in invokeDrmDecryptEncryptAPI() 250 mDrm->provideKeyResponse(mSessionId, keyResponse, keySetId); in invokeDrmDecryptEncryptAPI() 253 mDrm->restoreKeys(mSessionId, keySetId); in invokeDrmDecryptEncryptAPI() 257 mDrm->queryKeyStatus(mSessionId, infoMap); in invokeDrmDecryptEncryptAPI() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | TotalCaptureResult.java | 63 private final int mSessionId; field in TotalCaptureResult 84 mSessionId = sessionId; in TotalCaptureResult() 113 mSessionId = sessionId; in TotalCaptureResult() 136 mSessionId = CameraCaptureSession.SESSION_ID_NONE; in TotalCaptureResult() 164 return mSessionId; in getSessionId()
|
/frameworks/base/core/java/android/app/search/ |
D | SearchSession.java | 82 private final SearchSessionId mSessionId; field in SearchSession 98 mSessionId = new SearchSessionId( in SearchSession() 103 mInterface.createSearchSession(searchContext, mSessionId, mToken); in SearchSession() 127 mInterface.notifyEvent(mSessionId, query, event); in notifyEvent() 151 mInterface.query(mSessionId, input, new CallbackWrapper(callbackExecutor, callback)); in query() 172 mInterface.destroySearchSession(mSessionId); in destroy()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoverySession.java | 52 private final String mSessionId; field in RecoverySession 58 mSessionId = sessionId; in RecoverySession() 115 mSessionId, in start() 152 .recoverKeyChainSnapshot(mSessionId, recoveryKeyBlob, applicationKeys); in recoverKeyChainSnapshot() 195 return mSessionId; in getSessionId() 205 mRecoveryController.getBinder().closeSession(mSessionId); in close()
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspacePerUserService.java | 333 private final SmartspaceSessionId mSessionId; field in SmartspacePerUserService.SmartspaceSessionInfo 341 Slog.d(TAG, "Binder died for session Id=" + mSessionId 358 mSessionId = id; in SmartspaceSessionInfo() 366 Slog.d(TAG, "Storing callback for session Id=" + mSessionId in addCallbackLocked() 374 Slog.d(TAG, "Removing callback for session Id=" + mSessionId in removeCallbackLocked() 386 + mSessionId); in linkToDeath() 395 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy() 408 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked() 411 service.onCreateSmartspaceSessionLocked(mSmartspaceConfig, mSessionId, token); in resurrectSessionLocked() 413 callback -> service.registerSmartspaceUpdatesLocked(mSessionId, callback)); in resurrectSessionLocked()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallInstalling.java | 67 private int mSessionId; field in InstallInstalling 107 if (mSessionId > 0) { in onCreate() 108 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onCreate() 109 mSessionId = 0; in onCreate() 119 mSessionId = savedInstanceState.getInt(SESSION_ID); in onCreate() 176 mSessionId = getPackageManager().getPackageInstaller().createSession(params); in onCreate() 225 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume() 242 outState.putInt(SESSION_ID, mSessionId); in onSaveInstanceState() 301 session = getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground() 375 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onPostExecute()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | Session.h | 35 : 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/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorage.java | 53 if (sessionId.equals(entry.mSessionId)) { in get() 82 mSessionsByUid.get(uid).removeIf(session -> session.mSessionId.equals(sessionId)); in remove() 143 private final String mSessionId; field in RecoverySessionStorage.Entry 150 mSessionId = sessionId; in Entry()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | RemoteInlineSuggestionViewConnector.java | 50 private final int mSessionId; field in RemoteInlineSuggestionViewConnector 69 mSessionId = inlineFillUiInfo.mSessionId; in RemoteInlineSuggestionViewConnector() 86 mHostInputToken, mDisplayId, mUserId, mSessionId); in renderSuggestion()
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionPerUserService.java | 391 private final AppPredictionSessionId mSessionId; field in AppPredictionPerUserService.AppPredictionSessionInfo 405 Slog.d(TAG, "Binder died for session Id=" + mSessionId 423 mSessionId = id; in AppPredictionSessionInfo() 432 Slog.d(TAG, "Storing callback for session Id=" + mSessionId in addCallbackLocked() 440 Slog.d(TAG, "Removing callback for session Id=" + mSessionId in removeCallbackLocked() 452 + mSessionId); in linkToDeath() 461 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy() 474 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked() 477 service.onCreatePredictionSessionLocked(mPredictionContext, mSessionId, token); in resurrectSessionLocked() 479 callback -> service.registerPredictionUpdatesLocked(mSessionId, callback)); in resurrectSessionLocked()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | Session.h | 42 : mSessionId(sessionId), mMockError(Status_V1_2::OK) {} in Session() 45 const std::vector<uint8_t>& sessionId() const { return mSessionId; } in sessionId() 67 const std::vector<uint8_t> mSessionId; variable
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.cpp | 40 mSessionId = other.mSessionId; in copyFrom() 83 switch (mSessionId) { in validate() 195 ALOGD("mSessionId = %6d", mSessionId); in dump()
|
/frameworks/base/services/searchui/java/com/android/server/searchui/ |
D | SearchUiPerUserService.java | 304 private final SearchSessionId mSessionId; field in SearchUiPerUserService.SearchSessionInfo 317 Slog.d(TAG, "Binder died for session Id=" + mSessionId 334 mSessionId = id; in SearchSessionInfo() 346 + mSessionId); in linkToDeath() 355 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy() 368 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked() 371 service.onCreateSearchSessionLocked(mSearchContext, mSessionId, token); in resurrectSessionLocked()
|