Searched refs:overrideValue (Results 1 – 7 of 7) sorted by relevance
351 int overrideValue = 50; in testGetTrainingMinBatteryLevel() local355 Integer.toString(overrideValue), in testGetTrainingMinBatteryLevel()359 assertThat(phFlags.getTrainingMinBatteryLevel()).isEqualTo(overrideValue); in testGetTrainingMinBatteryLevel()374 int overrideValue = 5; in testGetThermalStatusToThrottle() local378 Integer.toString(overrideValue), in testGetThermalStatusToThrottle()382 assertThat(phFlags.getThermalStatusToThrottle()).isEqualTo(overrideValue); in testGetThermalStatusToThrottle()397 long overrideValue = 2000; in testGetTrainingConditionCheckThrottlePeriodMillis() local401 Long.toString(overrideValue), in testGetTrainingConditionCheckThrottlePeriodMillis()406 .isEqualTo(overrideValue); in testGetTrainingConditionCheckThrottlePeriodMillis()744 String overrideValue = "Something"; in testGetFcpModuleJobPolicy() local[all …]
79 final String overrideValue = findConstantForKeyValuePairs(sBuildKeyValues, overrideArray); in getDeviceOverrideValue() local81 if (overrideValue != null) { in getDeviceOverrideValue()85 + " override=" + overrideValue); in getDeviceOverrideValue()86 sDeviceOverrideValueMap.put(key, overrideValue); in getDeviceOverrideValue()87 return overrideValue; in getDeviceOverrideValue()
137 public static void mockBackgroundJobsLoggingKillSwitch(Flags flag, boolean overrideValue) { in mockBackgroundJobsLoggingKillSwitch() argument138 when(flag.getBackgroundJobsLoggingKillSwitch()).thenReturn(overrideValue); in mockBackgroundJobsLoggingKillSwitch()
205 public void setUserApprovalNeededOverride(boolean override, boolean overrideValue) { in setUserApprovalNeededOverride() argument207 + overrideValue); in setUserApprovalNeededOverride()209 mUserApprovalNeededOverrideValue = overrideValue; in setUserApprovalNeededOverride()
591 String overrideValue = "Something"; in testGetOdpModuleJobPolicy() local595 overrideValue, in testGetOdpModuleJobPolicy()597 assertThat(FlagsFactory.getFlags().getOdpModuleJobPolicy()).isEqualTo(overrideValue); in testGetOdpModuleJobPolicy()
364 private void mockCobaltLoggingEnabled(boolean overrideValue) { in mockCobaltLoggingEnabled() argument365 doReturn(overrideValue).when(mMockFlags).getCobaltLoggingEnabled(); in mockCobaltLoggingEnabled()
471 private void setClassifierTypeFlag(@ClassifierType int overrideValue) { in setClassifierTypeFlag() argument472 when(mMockFlags.getClassifierType()).thenReturn(overrideValue); in setClassifierTypeFlag()