Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DContextCompat.java59 public static Context createDeviceContext(@NonNull Context context, int deviceId) { in createDeviceContext() method in ContextCompat
62 ? context : context.createDeviceContext(deviceId); in createDeviceContext()
DKotlinUtils.kt755 val context = ContextCompat.createDeviceContext(app.applicationContext, deviceId) in <lambda>()
873 val context = ContextCompat.createDeviceContext(app.applicationContext, deviceId) in <lambda>()
974 val context = ContextCompat.createDeviceContext(app.applicationContext, deviceId) in <lambda>()
1192 val context = ContextCompat.createDeviceContext(app.applicationContext, deviceId) in <lambda>()
1300 val context = ContextCompat.createDeviceContext(app.applicationContext, deviceId) in <lambda>()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionUpdateListenerTest.java132 Context deviceContext = mDefaultContext.createDeviceContext(virtualDevice.getDeviceId()); in testVirtualDeviceGrantPermissionNotifyListener()
176 Context deviceContext = mDefaultContext.createDeviceContext(virtualDevice.getDeviceId()); in testVirtualDeviceRevokePermissionNotifyListener()
216 Context deviceContext = mDefaultContext.createDeviceContext(virtualDevice.getDeviceId()); in testVirtualDeviceUpdatePermissionFlagsNotifyListener()
DDevicePermissionsTest.kt97 virtualDeviceContext = defaultDeviceContext.createDeviceContext(virtualDevice.deviceId) in setup()
/packages/modules/Permission/tests/cts/permission/AppThatRequestDevicePermissions/src/android/permission/cts/appthatrequestpermission/
DRevokeSelfPermissionReceiver.kt29 val deviceContext = context.createDeviceContext(deviceId) in onReceive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermStateLiveData.kt56 } else ContextCompat.createDeviceContext(it, deviceId) in <lambda>()
DLightPackageInfoLiveData.kt233 val deviceContext = ContextCompat.createDeviceContext(app, deviceId) in <lambda>()
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DDeviceAwarePermissionGrantTest.kt247 .createDeviceContext(deviceId) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java666 Context deviceContext = ContextCompat.createDeviceContext(this, deviceId); in onOneTimePermissionSessionTimeout()
814 Context deviceContext = ContextCompat.createDeviceContext(this, deviceId); in onRevokeSelfPermissionsOnKill()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java313 mPackageManager = ContextCompat.createDeviceContext(this, mTargetDeviceId) in onCreate()