Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java54 private SystemInfo mSystemInfo; field in DevDetailMoTest
69 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
70 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
71 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
72 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
82 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(null); in serializeDevDetailMoWithoutMacaddress()
83 assertNull(DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoWithoutMacaddress()
152 DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoForHomeNetworkCarrier()
219 DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoForOtherCarrier()
287 DevDetailMo.serializeToXml(mContext, mSystemInfo, TEST_REDIRECT_URL)); in serializeDevDetailMoWithoutSim()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java66 private SystemInfo mSystemInfo; field in PostDevDataMessageTest
82 when(mSystemInfo.getDeviceModel()).thenReturn(TEST_MODEL); in setUp()
83 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
85 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
86 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
87 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
88 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
98 mSystemInfo, TEST_REDIRECT_URL, in serializePostDevDataRequestWithoutSessionId()
114 mSystemInfo, TEST_REDIRECT_URL, in serializePostDevDataRequestWithSessionId()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java47 SystemInfo mSystemInfo; field in SystemInfoTest
56 mSystemInfo = new SystemInfo(mContext, mWifiNative); in setUp()
66 assertEquals(imei, mSystemInfo.getDeviceId()); in getDeviceIdWithImei()
77 assertEquals(meid, mSystemInfo.getDeviceId()); in getDeviceIdWithMeid()
88 assertEquals(SystemInfo.UNKNOWN_INFO, mSystemInfo.getDeviceId()); in getDeviceIdWithoutSim()
97 assertEquals(TEST_MAC, mSystemInfo.getMacAddress(TEST_IFACE)); in getWifiMacAddress()
DPasspointProvisionerTest.java184 @Mock SystemInfo mSystemInfo; field in PasspointProvisionerTest
217 mSystemInfo); in setUp()
234 when(mSystemInfo.getDeviceModel()).thenReturn(TEST_MODEL); in setUp()
235 when(mSystemInfo.getLanguage()).thenReturn(TEST_LANGUAGE); in setUp()
236 when(mSystemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in setUp()
237 when(mSystemInfo.getDeviceManufacturer()).thenReturn(TEST_MANUFACTURER); in setUp()
238 when(mSystemInfo.getMacAddress(any(String.class))).thenReturn(TEST_MAC_ADDR); in setUp()
239 when(mSystemInfo.getSoftwareVersion()).thenReturn(TEST_SW_VERSION); in setUp()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfileTest.java50 private final UserInfo mSystemInfo = new UserInfo(UserHandle.USER_SYSTEM, "system", 0); field in RestrictedProfileTest
112 setCurrentUser(mProfileInfo).addOtherUsers(mOwnerInfo, mSystemInfo); in testExitUser_isProfile()
119 setCurrentUser(mProfileInfo).addOtherUsers(mProfileInfo, mSystemInfo); in testExitUser_isProfile_legacyParent()
122 verify(mActivityManager, times(1)).switchUser(eq(mSystemInfo.id)); in testExitUser_isProfile_legacyParent()
/packages/services/Car/cpp/evs/sampleDriver/
DConfigManager.h135 return mSystemInfo; in getSystemInfo()
229 SystemInfo mSystemInfo; variable
DConfigManager.cpp435 mSystemInfo.numCameras = in readSystemInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java89 private final SystemInfo mSystemInfo; field in PasspointProvisioner
108 mSystemInfo = objectFactory.getSystemInfo(context, wifiNative); in PasspointProvisioner()
730 PostDevDataMessage.serializeToSoapEnvelope(mContext, mSystemInfo, in initSoapExchange()
841 PostDevDataMessage.serializeToSoapEnvelope(mContext, mSystemInfo, in secondSoapExchange()