Home
last modified time | relevance | path

Searched refs:newSessionId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionSessionIdGenerator.java79 int newSessionId = getCurrentSessionId() + 1; in createAndGetNewSessionId() local
80 setSessionIdInternal(newSessionId); in createAndGetNewSessionId()
81 return newSessionId; in createAndGetNewSessionId()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java66 return new RecoverySession(recoveryController, newSessionId()); in newInstance()
72 private static @NonNull String newSessionId() { in newSessionId() method in RecoverySession
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionMetricsLoggerTest.java159 int newSessionId = 123; in logInitiated_logsNewSessionId() local
160 when(mSessionIdGenerator.createAndGetNewSessionId()).thenReturn(newSessionId); in logInitiated_logsNewSessionId()
164 verifySessionIdLogged(newSessionId); in logInitiated_logsNewSessionId()
695 private void verifySessionIdLogged(int newSessionId) { in verifySessionIdLogged() argument
699 /* sessionId= */ eq(newSessionId), in verifySessionIdLogged()
/frameworks/base/services/core/java/com/android/server/pm/
DUserJourneyLogger.java549 final long newSessionId = ThreadLocalRandom.current().nextLong(1, Long.MAX_VALUE); in logUserJourneyBegin() local
553 new UserJourneySession(newSessionId, journey); in logUserJourneyBegin()
573 final long newSessionId = ThreadLocalRandom.current().nextLong(1, Long.MAX_VALUE); in startSessionForDelayedJourney() local
577 new UserJourneySession(newSessionId, journey, startTime); in startSessionForDelayedJourney()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DLoudnessCodecHelperTest.java131 final int newSessionId = mSessionId + 1; in addCodecInfoForDifferentId_noUpdateSent() local
135 mLoudnessHelper.addLoudnessCodecInfo(newSessionId, /*mediaCodecHash=*/222, in addCodecInfoForDifferentId_noUpdateSent()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java426 String newSessionId = newSession.getId(); in onSessionCreated() local
435 .anyMatch(session -> TextUtils.equals(session.getId(), newSessionId)) in onSessionCreated()
437 .anyMatch(session -> TextUtils.equals(session.getId(), newSessionId))) { in onSessionCreated()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl224 boolean focused, boolean newSessionId); in requestAssistContextExtras() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java3145 boolean newSessionId) { in requestAssistContextExtras() argument
3147 activityToken, checkActivityIsTop, newSessionId, UserHandle.getCallingUserId(), in requestAssistContextExtras()
3409 boolean checkActivityIsTop, boolean newSessionId, int userHandle, Bundle args, in enqueueAssistContext() argument
3461 if (newSessionId) { in enqueueAssistContext()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47684 Landroid/security/keystore/recovery/RecoverySession;->newSessionId()Ljava/lang/String;