Define CUJ_BIOMETRIC_PROMPT in InteractionJankMonitor
Define instrument constant in InteractionJankMonitor TODO(b/232176881): Instrument in Biometric code in next CL. - AuthContainerView transit in : SHOW - AuthContainerView transit out : DISMISS - AuthCredentialView transit in : SHOW - AuthCredentialView transit out: DISMISS - AuthBiometricView transit(Biometric <-> PIN/Password/Pattern): TRANSIT Bug: 232176881 Test: atest SystemUITests Test: make and get perfetto trace Change-Id: I17fb2b5e00005c611efe2342abc30196ae4ccc31
This commit is contained in:
@@ -200,6 +200,7 @@ public class InteractionJankMonitor {
|
||||
public static final int CUJ_SETTINGS_SLIDER = 53;
|
||||
public static final int CUJ_TAKE_SCREENSHOT = 54;
|
||||
public static final int CUJ_VOLUME_CONTROL = 55;
|
||||
public static final int CUJ_BIOMETRIC_PROMPT_TRANSITION = 56;
|
||||
public static final int CUJ_SETTINGS_TOGGLE = 57;
|
||||
|
||||
private static final int NO_STATSD_LOGGING = -1;
|
||||
@@ -343,6 +344,7 @@ public class InteractionJankMonitor {
|
||||
CUJ_SETTINGS_SLIDER,
|
||||
CUJ_TAKE_SCREENSHOT,
|
||||
CUJ_VOLUME_CONTROL,
|
||||
CUJ_BIOMETRIC_PROMPT_TRANSITION,
|
||||
CUJ_SETTINGS_TOGGLE,
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@@ -774,6 +776,8 @@ public class InteractionJankMonitor {
|
||||
return "TAKE_SCREENSHOT";
|
||||
case CUJ_VOLUME_CONTROL:
|
||||
return "VOLUME_CONTROL";
|
||||
case CUJ_BIOMETRIC_PROMPT_TRANSITION:
|
||||
return "BIOMETRIC_PROMPT_TRANSITION";
|
||||
case CUJ_SETTINGS_TOGGLE:
|
||||
return "SETTINGS_TOGGLE";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user