xref: /aosp_15_r20/prebuilts/sdk/34/system/api/framework-permission-s.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.app.role {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public interface OnRoleHoldersChangedListener {
5*344a7f5eSAndroid Build Coastguard Worker    method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle);
6*344a7f5eSAndroid Build Coastguard Worker  }
7*344a7f5eSAndroid Build Coastguard Worker
8*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class RoleControllerService extends android.app.Service {
9*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public RoleControllerService();
10*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @WorkerThread public abstract boolean onAddRoleHolder(@NonNull String, @NonNull String, int);
11*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public final android.os.IBinder onBind(@Nullable android.content.Intent);
12*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @WorkerThread public abstract boolean onClearRoleHolders(@NonNull String, int);
13*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @WorkerThread public abstract boolean onGrantDefaultRoles();
14*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String);
15*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean onIsApplicationVisibleForRole(@NonNull String, @NonNull String);
16*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public abstract boolean onIsRoleVisible(@NonNull String);
17*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int);
18*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService";
19*344a7f5eSAndroid Build Coastguard Worker  }
20*344a7f5eSAndroid Build Coastguard Worker
21*344a7f5eSAndroid Build Coastguard Worker  public final class RoleManager {
22*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
23*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
24*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String);
25*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
26*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_DEFAULT_APPLICATIONS) public String getDefaultApplication(@NonNull String);
27*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String);
28*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHolders(@NonNull String);
29*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle);
30*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void isApplicationVisibleForRole(@NonNull String, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
31*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public boolean isBypassingRoleQualification();
32*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void isRoleVisible(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
33*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_ROLE_HOLDERS) public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
34*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
35*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String);
36*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.BYPASS_ROLE_QUALIFICATION) public void setBypassingRoleQualification(boolean);
37*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_DEFAULT_APPLICATIONS) public void setDefaultApplication(@NonNull String, @Nullable String, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
38*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>);
39*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1
40*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_DEVICE_POLICY_MANAGEMENT = "android.app.role.DEVICE_POLICY_MANAGEMENT";
41*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_FINANCED_DEVICE_KIOSK = "android.app.role.FINANCED_DEVICE_KIOSK";
42*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_SYSTEM_ACTIVITY_RECOGNIZER = "android.app.role.SYSTEM_ACTIVITY_RECOGNIZER";
43*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_SYSTEM_CALL_STREAMING = "android.app.role.SYSTEM_CALL_STREAMING";
44*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_SYSTEM_SUPERVISION = "android.app.role.SYSTEM_SUPERVISION";
45*344a7f5eSAndroid Build Coastguard Worker    field public static final String ROLE_SYSTEM_WELLBEING = "android.app.role.SYSTEM_WELLBEING";
46*344a7f5eSAndroid Build Coastguard Worker  }
47*344a7f5eSAndroid Build Coastguard Worker
48*344a7f5eSAndroid Build Coastguard Worker}
49*344a7f5eSAndroid Build Coastguard Worker
50*344a7f5eSAndroid Build Coastguard Workerpackage android.safetycenter {
51*344a7f5eSAndroid Build Coastguard Worker
52*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterData implements android.os.Parcelable {
53*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterData(@NonNull android.safetycenter.SafetyCenterStatus, @NonNull java.util.List<android.safetycenter.SafetyCenterIssue>, @NonNull java.util.List<android.safetycenter.SafetyCenterEntryOrGroup>, @NonNull java.util.List<android.safetycenter.SafetyCenterStaticEntryGroup>);
54*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
55*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterIssue> getDismissedIssues();
56*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterEntryOrGroup> getEntriesOrGroups();
57*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.Bundle getExtras();
58*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterIssue> getIssues();
59*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterStaticEntryGroup> getStaticEntryGroups();
60*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus getStatus();
61*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
62*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterData> CREATOR;
63*344a7f5eSAndroid Build Coastguard Worker  }
64*344a7f5eSAndroid Build Coastguard Worker
65*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterData.Builder {
66*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterStatus);
67*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterData);
68*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder addDismissedIssue(@NonNull android.safetycenter.SafetyCenterIssue);
69*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder addEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryOrGroup);
70*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder addIssue(@NonNull android.safetycenter.SafetyCenterIssue);
71*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder addStaticEntryGroup(@NonNull android.safetycenter.SafetyCenterStaticEntryGroup);
72*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData build();
73*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder clearDismissedIssues();
74*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder clearEntriesOrGroups();
75*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder clearExtras();
76*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder clearIssues();
77*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder clearStaticEntryGroups();
78*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterData.Builder setExtras(@NonNull android.os.Bundle);
79*344a7f5eSAndroid Build Coastguard Worker  }
80*344a7f5eSAndroid Build Coastguard Worker
81*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterEntry implements android.os.Parcelable {
82*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
83*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetyCenterEntry.IconAction getIconAction();
84*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
85*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PendingIntent getPendingIntent();
86*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
87*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityUnspecifiedIconType();
88*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSummary();
89*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
90*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEnabled();
91*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
92*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntry> CREATOR;
93*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENTRY_SEVERITY_LEVEL_CRITICAL_WARNING = 3400; // 0xd48
94*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENTRY_SEVERITY_LEVEL_OK = 3200; // 0xc80
95*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENTRY_SEVERITY_LEVEL_RECOMMENDATION = 3300; // 0xce4
96*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENTRY_SEVERITY_LEVEL_UNKNOWN = 3000; // 0xbb8
97*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENTRY_SEVERITY_LEVEL_UNSPECIFIED = 3100; // 0xc1c
98*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_NO_ICON = 0; // 0x0
99*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_NO_RECOMMENDATION = 2; // 0x2
100*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_UNSPECIFIED_ICON_TYPE_PRIVACY = 1; // 0x1
101*344a7f5eSAndroid Build Coastguard Worker  }
102*344a7f5eSAndroid Build Coastguard Worker
103*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterEntry.Builder {
104*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntry.Builder(@NonNull String, @NonNull CharSequence);
105*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntry.Builder(@NonNull android.safetycenter.SafetyCenterEntry);
106*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry build();
107*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setEnabled(boolean);
108*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setIconAction(@Nullable android.safetycenter.SafetyCenterEntry.IconAction);
109*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setIconAction(int, @NonNull android.app.PendingIntent);
110*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setId(@NonNull String);
111*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setPendingIntent(@Nullable android.app.PendingIntent);
112*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSeverityLevel(int);
113*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSeverityUnspecifiedIconType(int);
114*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setSummary(@Nullable CharSequence);
115*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntry.Builder setTitle(@NonNull CharSequence);
116*344a7f5eSAndroid Build Coastguard Worker  }
117*344a7f5eSAndroid Build Coastguard Worker
118*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterEntry.IconAction implements android.os.Parcelable {
119*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntry.IconAction(int, @NonNull android.app.PendingIntent);
120*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
121*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.PendingIntent getPendingIntent();
122*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
123*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
124*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntry.IconAction> CREATOR;
125*344a7f5eSAndroid Build Coastguard Worker    field public static final int ICON_ACTION_TYPE_GEAR = 30100; // 0x7594
126*344a7f5eSAndroid Build Coastguard Worker    field public static final int ICON_ACTION_TYPE_INFO = 30200; // 0x75f8
127*344a7f5eSAndroid Build Coastguard Worker  }
128*344a7f5eSAndroid Build Coastguard Worker
129*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterEntryGroup implements android.os.Parcelable {
130*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
131*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterEntry> getEntries();
132*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
133*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
134*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityUnspecifiedIconType();
135*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSummary();
136*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
137*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
138*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntryGroup> CREATOR;
139*344a7f5eSAndroid Build Coastguard Worker  }
140*344a7f5eSAndroid Build Coastguard Worker
141*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterEntryGroup.Builder {
142*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntryGroup.Builder(@NonNull String, @NonNull CharSequence);
143*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntryGroup.Builder(@NonNull android.safetycenter.SafetyCenterEntryGroup);
144*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup build();
145*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setEntries(@NonNull java.util.List<android.safetycenter.SafetyCenterEntry>);
146*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setId(@NonNull String);
147*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityLevel(int);
148*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityUnspecifiedIconType(int);
149*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSummary(@Nullable CharSequence);
150*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setTitle(@NonNull CharSequence);
151*344a7f5eSAndroid Build Coastguard Worker  }
152*344a7f5eSAndroid Build Coastguard Worker
153*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterEntryOrGroup implements android.os.Parcelable {
154*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntry);
155*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryGroup);
156*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
157*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetyCenterEntry getEntry();
158*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetyCenterEntryGroup getEntryGroup();
159*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
160*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntryOrGroup> CREATOR;
161*344a7f5eSAndroid Build Coastguard Worker  }
162*344a7f5eSAndroid Build Coastguard Worker
163*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterErrorDetails implements android.os.Parcelable {
164*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterErrorDetails(@NonNull CharSequence);
165*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
166*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getErrorMessage();
167*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
168*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterErrorDetails> CREATOR;
169*344a7f5eSAndroid Build Coastguard Worker  }
170*344a7f5eSAndroid Build Coastguard Worker
171*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterIssue implements android.os.Parcelable {
172*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
173*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterIssue.Action> getActions();
174*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getAttributionTitle();
175*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getGroupId();
176*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
177*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
178*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSubtitle();
179*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getSummary();
180*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
181*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDismissible();
182*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldConfirmDismissal();
183*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
184*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterIssue> CREATOR;
185*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_SEVERITY_LEVEL_CRITICAL_WARNING = 2300; // 0x8fc
186*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_SEVERITY_LEVEL_OK = 2100; // 0x834
187*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_SEVERITY_LEVEL_RECOMMENDATION = 2200; // 0x898
188*344a7f5eSAndroid Build Coastguard Worker  }
189*344a7f5eSAndroid Build Coastguard Worker
190*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterIssue.Action implements android.os.Parcelable {
191*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
192*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetyCenterIssue.Action.ConfirmationDialogDetails getConfirmationDialogDetails();
193*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
194*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getLabel();
195*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.PendingIntent getPendingIntent();
196*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSuccessMessage();
197*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInFlight();
198*344a7f5eSAndroid Build Coastguard Worker    method public boolean willResolve();
199*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
200*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterIssue.Action> CREATOR;
201*344a7f5eSAndroid Build Coastguard Worker  }
202*344a7f5eSAndroid Build Coastguard Worker
203*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterIssue.Action.Builder {
204*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterIssue.Action.Builder(@NonNull String, @NonNull CharSequence, @NonNull android.app.PendingIntent);
205*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterIssue.Action.Builder(@NonNull android.safetycenter.SafetyCenterIssue.Action);
206*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action build();
207*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setConfirmationDialogDetails(@Nullable android.safetycenter.SafetyCenterIssue.Action.ConfirmationDialogDetails);
208*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setId(@NonNull String);
209*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setIsInFlight(boolean);
210*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setLabel(@NonNull CharSequence);
211*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setPendingIntent(@NonNull android.app.PendingIntent);
212*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setSuccessMessage(@Nullable CharSequence);
213*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Action.Builder setWillResolve(boolean);
214*344a7f5eSAndroid Build Coastguard Worker  }
215*344a7f5eSAndroid Build Coastguard Worker
216*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterIssue.Action.ConfirmationDialogDetails implements android.os.Parcelable {
217*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterIssue.Action.ConfirmationDialogDetails(@NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence);
218*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
219*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getAcceptButtonText();
220*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getDenyButtonText();
221*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getText();
222*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
223*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
224*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterIssue.Action.ConfirmationDialogDetails> CREATOR;
225*344a7f5eSAndroid Build Coastguard Worker  }
226*344a7f5eSAndroid Build Coastguard Worker
227*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterIssue.Builder {
228*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterIssue.Builder(@NonNull String, @NonNull CharSequence, @NonNull CharSequence);
229*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterIssue.Builder(@NonNull android.safetycenter.SafetyCenterIssue);
230*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue build();
231*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setActions(@NonNull java.util.List<android.safetycenter.SafetyCenterIssue.Action>);
232*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setAttributionTitle(@Nullable CharSequence);
233*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setDismissible(boolean);
234*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setGroupId(@Nullable String);
235*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setId(@NonNull String);
236*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSeverityLevel(int);
237*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setShouldConfirmDismissal(boolean);
238*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSubtitle(@Nullable CharSequence);
239*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setSummary(@NonNull CharSequence);
240*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterIssue.Builder setTitle(@NonNull CharSequence);
241*344a7f5eSAndroid Build Coastguard Worker  }
242*344a7f5eSAndroid Build Coastguard Worker
243*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterManager {
244*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void addOnSafetyCenterDataChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.safetycenter.SafetyCenterManager.OnSafetyCenterDataChangedListener);
245*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void clearAllSafetySourceDataForTests();
246*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void clearSafetyCenterConfigForTests();
247*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void dismissSafetyCenterIssue(@NonNull String);
248*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void executeSafetyCenterIssueAction(@NonNull String, @NonNull String);
249*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public android.safetycenter.config.SafetyCenterConfig getSafetyCenterConfig();
250*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public android.safetycenter.SafetyCenterData getSafetyCenterData();
251*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public android.safetycenter.SafetySourceData getSafetySourceData(@NonNull String);
252*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.READ_SAFETY_CENTER_STATUS, android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE}) public boolean isSafetyCenterEnabled();
253*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void refreshSafetySources(int);
254*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void refreshSafetySources(int, @NonNull java.util.List<java.lang.String>);
255*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void removeOnSafetyCenterDataChangedListener(@NonNull android.safetycenter.SafetyCenterManager.OnSafetyCenterDataChangedListener);
256*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public void reportSafetySourceError(@NonNull String, @NonNull android.safetycenter.SafetySourceErrorDetails);
257*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SAFETY_CENTER) public void setSafetyCenterConfigForTests(@NonNull android.safetycenter.config.SafetyCenterConfig);
258*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SEND_SAFETY_CENTER_UPDATE) public void setSafetySourceData(@NonNull String, @Nullable android.safetycenter.SafetySourceData, @NonNull android.safetycenter.SafetyEvent);
259*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_REFRESH_SAFETY_SOURCES = "android.safetycenter.action.REFRESH_SAFETY_SOURCES";
260*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_SAFETY_CENTER_ENABLED_CHANGED = "android.safetycenter.action.SAFETY_CENTER_ENABLED_CHANGED";
261*344a7f5eSAndroid Build Coastguard Worker    field public static final int EXTRA_REFRESH_REQUEST_TYPE_FETCH_FRESH_DATA = 0; // 0x0
262*344a7f5eSAndroid Build Coastguard Worker    field public static final int EXTRA_REFRESH_REQUEST_TYPE_GET_DATA = 1; // 0x1
263*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_REFRESH_SAFETY_SOURCES_BROADCAST_ID = "android.safetycenter.extra.REFRESH_SAFETY_SOURCES_BROADCAST_ID";
264*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_REFRESH_SAFETY_SOURCES_REQUEST_TYPE = "android.safetycenter.extra.REFRESH_SAFETY_SOURCES_REQUEST_TYPE";
265*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_REFRESH_SAFETY_SOURCE_IDS = "android.safetycenter.extra.REFRESH_SAFETY_SOURCE_IDS";
266*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_SAFETY_SOURCES_GROUP_ID = "android.safetycenter.extra.SAFETY_SOURCES_GROUP_ID";
267*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_SAFETY_SOURCE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ID";
268*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_SAFETY_SOURCE_ISSUE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ISSUE_ID";
269*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_SAFETY_SOURCE_USER_HANDLE = "android.safetycenter.extra.SAFETY_SOURCE_USER_HANDLE";
270*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_DEVICE_LOCALE_CHANGE = 400; // 0x190
271*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_DEVICE_REBOOT = 300; // 0x12c
272*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_OTHER = 600; // 0x258
273*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_PAGE_OPEN = 100; // 0x64
274*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_PERIODIC = 700; // 0x2bc
275*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_RESCAN_BUTTON_CLICK = 200; // 0xc8
276*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_REASON_SAFETY_CENTER_ENABLED = 500; // 0x1f4
277*344a7f5eSAndroid Build Coastguard Worker  }
278*344a7f5eSAndroid Build Coastguard Worker
279*344a7f5eSAndroid Build Coastguard Worker  public static interface SafetyCenterManager.OnSafetyCenterDataChangedListener {
280*344a7f5eSAndroid Build Coastguard Worker    method public default void onError(@NonNull android.safetycenter.SafetyCenterErrorDetails);
281*344a7f5eSAndroid Build Coastguard Worker    method public void onSafetyCenterDataChanged(@NonNull android.safetycenter.SafetyCenterData);
282*344a7f5eSAndroid Build Coastguard Worker  }
283*344a7f5eSAndroid Build Coastguard Worker
284*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterStaticEntry implements android.os.Parcelable {
285*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
286*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PendingIntent getPendingIntent();
287*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSummary();
288*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
289*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
290*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterStaticEntry> CREATOR;
291*344a7f5eSAndroid Build Coastguard Worker  }
292*344a7f5eSAndroid Build Coastguard Worker
293*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterStaticEntry.Builder {
294*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterStaticEntry.Builder(@NonNull CharSequence);
295*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterStaticEntry.Builder(@NonNull android.safetycenter.SafetyCenterStaticEntry);
296*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStaticEntry build();
297*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setPendingIntent(@Nullable android.app.PendingIntent);
298*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setSummary(@Nullable CharSequence);
299*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStaticEntry.Builder setTitle(@NonNull CharSequence);
300*344a7f5eSAndroid Build Coastguard Worker  }
301*344a7f5eSAndroid Build Coastguard Worker
302*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterStaticEntryGroup implements android.os.Parcelable {
303*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterStaticEntryGroup(@NonNull CharSequence, @NonNull java.util.List<android.safetycenter.SafetyCenterStaticEntry>);
304*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
305*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetyCenterStaticEntry> getStaticEntries();
306*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
307*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
308*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterStaticEntryGroup> CREATOR;
309*344a7f5eSAndroid Build Coastguard Worker  }
310*344a7f5eSAndroid Build Coastguard Worker
311*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterStatus implements android.os.Parcelable {
312*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
313*344a7f5eSAndroid Build Coastguard Worker    method public int getRefreshStatus();
314*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
315*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getSummary();
316*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
317*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
318*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterStatus> CREATOR;
319*344a7f5eSAndroid Build Coastguard Worker    field public static final int OVERALL_SEVERITY_LEVEL_CRITICAL_WARNING = 1300; // 0x514
320*344a7f5eSAndroid Build Coastguard Worker    field public static final int OVERALL_SEVERITY_LEVEL_OK = 1100; // 0x44c
321*344a7f5eSAndroid Build Coastguard Worker    field public static final int OVERALL_SEVERITY_LEVEL_RECOMMENDATION = 1200; // 0x4b0
322*344a7f5eSAndroid Build Coastguard Worker    field public static final int OVERALL_SEVERITY_LEVEL_UNKNOWN = 1000; // 0x3e8
323*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_STATUS_DATA_FETCH_IN_PROGRESS = 10100; // 0x2774
324*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS = 10200; // 0x27d8
325*344a7f5eSAndroid Build Coastguard Worker    field public static final int REFRESH_STATUS_NONE = 0; // 0x0
326*344a7f5eSAndroid Build Coastguard Worker  }
327*344a7f5eSAndroid Build Coastguard Worker
328*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterStatus.Builder {
329*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterStatus.Builder(@NonNull CharSequence, @NonNull CharSequence);
330*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterStatus.Builder(@NonNull android.safetycenter.SafetyCenterStatus);
331*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus build();
332*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setRefreshStatus(int);
333*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setSeverityLevel(int);
334*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setSummary(@NonNull CharSequence);
335*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyCenterStatus.Builder setTitle(@NonNull CharSequence);
336*344a7f5eSAndroid Build Coastguard Worker  }
337*344a7f5eSAndroid Build Coastguard Worker
338*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyEvent implements android.os.Parcelable {
339*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
340*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getRefreshBroadcastId();
341*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getSafetySourceIssueActionId();
342*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getSafetySourceIssueId();
343*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
344*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
345*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetyEvent> CREATOR;
346*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_DEVICE_LOCALE_CHANGED = 500; // 0x1f4
347*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_DEVICE_REBOOTED = 600; // 0x258
348*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_REFRESH_REQUESTED = 200; // 0xc8
349*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_RESOLVING_ACTION_FAILED = 400; // 0x190
350*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_RESOLVING_ACTION_SUCCEEDED = 300; // 0x12c
351*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_EVENT_TYPE_SOURCE_STATE_CHANGED = 100; // 0x64
352*344a7f5eSAndroid Build Coastguard Worker  }
353*344a7f5eSAndroid Build Coastguard Worker
354*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyEvent.Builder {
355*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyEvent.Builder(int);
356*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyEvent.Builder(@NonNull android.safetycenter.SafetyEvent);
357*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyEvent build();
358*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyEvent.Builder setRefreshBroadcastId(@Nullable String);
359*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyEvent.Builder setSafetySourceIssueActionId(@Nullable String);
360*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyEvent.Builder setSafetySourceIssueId(@Nullable String);
361*344a7f5eSAndroid Build Coastguard Worker  }
362*344a7f5eSAndroid Build Coastguard Worker
363*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySourceData implements android.os.Parcelable {
364*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
365*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.Bundle getExtras();
366*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetySourceIssue> getIssues();
367*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetySourceStatus getStatus();
368*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
369*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceData> CREATOR;
370*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_LEVEL_CRITICAL_WARNING = 400; // 0x190
371*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_LEVEL_INFORMATION = 200; // 0xc8
372*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_LEVEL_RECOMMENDATION = 300; // 0x12c
373*344a7f5eSAndroid Build Coastguard Worker    field public static final int SEVERITY_LEVEL_UNSPECIFIED = 100; // 0x64
374*344a7f5eSAndroid Build Coastguard Worker  }
375*344a7f5eSAndroid Build Coastguard Worker
376*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceData.Builder {
377*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceData.Builder();
378*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceData.Builder(@NonNull android.safetycenter.SafetySourceData);
379*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData.Builder addIssue(@NonNull android.safetycenter.SafetySourceIssue);
380*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData build();
381*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData.Builder clearExtras();
382*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData.Builder clearIssues();
383*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData.Builder setExtras(@NonNull android.os.Bundle);
384*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceData.Builder setStatus(@Nullable android.safetycenter.SafetySourceStatus);
385*344a7f5eSAndroid Build Coastguard Worker  }
386*344a7f5eSAndroid Build Coastguard Worker
387*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySourceErrorDetails implements android.os.Parcelable {
388*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceErrorDetails(@NonNull android.safetycenter.SafetyEvent);
389*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
390*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetyEvent getSafetyEvent();
391*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
392*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceErrorDetails> CREATOR;
393*344a7f5eSAndroid Build Coastguard Worker  }
394*344a7f5eSAndroid Build Coastguard Worker
395*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySourceIssue implements android.os.Parcelable {
396*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
397*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetySourceIssue.Action> getActions();
398*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getAttributionTitle();
399*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetySourceIssue.Notification getCustomNotification();
400*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getDeduplicationId();
401*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
402*344a7f5eSAndroid Build Coastguard Worker    method public int getIssueActionability();
403*344a7f5eSAndroid Build Coastguard Worker    method public int getIssueCategory();
404*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getIssueTypeId();
405*344a7f5eSAndroid Build Coastguard Worker    method public int getNotificationBehavior();
406*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PendingIntent getOnDismissPendingIntent();
407*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
408*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSubtitle();
409*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getSummary();
410*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
411*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
412*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceIssue> CREATOR;
413*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_ACTIONABILITY_AUTOMATIC = 200; // 0xc8
414*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_ACTIONABILITY_MANUAL = 0; // 0x0
415*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_ACTIONABILITY_TIP = 100; // 0x64
416*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_ACCOUNT = 200; // 0xc8
417*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_DATA = 400; // 0x190
418*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_DEVICE = 100; // 0x64
419*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_GENERAL = 300; // 0x12c
420*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_PASSWORDS = 500; // 0x1f4
421*344a7f5eSAndroid Build Coastguard Worker    field public static final int ISSUE_CATEGORY_PERSONAL_SAFETY = 600; // 0x258
422*344a7f5eSAndroid Build Coastguard Worker    field public static final int NOTIFICATION_BEHAVIOR_DELAYED = 200; // 0xc8
423*344a7f5eSAndroid Build Coastguard Worker    field public static final int NOTIFICATION_BEHAVIOR_IMMEDIATELY = 300; // 0x12c
424*344a7f5eSAndroid Build Coastguard Worker    field public static final int NOTIFICATION_BEHAVIOR_NEVER = 100; // 0x64
425*344a7f5eSAndroid Build Coastguard Worker    field public static final int NOTIFICATION_BEHAVIOR_UNSPECIFIED = 0; // 0x0
426*344a7f5eSAndroid Build Coastguard Worker  }
427*344a7f5eSAndroid Build Coastguard Worker
428*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Action implements android.os.Parcelable {
429*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
430*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetySourceIssue.Action.ConfirmationDialogDetails getConfirmationDialogDetails();
431*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
432*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getLabel();
433*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.PendingIntent getPendingIntent();
434*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSuccessMessage();
435*344a7f5eSAndroid Build Coastguard Worker    method public boolean willResolve();
436*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
437*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceIssue.Action> CREATOR;
438*344a7f5eSAndroid Build Coastguard Worker  }
439*344a7f5eSAndroid Build Coastguard Worker
440*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Action.Builder {
441*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Action.Builder(@NonNull String, @NonNull CharSequence, @NonNull android.app.PendingIntent);
442*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Action.Builder(@NonNull android.safetycenter.SafetySourceIssue.Action);
443*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Action build();
444*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setConfirmationDialogDetails(@Nullable android.safetycenter.SafetySourceIssue.Action.ConfirmationDialogDetails);
445*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setSuccessMessage(@Nullable CharSequence);
446*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Action.Builder setWillResolve(boolean);
447*344a7f5eSAndroid Build Coastguard Worker  }
448*344a7f5eSAndroid Build Coastguard Worker
449*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Action.ConfirmationDialogDetails implements android.os.Parcelable {
450*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Action.ConfirmationDialogDetails(@NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence, @NonNull CharSequence);
451*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
452*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getAcceptButtonText();
453*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getDenyButtonText();
454*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getText();
455*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
456*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
457*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceIssue.Action.ConfirmationDialogDetails> CREATOR;
458*344a7f5eSAndroid Build Coastguard Worker  }
459*344a7f5eSAndroid Build Coastguard Worker
460*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Builder {
461*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Builder(@NonNull String, @NonNull CharSequence, @NonNull CharSequence, int, @NonNull String);
462*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Builder(@NonNull android.safetycenter.SafetySourceIssue);
463*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder addAction(@NonNull android.safetycenter.SafetySourceIssue.Action);
464*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue build();
465*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder clearActions();
466*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setAttributionTitle(@Nullable CharSequence);
467*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setCustomNotification(@Nullable android.safetycenter.SafetySourceIssue.Notification);
468*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setDeduplicationId(@Nullable String);
469*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setIssueActionability(int);
470*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setIssueCategory(int);
471*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setNotificationBehavior(int);
472*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setOnDismissPendingIntent(@Nullable android.app.PendingIntent);
473*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Builder setSubtitle(@Nullable CharSequence);
474*344a7f5eSAndroid Build Coastguard Worker  }
475*344a7f5eSAndroid Build Coastguard Worker
476*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Notification implements android.os.Parcelable {
477*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
478*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.SafetySourceIssue.Action> getActions();
479*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getText();
480*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
481*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
482*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceIssue.Notification> CREATOR;
483*344a7f5eSAndroid Build Coastguard Worker  }
484*344a7f5eSAndroid Build Coastguard Worker
485*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceIssue.Notification.Builder {
486*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Notification.Builder(@NonNull CharSequence, @NonNull CharSequence);
487*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceIssue.Notification.Builder(@NonNull android.safetycenter.SafetySourceIssue.Notification);
488*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder addAction(@NonNull android.safetycenter.SafetySourceIssue.Action);
489*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder addActions(@NonNull java.util.List<android.safetycenter.SafetySourceIssue.Action>);
490*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Notification build();
491*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceIssue.Notification.Builder clearActions();
492*344a7f5eSAndroid Build Coastguard Worker  }
493*344a7f5eSAndroid Build Coastguard Worker
494*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySourceStatus implements android.os.Parcelable {
495*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
496*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.safetycenter.SafetySourceStatus.IconAction getIconAction();
497*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PendingIntent getPendingIntent();
498*344a7f5eSAndroid Build Coastguard Worker    method public int getSeverityLevel();
499*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getSummary();
500*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getTitle();
501*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEnabled();
502*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
503*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceStatus> CREATOR;
504*344a7f5eSAndroid Build Coastguard Worker  }
505*344a7f5eSAndroid Build Coastguard Worker
506*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceStatus.Builder {
507*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceStatus.Builder(@NonNull CharSequence, @NonNull CharSequence, int);
508*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceStatus.Builder(@NonNull android.safetycenter.SafetySourceStatus);
509*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceStatus build();
510*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceStatus.Builder setEnabled(boolean);
511*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceStatus.Builder setIconAction(@Nullable android.safetycenter.SafetySourceStatus.IconAction);
512*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.SafetySourceStatus.Builder setPendingIntent(@Nullable android.app.PendingIntent);
513*344a7f5eSAndroid Build Coastguard Worker  }
514*344a7f5eSAndroid Build Coastguard Worker
515*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourceStatus.IconAction implements android.os.Parcelable {
516*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourceStatus.IconAction(int, @NonNull android.app.PendingIntent);
517*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
518*344a7f5eSAndroid Build Coastguard Worker    method public int getIconType();
519*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.PendingIntent getPendingIntent();
520*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
521*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceStatus.IconAction> CREATOR;
522*344a7f5eSAndroid Build Coastguard Worker    field public static final int ICON_TYPE_GEAR = 100; // 0x64
523*344a7f5eSAndroid Build Coastguard Worker    field public static final int ICON_TYPE_INFO = 200; // 0xc8
524*344a7f5eSAndroid Build Coastguard Worker  }
525*344a7f5eSAndroid Build Coastguard Worker
526*344a7f5eSAndroid Build Coastguard Worker}
527*344a7f5eSAndroid Build Coastguard Worker
528*344a7f5eSAndroid Build Coastguard Workerpackage android.safetycenter.config {
529*344a7f5eSAndroid Build Coastguard Worker
530*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterConfig implements android.os.Parcelable {
531*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
532*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.config.SafetySourcesGroup> getSafetySourcesGroups();
533*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
534*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.config.SafetyCenterConfig> CREATOR;
535*344a7f5eSAndroid Build Coastguard Worker  }
536*344a7f5eSAndroid Build Coastguard Worker
537*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetyCenterConfig.Builder {
538*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterConfig.Builder();
539*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetyCenterConfig.Builder(@NonNull android.safetycenter.config.SafetyCenterConfig);
540*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetyCenterConfig.Builder addSafetySourcesGroup(@NonNull android.safetycenter.config.SafetySourcesGroup);
541*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetyCenterConfig build();
542*344a7f5eSAndroid Build Coastguard Worker  }
543*344a7f5eSAndroid Build Coastguard Worker
544*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySource implements android.os.Parcelable {
545*344a7f5eSAndroid Build Coastguard Worker    method public boolean areNotificationsAllowed();
546*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
547*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getDeduplicationGroup();
548*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
549*344a7f5eSAndroid Build Coastguard Worker    method public int getInitialDisplayState();
550*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getIntentAction();
551*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxSeverityLevel();
552*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getOptionalPackageName();
553*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getPackageCertificateHashes();
554*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPackageName();
555*344a7f5eSAndroid Build Coastguard Worker    method public int getProfile();
556*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getSearchTermsResId();
557*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getSummaryResId();
558*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getTitleForWorkResId();
559*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getTitleResId();
560*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
561*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLoggingAllowed();
562*344a7f5eSAndroid Build Coastguard Worker    method public boolean isRefreshOnPageOpenAllowed();
563*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
564*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.config.SafetySource> CREATOR;
565*344a7f5eSAndroid Build Coastguard Worker    field public static final int INITIAL_DISPLAY_STATE_DISABLED = 1; // 0x1
566*344a7f5eSAndroid Build Coastguard Worker    field public static final int INITIAL_DISPLAY_STATE_ENABLED = 0; // 0x0
567*344a7f5eSAndroid Build Coastguard Worker    field public static final int INITIAL_DISPLAY_STATE_HIDDEN = 2; // 0x2
568*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROFILE_ALL = 2; // 0x2
569*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROFILE_NONE = 0; // 0x0
570*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROFILE_PRIMARY = 1; // 0x1
571*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCE_TYPE_DYNAMIC = 2; // 0x2
572*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCE_TYPE_ISSUE_ONLY = 3; // 0x3
573*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCE_TYPE_STATIC = 1; // 0x1
574*344a7f5eSAndroid Build Coastguard Worker  }
575*344a7f5eSAndroid Build Coastguard Worker
576*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySource.Builder {
577*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySource.Builder(int);
578*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySource.Builder(@NonNull android.safetycenter.config.SafetySource);
579*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder addPackageCertificateHash(@NonNull String);
580*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource build();
581*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setDeduplicationGroup(@Nullable String);
582*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setId(@Nullable String);
583*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setInitialDisplayState(int);
584*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setIntentAction(@Nullable String);
585*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setLoggingAllowed(boolean);
586*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setMaxSeverityLevel(int);
587*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setNotificationsAllowed(boolean);
588*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setPackageName(@Nullable String);
589*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setProfile(int);
590*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setRefreshOnPageOpenAllowed(boolean);
591*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setSearchTermsResId(@StringRes int);
592*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setSummaryResId(@StringRes int);
593*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setTitleForWorkResId(@StringRes int);
594*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySource.Builder setTitleResId(@StringRes int);
595*344a7f5eSAndroid Build Coastguard Worker  }
596*344a7f5eSAndroid Build Coastguard Worker
597*344a7f5eSAndroid Build Coastguard Worker  public final class SafetySourcesGroup implements android.os.Parcelable {
598*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
599*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getId();
600*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.safetycenter.config.SafetySource> getSafetySources();
601*344a7f5eSAndroid Build Coastguard Worker    method public int getStatelessIconType();
602*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getSummaryResId();
603*344a7f5eSAndroid Build Coastguard Worker    method @StringRes public int getTitleResId();
604*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
605*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
606*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.safetycenter.config.SafetySourcesGroup> CREATOR;
607*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int SAFETY_SOURCES_GROUP_TYPE_COLLAPSIBLE = 0; // 0x0
608*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCES_GROUP_TYPE_HIDDEN = 2; // 0x2
609*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int SAFETY_SOURCES_GROUP_TYPE_RIGID = 1; // 0x1
610*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCES_GROUP_TYPE_STATEFUL = 0; // 0x0
611*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_SOURCES_GROUP_TYPE_STATELESS = 1; // 0x1
612*344a7f5eSAndroid Build Coastguard Worker    field public static final int STATELESS_ICON_TYPE_NONE = 0; // 0x0
613*344a7f5eSAndroid Build Coastguard Worker    field public static final int STATELESS_ICON_TYPE_PRIVACY = 1; // 0x1
614*344a7f5eSAndroid Build Coastguard Worker  }
615*344a7f5eSAndroid Build Coastguard Worker
616*344a7f5eSAndroid Build Coastguard Worker  public static final class SafetySourcesGroup.Builder {
617*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourcesGroup.Builder();
618*344a7f5eSAndroid Build Coastguard Worker    ctor public SafetySourcesGroup.Builder(@NonNull android.safetycenter.config.SafetySourcesGroup);
619*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder addSafetySource(@NonNull android.safetycenter.config.SafetySource);
620*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup build();
621*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setId(@Nullable String);
622*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setStatelessIconType(int);
623*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setSummaryResId(@StringRes int);
624*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setTitleResId(@StringRes int);
625*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setType(int);
626*344a7f5eSAndroid Build Coastguard Worker  }
627*344a7f5eSAndroid Build Coastguard Worker
628*344a7f5eSAndroid Build Coastguard Worker}
629*344a7f5eSAndroid Build Coastguard Worker
630*344a7f5eSAndroid Build Coastguard Workerpackage android.safetylabel {
631*344a7f5eSAndroid Build Coastguard Worker
632*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyLabelConstants {
633*344a7f5eSAndroid Build Coastguard Worker    field public static final String PERMISSION_RATIONALE_ENABLED = "permission_rationale_enabled";
634*344a7f5eSAndroid Build Coastguard Worker    field public static final String SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED = "safety_label_change_notifications_enabled";
635*344a7f5eSAndroid Build Coastguard Worker  }
636*344a7f5eSAndroid Build Coastguard Worker
637*344a7f5eSAndroid Build Coastguard Worker}
638*344a7f5eSAndroid Build Coastguard Worker
639