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.java325 public boolean checkCanAccessWifiDirect(String pkgName, int uid, in checkCanAccessWifiDirect() method in WifiPermissionsUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1070 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1220 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1531 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1567 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1617 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1769 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
1928 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
2773 if (!mWifiPermissionsUtil.checkCanAccessWifiDirect( in processMessage()
4111 if (mWifiPermissionsUtil.checkCanAccessWifiDirect(pkgName, uid, true)) { in getPeers()