Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointTestUtils.java99 UpdateParameter policyUpdate = new UpdateParameter(); in createPolicy() local
100 policyUpdate.setUpdateIntervalInMinutes(1712); in createPolicy()
101 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createPolicy()
102 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
103 policyUpdate.setServerUri("policy.update.com"); in createPolicy()
104 policyUpdate.setUsername("username"); in createPolicy()
105 policyUpdate.setBase64EncodedPassword( in createPolicy()
107 policyUpdate.setTrustRootCertUrl("trust.cert.com"); in createPolicy()
108 policyUpdate.setTrustRootCertSha256Fingerprint( in createPolicy()
110 policy.setPolicyUpdate(policyUpdate); in createPolicy()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DPolicyTest.java78 UpdateParameter policyUpdate = new UpdateParameter(); in createPolicy() local
79 policyUpdate.setUpdateIntervalInMinutes(1712); in createPolicy()
80 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createPolicy()
81 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
82 policyUpdate.setServerUri("policy.update.com"); in createPolicy()
83 policyUpdate.setUsername("username"); in createPolicy()
84 policyUpdate.setBase64EncodedPassword( in createPolicy()
86 policyUpdate.setTrustRootCertUrl("trust.cert.com"); in createPolicy()
87 policyUpdate.setTrustRootCertSha256Fingerprint(new byte[32]); in createPolicy()
88 policy.setPolicyUpdate(policyUpdate); in createPolicy()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java164 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
165 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
166 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
167 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
168 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
169 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
170 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
171 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
172 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
173 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java200 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
201 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
202 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
203 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
204 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
205 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
206 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
207 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
208 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
209 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
/frameworks/base/wifi/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()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DPolicy.java312 public void setPolicyUpdate(UpdateParameter policyUpdate) { in setPolicyUpdate() argument
313 mPolicyUpdate = policyUpdate; in setPolicyUpdate()