Home
last modified time | relevance | path

Searched refs:supportsSafetyLabel (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/v34/
DLightInstallSourceInfoTest.kt59 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(true) in supportsSafetyLabel_withSourceStore_andPackageName_returnsTrue()
66 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceOther_andPackageName_returnsFalse()
74 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(true) in supportsSafetyLabel_withSourceUnspecified_andPackageName_returnsTrue()
82 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceLocalFile_andPackageName_returnsFalse()
90 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceDownloadedFile_andPackageName_returnsFalse()
97 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceStore_noPackageName_returnsFalse()
104 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceOther_noPackageName_returnsFalse()
111 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(true) in supportsSafetyLabel_withSourceUnspecified_noPackageName_returnsTrue()
118 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceLocalFile_noPackageName_returnsFalse()
125 assertThat(installSourceInfo.supportsSafetyLabel).isEqualTo(false) in supportsSafetyLabel_withSourceDownloadedFile_noPackageName_returnsFalse()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v34/
DLightInstallSourceInfo.kt30 supportsSafetyLabel = false
45 supportsSafetyLabel = isStoreInstalled || isPreloadedApp
52 val supportsSafetyLabel: Boolean constant in com.android.permissioncontroller.permission.model.livedatatypes.v34.LightInstallSourceInfo
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DSafetyLabelInfoLiveData.kt88 if (lightInstallSourceInfo?.supportsSafetyLabel != true) { in loadDataAndPostValue()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt209 return lightInstallSourceInfo.supportsSafetyLabel in isSafetyLabelSupported()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt451 return lightInstallSourceInfo.supportsSafetyLabel in <lambda>()