Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/
DSafetyCenterStatusCardTest.kt54 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant
71 safetyCenterResourcesApk.getStringByName("scanning_title"), in withUnknownStatus_displaysScanningOnLoad()
72 safetyCenterResourcesApk.getStringByName("loading_summary") in withUnknownStatus_displaysScanningOnLoad()
87 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in withKnownStatus_displaysStatusOnLoad()
88 safetyCenterResourcesApk.getStringByName("loading_summary") in withKnownStatus_displaysStatusOnLoad()
100 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_review_title"), in withUnknownStatusAndNoIssues_hasRescanButton()
101 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_review_summary") in withUnknownStatusAndNoIssues_hasRescanButton()
118 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in withInformationAndNoIssues_hasRescanButton()
119 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_summary") in withInformationAndNoIssues_hasRescanButton()
151 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in withInformationIssue_doesNotHaveRescanButton()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DDevicePolicyResources.java44 SafetyCenterResourcesApk safetyCenterResourcesApk, in getSafetySourceWorkString() argument
48 safetyCenterResourcesApk.getContext(), in getSafetySourceWorkString()
50 () -> safetyCenterResourcesApk.getString(workResId)); in getSafetySourceWorkString()
57 static String getWorkProfilePausedString(SafetyCenterResourcesApk safetyCenterResourcesApk) { in getWorkProfilePausedString() argument
59 safetyCenterResourcesApk.getContext(), in getWorkProfilePausedString()
61 () -> safetyCenterResourcesApk.getStringByName("work_profile_paused")); in getWorkProfilePausedString()
DSafetyCenterFlags.java141 static void init(SafetyCenterResourcesApk safetyCenterResourcesApk) { in init() argument
143 safetyCenterResourcesApk.getOptionalStringByName("config_defaultUntrackedSources"); in init()
148 safetyCenterResourcesApk.getOptionalStringByName( in init()
154 safetyCenterResourcesApk.getOptionalStringByName( in init()
160 safetyCenterResourcesApk.getOptionalStringByName( in init()
166 safetyCenterResourcesApk.getOptionalStringByName( in init()
DPendingIntentFactory.java55 PendingIntentFactory(Context context, SafetyCenterResourcesApk safetyCenterResourcesApk) { in PendingIntentFactory() argument
57 mSafetyCenterResourcesApk = safetyCenterResourcesApk; in PendingIntentFactory()
DSafetyCenterConfigReader.java68 SafetyCenterConfigReader(SafetyCenterResourcesApk safetyCenterResourcesApk) { in SafetyCenterConfigReader() argument
69 mSafetyCenterResourcesApk = safetyCenterResourcesApk; in SafetyCenterConfigReader()
DSafetyCenterDataFactory.java103 SafetyCenterResourcesApk safetyCenterResourcesApk, in SafetyCenterDataFactory() argument
109 mSafetyCenterResourcesApk = safetyCenterResourcesApk; in SafetyCenterDataFactory()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt72 val safetyCenterResourcesApk = SafetyCenterResourcesApk(context) in <lambda>() constant
83 safetyCenterResourcesApk, in <lambda>()
94 safetyCenterResourcesApk, in <lambda>()
147 safetyCenterResourcesApk: SafetyCenterResourcesApk, in <lambda>()
151 safetyCenterResourcesApk.getNotEmptyStringOrNull(safetySourcesGroups.titleResId) in <lambda>()
166 safetyCenterResourcesApk: SafetyCenterResourcesApk, in <lambda>()
171 safetyCenterResourcesApk.getNotEmptyStringOrNull(safetySource.searchTermsResId) in <lambda>()
206 safetyCenterResourcesApk.getNotEmptyStringOrNull(safetySource.titleResId)?.let { in <lambda>()
213 safetyCenterResourcesApk in <lambda>()
218 safetyCenterResourcesApk in <lambda>()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestData.kt69 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant
78 safetyCenterResourcesApk.getStringByName(
81 safetyCenterResourcesApk.getStringByName(
107 safetyCenterResourcesApk.getStringByName(statusResource), in safetyCenterStatusOneAlert()
121 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in safetyCenterStatusOneAlert()
135 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in safetyCenterStatusOneAlert()
150 safetyCenterResourcesApk.getStringByName( in safetyCenterStatusOneAlert()
434 safetyCenterResourcesApk.getStringByName(name, formatArgs), in getAlertString()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DXmlConfigTest.kt42 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant
90 safetyCenterResourcesApk.safetyCenterConfig!!, in parseXmlConfig()
91 safetyCenterResourcesApk.resources in parseXmlConfig()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt148 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) in <lambda>() constant
158 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in <lambda>()
159 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_summary") in <lambda>()
167 safetyCenterResourcesApk.getStringByName("scanning_title"), in <lambda>()
168 safetyCenterResourcesApk.getStringByName("loading_summary") in <lambda>()
177 safetyCenterResourcesApk.getStringByName("overall_severity_level_ok_title"), in <lambda>()
186 safetyCenterResourcesApk.getStringByName( in <lambda>()
197 safetyCenterResourcesApk.getStringByName( in <lambda>()
200 safetyCenterResourcesApk.getStringByName( in <lambda>()
210 safetyCenterResourcesApk.getStringByName( in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterDashboardFragment.java186 SafetyCenterResourcesApk safetyCenterResourcesApk = in updateStatus() local
189 safetyCenterResourcesApk in updateStatus()
253 SafetyCenterResourcesApk safetyCenterResourcesApk = in updateSafetyEntries() local
255 category.setTitle(safetyCenterResourcesApk.getStringByName("privacy_title")); in updateSafetyEntries()
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt121 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant in android.safetycenter.functional.multiusers.SafetyCenterMultiUsersTest
202 safetyCenterResourcesApk.getStringByName("work_profile_paused"),
231 safetyCenterResourcesApk.getStringByName("work_profile_paused"),
280 .setSummary(safetyCenterResourcesApk.getStringByName("work_profile_paused"))
348 .setSummary(safetyCenterResourcesApk.getStringByName("work_profile_paused")) in createStaticEntry()
354 .setSummary(safetyCenterResourcesApk.getStringByName("work_profile_paused")) in createStaticEntry()
584 safetyCenterResourcesApk.getStringByName("group_unknown_summary") in getSafetyCenterData_withComplexConfigWithoutWorkProfile_returnsPrimaryDataFromConfig()
625 safetyCenterResourcesApk.getStringByName("group_unknown_summary") in getSafetyCenterData_withComplexConfigWithoutDataProvided_returnsDataFromConfig()
1188 safetyCenterResourcesApk.getStringByName("group_unknown_summary") in getSafetyCenterData_afterManagedProfileRemoved_returnsDefaultData()
1260 safetyCenterResourcesApk.getStringByName("group_unknown_summary") in getSafetyCenterData_afterPrivateProfileRemoved_returnsDefaultData()
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationChannels.java53 public SafetyCenterNotificationChannels(SafetyCenterResourcesApk safetyCenterResourcesApk) { in SafetyCenterNotificationChannels() argument
54 mSafetyCenterResourcesApk = safetyCenterResourcesApk; in SafetyCenterNotificationChannels()
DSafetyCenterNotificationFactory.java68 SafetyCenterResourcesApk safetyCenterResourcesApk) { in SafetyCenterNotificationFactory() argument
71 mSafetyCenterResourcesApk = safetyCenterResourcesApk; in SafetyCenterNotificationFactory()
DSafetyCenterNotificationSender.java120 SafetyCenterResourcesApk safetyCenterResourcesApk, in newInstance() argument
126 context, notificationChannels, safetyCenterResourcesApk), in newInstance()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt1740 val safetyCenterResourcesApk = SafetyCenterResourcesApk(context) in <lambda>() constant
1742 safetyCenterResourcesApk.getIconByDrawableName("ic_notification_badge_general") in <lambda>()
1743 val uColor = safetyCenterResourcesApk.getColorByName("notification_tint_normal") in <lambda>()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt88 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant in android.safetycenter.functional.ui.SafetyCenterSubpagesTest
955 safetyCenterResourcesApk.getStringByName("test_single_source_group_id_footer") in footerSummary_openGenericSubpageHavingFooter_showsExpectedText()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt107 private val safetyCenterResourcesApk = SafetyCenterResourcesApk.forTests(context) constant in android.safetycenter.cts.SafetyCenterManagerTest
1959 safetyCenterResourcesApk.getStringByName("redirecting_error") in executeSafetyCenterIssueAction_existing_errorWithDispatchingRedirectingAction()
1985 safetyCenterResourcesApk.getStringByName("resolving_action_error") in executeSafetyCenterIssueAction_existing_errorWithDispatchingResolvingAction()