Home
last modified time | relevance | path

Searched refs:proxyLabel (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyDialog.kt121 val finalText = getFinalText(firstLine, element.attributionLabel, element.proxyLabel)
138 proxyLabel: CharSequence?
141 if (attributionLabel != null && proxyLabel != null) {
143 attributionLabel, proxyLabel)
147 } else if (proxyLabel != null) {
149 proxyLabel)
187 val proxyLabel: CharSequence?,
208 if (proxyLabel != null) {
209 builder.append(", proxyLabel=$proxyLabel")
H A DPrivacyDialogV2.kt370 } else if (element.attributionLabel == null && element.proxyLabel == null) {
375 } else if (element.attributionLabel == null || element.proxyLabel == null) {
382 element.attributionLabel ?: element.proxyLabel
392 element.proxyLabel
494 val proxyLabel: CharSequence?,
515 if (proxyLabel != null) {
516 builder.append(", proxyLabel=$proxyLabel")
H A DPrivacyDialogController.kt225 it.proxyLabel,
H A DPrivacyDialogControllerV2.kt254 it.proxyLabel,
/aosp14/frameworks/base/core/java/android/permission/
H A DPermissionGroupUsage.java82 @Nullable CharSequence proxyLabel) { in PermissionGroupUsage() argument
95 this.mProxyLabel = proxyLabel; in PermissionGroupUsage()
277 CharSequence proxyLabel = (flg & 0x100) == 0 ? null : (CharSequence) in.readCharSequence(); in PermissionGroupUsage() local
291 this.mProxyLabel = proxyLabel; in PermissionGroupUsage()
H A DPermissionUsageHelper.java688 String proxyLabel = null; in getUniqueUsagesWithLabels() local
695 proxyLabel = appInfo.loadLabel(userPkgManager).toString(); in getUniqueUsagesWithLabels()
700 usagesAndLabels.put(start.usage, proxyLabel); in getUniqueUsagesWithLabels()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyDialogV2Test.kt59 proxyLabel: CharSequence? = null,
74 proxyLabel,
262 val list = listOf(createPrivacyElement(proxyLabel = "proxy label"))
295 proxyLabel = "proxy label",
H A DPrivacyDialogControllerTest.kt258 proxyLabel = TEST_PROXY_LABEL
272 assertThat(list.get(0).proxyLabel).isEqualTo(TEST_PROXY_LABEL)
628 proxyLabel = TEST_PROXY_LABEL
642 assertThat(list.get(0).proxyLabel).isEqualTo(TEST_PROXY_LABEL)
784 proxyLabel: CharSequence? = null
795 `when`(usage.proxyLabel).thenReturn(proxyLabel)
H A DPrivacyDialogControllerV2Test.kt287 proxyLabel = TEST_PROXY_LABEL
301 assertThat(list.get(0).proxyLabel).isEqualTo(TEST_PROXY_LABEL)
663 proxyLabel = TEST_PROXY_LABEL
811 proxyLabel: CharSequence? = null
822 `when`(usage.proxyLabel).thenReturn(proxyLabel)
H A DPrivacyDialogTest.kt315 element.proxyLabel
373 element.attributionLabel, element.proxyLabel