Home
last modified time | relevance | path

Searched refs:SafetyCenterEntryGroup (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterEntryGroupTest.kt23 import android.safetycenter.SafetyCenterEntryGroup
56 SafetyCenterEntryGroup.Builder(groupId1, "A group title")
62 SafetyCenterEntryGroup.Builder(groupId2, "Another group title")
76 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setTitle("title one").build().title) in getTitle_returnsTitle()
78 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setTitle("title two").build().title) in getTitle_returnsTitle()
84 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary("one").build().summary) in getSummary_returnsSummary()
86 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary("two").build().summary) in getSummary_returnsSummary()
88 assertThat(SafetyCenterEntryGroup.Builder(entryGroup1).setSummary(null).build().summary) in getSummary_returnsSummary()
95 SafetyCenterEntryGroup.Builder(entryGroup1) in getSeverityLevel_returnsSeverityLevel()
102 SafetyCenterEntryGroup.Builder(entryGroup1) in getSeverityLevel_returnsSeverityLevel()
[all …]
DSafetyCenterEntryOrGroupTest.kt23 import android.safetycenter.SafetyCenterEntryGroup
53 SafetyCenterEntryGroup.Builder("gRoUp_iD_oNe", "A group title")
59 SafetyCenterEntryGroup.Builder("gRoUp_iD_tWo", "Another group title")
DSafetyCenterDataTest.kt26 import android.safetycenter.SafetyCenterEntryGroup
86 SafetyCenterEntryGroup.Builder("eNtRy_gRoUp_iD", "An entry group title")
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterEntryGroup.java45 public final class SafetyCenterEntryGroup implements Parcelable { class
48 public static final Creator<SafetyCenterEntryGroup> CREATOR =
49 new Creator<SafetyCenterEntryGroup>() {
51 public SafetyCenterEntryGroup createFromParcel(Parcel in) {
63 public SafetyCenterEntryGroup[] newArray(int size) {
64 return new SafetyCenterEntryGroup[size];
75 private SafetyCenterEntryGroup( in SafetyCenterEntryGroup() method in SafetyCenterEntryGroup
131 if (!(o instanceof SafetyCenterEntryGroup)) return false; in equals()
132 SafetyCenterEntryGroup that = (SafetyCenterEntryGroup) o; in equals()
210 public Builder(@NonNull SafetyCenterEntryGroup safetyCenterEntryGroup) { in Builder()
[all …]
DSafetyCenterEntryOrGroup.java49 SafetyCenterEntryGroup maybeEntryGroup =
50 in.readTypedObject(SafetyCenterEntryGroup.CREATOR);
63 @Nullable private final SafetyCenterEntryGroup mEntryGroup;
72 public SafetyCenterEntryOrGroup(@NonNull SafetyCenterEntryGroup entryGroup) { in SafetyCenterEntryOrGroup()
94 public SafetyCenterEntryGroup getEntryGroup() { in getEntryGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/view/
DSafetyEntryGroupView.kt25 import android.safetycenter.SafetyCenterEntryGroup in <lambda>()
79 group: SafetyCenterEntryGroup, in <lambda>()
120 private fun showGroupDetails(group: SafetyCenterEntryGroup) { in <lambda>()
131 private fun setupExpandedState(group: SafetyCenterEntryGroup, shouldBeExpanded: Boolean) { in <lambda>()
207 group: SafetyCenterEntryGroup, in <lambda>()
235 private fun setAccessibilityAttributes(group: SafetyCenterEntryGroup) { in <lambda>()
268 group: SafetyCenterEntryGroup, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyGroupPreference.kt21 import android.safetycenter.SafetyCenterEntryGroup
34 private val group: SafetyCenterEntryGroup,
DSafetyHomepageEntryPreference.kt22 import android.safetycenter.SafetyCenterEntryGroup
38 private val entryGroup: SafetyCenterEntryGroup,
DSafetyCenterDashboardFragment.java36 import android.safetycenter.SafetyCenterEntryGroup;
243 SafetyCenterEntryGroup group = entryOrGroup.getEntryGroup(); in updateSafetyEntries()
288 SafetyCenterEntryGroup group, in addGroupEntries()
DSafetyCenterSubpageFragment.kt21 import android.safetycenter.SafetyCenterEntryGroup
138 private fun updateSafetyCenterEntries(entryGroup: SafetyCenterEntryGroup) { in updateSafetyCenterEntries()
DPrivacySubpageFragment.kt21 import android.safetycenter.SafetyCenterEntryGroup in <lambda>()
121 private fun updateSafetyCenterEntries(entryGroup: SafetyCenterEntryGroup) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt22 import android.safetycenter.SafetyCenterEntryGroup
45 fun getMatchingGroup(groupId: String): SafetyCenterEntryGroup? { in getMatchingGroup()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DSafetyCenterUiDataTest.kt22 import android.safetycenter.SafetyCenterEntryGroup
259 entryGroups: List<SafetyCenterEntryGroup> = listOf(), in createSafetyCenterData()
280 SafetyCenterEntryGroup.Builder(groupId, "group title").build() in createSafetyCenterEntryGroup()
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt34 import android.safetycenter.SafetyCenterEntryGroup
245 SafetyCenterEntryGroup.Builder(STATIC_GROUP_ID, "OK")
581 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig()
622 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig()
677 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithPrimaryDataProvided_returnsPrimaryDataProvided()
786 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithExtraWorkOnlyWithAllDataProvided_returnsAllDataProvided()
898 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithPrivateProfileDisallowedWithAllDataProvided_returnsAllDataProvided()
1038 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withComplexConfigWithAllDataProvided_returnsAllDataProvided()
1104 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in getSafetyCenterData_withQuietMode_shouldHaveWorkProfilePausedSummaryAndNoWorkIssues()
1185 SafetyCenterEntryGroup.Builder(SINGLE_SOURCE_GROUP_ID, "OK") in getSafetyCenterData_afterManagedProfileRemoved_returnsDefaultData()
[all …]
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt145 public final class SafetyCenterEntryGroup implements android.os.Parcelable {
154 …ic static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterEntryGroup> CREATOR;
157 public static final class SafetyCenterEntryGroup.Builder {
158 ctor public SafetyCenterEntryGroup.Builder(@NonNull String, @NonNull CharSequence);
159 … ctor public SafetyCenterEntryGroup.Builder(@NonNull android.safetycenter.SafetyCenterEntryGroup);
160 method @NonNull public android.safetycenter.SafetyCenterEntryGroup build();
161 …method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setEntries(@NonNull jav…
162 … method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setId(@NonNull String);
163 … method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityLevel(int);
164 …method @NonNull public android.safetycenter.SafetyCenterEntryGroup.Builder setSeverityUnspecifiedI…
[all …]
/packages/modules/Permission/SafetyCenter/InternalData/java/com/android/safetycenter/internaldata/
DSafetyCenterBundles.java24 import android.safetycenter.SafetyCenterEntryGroup;
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt36 import android.safetycenter.SafetyCenterEntryGroup in <lambda>()
321 SafetyCenterEntryGroup.Builder(MIXED_STATEFUL_GROUP_ID, "OK") in <lambda>()
677 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in <lambda>()
746 SafetyCenterEntryGroup.Builder(DYNAMIC_GROUP_ID, "OK") in <lambda>()
3822 private fun SafetyCenterData.getGroup(groupId: String): SafetyCenterEntryGroup = in <lambda>()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java40 import android.safetycenter.SafetyCenterEntryGroup;
442 new SafetyCenterEntryGroup.Builder( in addSafetyCenterEntryGroup()