Home
last modified time | relevance | path

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

12345

/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/services/tests/servicestests/src/com/android/server/pm/
DUserJourneyLoggerTest.java100 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent()
106 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent()
118 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, -1, in testCreateUserJourney()
127 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testCreateUserJourney()
131 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testCreateUserJourney()
143 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testRemoveUserJourney()
153 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testRemoveUserJourney()
157 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testRemoveUserJourney()
169 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testStartUserJourney()
179 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testStartUserJourney()
[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.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()
/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/android/app/prediction/
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 …]
/frameworks/base/core/java/android/view/inputmethod/
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 …]
/frameworks/base/core/java/android/app/smartspace/
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()
/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/packages/PackageInstaller/src/com/android/packageinstaller/
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 …]
/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/app/search/
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()
/frameworks/av/media/ndk/fuzzer/
Dndk_drm_fuzzer.cpp106 AMediaDrmSessionId mSessionId = {}; member in NdkMediaDrmFuzzer
238 AMediaDrm_getKeyRequest(mDrm, &mSessionId, kClearkeyPssh, sizeof(kClearkeyPssh), in invokeDrmDecryptEncryptAPI()
246 AMediaDrm_queryKeyStatus(mDrm, &mSessionId, keyStatus, &numPairs); in invokeDrmDecryptEncryptAPI()
253 AMediaDrm_provideKeyResponse(mDrm, &mSessionId, in invokeDrmDecryptEncryptAPI()
260 AMediaDrm_restoreKeys(mDrm, &mSessionId, &keySetId); in invokeDrmDecryptEncryptAPI()
270 AMediaDrm_verify(mDrm, &mSessionId, algorithm.c_str(), keyId.data(), message.data(), in invokeDrmDecryptEncryptAPI()
281 AMediaDrm_sign(mDrm, &mSessionId, algorithm.c_str(), keyId.data(), message.data(), in invokeDrmDecryptEncryptAPI()
294 AMediaDrm_decrypt(mDrm, &mSessionId, algorithm.c_str(), keyId.data(), iv.data(), in invokeDrmDecryptEncryptAPI()
308 AMediaDrm_encrypt(mDrm, &mSessionId, algorithm.c_str(), keyId.data(), iv.data(), in invokeDrmDecryptEncryptAPI()
313 AMediaDrm_removeKeys(mDrm, &mSessionId); 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/com/android/internal/inputmethod/
DInputConnectionCommandHeader.java38 public final int mSessionId; field in InputConnectionCommandHeader
41 mSessionId = sessionId; in InputConnectionCommandHeader()
66 dest.writeInt(mSessionId); in writeToParcel()
/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/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/
DSessionCommittedEventLogger.java43 private final int mSessionId; field in SessionCommittedEventLogger
47 mSessionId = sessionId; in SessionCommittedEventLogger()
105 + " sessionId=" + mSessionId in logAndEndEvent()
113 mSessionId, in logAndEndEvent()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DTotalCaptureResultWrapper.java42 private int mSessionId; field in TotalCaptureResultWrapper
51 mSessionId = totalResult.getSessionId(); in TotalCaptureResultWrapper()
70 mSessionId = parcel.readInt(); in TotalCaptureResultWrapper()
88 parcel.writeInt(mSessionId); in writeToParcel()
118 mFrameNumber, partials, mSessionId, in toTotalCaptureResult()
/frameworks/base/media/java/android/media/
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 …]

12345