Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt121 val finalText = getFinalText(firstLine, element.attributionLabel, element.proxyLabel) in <lambda>()
137 attributionLabel: CharSequence?, in <lambda>()
141 if (attributionLabel != null && proxyLabel != null) { in <lambda>()
143 attributionLabel, proxyLabel) in <lambda>()
144 } else if (attributionLabel != null) { in <lambda>()
146 attributionLabel) in <lambda>()
186 val attributionLabel: CharSequence?, in <lambda>() constant in PrivacyElement
205 if (attributionLabel != null) { in <lambda>()
206 builder.append(", attributionLabel=$attributionLabel") in <lambda>()
DPrivacyDialogV2.kt370 } else if (element.attributionLabel == null && element.proxyLabel == null) { in <lambda>()
375 } else if (element.attributionLabel == null || element.proxyLabel == null) { in <lambda>()
382 element.attributionLabel ?: element.proxyLabel in <lambda>()
391 element.attributionLabel, in <lambda>()
493 val attributionLabel: CharSequence?, in <lambda>() constant in com.android.systemui.privacy.PrivacyElement
512 if (attributionLabel != null) { in <lambda>()
513 builder.append(", attributionLabel=$attributionLabel") in <lambda>()
DPrivacyDialogController.kt230 it.attributionLabel, in showDialog()
246 it.attributionLabel != null in showDialog()
DPrivacyDialogControllerV2.kt256 it.attributionLabel != null in showDialog()
264 it.attributionLabel, in showDialog()
/frameworks/base/core/java/android/permission/
DPermissionGroupUsage.java83 @Nullable CharSequence attributionLabel, in PermissionGroupUsage() argument
97 this.mAttributionLabel = attributionLabel; in PermissionGroupUsage()
292 … CharSequence attributionLabel = (flg & 0x80) == 0 ? null : (CharSequence) in.readCharSequence(); in PermissionGroupUsage() local
307 this.mAttributionLabel = attributionLabel; in PermissionGroupUsage()
DPermissionUsageHelper.java356 String attributionLabel = subAttributionLabelsMap.getOrDefault(usage.packageName, in getOpUsageDataByDevice() local
361 usage.isRunning, isPhone, usage.attributionTag, attributionLabel, in getOpUsageDataByDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogV2Test.kt58 attributionLabel: CharSequence? = null, in createPrivacyElement()
73 attributionLabel, in createPrivacyElement()
276 attributionLabel = "For subattribution", in testSubattribution()
294 attributionLabel = "For subattribution", in testSubattributionAndProxyLabel()
DPrivacyDialogControllerTest.kt275 assertThat(list.get(0).attributionLabel).isNull() in <lambda>()
645 assertThat(list.get(0).attributionLabel).isNull() in <lambda>()
662 attributionLabel = "TEST_LABEL" in <lambda>()
691 attributionLabel = "TEST_LABEL" in <lambda>()
812 attributionLabel: CharSequence? = null, in <lambda>()
823 `when`(usage.attributionLabel).thenReturn(attributionLabel) in <lambda>()
DPrivacyDialogControllerV2Test.kt295 assertThat(list.get(0).attributionLabel).isNull() in <lambda>()
670 attributionLabel = "TEST_LABEL" in <lambda>()
702 attributionLabel = "TEST_LABEL" in <lambda>()
831 attributionLabel: CharSequence? = null, in <lambda>()
842 `when`(usage.attributionLabel).thenReturn(attributionLabel) in <lambda>()
DPrivacyDialogTest.kt344 element.attributionLabel in testSubattribution()
373 element.attributionLabel, element.proxyLabel in testSubattributionAndProxyLabel()