Searched refs:setP2pSsidPostfix (Results 1 – 4 of 4) sorted by relevance
425 public boolean setP2pSsidPostfix(String postfix) { in setP2pSsidPostfix() method in WifiP2pNative
6802 if (!mWifiNative.setP2pSsidPostfix(postfix)) { in setAndPersistDeviceName()6809 mWifiNative.setP2pSsidPostfix(generateP2pSsidPostfix(mThisDevice.deviceName)); in setAndPersistDeviceName()6896 mWifiNative.setP2pSsidPostfix("-" + mThisDevice.deviceName); in initializeP2pSettings()
4791 when(mWifiNative.setP2pSsidPostfix(anyString())).thenReturn(true); in testSetDeviceNameSuccess()4794 verify(mWifiNative).setP2pSsidPostfix(eq("-" + mTestThisDevice.deviceName)); in testSetDeviceNameSuccess()4815 when(mWifiNative.setP2pSsidPostfix(anyString())).thenReturn(true); in testSetDeviceNameFailureWithANameLongerThanMaxPostfixLength()4818 verify(mWifiNative).setP2pSsidPostfix( in testSetDeviceNameFailureWithANameLongerThanMaxPostfixLength()4843 when(mWifiNative.setP2pSsidPostfix(anyString())).thenReturn(true); in testSetDeviceNameFailureWithANameLongerThanMaxPostfixLengthForMultiByteCharacter()4848 verify(mWifiNative).setP2pSsidPostfix(eq("-한국어키보드보")); in testSetDeviceNameFailureWithANameLongerThanMaxPostfixLengthForMultiByteCharacter()4872 when(mWifiNative.setP2pSsidPostfix(anyString())).thenReturn(true); in testSetDeviceNameFailureWithNameExceedMaximumLength()4875 verify(mWifiNative, never()).setP2pSsidPostfix(any()); in testSetDeviceNameFailureWithNameExceedMaximumLength()4898 when(mWifiNative.setP2pSsidPostfix(anyString())).thenReturn(true); in testSetDeviceNameFailureWithMultilingualNameExceedMaximumLength()4901 verify(mWifiNative, never()).setP2pSsidPostfix(any()); in testSetDeviceNameFailureWithMultilingualNameExceedMaximumLength()[all …]
524 assertTrue(mWifiP2pNative.setP2pSsidPostfix(TEST_SSID_POSTFIX)); in testSetP2pSsidPostfix()