Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java895 when(mWifiPermissionsUtil.checkCanAccessWifiDirect( in testAddLocalServiceFailureWhenCallerPermissionDenied()
902 .checkCanAccessWifiDirect(eq("testPkg1"), anyInt(), eq(false)); in testAddLocalServiceFailureWhenCallerPermissionDenied()
913 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyInt(), anyBoolean())) in testAddLocalServiceSuccess()
919 .checkCanAccessWifiDirect(eq("testPkg1"), anyInt(), eq(false)); in testAddLocalServiceSuccess()
931 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyInt(), anyBoolean())) in testAddLocalServiceFailureWhenNativeCallFailure()
937 .checkCanAccessWifiDirect(eq("testPkg1"), anyInt(), eq(false)); in testAddLocalServiceFailureWhenNativeCallFailure()
977 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyInt(), anyBoolean())) in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
984 .checkCanAccessWifiDirect(eq("testPkg1"), anyInt(), eq(false)); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied()
993 when(mWifiPermissionsUtil.checkCanAccessWifiDirect(anyString(), anyInt(), anyBoolean())) in testConnectWithConfigValidAsGroupSuccess()
1000 .checkCanAccessWifiDirect(eq("testPkg1"), anyInt(), eq(false)); in testConnectWithConfigValidAsGroupSuccess()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java324 public boolean checkCanAccessWifiDirect(String pkgName, int uid, in checkCanAccessWifiDirect() method in WifiPermissionsUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1051 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1201 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1512 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1548 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1598 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1751 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1910 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
2755 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
4076 if (mWifiPermissionsUtil.checkCanAccessWifiDirect(pkgName, uid, true)) { in getPeers()