Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java82 private enum Scenario { enum in NearbyDevicesRenouncePermissionTest
155 assertThat(performScan(Scenario.DEFAULT)).isEqualTo(Result.FULL); in scanWithoutRenouncingNotesBluetoothAndLocation()
166 assertThat(performScan(Scenario.RENOUNCE)).isEqualTo(Result.FILTERED); in scanRenouncingLocationNotesBluetoothButNotLocation()
177 assertThat(performScan(Scenario.RENOUNCE_MIDDLE)).isEqualTo(Result.FILTERED); in scanRenouncingInMiddleOfChainNotesBluetoothButNotLocation()
188 assertThat(performScan(Scenario.RENOUNCE_END)).isEqualTo(Result.FILTERED); in scanRenouncingAtEndOfChainNotesBluetoothButNotLocation()
195 private Result performScan(Scenario scenario) { in performScan()
233 private Context createContext(Scenario scenario, Context context) throws Exception { in createContext()
234 if (scenario == Scenario.DEFAULT) { in createContext()