Home
last modified time | relevance | path

Searched refs:receiverPermissions (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java7948 String[] receiverPermissions; in testSendP2pConnectionChangedBroadcast() local
7954 receiverPermissions = new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, in testSendP2pConnectionChangedBroadcast()
7966 assertEquals(receiverPermissions, permissionCaptor.getValue()); in testSendP2pConnectionChangedBroadcast()
7968 receiverPermissions = new String[]{NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}; in testSendP2pConnectionChangedBroadcast()
7981 assertEquals(receiverPermissions, permissionCaptor.getValue()); in testSendP2pConnectionChangedBroadcast()
8051 assertEquals(receiverPermissions, permissionArrayList.get(1)); in testSendP2pConnectionChangedBroadcast()
8063 receiverPermissions = new String[]{android.Manifest.permission.TETHER_PRIVILEGED}; in testSendP2pConnectionChangedBroadcast()
8065 assertEquals(receiverPermissions, permissionArrayList.get(2)); in testSendP2pConnectionChangedBroadcast()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java5921 String[] receiverPermissions = RECEIVER_PERMISSIONS_MAINLINE_NETWORK_STACK; in sendBroadcastWithMainlineNetworkStackPermissionPostU() local
5927 + Arrays.toString(receiverPermissions)); in sendBroadcastWithMainlineNetworkStackPermissionPostU()
5929 context.sendBroadcastWithMultiplePermissions(intent, receiverPermissions); in sendBroadcastWithMainlineNetworkStackPermissionPostU()