Home
last modified time | relevance | path

Searched refs:WebAsset (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAssetMatcher.java24 private final WebAsset mQuery;
26 public WebAssetMatcher(WebAsset query) { in WebAssetMatcher()
32 if (asset instanceof WebAsset) { in matches()
33 WebAsset webAsset = (WebAsset) asset; in matches()
DWebAsset.java39 /* package private */ final class WebAsset extends AbstractAsset { class
46 private WebAsset(URL url) { in WebAsset() method in WebAsset
92 if (!(o instanceof WebAsset)) { in equals()
96 return ((WebAsset) o).toJson().equals(toJson()); in equals()
120 protected static WebAsset create(JSONObject asset) in create()
149 return new WebAsset(url); in create()
DDirectStatementRetriever.java124 } else if (source instanceof WebAsset) { in retrieveStatements()
125 return retrieveFromWeb((WebAsset) source); in retrieveStatements()
131 private String computeAssociationJsonUrl(WebAsset asset) { in computeAssociationJsonUrl()
178 private Result retrieveFromWeb(WebAsset asset) in retrieveFromWeb()
DAssetFactory.java44 return WebAsset.create(asset); in create()
DAssetMatcherFactory.java41 return new WebAssetMatcher(WebAsset.create(queryObject)); in create()