Home
last modified time | relevance | path

Searched refs:mSessionId (Results 1 – 25 of 119) 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.java101 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent()
107 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent()
119 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, -1, in testCreateUserJourney()
128 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testCreateUserJourney()
132 report2.captureAndAssert(mUserJourneyLogger, session.mSessionId, in testCreateUserJourney()
146 session.mSessionId, in testCreatePrivateProfileUserJourney()
166 session.mSessionId, in testCreatePrivateProfileUserJourney()
175 session.mSessionId, in testCreatePrivateProfileUserJourney()
191 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testRemoveUserJourney()
201 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testRemoveUserJourney()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DLoudnessCodecHelperTest.java92 private int mSessionId; field in LoudnessCodecHelperTest
97 mSessionId = 1; in setUp()
100 getApcListForApcWithPiidSid(mInitialApcPiid, mSessionId, 0)); in setUp()
109 mLoudnessHelper.startLoudnessCodecUpdates(mSessionId); in registerDispatcher_sendsUpdateOnAddCodec()
110 mLoudnessHelper.addLoudnessCodecInfo(mSessionId, /*mediaCodecHash=*/222, in registerDispatcher_sendsUpdateOnAddCodec()
113 verify(mDispatcher).dispatchLoudnessCodecParameterChange(eq(mSessionId), any()); in registerDispatcher_sendsUpdateOnAddCodec()
121 mLoudnessHelper.startLoudnessCodecUpdates(mSessionId); in unregisterDispatcher_noUpdateOnAdd()
122 mLoudnessHelper.addLoudnessCodecInfo(mSessionId, /*mediaCodecHash=*/222, in unregisterDispatcher_noUpdateOnAdd()
125 verify(mDispatcher, times(0)).dispatchLoudnessCodecParameterChange(eq(mSessionId), in unregisterDispatcher_noUpdateOnAdd()
131 final int newSessionId = mSessionId + 1; in addCodecInfoForDifferentId_noUpdateSent()
[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/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/view/autofill/
DAutofillId.java43 private int mSessionId; field in AutofillId
79 mSessionId = sessionId; in AutofillId()
186 return mSessionId; in getSessionId()
192 mSessionId = sessionId; in setSessionId()
198 mSessionId = NO_SESSION; in resetSessionId()
212 result = prime * result + mSessionId; in hashCode()
225 if (mSessionId != other.mSessionId) return false; in equals()
250 builder.append('@').append(mSessionId); in toString()
265 parcel.writeInt(mSessionId); in writeToParcel()
/frameworks/base/core/java/android/view/inputmethod/
DRemoteInputConnectionImpl.java476 if (header.mSessionId != mCurrentSessionId.get()) { in getTextAfterCursor()
498 if (header.mSessionId != mCurrentSessionId.get()) { in getTextBeforeCursor()
520 if (header.mSessionId != mCurrentSessionId.get()) { in getSelectedText()
542 if (header.mSessionId != mCurrentSessionId.get()) { in getSurroundingText()
570 if (header.mSessionId != mCurrentSessionId.get()) { in getCursorCapsMode()
587 if (header.mSessionId != mCurrentSessionId.get()) { in getExtractedText()
604 if (header.mSessionId != mCurrentSessionId.get()) { in commitText()
621 if (header.mSessionId != mCurrentSessionId.get()) { in commitTextWithTextAttribute()
637 if (header.mSessionId != mCurrentSessionId.get()) { in commitCompletion()
653 if (header.mSessionId != mCurrentSessionId.get()) { in commitCorrection()
[all …]
/frameworks/base/core/java/android/app/prediction/
DAppPredictor.java87 private final AppPredictionSessionId mSessionId; field in AppPredictor
103 mSessionId = new AppPredictionSessionId( in AppPredictor()
106 mPredictionManager.createPredictionSession(predictionContext, mSessionId, getToken()); in AppPredictor()
126 mPredictionManager.notifyAppTargetEvent(mSessionId, event); in notifyAppTargetEvent()
146 mPredictionManager.notifyLaunchLocationShown(mSessionId, launchLocation, in notifyLaunchLocationShown()
185 mPredictionManager.registerPredictionUpdates(mSessionId, callbackWrapper); in registerPredictionUpdatesLocked()
219 mPredictionManager.unregisterPredictionUpdates(mSessionId, callbackWrapper); in unregisterPredictionUpdatesLocked()
238 mPredictionManager.requestPredictionUpdate(mSessionId); in requestPredictionUpdate()
261 mPredictionManager.sortAppTargets(mSessionId, new ParceledListSlice<>(targets), in sortTargets()
289 mPredictionManager.requestServiceFeatures(mSessionId, in requestServiceFeatures()
[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/media/tests/LoudnessCodecApiTest/src/com/android/loudnesscodecapitest/
DLoudnessCodecControllerTest.java84 private int mSessionId; field in LoudnessCodecControllerTest
91 mSessionId = 0; in setUp()
93 mSessionId = audioManager.generateAudioSessionId(); in setUp()
95 mLcc = LoudnessCodecController.createForTesting(mSessionId, in setUp()
103 verify(mAudioService).startLoudnessCodecUpdates(eq(mSessionId)); in createLcc_callsAudioServiceStart()
131 verify(mAudioService).stopLoudnessCodecUpdates(eq(mSessionId)); in release_stopCodecUpdates()
172 verify(mAudioService).removeLoudnessCodecInfo(eq(mSessionId), any()); in removeAddedMediaCodecAfterSetTrack_callsAudioServiceRemoveCodec()
185 verify(mAudioService).addLoudnessCodecInfo(eq(mSessionId), anyInt(), any()); in addMediaCodec_callsAudioServiceAdd()
198 verify(mAudioService).addLoudnessCodecInfo(eq(mSessionId), anyInt(), any()); in removeMediaCodec_callsAudioServiceRemove()
201 verify(mAudioService).removeLoudnessCodecInfo(eq(mSessionId), any()); in removeMediaCodec_callsAudioServiceRemove()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java63 private int mSessionId; field in InstallInstalling
113 if (mSessionId > 0) { in onCreate()
114 getPackageManager().getPackageInstaller().abandonSession(mSessionId); in onCreate()
115 mSessionId = 0; in onCreate()
127 mSessionId = savedInstanceState.getInt(SESSION_ID); in onCreate()
148 mSessionId = getIntent().getIntExtra(EXTRA_STAGED_SESSION_ID, 0); in onCreate()
152 mSessionId)) { in onCreate()
203 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
220 outState.putInt(SESSION_ID, mSessionId); in onSaveInstanceState()
289 return getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground()
[all …]
/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/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/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/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/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/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/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