Home
last modified time | relevance | path

Searched refs:systemInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevInfoMoTest.java44 SystemInfo systemInfo = mock(SystemInfo.class); in serializeDevInfo() local
45 when(systemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in serializeDevInfo()
46 when(systemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in serializeDevInfo()
47 when(systemInfo.getDeviceModel()).thenReturn(TEST_MODEL); in serializeDevInfo()
48 when(systemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in serializeDevInfo()
62 assertEquals(expected, DevInfoMo.serializeToXml(systemInfo)); in serializeDevInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevInfoMo.java56 public static String serializeToXml(@NonNull SystemInfo systemInfo) { in serializeToXml() argument
72 moSerializer.createNodeForValue(doc, TAG_DEVID, systemInfo.getDeviceId())); in serializeToXml()
75 systemInfo.getDeviceManufacturer())); in serializeToXml()
77 moSerializer.createNodeForValue(doc, TAG_MODEL, systemInfo.getDeviceModel())); in serializeToXml()
81 moSerializer.createNodeForValue(doc, TAG_LANGUAGE, systemInfo.getLanguage())); in serializeToXml()