Searched refs:createDeviceContext (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | ContextCompat.java | 59 public static Context createDeviceContext(@NonNull Context context, int deviceId) { in createDeviceContext() method in ContextCompat 62 ? context : context.createDeviceContext(deviceId); in createDeviceContext()
|
D | KotlinUtils.kt | 755 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/ |
D | PermissionUpdateListenerTest.java | 132 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()
|
D | DevicePermissionsTest.kt | 97 virtualDeviceContext = defaultDeviceContext.createDeviceContext(virtualDevice.deviceId) in setup()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestDevicePermissions/src/android/permission/cts/appthatrequestpermission/ |
D | RevokeSelfPermissionReceiver.kt | 29 val deviceContext = context.createDeviceContext(deviceId) in onReceive()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermStateLiveData.kt | 56 } else ContextCompat.createDeviceContext(it, deviceId) in <lambda>()
|
D | LightPackageInfoLiveData.kt | 233 val deviceContext = ContextCompat.createDeviceContext(app, deviceId) in <lambda>()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/ |
D | DeviceAwarePermissionGrantTest.kt | 247 .createDeviceContext(deviceId) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 666 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/ |
D | GrantPermissionsActivity.java | 313 mPackageManager = ContextCompat.createDeviceContext(this, mTargetDeviceId) in onCreate()
|