Home
last modified time | relevance | path

Searched refs:ScenarioLoader (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenarioLoader.java40 public class ScenarioLoader { class
57 JSONObject json = new JSONObject(ScenarioLoader.loadTextResource(scenarioPath)); in load()
65 variables.putAll(ScenarioLoader.parseSubstitutions(json, substitutionVariables)); in load()
66 return ScenarioLoader.parseScenario(json, variables); in load()
98 ScenarioLoader.parseBooleanOptionalOrDefault( in parseMock()
101 ScenarioLoader.parseBooleanOptionalOrDefault( in parseMock()
122 builder.setHeaders(ScenarioLoader.parseHeaders(json.getJSONObject("header"))); in parseRequest()
153 builder.setHeaders(ScenarioLoader.parseHeaders(json.getJSONObject("header"))); in parseResponse()
162 ScenarioLoader.parseIntegerOptionalOrDefault(FIELD_DELAY_SEC, json)); in parseResponse()
240 responseBody = ScenarioLoader.loadTextResource(fileName); in loadTextResourceWithSubstitutions()
DScenarioDispatcher.java150 ScenarioLoader.load(scenarioPath, mSubstitutionVariables).getScenarioMap(); in ScenarioDispatcher()