Searched refs:checkCanAccessWifiDirect (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 895 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/ |
D | WifiPermissionsUtil.java | 325 public boolean checkCanAccessWifiDirect(String pkgName, int uid, in checkCanAccessWifiDirect() method in WifiPermissionsUtil
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1070 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()
|