Home
last modified time | relevance | path

Searched refs:DEVICE_ID_DEFAULT (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DDataRepository.kt201 return newValue(key, ContextCompat.DEVICE_ID_DEFAULT) in newValue()
247 Triple(k1, k2, ContextCompat.DEVICE_ID_DEFAULT), in get()
248 ContextCompat.DEVICE_ID_DEFAULT in get()
257 Triple(key.first, key.second, ContextCompat.DEVICE_ID_DEFAULT), in get()
258 ContextCompat.DEVICE_ID_DEFAULT in get()
279 KotlinUtils.Quadruple(k1, k2, k3, ContextCompat.DEVICE_ID_DEFAULT), in get()
280 ContextCompat.DEVICE_ID_DEFAULT in get()
289 KotlinUtils.Quadruple(key.first, key.second, key.third, ContextCompat.DEVICE_ID_DEFAULT), in get()
290 ContextCompat.DEVICE_ID_DEFAULT in get()
DLightPackageInfoLiveData.kt117 if (SdkLevel.isAtLeastV() && deviceId != ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>()
191 if (SdkLevel.isAtLeastV() && deviceId != Context.DEVICE_ID_DEFAULT) { in <lambda>()
DPermStateLiveData.kt54 if (deviceId == ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DContextCompat.java34 public static final int DEVICE_ID_DEFAULT = 0; field in ContextCompat
47 return DEVICE_ID_DEFAULT; in getDeviceId()
64 if (deviceId != DEVICE_ID_DEFAULT) { in createDeviceContext()
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DDeviceAwarePermissionGrantTest.kt122 DEVICE_ID_DEFAULT, in <lambda>()
152 requestPermissionOnDevice(virtualDisplay.display.displayId, DEVICE_ID_DEFAULT) in <lambda>()
183 assertAppHasPermissionForDevice(DEVICE_ID_DEFAULT, false) in <lambda>()
212 assertAppHasPermissionForDevice(DEVICE_ID_DEFAULT, expectPermissionGrantedOnDefaultDevice) in <lambda>()
271 const val DEVICE_ID_DEFAULT = 0 in <lambda>() constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java234 private int mTargetDeviceId = ContextCompat.DEVICE_ID_DEFAULT;
310 ContextCompat.DEVICE_ID_DEFAULT); in onCreate()
312 if (mTargetDeviceId != ContextCompat.DEVICE_ID_DEFAULT) { in onCreate()
320 if (getDeviceId() != ContextCompat.DEVICE_ID_DEFAULT) { in onCreate()
335 } else if (mTargetDeviceId != ContextCompat.DEVICE_ID_DEFAULT) { in onCreate()
725 dialogDisplayDeviceId != ContextCompat.DEVICE_ID_DEFAULT in showNextRequest()
/packages/modules/Permission/tests/cts/permissionmultidevice/AccessRemoteDeviceCameraApp/src/android/permissionmultidevice/cts/accessremotedevicecamera/
DRequestPermissionActivity.kt36 Context.DEVICE_ID_DEFAULT in onCreate()
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/
DRequestPermissionsActivity.kt42 requestPermissions(permissions, 1, Context.DEVICE_ID_DEFAULT) in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt76 ContextCompat.DEVICE_ID_DEFAULT in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt165 ContextCompat.DEVICE_ID_DEFAULT in makePackageInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v35/
DMultiDeviceUtils.kt90 if (!SdkLevel.isAtLeastV() || deviceId == ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java660 onOneTimePermissionSessionTimeout(packageName, ContextCompat.DEVICE_ID_DEFAULT); in onOneTimePermissionSessionTimeout()
808 packageName, permissions, ContextCompat.DEVICE_ID_DEFAULT, callback); in onRevokeSelfPermissionsOnKill()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java101 import static android.content.Context.DEVICE_ID_DEFAULT;
603 return DEVICE_ID_DEFAULT;
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt124 `when`(context.deviceId).thenReturn(ContextCompat.DEVICE_ID_DEFAULT) in resetMockAppState()
185 ContextCompat.DEVICE_ID_DEFAULT in createMockPackage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt232 val deviceId: Int = ContextCompat.DEVICE_ID_DEFAULT in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java341 if (ContextCompat.getDeviceId(context) == ContextCompat.DEVICE_ID_DEFAULT) { in create()