Searched refs:p2pServiceAdd (Results 1 – 4 of 4) sorted by relevance
699 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd() method in WifiP2pNative
4343 if (!mWifiNative.p2pServiceAdd(servInfo)) { in addLocalService()
1050 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenNoChannelUpdated()1066 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName()1082 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenCallerPermissionDenied()1089 when(mWifiNative.p2pServiceAdd(any())).thenReturn(true); in verifyAddLocalService()1091 verify(mWifiNative).p2pServiceAdd(any()); in verifyAddLocalService()1115 when(mWifiNative.p2pServiceAdd(any())).thenReturn(false); in testAddLocalServiceFailureWhenNativeCallFailure()1117 verify(mWifiNative).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenNativeCallFailure()
551 assertTrue(mWifiP2pNative.p2pServiceAdd(info)); in testP2pServiceAdd()