Searched refs:p2pServiceAdd (Results 1 – 4 of 4) sorted by relevance
701 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd() method in WifiP2pNative
3968 if (!mWifiNative.p2pServiceAdd(servInfo)) { in addLocalService()
868 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenNoChannelUpdated()884 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName()900 verify(mWifiNative, never()).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenCallerPermissionDenied()915 when(mWifiNative.p2pServiceAdd(any())).thenReturn(true); in testAddLocalServiceSuccess()917 verify(mWifiNative).p2pServiceAdd(any()); in testAddLocalServiceSuccess()933 when(mWifiNative.p2pServiceAdd(any())).thenReturn(false); in testAddLocalServiceFailureWhenNativeCallFailure()935 verify(mWifiNative).p2pServiceAdd(any()); in testAddLocalServiceFailureWhenNativeCallFailure()
518 assertTrue(mWifiP2pNative.p2pServiceAdd(info)); in testP2pServiceAdd()