Home
last modified time | relevance | path

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

/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java93 private TvInputInfo testInput; field in SetupPassthroughActivityTest
97 testInput = createMockInput("com.example/.Input"); in setup()
136 testSingletonApp.tvInputManagerHelper.getFakeTvInputManager().add(testInput, -1); in create_inputNotFound()
148 testSingletonApp.tvInputManagerHelper.getFakeTvInputManager().add(testInput, -1); in create_validInput()
149 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in create_validInput()
163 testSingletonApp.tvInputManagerHelper.getFakeTvInputManager().add(testInput, -1); in create_trustedCallingPackage()
168 CommonUtils.createSetupIntent(new Intent(), testInput.getId())); in create_trustedCallingPackage()
186 testSingletonApp.tvInputManagerHelper.getFakeTvInputManager().add(testInput, -1); in create_nonTrustedCallingPackage()
191 CommonUtils.createSetupIntent(new Intent(), testInput.getId())); in create_nonTrustedCallingPackage()
208 testSingletonApp.tvInputManagerHelper.getFakeTvInputManager().add(testInput, -1); in create_nullCallingPackage()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDbState.java82 public DbState(JSONObject testInput) throws JSONException { in DbState() argument
86 if (testInput.has("sources")) { in DbState()
87 JSONArray sources = testInput.getJSONArray("sources"); in DbState()
96 if (testInput.has("source_destinations")) { in DbState()
97 JSONArray sourceDestinations = testInput.getJSONArray("source_destinations"); in DbState()
106 if (testInput.has("triggers")) { in DbState()
107 JSONArray triggers = testInput.getJSONArray("triggers"); in DbState()
116 if (testInput.has("event_reports")) { in DbState()
117 JSONArray eventReports = testInput.getJSONArray("event_reports"); in DbState()
126 if (testInput.has("attributions")) { in DbState()
[all …]