/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourcesGroupTest.kt | 21 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/ |
D | ParserConfigValidTest.kt | 22 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/ |
D | SafetyCenterConfig.java | 54 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()
|
D | SafetySourcesGroup.java | 52 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/ |
D | SafetyCenterConfigReader.java | 30 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 …]
|
D | SafetySourcesGroups.java | 19 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()
|
D | SafetySourceIssueInfo.java | 24 import android.safetycenter.config.SafetySourcesGroup; 39 private final SafetySourcesGroup mSafetySourcesGroup; 46 SafetySourcesGroup safetySourcesGroup, in SafetySourceIssueInfo() 75 public SafetySourcesGroup getSafetySourcesGroup() { in getSafetySourcesGroup()
|
D | SafetyCenterDataFactory.java | 52 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/ |
D | SafetyCenterTestConfigs.kt | 31 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 …]
|
D | UiTestHelper.kt | 24 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/ |
D | SafetyCenterConfigParser.java | 35 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/ |
D | SafetyCenterPullAtomCallback.java | 27 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/ |
D | SafetyCenterSearchIndexablesProvider.kt | 41 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/ |
D | SafetyCenterIssueRepository.java | 30 import android.safetycenter.config.SafetySourcesGroup; 189 List<SafetySourcesGroup> safetySourcesGroups = in getAllStoredIssuesFromRawSourceData() 201 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo() 222 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo()
|
D | SafetyCenterDataManager.java | 32 import android.safetycenter.config.SafetySourcesGroup;
|
D | SafetyCenterIssueDeduplicator.java | 30 import android.safetycenter.config.SafetySourcesGroup;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterActivity.java | 40 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/ |
D | system-current.txt | 548 …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/ |
D | SafetyCenterEntryGroup.java | 29 import android.safetycenter.config.SafetySourcesGroup;
|
D | SafetyCenterIssue.java | 33 import android.safetycenter.config.SafetySourcesGroup;
|
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/ |
D | SafetyCenterSubpagesTest.kt | 25 import android.safetycenter.config.SafetySourcesGroup 963 ): Pair<SafetySourcesGroup, SafetySourceIssue> { in prepareSingleSourceGroupWithIssue() 976 sourcesGroup: SafetySourcesGroup, in checkOnDismissedIssue()
|