Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp86 : mSessionId(toAndroidVector(sessionId)), in FakeDrm()
92 mDrmSessionManager->removeSession(mSessionId); in reclaimResource()
99 for (size_t i = 0; i < mSessionId.size(); ++i) { in getName()
100 name.appendFormat("%02x", mSessionId[i]); in getName()
111 const Vector<uint8_t> mSessionId; member
164 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mTestDrm1->mSessionId); in addSession()
165 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mTestDrm2->mSessionId); in addSession()
166 mDrmSessionManager->addSession(kTestPid2, mTestDrm3, mTestDrm3->mSessionId); in addSession()
180 EXPECT_TRUE(mDrmSessionManager->containsSession(mTestDrm1->mSessionId)); in TEST_F()
181 EXPECT_TRUE(mDrmSessionManager->containsSession(mTestDrm2->mSessionId)); in TEST_F()
[all …]
/frameworks/base/media/java/android/media/metrics/
DLogSessionId.java29 @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/view/autofill/
DAutofillId.java41 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/core/java/android/app/prediction/
DAppPredictor.java83 private final AppPredictionSessionId mSessionId; field in AppPredictor
101 mSessionId = new AppPredictionSessionId( in AppPredictor()
104 mPredictionManager.createPredictionSession(predictionContext, mSessionId, mToken); in AppPredictor()
124 mPredictionManager.notifyAppTargetEvent(mSessionId, event); in notifyAppTargetEvent()
144 mPredictionManager.notifyLaunchLocationShown(mSessionId, launchLocation, in notifyLaunchLocationShown()
183 mPredictionManager.registerPredictionUpdates(mSessionId, callbackWrapper); in registerPredictionUpdatesLocked()
217 mPredictionManager.unregisterPredictionUpdates(mSessionId, callbackWrapper); in unregisterPredictionUpdatesLocked()
236 mPredictionManager.requestPredictionUpdate(mSessionId); in requestPredictionUpdate()
259 mPredictionManager.sortAppTargets(mSessionId, new ParceledListSlice<>(targets), in sortTargets()
286 mPredictionManager.onDestroyPredictionSession(mSessionId); in destroySessionLocked()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java54 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/com/android/internal/inputmethod/
DRemoteInputConnectionImpl.java433 if (header.mSessionId != mCurrentSessionId.get()) { in getTextAfterCursor()
455 if (header.mSessionId != mCurrentSessionId.get()) { in getTextBeforeCursor()
477 if (header.mSessionId != mCurrentSessionId.get()) { in getSelectedText()
499 if (header.mSessionId != mCurrentSessionId.get()) { in getSurroundingText()
527 if (header.mSessionId != mCurrentSessionId.get()) { in getCursorCapsMode()
544 if (header.mSessionId != mCurrentSessionId.get()) { in getExtractedText()
561 if (header.mSessionId != mCurrentSessionId.get()) { in commitText()
578 if (header.mSessionId != mCurrentSessionId.get()) { in commitTextWithTextAttribute()
594 if (header.mSessionId != mCurrentSessionId.get()) { in commitCompletion()
610 if (header.mSessionId != mCurrentSessionId.get()) { in commitCorrection()
[all …]
DInputConnectionCommandHeader.java37 public final int mSessionId; field in InputConnectionCommandHeader
40 mSessionId = sessionId; in InputConnectionCommandHeader()
65 dest.writeInt(mSessionId); in writeToParcel()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceSession.java83 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/
DSystemTextClassifier.java53 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 …]
DTextClassificationSession.java41 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()
/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java214 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/
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/media/java/android/media/tv/
DSectionResponse.java46 private final int mSessionId; field in SectionResponse
57 mSessionId = sessionId; in SectionResponse()
64 mSessionId = source.readInt(); in SectionResponse()
73 return mSessionId; in getSessionId()
105 dest.writeInt(mSessionId); in writeToParcel()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java132 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/
Dmediadrm_fuzzer.cpp132 Vector<uint8_t> mSessionId = {}; member in DrmFuzzer
175 mDrm->openSession(securityLevel, mSessionId); in invokeDrmOpenSession()
178 void DrmFuzzer::invokeDrmCloseSession() { mDrm->closeSession(mSessionId); } in invokeDrmCloseSession()
186 mDrm->setCipherAlgorithm(mSessionId, in invokeDrmSetAlgorithmAPI()
188 mDrm->setMacAlgorithm(mSessionId, String8(kMacAlgorithm[mFuzzedDataProvider->ConsumeBool()])); in invokeDrmSetAlgorithmAPI()
211 mDrm->getSecurityLevel(mSessionId, &securityLevel); in invokeDrmDecryptEncryptAPI()
247 mDrm->getKeyRequest(mSessionId, initData, mimeType, keyType, mdOptionalParameters, keyRequest, in invokeDrmDecryptEncryptAPI()
254 mDrm->provideKeyResponse(mSessionId, keyResponse, keySetId); in invokeDrmDecryptEncryptAPI()
257 mDrm->restoreKeys(mSessionId, keySetId); in invokeDrmDecryptEncryptAPI()
261 mDrm->queryKeyStatus(mSessionId, infoMap); in invokeDrmDecryptEncryptAPI()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DTotalCaptureResult.java63 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/security/keystore/recovery/
DRecoverySession.java52 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/core/java/android/app/search/
DSearchSession.java84 private final SearchSessionId mSessionId; field in SearchSession
100 mSessionId = new SearchSessionId( in SearchSession()
105 mInterface.createSearchSession(searchContext, mSessionId, mToken); in SearchSession()
129 mInterface.notifyEvent(mSessionId, query, event); in notifyEvent()
153 mInterface.query(mSessionId, input, new CallbackWrapper(callbackExecutor, callback)); in query()
174 mInterface.destroySearchSession(mSessionId); in destroy()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java67 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()
180 mSessionId = getPackageManager().getPackageInstaller().createSession(params); in onCreate()
229 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
246 outState.putInt(SESSION_ID, mSessionId); in onSaveInstanceState()
305 session = getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground()
379 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onPostExecute()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java333 private final SmartspaceSessionId mSessionId; field in SmartspacePerUserService.SmartspaceSessionInfo
347 mSessionId = id; in SmartspaceSessionInfo()
355 Slog.d(TAG, "Storing callback for session Id=" + mSessionId in addCallbackLocked()
363 Slog.d(TAG, "Removing callback for session Id=" + mSessionId in removeCallbackLocked()
375 + mSessionId); in linkToDeath()
384 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy()
397 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked()
400 service.onCreateSmartspaceSessionLocked(mSmartspaceConfig, mSessionId, token); in resurrectSessionLocked()
402 callback -> service.registerSmartspaceUpdatesLocked(mSessionId, callback)); in resurrectSessionLocked()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
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/base/services/autofill/java/com/android/server/autofill/ui/
DRemoteInlineSuggestionViewConnector.java50 private final int mSessionId; field in RemoteInlineSuggestionViewConnector
69 mSessionId = inlineFillUiInfo.mSessionId; in RemoteInlineSuggestionViewConnector()
86 mHostInputToken, mDisplayId, mUserId, mSessionId); in renderSuggestion()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java53 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/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DSession.h31 : mSessionId(sessionId), mMockError(clearkeydrm::OK) {} in Session()
34 const std::vector<uint8_t>& sessionId() const { return mSessionId; } in sessionId()
54 const std::vector<uint8_t> mSessionId; variable
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DSession.h42 : 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

1234