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/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.java163 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
164 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
165 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
166 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
167 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
168 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
169 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
170 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
171 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
172 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java193 UpdateParameter policyUpdate = new UpdateParameter(); in createFullPasspointConfiguration() local
194 policyUpdate.setUpdateIntervalInMinutes(120); in createFullPasspointConfiguration()
195 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createFullPasspointConfiguration()
196 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
197 policyUpdate.setServerUri("policy.update.com"); in createFullPasspointConfiguration()
198 policyUpdate.setUsername("updateUser"); in createFullPasspointConfiguration()
199 policyUpdate.setBase64EncodedPassword("updatePass"); in createFullPasspointConfiguration()
200 policyUpdate.setTrustRootCertUrl("update.cert.com"); in createFullPasspointConfiguration()
201 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
202 policy.setPolicyUpdate(policyUpdate); in createFullPasspointConfiguration()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java188 UpdateParameter policyUpdate = new UpdateParameter(); in generateConfigurationFromPPSMOTree() local
189 policyUpdate.setUpdateIntervalInMinutes(120); in generateConfigurationFromPPSMOTree()
190 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in generateConfigurationFromPPSMOTree()
191 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in generateConfigurationFromPPSMOTree()
192 policyUpdate.setServerUri("policy.update.com"); in generateConfigurationFromPPSMOTree()
193 policyUpdate.setUsername("updateUser"); in generateConfigurationFromPPSMOTree()
194 policyUpdate.setBase64EncodedPassword("updatePass"); in generateConfigurationFromPPSMOTree()
195 policyUpdate.setTrustRootCertUrl("update.cert.com"); in generateConfigurationFromPPSMOTree()
196 policyUpdate.setTrustRootCertSha256Fingerprint(certFingerprint); in generateConfigurationFromPPSMOTree()
197 policy.setPolicyUpdate(policyUpdate); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java114 UpdateParameter policyUpdate = new UpdateParameter(); in createPolicy() local
115 policyUpdate.setUpdateIntervalInMinutes(1712); in createPolicy()
116 policyUpdate.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createPolicy()
117 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
118 policyUpdate.setServerUri("policy.update.com"); in createPolicy()
119 policyUpdate.setUsername("username"); in createPolicy()
120 policyUpdate.setBase64EncodedPassword( in createPolicy()
122 policyUpdate.setTrustRootCertUrl("trust.cert.com"); in createPolicy()
123 policyUpdate.setTrustRootCertSha256Fingerprint( in createPolicy()
125 policy.setPolicyUpdate(policyUpdate); in createPolicy()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DPolicy.java312 public void setPolicyUpdate(UpdateParameter policyUpdate) { in setPolicyUpdate() argument
313 mPolicyUpdate = policyUpdate; in setPolicyUpdate()