/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetyCenterDataTest.kt | 24 import android.safetycenter.SafetyCenterData 162 SafetyCenterData(status1, listOf(issue1), listOf(entryOrGroup1), listOf(staticEntryGroup1)) 164 SafetyCenterData(status2, listOf(issue2), listOf(entryOrGroup2), listOf(staticEntryGroup2)) 169 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getStatus_withDefaultBuilder_returnsStatus() 177 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getIssues_withDefaultBuilder_returnsEmptyList() 186 SafetyCenterData.Builder(status1).addIssue(issue1).addIssue(issue2).build() in getIssues_whenSetExplicitly_returnsIssues() 194 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getEntriesOrGroups_withDefaultBuilder_returnsEmptyList() 203 SafetyCenterData.Builder(status1) in getEntriesOrGroups_whenSetExplicitly_returnsEntriesOrGroups() 216 val safetyCenterData = SafetyCenterData.Builder(status1).build() in getStaticGroups_withDefaultBuilder_returnsEmptyList() 225 SafetyCenterData.Builder(status1) in getStaticEntryGroups_whenSetExplicitly_returnsStaticEntryGroups() [all …]
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterData.java | 48 public final class SafetyCenterData implements Parcelable { class 66 public static final Creator<SafetyCenterData> CREATOR = 67 new Creator<SafetyCenterData>() { 69 public SafetyCenterData createFromParcel(Parcel in) { 82 SafetyCenterData.Builder builder = new SafetyCenterData.Builder(status); 100 return new SafetyCenterData( 106 public SafetyCenterData[] newArray(int size) { 107 return new SafetyCenterData[size]; 119 public SafetyCenterData( in SafetyCenterData() method in SafetyCenterData 132 private SafetyCenterData( in SafetyCenterData() method in SafetyCenterData [all …]
|
D | IOnSafetyCenterDataChangedListener.aidl | 19 import android.safetycenter.SafetyCenterData; 30 void onSafetyCenterDataChanged(in SafetyCenterData data); in onSafetyCenterDataChanged()
|
D | ISafetyCenterManager.aidl | 20 import android.safetycenter.SafetyCenterData; 88 SafetyCenterData getSafetyCenterData(String packageName, int userId); in getSafetyCenterData()
|
D | SafetyCenterManager.java | 303 void onSafetyCenterDataChanged(@NonNull SafetyCenterData data); in onSafetyCenterDataChanged() 504 public SafetyCenterData getSafetyCenterData() { in getSafetyCenterData() 674 public void onSafetyCenterDataChanged(@NonNull SafetyCenterData safetyCenterData) { in onSafetyCenterDataChanged()
|
D | SafetyCenterData.aidl | 24 parcelable SafetyCenterData;
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestListener.kt | 20 import android.safetycenter.SafetyCenterData 40 private val dataChannel = Channel<SafetyCenterData>(Channel.UNLIMITED) 43 override fun onSafetyCenterDataChanged(data: SafetyCenterData) { in onSafetyCenterDataChanged() 61 matching: (SafetyCenterData) -> Boolean = { true } in receiveSafetyCenterData() 62 ): SafetyCenterData = 82 ): SafetyCenterData { in waitForSafetyCenterRefresh() 125 fun SafetyCenterData.containsAnyEntryWithSummary(summary: CharSequence): Boolean = in SafetyCenterData() method 129 fun SafetyCenterData.entries(): List<SafetyCenterEntry> = in entries() method 139 fun SafetyCenterData.staticEntries(): List<SafetyCenterStaticEntry> = in SafetyCenterData() method
|
D | SafetyCenterTestData.kt | 26 import android.safetycenter.SafetyCenterData 444 val DEFAULT: SafetyCenterData = 445 SafetyCenterData( 507 fun SafetyCenterData.withDismissedIssuesIfAtLeastU( in entryId() method 509 ): SafetyCenterData = in entryId() 515 fun SafetyCenterData.withoutExtras() = in SafetyCenterData() method 517 SafetyCenterData.Builder(this).clearExtras().build() in SafetyCenterData() 524 fun SafetyCenterData.withAttributionTitleInIssuesIfAtLeastU( in SafetyCenterData() method 526 ): SafetyCenterData { in SafetyCenterData() 540 fun SafetyCenterData.withExtrasIfAtLeastU(extras: Bundle): SafetyCenterData = in SafetyCenterData() method [all …]
|
D | SafetyCenterApisWithShellPermissions.kt | 23 import android.safetycenter.SafetyCenterData 110 fun SafetyCenterManager.getSafetyCenterDataWithPermission(): SafetyCenterData = in SafetyCenterManager()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterListeners.java | 24 import android.safetycenter.SafetyCenterData; 62 IOnSafetyCenterDataChangedListener listener, SafetyCenterData safetyCenterData) { in deliverDataForListener() 89 ArrayMap<String, SafetyCenterData> safetyCenterDataCache = new ArrayMap<>(); in deliverDataForUserProfileGroup() 107 ArrayMap<String, SafetyCenterData> safetyCenterDataCache = new ArrayMap<>(); in deliverErrorForUserProfileGroup() 192 ArrayMap<String, SafetyCenterData> safetyCenterDataCache, in deliverUpdateForUser() 208 SafetyCenterData safetyCenterData = in deliverUpdateForUser() 225 private SafetyCenterData assembleSafetyCenterDataIfAbsent( in assembleSafetyCenterDataIfAbsent() 226 ArrayMap<String, SafetyCenterData> safetyCenterDataCache, in assembleSafetyCenterDataIfAbsent() 229 SafetyCenterData cachedSafetyCenterData = safetyCenterDataCache.get(packageName); in assembleSafetyCenterDataIfAbsent() 233 SafetyCenterData safetyCenterData = in assembleSafetyCenterDataIfAbsent() [all …]
|
D | SafetyCenterDataFactory.java | 38 import android.safetycenter.SafetyCenterData; 119 static SafetyCenterData getDefaultSafetyCenterData() { in getDefaultSafetyCenterData() 125 return new SafetyCenterData.Builder(defaultSafetyCenterStatus).build(); in getDefaultSafetyCenterData() 127 return new SafetyCenterData( in getDefaultSafetyCenterData() 139 SafetyCenterData assembleSafetyCenterData( in assembleSafetyCenterData() 152 public SafetyCenterData assembleSafetyCenterData( in assembleSafetyCenterData() 256 SafetyCenterData.Builder builder = new SafetyCenterData.Builder(safetyCenterStatus); in assembleSafetyCenterData() 283 return new SafetyCenterData( in assembleSafetyCenterData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | LiveSafetyCenterViewModel.kt | 25 import android.safetycenter.SafetyCenterData in <lambda>() 170 private val safetyCenterDataQueue = ArrayDeque<SafetyCenterData>() in <lambda>() 195 override fun onSafetyCenterDataChanged(data: SafetyCenterData) { in <lambda>() 248 private fun shouldEndScan(nextData: SafetyCenterData): Boolean = in <lambda>() 285 private fun SafetyCenterData.getInFlightIssues(): Map<IssueId, ActionId> = in SafetyCenterData() method 297 private fun SafetyCenterData.isScanning() = in SafetyCenterData() method 300 private fun SafetyCenterData.buildIssueIdSet(): Set<IssueId> = in SafetyCenterData() method 303 private val SafetyCenterData.allResolvableIssues: Sequence<SafetyCenterIssue> constant
|
D | SafetyCenterUiData.kt | 21 import android.safetycenter.SafetyCenterData 33 val safetyCenterData: SafetyCenterData, 85 fun SafetyCenterData.visibleDismissedIssues() = in SafetyCenterData() method
|
D | StatusUiData.kt | 5 import android.safetycenter.SafetyCenterData 22 safetyCenterData: SafetyCenterData
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterManagerTest.kt | 25 import android.safetycenter.SafetyCenterData in <lambda>() 418 private val safetyCenterDataFromConfigScanning: SafetyCenterData in <lambda>() 420 SafetyCenterData( in <lambda>() 431 private val safetyCenterDataFromConfig: SafetyCenterData in <lambda>() 433 SafetyCenterData( in <lambda>() 444 private val safetyCenterDataUnspecified: SafetyCenterData in <lambda>() 446 SafetyCenterData( in <lambda>() 457 private val safetyCenterDataOk: SafetyCenterData in <lambda>() 459 SafetyCenterData( in <lambda>() 470 private val safetyCenterDataOkWithIconAction: SafetyCenterData in <lambda>() [all …]
|
D | SafetyCenterNotificationTest.kt | 24 import android.safetycenter.SafetyCenterData 1303 val SafetyCenterData.inFlightActions: List<SafetyCenterIssue.Action> constant
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/ |
D | StatusUiDataTest.kt | 21 import android.safetycenter.SafetyCenterData 66 assertThat(StatusUiData(SafetyCenterData(STATUS, listOf(), listOf(), listOf())).title) in getTitle_returnsTitle() 75 StatusUiData(SafetyCenterData(STATUS, listOf(), listOf(), listOf())).originalSummary in getOriginalSummary_returnsOriginalSummary() 86 StatusUiData(SafetyCenterData(STATUS, listOf(), listOf(), listOf())).severityLevel in getSeverityLevel_returnsSeverityLevel() 273 val DATA_WITH_ISSUES = SafetyCenterData(STATUS, listOf(ISSUE), listOf(), listOf()) 274 val DATA_WITHOUT_ISSUES = SafetyCenterData(STATUS, listOf(), listOf(), listOf())
|
D | SafetyCenterUiDataTest.kt | 21 import android.safetycenter.SafetyCenterData 262 ): SafetyCenterData { in createSafetyCenterData() 265 val builder = SafetyCenterData.Builder(safetyCenterStatus) in createSafetyCenterData()
|
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/ |
D | SafetyCenterMultiUsersTest.kt | 27 import android.safetycenter.SafetyCenterData 373 SafetyCenterData( in createStaticEntry() 576 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig() 617 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig() 672 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithPrimaryDataProvided_returnsPrimaryDataProvided() 728 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithExtraWorkOnlyWithAllDataProvided_returnsAllDataProvided() 840 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithPrivateProfileDisallowedWithAllDataProvided_returnsAllDataProvided() 954 SafetyCenterData( in getSafetyCenterData_withComplexConfigWithAllDataProvided_returnsAllDataProvided() 1099 SafetyCenterData( in getSafetyCenterData_withQuietMode_shouldHaveWorkProfilePausedSummaryAndNoWorkIssues() 1180 SafetyCenterData( in getSafetyCenterData_afterManagedProfileRemoved_returnsDefaultData() [all …]
|
/packages/modules/Permission/service/java/com/android/safetycenter/logging/ |
D | SafetyCenterPullAtomCallback.java | 25 import android.safetycenter.SafetyCenterData; 121 SafetyCenterData loggableData = in createOverallSafetyStateAtomLocked() 132 SafetyCenterData loggableData, UserProfileGroup userProfileGroup) { in getDismissedIssuesCountLocked()
|
/packages/modules/Permission/SafetyCenter/InternalData/java/com/android/safetycenter/internaldata/ |
D | SafetyCenterBundles.java | 23 import android.safetycenter.SafetyCenterData; 65 SafetyCenterData safetyCenterData, SafetyCenterStaticEntry safetyCenterStaticEntry) { in getStaticEntryId()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterDashboardFragment.java | 34 import android.safetycenter.SafetyCenterData; 202 SafetyCenterData data = uiData.getSafetyCenterData(); in renderSafetyCenterData() 312 private void updateStaticSafetyEntries(Context context, SafetyCenterData data) { in updateStaticSafetyEntries() 330 SafetyCenterData data, in addStaticEntriesTo()
|
/packages/modules/Permission/framework-s/api/ |
D | system-current.txt | 68 public final class SafetyCenterData implements android.os.Parcelable { 69 …ctor public SafetyCenterData(@NonNull android.safetycenter.SafetyCenterStatus, @NonNull java.util.… 78 …l public static final android.os.Parcelable.Creator<android.safetycenter.SafetyCenterData> CREATOR; 81 public static final class SafetyCenterData.Builder { 82 ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterStatus); 83 ctor public SafetyCenterData.Builder(@NonNull android.safetycenter.SafetyCenterData); 84 …method @NonNull public android.safetycenter.SafetyCenterData.Builder addDismissedIssue(@NonNull an… 85 …method @NonNull public android.safetycenter.SafetyCenterData.Builder addEntryOrGroup(@NonNull andr… 86 …method @NonNull public android.safetycenter.SafetyCenterData.Builder addIssue(@NonNull android.saf… 87 …method @NonNull public android.safetycenter.SafetyCenterData.Builder addStaticEntryGroup(@NonNull … [all …]
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataRepository.java | 28 import android.safetycenter.SafetyCenterData;
|
D | SafetyCenterDataManager.java | 26 import android.safetycenter.SafetyCenterData;
|