Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java425 public boolean setP2pSsidPostfix(String postfix) { in setP2pSsidPostfix() method in WifiP2pNative
DWifiP2pServiceImpl.java6802 if (!mWifiNative.setP2pSsidPostfix(postfix)) { in setAndPersistDeviceName()
6809 mWifiNative.setP2pSsidPostfix(generateP2pSsidPostfix(mThisDevice.deviceName)); in setAndPersistDeviceName()
6896 mWifiNative.setP2pSsidPostfix("-" + mThisDevice.deviceName); in initializeP2pSettings()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java4791 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 …]
DWifiP2pNativeTest.java524 assertTrue(mWifiP2pNative.setP2pSsidPostfix(TEST_SSID_POSTFIX)); in testSetP2pSsidPostfix()