Home
last modified time | relevance | path

Searched refs:SafetySourcesGroup (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetySourcesGroupTest.kt21 import android.safetycenter.config.SafetySourcesGroup
40 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in getType_returnsType()
42 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in getType_returnsType()
44 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in getType_returnsType()
46 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in getType_returnsType()
48 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in getType_returnsType()
51 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in getType_returnsType()
53 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in getType_returnsType()
55 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in getType_returnsType()
57 .isEqualTo(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in getType_returnsType()
[all …]
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigValidTest.kt22 import android.safetycenter.config.SafetySourcesGroup
45 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
49 .setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY) in validConfig_matchesExpected()
153 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
184 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
221 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
254 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
255 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in validConfig_matchesExpected()
269 SafetySourcesGroup.Builder() in validConfig_matchesExpected()
270 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in validConfig_matchesExpected()
[all …]
/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetyCenterConfig.java54 List<SafetySourcesGroup> safetySourcesGroups =
55 requireNonNull(in.createTypedArrayList(SafetySourcesGroup.CREATOR));
69 @NonNull private final List<SafetySourcesGroup> mSafetySourcesGroups;
71 private SafetyCenterConfig(@NonNull List<SafetySourcesGroup> safetySourcesGroups) { in SafetyCenterConfig()
81 public List<SafetySourcesGroup> getSafetySourcesGroups() { in getSafetySourcesGroups()
116 private final List<SafetySourcesGroup> mSafetySourcesGroups = new ArrayList<>();
138 public Builder addSafetySourcesGroup(@NonNull SafetySourcesGroup safetySourcesGroup) { in addSafetySourcesGroup()
151 List<SafetySourcesGroup> safetySourcesGroups = in build()
160 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in build()
DSafetySourcesGroup.java52 public final class SafetySourcesGroup implements Parcelable { class
134 public static final Creator<SafetySourcesGroup> CREATOR =
135 new Creator<SafetySourcesGroup>() {
137 public SafetySourcesGroup createFromParcel(Parcel in) {
156 public SafetySourcesGroup[] newArray(int size) {
157 return new SafetySourcesGroup[size];
168 private SafetySourcesGroup( in SafetySourcesGroup() method in SafetySourcesGroup
248 if (!(o instanceof SafetySourcesGroup)) return false; in equals()
249 SafetySourcesGroup that = (SafetySourcesGroup) o; in equals()
315 public Builder(@NonNull SafetySourcesGroup original) { in Builder()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterConfigReader.java30 import android.safetycenter.config.SafetySourcesGroup;
113 public List<SafetySourcesGroup> getSafetySourcesGroups() { in getSafetySourcesGroups()
121 public List<SafetySourcesGroup> getLoggableSafetySourcesGroups() { in getLoggableSafetySourcesGroups()
268 private final List<SafetySourcesGroup> mLoggableSourcesGroups;
274 List<SafetySourcesGroup> loggableSourcesGroups, in SafetyCenterConfigInternal()
290 private List<SafetySourcesGroup> getLoggableSourcesGroups() { in getLoggableSourcesGroups()
336 List<SafetySourcesGroup> safetySourcesGroups = in extractExternalSafetySources()
339 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in extractExternalSafetySources()
352 == SafetySourcesGroup in extractExternalSafetySources()
364 private static List<SafetySourcesGroup> extractLoggableSafetySourcesGroups( in extractLoggableSafetySourcesGroups()
[all …]
DSafetySourcesGroups.java19 import android.safetycenter.config.SafetySourcesGroup;
30 static SafetySourcesGroup.Builder copyToBuilderWithoutSources(SafetySourcesGroup group) { in copyToBuilderWithoutSources()
31 SafetySourcesGroup.Builder safetySourcesGroupBuilder = in copyToBuilderWithoutSources()
32 new SafetySourcesGroup.Builder() in copyToBuilderWithoutSources()
DSafetySourceIssueInfo.java24 import android.safetycenter.config.SafetySourcesGroup;
39 private final SafetySourcesGroup mSafetySourcesGroup;
46 SafetySourcesGroup safetySourcesGroup, in SafetySourceIssueInfo()
75 public SafetySourcesGroup getSafetySourcesGroup() { in getSafetySourcesGroup()
DSafetyCenterDataFactory.java52 import android.safetycenter.config.SafetySourcesGroup;
155 List<SafetySourcesGroup> safetySourcesGroups) { in assembleSafetyCenterData()
162 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in assembleSafetyCenterData()
166 case SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL: in assembleSafetyCenterData()
174 case SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS: in assembleSafetyCenterData()
183 case SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN: in assembleSafetyCenterData()
291 private List<SafetySourcesGroup> getAllGroups() { in getAllGroups()
305 SafetySourcesGroup safetySourcesGroup, in toSafetyCenterIssue()
388 SafetySourcesGroup safetySourcesGroup, in addSafetyCenterEntryGroup()
472 SafetySourcesGroup safetySourcesGroup, in getSafetyCenterEntryGroupSummary()
[all …]
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestConfigs.kt31 import android.safetycenter.config.SafetySourcesGroup
458 SafetySourcesGroup.Builder()
496 .setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY)
544 .setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY)
595 setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in <lambda>()
596 setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY) in <lambda>()
617 SafetySourcesGroup.Builder()
621 setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in <lambda>()
624 setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY) in <lambda>()
701 .setStatelessIconType(SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY)
[all …]
DUiTestHelper.kt24 import android.safetycenter.config.SafetySourcesGroup
175 fun waitGroupShownOnHomepage(context: Context, group: SafetySourcesGroup) { in waitGroupShownOnHomepage()
198 fun clickOpenSubpage(context: Context, group: SafetySourcesGroup) { in clickOpenSubpage()
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java35 import android.safetycenter.config.SafetySourcesGroup;
157 private static SafetySourcesGroup parseSafetySourcesGroup( in parseSafetySourcesGroup()
161 SafetySourcesGroup.Builder builder = new SafetySourcesGroup.Builder(); in parseSafetySourcesGroup()
552 return SafetySourcesGroup.STATELESS_ICON_TYPE_NONE; in parseStatelessIconType()
554 return SafetySourcesGroup.STATELESS_ICON_TYPE_PRIVACY; in parseStatelessIconType()
566 return SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL; in parseGroupType()
568 return SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS; in parseGroupType()
570 return SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN; in parseGroupType()
/packages/modules/Permission/service/java/com/android/safetycenter/logging/
DSafetyCenterPullAtomCallback.java27 import android.safetycenter.config.SafetySourcesGroup;
105 List<SafetySourcesGroup> loggableGroups = in onPullAtom()
120 UserProfileGroup userProfileGroup, List<SafetySourcesGroup> loggableGroups) { in createOverallSafetyStateAtomLocked()
142 UserProfileGroup userProfileGroup, List<SafetySourcesGroup> loggableGroups) { in writeSafetySourceStateCollectedAtomsLocked()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt41 import android.safetycenter.config.SafetySourcesGroup in <lambda>()
42 import android.safetycenter.config.SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN in <lambda>()
43 import android.safetycenter.config.SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL in <lambda>()
44 import android.safetycenter.config.SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS in <lambda>()
146 safetySourcesGroups: SafetySourcesGroup, in <lambda>()
241 private val SafetyCenterManager.safetySourcesGroupsWithEntries: Sequence<SafetySourcesGroup> in <lambda>()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueRepository.java30 import android.safetycenter.config.SafetySourcesGroup;
189 List<SafetySourcesGroup> safetySourcesGroups = in getAllStoredIssuesFromRawSourceData()
201 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo()
222 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo()
DSafetyCenterDataManager.java32 import android.safetycenter.config.SafetySourcesGroup;
DSafetyCenterIssueDeduplicator.java30 import android.safetycenter.config.SafetySourcesGroup;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterActivity.java40 import android.safetycenter.config.SafetySourcesGroup;
325 List<SafetySourcesGroup> groups = safetyCenterConfig.getSafetySourcesGroups(); in getParentGroupId()
326 for (SafetySourcesGroup group : groups) { in getParentGroupId()
327 if (group.getType() != SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) { in getParentGroupId()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt548 …method @NonNull public java.util.List<android.safetycenter.config.SafetySourcesGroup> getSafetySou…
556 …enterConfig.Builder addSafetySourcesGroup(@NonNull android.safetycenter.config.SafetySourcesGroup);
615 public final class SafetySourcesGroup implements android.os.Parcelable {
624 …static final android.os.Parcelable.Creator<android.safetycenter.config.SafetySourcesGroup> CREATOR;
634 public static final class SafetySourcesGroup.Builder {
635 ctor public SafetySourcesGroup.Builder();
636 ctor public SafetySourcesGroup.Builder(@NonNull android.safetycenter.config.SafetySourcesGroup);
637 …method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder addSafetySource(@Non…
638 method @NonNull public android.safetycenter.config.SafetySourcesGroup build();
639 …method @NonNull public android.safetycenter.config.SafetySourcesGroup.Builder setId(@Nullable Stri…
[all …]
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterEntryGroup.java29 import android.safetycenter.config.SafetySourcesGroup;
DSafetyCenterIssue.java33 import android.safetycenter.config.SafetySourcesGroup;
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt25 import android.safetycenter.config.SafetySourcesGroup
963 ): Pair<SafetySourcesGroup, SafetySourceIssue> { in prepareSingleSourceGroupWithIssue()
976 sourcesGroup: SafetySourcesGroup, in checkOnDismissedIssue()