Home
last modified time | relevance | path

Searched refs:updateParam (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DUpdateParameterTest.java51 UpdateParameter updateParam = new UpdateParameter(); in createUpdateParameter() local
52 updateParam.setUpdateIntervalInMinutes(1712); in createUpdateParameter()
53 updateParam.setUpdateMethod(UpdateParameter.UPDATE_METHOD_OMADM); in createUpdateParameter()
54 updateParam.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createUpdateParameter()
55 updateParam.setServerUri("server.pdate.com"); in createUpdateParameter()
56 updateParam.setUsername("username"); in createUpdateParameter()
57 updateParam.setBase64EncodedPassword( in createUpdateParameter()
59 updateParam.setTrustRootCertUrl("trust.cert.com"); in createUpdateParameter()
60 updateParam.setTrustRootCertSha256Fingerprint(new byte[32]); in createUpdateParameter()
61 updateParam.setCaCertificate(FakeKeys.CA_CERT0); in createUpdateParameter()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java385 UpdateParameter updateParam = new UpdateParameter();
386 updateParam.setUpdateIntervalInMinutes(in.readLong());
387 updateParam.setUpdateMethod(in.readString());
388 updateParam.setRestriction(in.readString());
389 updateParam.setServerUri(in.readString());
390 updateParam.setUsername(in.readString());
391 updateParam.setBase64EncodedPassword(in.readString());
392 updateParam.setTrustRootCertUrl(in.readString());
393 updateParam.setTrustRootCertSha256Fingerprint(in.createByteArray());
394 updateParam.setCaCertificate(ParcelUtil.readCertificate(in));
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java1322 UpdateParameter updateParam = new UpdateParameter(); in parseUpdateParameter() local
1326 updateParam.setUpdateIntervalInMinutes(parseLong(getPpsNodeValue(child), 10)); in parseUpdateParameter()
1329 updateParam.setUpdateMethod(getPpsNodeValue(child)); in parseUpdateParameter()
1332 updateParam.setRestriction(getPpsNodeValue(child)); in parseUpdateParameter()
1335 updateParam.setServerUri(getPpsNodeValue(child)); in parseUpdateParameter()
1339 updateParam.setUsername(usernamePassword.first); in parseUpdateParameter()
1340 updateParam.setBase64EncodedPassword(usernamePassword.second); in parseUpdateParameter()
1344 updateParam.setTrustRootCertUrl(trustRoot.first); in parseUpdateParameter()
1345 updateParam.setTrustRootCertSha256Fingerprint(trustRoot.second); in parseUpdateParameter()
1355 return updateParam; in parseUpdateParameter()