Home
last modified time | relevance | path

Searched refs:initialValue (Results 1 – 25 of 88) sorted by relevance

1234

/packages/modules/Bluetooth/service/src/
DRadioModeListenerTest.kt101 val initialValue = startListener() in callback() constant
103 assertThat(initialValue).isFalse() in callback()
112 val initialValue = startListener() in initialize_whenNotSensitive_isOff() constant
114 assertThat(initialValue).isFalse() in initialize_whenNotSensitive_isOff()
123 val initialValue = startListener() in enable_whenNotSensitive_isOff() constant
127 assertThat(initialValue).isFalse() in enable_whenNotSensitive_isOff()
136 val initialValue = startListener() in initialize_whenSensitive_isOff() constant
138 assertThat(initialValue).isFalse() in initialize_whenSensitive_isOff()
147 val initialValue = startListener() in initialize_whenSensitive_isOn() constant
149 assertThat(initialValue).isTrue() in initialize_whenSensitive_isOn()
[all …]
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DGazeAttentionProcessor.java40 mAttention = mConfig.initialValue; in GazeAttentionProcessor()
61 logd("First pass, returning 'initialValue=" + mConfig.initialValue); in updateAttention()
63 return mConfig.initialValue; in updateAttention()
112 public final float initialValue; field in GazeAttentionProcessor.Configuration
135 Configuration(float initialValue, float decayRate, float growthRate) { in Configuration() argument
136 this.initialValue = initialValue; in Configuration()
145 initialValue, decayRate, growthRate); in toString()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSetPropRule.java52 String initialValue = UiDevice.getInstance(getInstrumentation()) in apply()
54 if (TextUtils.isEmpty(initialValue.trim())) { in apply()
55 initialValue = UNKNOWN; in apply()
58 String revertSetPropCmd = SETPROP_PREFIX + " " + mPropTag + " " + initialValue; in apply()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DTestableFeature.java44 public static TestableFeature createTestableFeature(Feature delegate, Boolean initialValue) { in createTestableFeature() argument
45 return new TestableFeature(delegate, initialValue); in createTestableFeature()
52 private TestableFeature(Feature delegate, Boolean initialValue) { in TestableFeature() argument
54 mTestValue = initialValue; in TestableFeature()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatedFloat.java64 public AnimatedFloat(Runnable updateCallback, float initialValue) { in AnimatedFloat() argument
66 value = initialValue; in AnimatedFloat()
69 public AnimatedFloat(Consumer<Float> updateCallback, float initialValue) { in AnimatedFloat() argument
71 value = initialValue; in AnimatedFloat()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DIoStatsTracker.java59 public IoStatsTracker(List<IoStatsEntry> initialValue, in IoStatsTracker() argument
61 mTotal = new SparseArray<>(initialValue.size()); in IoStatsTracker()
62 for (int i = 0; i < initialValue.size(); i++) { in IoStatsTracker()
63 IoStatsEntry uidIoStats = initialValue.get(i); in IoStatsTracker()
/packages/apps/Settings/src/com/android/settings/spa/network/
DSimsSection.kt69 }.collectAsStateWithLifecycle(initialValue = false) in SimPreference()
75 }.collectAsStateWithLifecycle(initialValue = false) in SimPreference()
79 }.collectAsStateWithLifecycle(initialValue = false) in SimPreference()
117 }.collectAsStateWithLifecycle(initialValue = null) in phoneNumber()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/flags/
DFakeFlagsReader.kt22 class FakeFlagsReader(initialValue: Flags) : FlagsReader {
23 override val config = MutableStateFlow(initialValue)
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/testutils/
DTestDeviceConfig.kt25 private val initialValue = DeviceConfig.getProperty(namespace, name) constant
34 DeviceConfig.setProperty(namespace, name, initialValue, false) in reset()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppDataUsagePreference.kt65 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return
68 initialValue = stringResource(R.string.computing_size),
73 initialValue = R.string.summary_placeholder,
DAppInstallerInfoPreference.kt53 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return in <lambda>()
56 initialValue = stringResource(R.string.summary_placeholder) in <lambda>()
59 val enabled by presenter.enabledFlow.collectAsStateWithLifecycle(initialValue = false) in <lambda>()
DInteractAcrossProfilesDetailsPreference.kt41 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return in InteractAcrossProfilesDetailsPreference()
44 initialValue = stringResource(R.string.summary_placeholder), in InteractAcrossProfilesDetailsPreference()
DAppLocalePreference.kt48 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return in AppLocalePreference()
51 initialValue = stringResource(R.string.summary_placeholder), in AppLocalePreference()
DAppAllServicesPreference.kt54 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return in <lambda>()
57 initialValue = stringResource(R.string.summary_placeholder), in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionInfoListViewModel.kt42 }.stateIn(scope, SharingStarted.Eagerly, initialValue = emptyList()) in <lambda>()
50 }.stateIn(scope, SharingStarted.Eagerly, initialValue = emptyList()) in <lambda>()
/packages/apps/Camera2/src/com/android/camera/async/
DConcurrentState.java54 public ConcurrentState(T initialValue) { in ConcurrentState() argument
59 mValue = initialValue; in ConcurrentState()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DConfigDeclaration.java35 public ConfigDeclaration(VehiclePropConfig config, @Nullable RawPropValues initialValue, in ConfigDeclaration() argument
38 this.mInitialValue = initialValue; in ConfigDeclaration()
/packages/modules/StatsD/statsd/src/condition/
Dcondition_util.cpp92 ConditionState convertInitialValue(const SimplePredicate_InitialValue& initialValue) { in convertInitialValue() argument
93 switch (initialValue) { in convertInitialValue()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DLinearVhalEventGenerator.java56 LinearVhalEventGenerator setInitialValue(float initialValue) { in setInitialValue() argument
57 mInitialValue = initialValue; in setInitialValue()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNrAdvancedCallingPreferenceController.kt59 .collectAsStateWithLifecycle(initialValue = false) in <lambda>()
62 }.collectAsStateWithLifecycle(initialValue = false) in <lambda>()
DMobileNetworkSwitchController.kt56 }.collectAsStateWithLifecycle(initialValue = null) in <lambda>()
59 }.collectAsStateWithLifecycle(initialValue = true) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java169 final String initialValue = mListValues[i].toString(); in onDeveloperOptionsSwitchEnabled_shouldEnablePreference() local
173 SystemProperties.set(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY, initialValue); in onDeveloperOptionsSwitchEnabled_shouldEnablePreference()
182 .isEqualTo(initialValue); in onDeveloperOptionsSwitchEnabled_shouldEnablePreference()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModel.kt70 initialValue = userMonitor.userStatus.value.allProfiles
80 initialValue = userMonitor.userStatus.value.activeUserProfile
/packages/apps/Settings/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreference.kt42 if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return in UserAspectRatioAppPreference()
45 initialValue = stringResource(R.string.summary_placeholder), in UserAspectRatioAppPreference()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DLogAggregatorsTest.java64 assertThat(aggregator.initialValue(5L)).isEqualTo(integerAggregate(5)); in countAggregator_initialValue_returnsValue()
85 aggregator.initialValue( in stringIndexAggregator_initialValue_returnsSingleBucketHistogram()

1234