Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserJourneyLoggerTest.java131 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testCreateUserJourney()
157 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testRemoveUserJourney()
183 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testStartUserJourney()
207 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testStopUserJourney()
232 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testAbortStopUserJourney()
255 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testIncompleteStopUserJourney()
282 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testGrantAdminUserJourney()
307 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testNullUserErrorGrantAdminUserJourney()
517 report.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testUserLifecycleJourney()
547 assertThat(mSessionId.getValue()).isEqualTo(sessionId); in captureAndAssert()
[all …]
/aosp14/frameworks/base/media/java/android/media/metrics/
H A 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()
/aosp14/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java43 private int mSessionId; field in AutofillId
74 mSessionId = sessionId; in AutofillId()
181 return mSessionId; in getSessionId()
187 mSessionId = sessionId; in setSessionId()
193 mSessionId = NO_SESSION; in resetSessionId()
207 result = prime * result + mSessionId; in hashCode()
220 if (mSessionId != other.mSessionId) return false; in equals()
245 builder.append('@').append(mSessionId); in toString()
260 parcel.writeInt(mSessionId); in writeToParcel()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DRemoteInputConnectionImpl.java513 if (header.mSessionId != mCurrentSessionId.get()) { in getTextAfterCursor()
535 if (header.mSessionId != mCurrentSessionId.get()) { in getTextBeforeCursor()
557 if (header.mSessionId != mCurrentSessionId.get()) { in getSelectedText()
579 if (header.mSessionId != mCurrentSessionId.get()) { in getSurroundingText()
607 if (header.mSessionId != mCurrentSessionId.get()) { in getCursorCapsMode()
624 if (header.mSessionId != mCurrentSessionId.get()) { in getExtractedText()
641 if (header.mSessionId != mCurrentSessionId.get()) { in commitText()
659 if (header.mSessionId != mCurrentSessionId.get()) { in commitTextWithTextAttribute()
675 if (header.mSessionId != mCurrentSessionId.get()) { in commitCompletion()
691 if (header.mSessionId != mCurrentSessionId.get()) { in commitCorrection()
[all …]
/aosp14/frameworks/base/drm/java/android/drm/
H A 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()
/aosp14/frameworks/base/core/java/android/app/prediction/
H A DAppPredictor.java83 private final AppPredictionSessionId mSessionId; field in AppPredictor
99 mSessionId = new AppPredictionSessionId( in AppPredictor()
102 mPredictionManager.createPredictionSession(predictionContext, mSessionId, getToken()); in AppPredictor()
122 mPredictionManager.notifyAppTargetEvent(mSessionId, event); in notifyAppTargetEvent()
142 mPredictionManager.notifyLaunchLocationShown(mSessionId, launchLocation, in notifyLaunchLocationShown()
181 mPredictionManager.registerPredictionUpdates(mSessionId, callbackWrapper); in registerPredictionUpdatesLocked()
215 mPredictionManager.unregisterPredictionUpdates(mSessionId, callbackWrapper); in unregisterPredictionUpdatesLocked()
234 mPredictionManager.requestPredictionUpdate(mSessionId); in requestPredictionUpdate()
257 mPredictionManager.sortAppTargets(mSessionId, new ParceledListSlice<>(targets), in sortTargets()
284 mPredictionManager.onDestroyPredictionSession(mSessionId); in destroySessionLocked()
[all …]
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A 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()
241 if (mSessionId != null) { in destroy()
242 mManagerService.onDestroyTextClassificationSession(mSessionId); in destroy()
254 printWriter.printPair("mSessionId", mSessionId); in dump()
[all …]
H A 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()
H A DSelectionEvent.java135 @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()
/aosp14/frameworks/base/core/java/android/app/smartspace/
H A DSmartspaceSession.java83 private final SmartspaceSessionId mSessionId; field in SmartspaceSession
100 mSessionId = new SmartspaceSessionId( in SmartspaceSession()
103 mInterface.createSmartspaceSession(smartspaceConfig, mSessionId, getToken()); in SmartspaceSession()
122 mInterface.notifySmartspaceEvent(mSessionId, event); in notifySmartspaceEvent()
137 mInterface.requestSmartspaceUpdate(mSessionId); in requestSmartspaceUpdate()
166 mInterface.registerSmartspaceUpdates(mSessionId, callbackWrapper); in addOnTargetsAvailableListener()
167 mInterface.requestSmartspaceUpdate(mSessionId); in addOnTargetsAvailableListener()
193 mInterface.unregisterSmartspaceUpdates(mSessionId, callbackWrapper); in removeOnTargetsAvailableListener()
210 mInterface.destroySmartspaceSession(mSessionId); in destroy()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DInstallInstalling.java59 private int mSessionId; field in InstallInstalling
102 if (mSessionId > 0) { in onCreate()
103 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onCreate()
104 mSessionId = 0; in onCreate()
114 mSessionId = savedInstanceState.getInt(SESSION_ID); in onCreate()
135 mSessionId = getIntent().getIntExtra(EXTRA_STAGED_SESSION_ID, 0); in onCreate()
139 mSessionId)) { in onCreate()
190 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
207 outState.putInt(SESSION_ID, mSessionId); in onSaveInstanceState()
268 return getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground()
[all …]
/aosp14/frameworks/base/telecomm/java/android/telecom/Logging/
H A 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()
/aosp14/frameworks/base/media/java/android/media/tv/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/display/
H A 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()
/aosp14/frameworks/base/core/java/android/app/search/
H A DSearchSession.java87 private final SearchSessionId mSessionId; field in SearchSession
105 mSessionId = new SearchSessionId( in SearchSession()
110 mInterface.createSearchSession(searchContext, mSessionId, mToken); in SearchSession()
134 mInterface.notifyEvent(mSessionId, query, event); in notifyEvent()
158 mInterface.query(mSessionId, input, new CallbackWrapper(callbackExecutor, callback)); in query()
189 mInterface.registerEmptyQueryResultUpdateCallback(mSessionId, callbackWrapper); in registerEmptyQueryResultUpdateCallback()
219 mInterface.unregisterEmptyQueryResultUpdateCallback(mSessionId, callbackWrapper); in unregisterEmptyQueryResultUpdateCallback()
241 mInterface.destroySearchSession(mSessionId); in destroy()
/aosp14/frameworks/base/core/java/android/hardware/camera2/
H A 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()
/aosp14/frameworks/base/core/java/android/security/keystore/recovery/
H A 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()
/aosp14/frameworks/base/services/smartspace/java/com/android/server/smartspace/
H A 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()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioPlaybackConfiguration.java323 private int mSessionId; field in AudioPlaybackConfiguration
343 + " sessionId=" + pic.mSessionId); in AudioPlaybackConfiguration()
358 mSessionId = pic.mSessionId; in AudioPlaybackConfiguration()
378 mSessionId = sessionId; in setUpdateableFields()
472 return mSessionId; in getSessionId()
628 final boolean changed = sessionId != mSessionId; in handleSessionIdEvent()
629 mSessionId = sessionId; in handleSessionIdEvent()
767 mClientPid, mSessionId); in hashCode()
792 dest.writeInt(mSessionId); in writeToParcel()
808 mSessionId = in.readInt(); in AudioPlaybackConfiguration()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputConnectionCommandHeader.java38 public final int mSessionId; field in InputConnectionCommandHeader
41 mSessionId = sessionId; in InputConnectionCommandHeader()
66 dest.writeInt(mSessionId); in writeToParcel()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DSessionCommittedEventLogger.java43 private final int mSessionId; field in SessionCommittedEventLogger
47 mSessionId = sessionId; in SessionCommittedEventLogger()
105 + " sessionId=" + mSessionId in logAndEndEvent()
113 mSessionId, in logAndEndEvent()
/aosp14/frameworks/base/services/searchui/java/com/android/server/searchui/
H A DSearchUiPerUserService.java336 private final SearchSessionId mSessionId; field in SearchUiPerUserService.SearchSessionInfo
355 mSessionId = id; in SearchSessionInfo()
363 Slog.d(TAG, "Storing callback for session Id=" + mSessionId in addCallbackLocked()
371 Slog.d(TAG, "Removing callback for session Id=" + mSessionId in removeCallbackLocked()
383 + mSessionId); in linkToDeath()
392 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy()
405 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked()
408 service.onCreateSearchSessionLocked(mSearchContext, mSessionId, token); in resurrectSessionLocked()
410 callback -> service.registerEmptyQueryResultUpdateCallbackLocked(mSessionId, in resurrectSessionLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A 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()
/aosp14/frameworks/base/services/appprediction/java/com/android/server/appprediction/
H A DAppPredictionPerUserService.java391 private final AppPredictionSessionId mSessionId; field in AppPredictionPerUserService.AppPredictionSessionInfo
412 mSessionId = id; in AppPredictionSessionInfo()
421 Slog.d(TAG, "Storing callback for session Id=" + mSessionId in addCallbackLocked()
429 Slog.d(TAG, "Removing callback for session Id=" + mSessionId in removeCallbackLocked()
441 + mSessionId); in linkToDeath()
450 Slog.d(TAG, "Removing all callbacks for session Id=" + mSessionId in destroy()
463 + ") for session Id=" + mSessionId + " and " in resurrectSessionLocked()
466 service.onCreatePredictionSessionLocked(mPredictionContext, mSessionId, token); in resurrectSessionLocked()
468 callback -> service.registerPredictionUpdatesLocked(mSessionId, callback)); in resurrectSessionLocked()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DRemoteInlineSuggestionViewConnector.java48 private final int mSessionId; field in RemoteInlineSuggestionViewConnector
65 mSessionId = inlineFillUiInfo.mSessionId; in RemoteInlineSuggestionViewConnector()
87 mHostInputToken, mDisplayId, mUserId, mSessionId); in renderSuggestion()

123