Home
last modified time | relevance | path

Searched refs:setSsidPostfix (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java614 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_success()
617 assertFalse(mDut.setSsidPostfix(ssid)); in testSetSsidPostfix_success()
619 assertTrue(mDut.setSsidPostfix(ssid)); in testSetSsidPostfix_success()
620 assertFalse(mDut.setSsidPostfix(null)); in testSetSsidPostfix_success()
630 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_failure()
632 assertFalse(mDut.setSsidPostfix(ssid)); in testSetSsidPostfix_failure()
644 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_exception()
646 assertFalse(mDut.setSsidPostfix(ssid)); in testSetSsidPostfix_exception()
DWifiP2pNativeTest.java241 when(mSupplicantP2pIfaceHalMock.setSsidPostfix(anyString())).thenReturn(true); in testSetP2pSsidPostfix()
243 verify(mSupplicantP2pIfaceHalMock).setSsidPostfix(eq(TEST_SSID_POSTFIX)); in testSetP2pSsidPostfix()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java380 return mSupplicantP2pIfaceHal.setSsidPostfix(postfix); in setP2pSsidPostfix()
DSupplicantP2pIfaceHal.java748 public boolean setSsidPostfix(String postfix) { in setSsidPostfix() method in SupplicantP2pIfaceHal
759 result.setResult(mISupplicantP2pIface.setSsidPostfix( in setSsidPostfix()