Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DSystemBluetoothTest.java289 AdvertisingSetParameters.Builder paramsBuilder = new AdvertisingSetParameters.Builder(); in setGetOwnAddressType() local
290 assertThat(paramsBuilder.setOwnAddressType(AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT)) in setGetOwnAddressType()
291 .isEqualTo(paramsBuilder); in setGetOwnAddressType()
293 assertThat(paramsBuilder.build().getOwnAddressType()) in setGetOwnAddressType()
296 assertThat(paramsBuilder.setOwnAddressType(AdvertisingSetParameters.ADDRESS_TYPE_PUBLIC)) in setGetOwnAddressType()
297 .isEqualTo(paramsBuilder); in setGetOwnAddressType()
298 assertThat(paramsBuilder.build().getOwnAddressType()) in setGetOwnAddressType()
301 assertThat(paramsBuilder.setOwnAddressType(AdvertisingSetParameters.ADDRESS_TYPE_RANDOM)) in setGetOwnAddressType()
302 .isEqualTo(paramsBuilder); in setGetOwnAddressType()
303 assertThat(paramsBuilder.build().getOwnAddressType()) in setGetOwnAddressType()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceParamsTest.java171 VirtualDeviceParams.Builder paramsBuilder = new VirtualDeviceParams.Builder(); in setAllowedAndBlockedCrossTaskNavigations_shouldThrowException() local
173 paramsBuilder.setAllowedCrossTaskNavigations(Set.of(COMPONENT_NAME)); in setAllowedAndBlockedCrossTaskNavigations_shouldThrowException()
174 paramsBuilder.setBlockedCrossTaskNavigations(Set.of()); in setAllowedAndBlockedCrossTaskNavigations_shouldThrowException()
180 VirtualDeviceParams.Builder paramsBuilder = new VirtualDeviceParams.Builder(); in setBlockedAndAllowedCrossTaskNavigations_shouldThrowException() local
182 paramsBuilder.setBlockedCrossTaskNavigations(Set.of(COMPONENT_NAME)); in setBlockedAndAllowedCrossTaskNavigations_shouldThrowException()
183 paramsBuilder.setAllowedCrossTaskNavigations(Set.of()); in setBlockedAndAllowedCrossTaskNavigations_shouldThrowException()
213 VirtualDeviceParams.Builder paramsBuilder = new VirtualDeviceParams.Builder(); in setAllowedAndBlockedActivities_shouldThrowException() local
215 paramsBuilder.setAllowedActivities(Set.of(COMPONENT_NAME)); in setAllowedAndBlockedActivities_shouldThrowException()
216 paramsBuilder.setBlockedActivities(Set.of()); in setAllowedAndBlockedActivities_shouldThrowException()
222 VirtualDeviceParams.Builder paramsBuilder = new VirtualDeviceParams.Builder(); in setBlockedAndAllowedActivities_shouldThrowException() local
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java229 SQLiteDatabase.OpenParams.Builder paramsBuilder = new SQLiteDatabase.OpenParams.Builder(); in testSetOpenParams() local
230 paramsBuilder.addOpenFlags(SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING); in testSetOpenParams()
233 helper.setOpenParams(paramsBuilder.build()); in testSetOpenParams()