Home
last modified time | relevance | path

Searched refs:policyUpdate (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointTestUtils.java103 UpdateParameter policyUpdate = new UpdateParameter(); in createPolicy() local
104 policyUpdate.setUpdateIntervalInMinutes(1712); in createPolicy()
105 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createPolicy()
106 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
107 policyUpdate.setServerUri("policy.update.com"); in createPolicy()
108 policyUpdate.setUsername("username"); in createPolicy()
109 policyUpdate.setBase64EncodedPassword( in createPolicy()
111 policyUpdate.setTrustRootCertUrl("trust.cert.com"); in createPolicy()
112 policyUpdate.setTrustRootCertSha256Fingerprint( in createPolicy()
114 policy.setPolicyUpdate(policyUpdate); in createPolicy()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DPolicyTest.java80 UpdateParameter policyUpdate = new UpdateParameter(); in createPolicy() local
81 policyUpdate.setUpdateIntervalInMinutes(1712); in createPolicy()
82 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createPolicy()
83 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
84 policyUpdate.setServerUri("policy.update.com"); in createPolicy()
85 policyUpdate.setUsername("username"); in createPolicy()
86 policyUpdate.setBase64EncodedPassword( in createPolicy()
88 policyUpdate.setTrustRootCertUrl("trust.cert.com"); in createPolicy()
89 policyUpdate.setTrustRootCertSha256Fingerprint(new byte[32]); in createPolicy()
90 policy.setPolicyUpdate(policyUpdate); in createPolicy()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java191 UpdateParameter policyUpdate = new UpdateParameter(); in generateConfigurationFromPPSMOTree() local
192 policyUpdate.setUpdateIntervalInMinutes(120); in generateConfigurationFromPPSMOTree()
193 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in generateConfigurationFromPPSMOTree()
194 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in generateConfigurationFromPPSMOTree()
195 policyUpdate.setServerUri("policy.update.com"); in generateConfigurationFromPPSMOTree()
196 policyUpdate.setUsername("updateUser"); in generateConfigurationFromPPSMOTree()
197 policyUpdate.setBase64EncodedPassword("updatePass"); in generateConfigurationFromPPSMOTree()
198 policyUpdate.setTrustRootCertUrl("update.cert.com"); in generateConfigurationFromPPSMOTree()
199 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in generateConfigurationFromPPSMOTree()
200 policy.setPolicyUpdate(policyUpdate); in generateConfigurationFromPPSMOTree()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java170 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
171 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
172 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
173 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
174 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
175 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
176 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
177 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
178 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
179 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java203 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
204 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
205 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
206 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
207 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
208 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
209 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
210 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
211 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
212 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DPolicy.java323 public void setPolicyUpdate(UpdateParameter policyUpdate) { in setPolicyUpdate() argument
324 mPolicyUpdate = policyUpdate; in setPolicyUpdate()