Home
last modified time | relevance | path

Searched refs:mSystemInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java55 private SystemInfo mSystemInfo; field in DevDetailMoTest
70 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
71 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
72 when(mSystemInfo.getHwVersion()).thenReturn(TEST_HW_VERSION); in setUp()
73 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
74 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
75 when(mSystemInfo.getFirmwareVersion()).thenReturn(TEST_FW_VERSION); in setUp()
85 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(null); in serializeDevDetailMoWithoutMacaddress()
86 assertNull(DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoWithoutMacaddress()
158 DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoForHomeNetworkCarrier()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java67 private SystemInfo mSystemInfo; field in PostDevDataMessageTest
83 when(mSystemInfo.getDeviceModel()).thenReturn(TEST_MODEL); in setUp()
84 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
86 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
87 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
88 when(mSystemInfo.getHwVersion()).thenReturn(TEST_HW_VERSION); in setUp()
89 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
90 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
91 when(mSystemInfo.getFirmwareVersion()).thenReturn(TEST_FW_VERSION); in setUp()
101 mSystemInfo, TEST_REDIRECT_URL, in serializePostDevDataRequestWithoutSessionId()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java46 SystemInfo mSystemInfo; field in SystemInfoTest
55 mSystemInfo = new SystemInfo(mContext, mWifiNative); in setUp()
65 assertEquals(imei, mSystemInfo.getDeviceId()); in getDeviceIdWithImei()
76 assertEquals(meid, mSystemInfo.getDeviceId()); in getDeviceIdWithMeid()
87 assertEquals(SystemInfo.UNKNOWN_INFO, mSystemInfo.getDeviceId()); in getDeviceIdWithoutSim()
96 assertEquals(TEST_MAC, mSystemInfo.getMacAddress(TEST_IFACE)); in getWifiMacAddress()
DPasspointProvisionerTest.java185 @Mock SystemInfo mSystemInfo; field in PasspointProvisionerTest
219 mSystemInfo); in setUp()
235 when(mSystemInfo.getDeviceModel()).thenReturn(TEST_MODEL); in setUp()
236 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
237 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
238 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
239 when(mSystemInfo.getHwVersion()).thenReturn(TEST_HW_VERSION); in setUp()
240 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
241 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
242 when(mSystemInfo.getFirmwareVersion()).thenReturn(TEST_FW_VERSION); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java86 private final SystemInfo mSystemInfo; field in PasspointProvisioner
105 mSystemInfo = objectFactory.getSystemInfo(context, wifiNative); in PasspointProvisioner()
727 PostDevDataMessage.serializeToSoapEnvelope(mContext, mSystemInfo, in initSoapExchange()
819 PostDevDataMessage.serializeToSoapEnvelope(mContext, mSystemInfo, in secondSoapExchange()