Home
last modified time | relevance | path

Searched refs:checkCanAccessWifiDirect (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java865 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyString(), anyInt(), in setUpWifiP2pServiceImpl()
1077 when(mWifiPermissionsUtil.checkCanAccessWifiDirect( in testAddLocalServiceFailureWhenCallerPermissionDenied()
1083 verify(mWifiPermissionsUtil).checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), in testAddLocalServiceFailureWhenCallerPermissionDenied()
1092 verify(mWifiPermissionsUtil).checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), in verifyAddLocalService()
1118 verify(mWifiPermissionsUtil).checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), in testAddLocalServiceFailureWhenNativeCallFailure()
1159 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyString(), anyInt(), in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
1166 .checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), anyInt(), eq(false)); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
1180 .checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), anyInt(), eq(false)); in testConnectWithConfigValidAsGroupSuccess()
1195 .checkCanAccessWifiDirect(eq("testPkg1"), eq("testFeature"), anyInt(), eq(false)); in testConnectWithConfigValidAsGroupFailureWhenNativeCallFailure()
1239 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyString(), anyInt(), in testCreateGroupWithConfigValidAsGroupFailureWhenPermissionDenied()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1200 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1364 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1717 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1754 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1806 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
2001 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
2165 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
3059 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
4487 if (mWifiPermissionsUtil.checkCanAccessWifiDirect(pkgName, featureId, uid, true)) { in getPeers()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java365 public boolean checkCanAccessWifiDirect(String pkgName, @Nullable String featureId, int uid, in checkCanAccessWifiDirect() method in WifiPermissionsUtil