Home
last modified time | relevance | path

Searched refs:journey (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserJourneyLogger.java199 private static int journeyToEvent(@UserJourney int journey) { in journeyToEvent() argument
200 switch (journey) { in journeyToEvent()
278 @UserJourney int journey, @UserIdInt int originalUserId, @UserIdInt int targetUserId, in logUserLifecycleJourneyReported() argument
281 writeUserLifecycleJourneyReported(-1, journey, originalUserId, targetUserId, in logUserLifecycleJourneyReported()
286 session.mSessionId, journey, originalUserId, targetUserId, userType, userFlags, in logUserLifecycleJourneyReported()
295 public void writeUserLifecycleJourneyReported(long sessionId, int journey, int originalUserId, in writeUserLifecycleJourneyReported() argument
298 sessionId, journey, originalUserId, targetUserId, userType, userFlags, in writeUserLifecycleJourneyReported()
362 private int getUserJourneyKey(@UserIdInt int targetUserId, @UserJourney int journey) { in getUserJourneyKey() argument
364 return (targetUserId * USER_ID_KEY_MULTIPLICATION) + journey; in getUserJourneyKey()
372 @UserJourney int journey) { in finishAndClearIncompleteUserJourney() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserJourneyLoggerTest.java631 long sessionId, int journey, int originalUserId, in captureAndAssert() argument
644 assertThat(mJourney.getValue()).isEqualTo(journey); in captureAndAssert()
654 UserJourneyLogger.UserJourneySession session, int journey, int originalUserId, in captureLogAndAssert() argument
656 mUserJourneyLogger.logUserLifecycleJourneyReported(session, journey, originalUserId, in captureLogAndAssert()
659 captureAndAssert(mUserJourneyLogger, session.mSessionId, journey, originalUserId, in captureLogAndAssert()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java3622 @UserJourneyLogger.UserJourney int journey) {
3624 .finishAndClearIncompleteUserJourney(targetId, journey);
3628 "Starting a new journey: " + journey + " with session id: "
3640 .logUserJourneyBegin(targetId, journey);
3642 targetId, /* arg2= */ journey, newSession), USER_JOURNEY_TIMEOUT_MS);
/frameworks/proto_logging/stats/
Datoms.proto16715 * An event logged to indicate that a user journey is about to be performed. This atom includes
16716 * relevant information about the users involved in the journey. A UserLifecycleEventOccurred event
16728 // Indicates what type of user journey this session is related to
16730 UNKNOWN = 0; // Undefined user lifecycle journey
16731 USER_SWITCH_UI = 1; // A user switch journey where a UI is shown
16732 USER_SWITCH_FG = 2; // A user switch journey without a UI shown
16733 USER_START = 3; // A user start journey
16734 USER_CREATE = 4; // A user creation journey
16735 USER_STOP = 5; // A user stop journey
16736 USER_REMOVE = 6; // A user removal journey
[all …]