Home
last modified time | relevance | path

Searched refs:SafetyCenterEntryOrGroup (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterEntryOrGroup.java41 public final class SafetyCenterEntryOrGroup implements Parcelable { class
44 public static final Creator<SafetyCenterEntryOrGroup> CREATOR =
45 new Creator<SafetyCenterEntryOrGroup>() {
47 public SafetyCenterEntryOrGroup createFromParcel(Parcel in) {
52 ? new SafetyCenterEntryOrGroup(maybeEntry)
53 : new SafetyCenterEntryOrGroup(maybeEntryGroup);
57 public SafetyCenterEntryOrGroup[] newArray(int size) {
58 return new SafetyCenterEntryOrGroup[size];
66 public SafetyCenterEntryOrGroup(@NonNull SafetyCenterEntry entry) { in SafetyCenterEntryOrGroup() method in SafetyCenterEntryOrGroup
72 public SafetyCenterEntryOrGroup(@NonNull SafetyCenterEntryGroup entryGroup) { in SafetyCenterEntryOrGroup() method in SafetyCenterEntryOrGroup
[all …]
DSafetyCenterData.java73 List<SafetyCenterEntryOrGroup> entryOrGroups =
74 in.createTypedArrayList(SafetyCenterEntryOrGroup.CREATOR);
113 @NonNull private final List<SafetyCenterEntryOrGroup> mEntriesOrGroups;
122 @NonNull List<SafetyCenterEntryOrGroup> entriesOrGroups, in SafetyCenterData()
135 @NonNull List<SafetyCenterEntryOrGroup> entriesOrGroups, in SafetyCenterData()
164 public List<SafetyCenterEntryOrGroup> getEntriesOrGroups() { in getEntriesOrGroups()
366 @NonNull private final List<SafetyCenterEntryOrGroup> mEntriesOrGroups = new ArrayList<>();
408 @NonNull SafetyCenterEntryOrGroup safetyCenterEntryOrGroup) { in addEntryOrGroup()
496 List<SafetyCenterEntryOrGroup> entriesOrGroups = in build()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterEntryOrGroupTest.kt24 import android.safetycenter.SafetyCenterEntryOrGroup
65 private val entryOrGroupWithEntry = SafetyCenterEntryOrGroup(entry1)
66 private val entryOrGroupWithGroup = SafetyCenterEntryOrGroup(entryGroup1)
96 assertThat(entryOrGroupWithEntry).recreatesEqual(SafetyCenterEntryOrGroup.CREATOR) in parcelRoundTrip_recreatesEqual()
97 assertThat(entryOrGroupWithGroup).recreatesEqual(SafetyCenterEntryOrGroup.CREATOR) in parcelRoundTrip_recreatesEqual()
103 parcelableCreator = SafetyCenterEntryOrGroup.CREATOR in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
105 .addEqualityGroup(entryOrGroupWithEntry, SafetyCenterEntryOrGroup(entry1)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
106 .addEqualityGroup(entryOrGroupWithGroup, SafetyCenterEntryOrGroup(entryGroup1)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
107 .addEqualityGroup(SafetyCenterEntryOrGroup(entry2)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
108 .addEqualityGroup(SafetyCenterEntryOrGroup(entryGroup2)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterDataTest.kt27 import android.safetycenter.SafetyCenterEntryOrGroup
91 private val entryOrGroup1 = SafetyCenterEntryOrGroup(entry1)
92 private val entryOrGroup2 = SafetyCenterEntryOrGroup(entryGroup1)
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt35 import android.safetycenter.SafetyCenterEntryOrGroup
377 SafetyCenterEntryOrGroup( in createStaticEntry()
580 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig()
592 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig()
621 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig()
639 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig()
676 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithPrimaryDataProvided_returnsPrimaryDataProvided()
693 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithPrimaryDataProvided_returnsPrimaryDataProvided()
785 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithExtraWorkOnlyWithAllDataProvided_returnsAllDataProvided()
803 SafetyCenterEntryOrGroup( in getSafetyCenterData_withComplexConfigWithExtraWorkOnlyWithAllDataProvided_returnsAllDataProvided()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt23 import android.safetycenter.SafetyCenterEntryOrGroup
46 val entryOrGroups: List<SafetyCenterEntryOrGroup> = safetyCenterData.entriesOrGroups in getMatchingGroup()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt37 import android.safetycenter.SafetyCenterEntryOrGroup in <lambda>()
306 private val safetyCenterEntryOrGroupRecommendation: SafetyCenterEntryOrGroup in <lambda>()
308 SafetyCenterEntryOrGroup( in <lambda>()
312 private val safetyCenterEntryOrGroupCritical: SafetyCenterEntryOrGroup in <lambda>()
314 SafetyCenterEntryOrGroup( in <lambda>()
318 private val safetyCenterEntryGroupMixedFromComplexConfig: SafetyCenterEntryOrGroup in <lambda>()
320 SafetyCenterEntryOrGroup( in <lambda>()
424 SafetyCenterEntryOrGroup( in <lambda>()
437 SafetyCenterEntryOrGroup( in <lambda>()
450 SafetyCenterEntryOrGroup( in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterDashboardFragment.java37 import android.safetycenter.SafetyCenterEntryOrGroup;
237 Context context, List<SafetyCenterEntryOrGroup> entriesOrGroups) { in updateSafetyEntries()
241 SafetyCenterEntryOrGroup entryOrGroup = entriesOrGroups.get(i); in updateSafetyEntries()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt37 import android.safetycenter.SafetyCenterEntryOrGroup in <lambda>()
322 private val SafetyCenterManager.safetyEntriesOrGroups: Sequence<SafetyCenterEntryOrGroup> in <lambda>()
328 private val SafetyCenterEntryOrGroup.entries: Sequence<SafetyCenterEntry> in <lambda>() constant
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DSafetyCenterUiDataTest.kt23 import android.safetycenter.SafetyCenterEntryOrGroup
270 builder.addEntryOrGroup(SafetyCenterEntryOrGroup(group)) in createSafetyCenterData()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java41 import android.safetycenter.SafetyCenterEntryOrGroup;
156 List<SafetyCenterEntryOrGroup> safetyCenterEntryOrGroups = new ArrayList<>(); in assembleSafetyCenterData()
387 List<SafetyCenterEntryOrGroup> safetyCenterEntryOrGroups, in addSafetyCenterEntryGroup()
433 safetyCenterEntryOrGroups.add(new SafetyCenterEntryOrGroup(entries.get(0))); in addSafetyCenterEntryGroup()
441 new SafetyCenterEntryOrGroup( in addSafetyCenterEntryGroup()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt69 …afetyCenterIssue>, @NonNull java.util.List<android.safetycenter.SafetyCenterEntryOrGroup>, @NonNul…
72 …method @NonNull public java.util.List<android.safetycenter.SafetyCenterEntryOrGroup> getEntriesOrG…
85 …r.SafetyCenterData.Builder addEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryOrGroup);
169 public final class SafetyCenterEntryOrGroup implements android.os.Parcelable {
170 ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntry);
171 ctor public SafetyCenterEntryOrGroup(@NonNull android.safetycenter.SafetyCenterEntryGroup);
176 … static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntryOrGroup> CREATOR;