Searched refs:paramsBuilder (Results 1 – 3 of 3) sorted by relevance
289 AdvertisingSetParameters.Builder paramsBuilder = new AdvertisingSetParameters.Builder(); in setGetOwnAddressType() local290 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()
171 VirtualDeviceParams.Builder paramsBuilder = new VirtualDeviceParams.Builder(); in setAllowedAndBlockedCrossTaskNavigations_shouldThrowException() local173 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() local182 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() local215 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 …]
229 SQLiteDatabase.OpenParams.Builder paramsBuilder = new SQLiteDatabase.OpenParams.Builder(); in testSetOpenParams() local230 paramsBuilder.addOpenFlags(SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING); in testSetOpenParams()233 helper.setOpenParams(paramsBuilder.build()); in testSetOpenParams()