Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/common/
DPhFlagsTest.java351 int overrideValue = 50; in testGetTrainingMinBatteryLevel() local
355 Integer.toString(overrideValue), in testGetTrainingMinBatteryLevel()
359 assertThat(phFlags.getTrainingMinBatteryLevel()).isEqualTo(overrideValue); in testGetTrainingMinBatteryLevel()
374 int overrideValue = 5; in testGetThermalStatusToThrottle() local
378 Integer.toString(overrideValue), in testGetThermalStatusToThrottle()
382 assertThat(phFlags.getThermalStatusToThrottle()).isEqualTo(overrideValue); in testGetThermalStatusToThrottle()
397 long overrideValue = 2000; in testGetTrainingConditionCheckThrottlePeriodMillis() local
401 Long.toString(overrideValue), in testGetTrainingConditionCheckThrottlePeriodMillis()
406 .isEqualTo(overrideValue); in testGetTrainingConditionCheckThrottlePeriodMillis()
744 String overrideValue = "Something"; in testGetFcpModuleJobPolicy() local
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java79 final String overrideValue = findConstantForKeyValuePairs(sBuildKeyValues, overrideArray); in getDeviceOverrideValue() local
81 if (overrideValue != null) { in getDeviceOverrideValue()
85 + " override=" + overrideValue); in getDeviceOverrideValue()
86 sDeviceOverrideValueMap.put(key, overrideValue); in getDeviceOverrideValue()
87 return overrideValue; in getDeviceOverrideValue()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java137 public static void mockBackgroundJobsLoggingKillSwitch(Flags flag, boolean overrideValue) { in mockBackgroundJobsLoggingKillSwitch() argument
138 when(flag.getBackgroundJobsLoggingKillSwitch()).thenReturn(overrideValue); in mockBackgroundJobsLoggingKillSwitch()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DInterfaceConflictManager.java205 public void setUserApprovalNeededOverride(boolean override, boolean overrideValue) { in setUserApprovalNeededOverride() argument
207 + overrideValue); in setUserApprovalNeededOverride()
209 mUserApprovalNeededOverrideValue = overrideValue; in setUserApprovalNeededOverride()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DPhFlagsTest.java591 String overrideValue = "Something"; in testGetOdpModuleJobPolicy() local
595 overrideValue, in testGetOdpModuleJobPolicy()
597 assertThat(FlagsFactory.getFlags().getOdpModuleJobPolicy()).isEqualTo(overrideValue); in testGetOdpModuleJobPolicy()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltJobServiceTest.java364 private void mockCobaltLoggingEnabled(boolean overrideValue) { in mockCobaltLoggingEnabled() argument
365 doReturn(overrideValue).when(mMockFlags).getCobaltLoggingEnabled(); in mockCobaltLoggingEnabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DClassifierManagerTest.java471 private void setClassifierTypeFlag(@ClassifierType int overrideValue) { in setClassifierTypeFlag() argument
472 when(mMockFlags.getClassifierType()).thenReturn(overrideValue); in setClassifierTypeFlag()