/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | DataRepository.kt | 201 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()
|
D | LightPackageInfoLiveData.kt | 117 if (SdkLevel.isAtLeastV() && deviceId != ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>() 191 if (SdkLevel.isAtLeastV() && deviceId != Context.DEVICE_ID_DEFAULT) { in <lambda>()
|
D | PermStateLiveData.kt | 54 if (deviceId == ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | ContextCompat.java | 34 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/ |
D | DeviceAwarePermissionGrantTest.kt | 122 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/ |
D | GrantPermissionsActivity.java | 234 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/ |
D | RequestPermissionActivity.kt | 36 Context.DEVICE_ID_DEFAULT in onCreate()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 42 requestPermissions(permissions, 1, Context.DEVICE_ID_DEFAULT) in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightPackageInfo.kt | 76 ContextCompat.DEVICE_ID_DEFAULT in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/ |
D | HibernationControllerTest.kt | 165 ContextCompat.DEVICE_ID_DEFAULT in makePackageInfo()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v35/ |
D | MultiDeviceUtils.kt | 90 if (!SdkLevel.isAtLeastV() || deviceId == ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 660 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/ |
D | ComponentContextFixture.java | 101 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/ |
D | GrantRevokeTests.kt | 124 `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/ |
D | GrantPermissionsViewModel.kt | 232 val deviceId: Int = ContextCompat.DEVICE_ID_DEFAULT in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 341 if (ContextCompat.getDeviceId(context) == ContextCompat.DEVICE_ID_DEFAULT) { in create()
|