/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v35/ |
D | MultiDeviceUtils.kt | 106 fun isDefaultDeviceId(persistentDeviceId: String?) = in <lambda>() 108 persistentDeviceId.isNullOrBlank() || in <lambda>() 109 persistentDeviceId == VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 113 fun getDeviceName(context: Context, persistentDeviceId: String): String { in <lambda>() 116 persistentDeviceId == VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT in <lambda>() 124 vdm.getDisplayNameForPersistentDeviceId(persistentDeviceId) in <lambda>() 157 persistentDeviceId: String, in <lambda>() 162 if (!SdkLevel.isAtLeastV() || isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 170 persistentDeviceId, in <lambda>() 196 persistentDeviceId: String, in <lambda>() [all …]
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | DevicePermissionsTest.kt | 68 private lateinit var persistentDeviceId: String variable in android.permission.cts.DevicePermissionsTest 99 persistentDeviceId = virtualDevice.persistentDeviceId!! in setup() 211 persistentDeviceId in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId() 218 virtualDevice.persistentDeviceId!! in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId() 235 persistentDeviceId, in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId() 243 virtualDevice.persistentDeviceId!! in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId() 263 persistentDeviceId in testUpdateAndGetPermissionFlagsByPersistentDeviceId() 271 persistentDeviceId, in testUpdateAndGetPermissionFlagsByPersistentDeviceId() 280 persistentDeviceId in testUpdateAndGetPermissionFlagsByPersistentDeviceId() 303 .getAllPermissionStates(TEST_PACKAGE_NAME, persistentDeviceId) in testAllPermissionStatesApiGrantForVirtualDevice() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v35/ |
D | PackagePermissionsExternalDeviceLiveData.kt | 55 val persistentDeviceId: String in <lambda>() constant in com.android.permissioncontroller.permission.data.v35.PackagePermissionsExternalDeviceLiveData.ExternalDeviceGrantInfo 74 persistentDeviceId: String in <lambda>() 77 permissionManager.getAllPermissionStates(packageName, persistentDeviceId) in <lambda>() 81 ExternalDeviceGrantInfo(groupName, grantState, persistentDeviceId) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionGroupsViewModel.kt | 99 val persistentDeviceId: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.AppPermissionGroupsViewModel.GroupUiInfo 246 val persistentDeviceId = externalDeviceGrantInfo.persistentDeviceId in <lambda>() constant 254 persistentDeviceId in <lambda>() 264 persistentDeviceId in <lambda>() 273 persistentDeviceId in <lambda>() 282 persistentDeviceId in <lambda>() 291 persistentDeviceId in <lambda>()
|
D | AppPermissionViewModel.kt | 115 private val persistentDeviceId: String in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel 440 it.groupName == permGroupName && it.persistentDeviceId == persistentDeviceId in <lambda>() 469 if (!MultiDeviceUtils.isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 910 if (!MultiDeviceUtils.isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 1153 persistentDeviceId, in <lambda>() 1161 persistentDeviceId, in <lambda>() 1568 private val persistentDeviceId: String constant in com.android.permissioncontroller.permission.ui.model.AppPermissionViewModelFactory 1593 persistentDeviceId in create()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/ |
D | AppPermissionsTest.kt | 68 private lateinit var persistentDeviceId: String variable in android.permissionmultidevice.cts.AppPermissionsTest 99 persistentDeviceId = virtualDevice.persistentDeviceId!! in setup() 423 persistentDeviceId in clickPermissionItem() 427 permissionManager.getAllPermissionStates(APP_PACKAGE_NAME, persistentDeviceId) in clickPermissionItem()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionControlPreference.java | 260 public void setPersistentDeviceId(String persistentDeviceId) { in setPersistentDeviceId() argument 261 this.mPersistentDeviceId = persistentDeviceId; in setPersistentDeviceId()
|