/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | CompanionManager.java | 99 PROPERTY_HIGH_MIN_INTERVAL, R.integer.gatt_high_priority_min_interval), in CompanionManager() 101 PROPERTY_HIGH_MAX_INTERVAL, R.integer.gatt_high_priority_max_interval), in CompanionManager() 102 getGattConfig(PROPERTY_HIGH_LATENCY, R.integer.gatt_high_priority_latency) in CompanionManager() 108 R.integer.gatt_balanced_priority_min_interval), in CompanionManager() 111 R.integer.gatt_balanced_priority_max_interval), in CompanionManager() 113 PROPERTY_BALANCED_LATENCY, R.integer.gatt_balanced_priority_latency) in CompanionManager() 117 getGattConfig(PROPERTY_LOW_MIN_INTERVAL, R.integer.gatt_low_power_min_interval), in CompanionManager() 118 getGattConfig(PROPERTY_LOW_MAX_INTERVAL, R.integer.gatt_low_power_max_interval), in CompanionManager() 119 getGattConfig(PROPERTY_LOW_LATENCY, R.integer.gatt_low_power_latency) in CompanionManager() 124 PROPERTY_DCK_MIN_INTERVAL, R.integer.gatt_dck_priority_min_interval), in CompanionManager() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScoringParams.java | 269 R.integer.config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz); in loadResources() 271 R.integer.config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz); in loadResources() 273 R.integer.config_wifi_framework_wifi_score_low_rssi_threshold_24GHz); in loadResources() 275 R.integer.config_wifi_framework_wifi_score_good_rssi_threshold_24GHz); in loadResources() 277 R.integer.config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz); in loadResources() 279 R.integer.config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz); in loadResources() 281 R.integer.config_wifi_framework_wifi_score_low_rssi_threshold_5GHz); in loadResources() 283 R.integer.config_wifi_framework_wifi_score_good_rssi_threshold_5GHz); in loadResources() 285 R.integer.config_wifiFrameworkScoreBadRssiThreshold6ghz); in loadResources() 287 R.integer.config_wifiFrameworkScoreEntryRssiThreshold6ghz); in loadResources() [all …]
|
D | WifiBlocklistMonitor.java | 285 R.integer.config_wifiBssidBlocklistMonitorFailureStreakCap)); in getBlocklistDurationWithExponentialBackoff() 444 R.integer.config_wifiBssidBlocklistMonitorApUnableToHandleNewStaThreshold); in getFailureThresholdForReason() 446 mContext.getResources().getInteger(R.integer in getFailureThresholdForReason() 450 R.integer.config_wifiBssidBlocklistMonitorWrongPasswordThreshold); in getFailureThresholdForReason() 453 R.integer.config_wifiBssidBlocklistMonitorEapFailureThreshold); in getFailureThresholdForReason() 456 R.integer.config_wifiBssidBlocklistMonitorAssociationRejectionThreshold); in getFailureThresholdForReason() 459 R.integer.config_wifiBssidBlocklistMonitorAssociationTimeoutThreshold); in getFailureThresholdForReason() 462 R.integer.config_wifiBssidBlocklistMonitorAuthenticationFailureThreshold); in getFailureThresholdForReason() 465 R.integer.config_wifiBssidBlocklistMonitorDhcpFailureThreshold); in getFailureThresholdForReason() 468 R.integer.config_wifiBssidBlocklistMonitorAbnormalDisconnectThreshold); in getFailureThresholdForReason() [all …]
|
D | WifiGlobals.java | 121 .getInteger(R.integer.config_wifiP2pDeviceNamePostfixNumDigits); in WifiGlobals() 123 .getInteger(R.integer.config_wifiClientModeImplNumLogRecs); in WifiGlobals() 127 R.integer.config_wifiLowConnectedScoreThresholdToTriggerScanForMbb); in WifiGlobals() 129 R.integer.config_wifiLowConnectedScoreScanPeriodSeconds); in WifiGlobals() 135 R.integer.config_wifiPollRssiIntervalMilliseconds)); in WifiGlobals() 137 R.integer.config_wifiPollRssiIntervalMilliseconds); in WifiGlobals() 139 R.integer.config_wifiPollRssiLongIntervalMilliseconds); in WifiGlobals() 141 R.integer.config_wifiClientRssiMonitorThresholdDbm); in WifiGlobals() 143 R.integer.config_wifiClientRssiMonitorHysteresisDb); in WifiGlobals() 151 .getInteger(R.integer.config_wifiDisableReasonRepeatedNudFailuresThreshold); in WifiGlobals() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/ |
D | ConfigurationParams.java | 183 mDeviceRole.ifPresent(integer -> configParamsBuilder.putByte(DEVICE_ROLES, in toBytes() 184 integer.byteValue())); in toBytes() 186 mRangingMethod.ifPresent(integer -> configParamsBuilder.putByte(RANGING_METHOD, in toBytes() 187 integer.byteValue())); in toBytes() 192 integer -> configParamsBuilder.putByte(STS_CONFIG, integer.byteValue())); in toBytes() 195 integer -> configParamsBuilder.putByte(MULTI_NODE_MODE, integer.byteValue())); in toBytes() 201 integer -> configParamsBuilder.putByte(SCHEDULED_MODE, integer.byteValue())); in toBytes() 212 mChannel.ifPresent(integer -> configParamsBuilder.putByte(CHANNEL, integer.byteValue())); in toBytes() 214 mRframeConfig.ifPresent(integer -> configParamsBuilder.putByte(RFRAME_CONFIG, in toBytes() 215 integer.byteValue())); in toBytes() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_interop_tests/ |
D | default_config.json | 2 // Positive integer that controls how many sources can be in the storage per 6 // Positive integer that controls the maximum number of distinct destinations 11 // Positive integer that controls the maximum number of distinct destinations 17 // Positive integer that controls the total maximum number of distinct 23 // Positive integer that controls the rate-limiting window in minutes for 27 // Positive integer that controls the rate-limiting time window in days for 31 // Positive integer that controls the maximum number of distinct reporting 36 // Positive integer that controls the maximum number of distinct reporting 41 // Positive integer that controls the maximum number of attributions for a 46 // Positive integer that controls the maximum number of distinct reporting [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | DeviceConfigFacade.java | 138 mContext.getResources().getInteger(R.integer.filter_distance_inliers_percent) in updateDeviceConfigFlags() 143 mContext.getResources().getInteger(R.integer.filter_distance_window) in updateDeviceConfigFlags() 148 mContext.getResources().getInteger(R.integer.filter_angle_inliers_percent) in updateDeviceConfigFlags() 153 mContext.getResources().getInteger(R.integer.filter_angle_window) in updateDeviceConfigFlags() 173 mContext.getResources().getInteger(R.integer.primer_fov_degrees) in updateDeviceConfigFlags() 178 mContext.getResources().getInteger(R.integer.prediction_timeout_seconds) in updateDeviceConfigFlags() 193 mContext.getResources().getInteger(R.integer.mirror_detection_window) in updateDeviceConfigFlags() 198 mContext.getResources().getInteger(R.integer.front_mirror_dps) in updateDeviceConfigFlags() 203 mContext.getResources().getInteger(R.integer.back_mirror_dps) in updateDeviceConfigFlags() 208 mContext.getResources().getInteger(R.integer.mirror_score_std_degrees) in updateDeviceConfigFlags() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | SystemBarConfigsTest.java | 84 when(mResources.getInteger(R.integer.config_topSystemBarType)).thenReturn(0); in onInit_allSystemBarsEnabled_twoBarsHaveDuplicateType_throwsRuntimeException() 85 when(mResources.getInteger(R.integer.config_bottomSystemBarType)).thenReturn(0); in onInit_allSystemBarsEnabled_twoBarsHaveDuplicateType_throwsRuntimeException() 105 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn(33); in onInit_intersectingBarsHaveSameZOrder_throwsRuntimeException() 106 when(mResources.getInteger(R.integer.config_leftSystemBarZOrder)).thenReturn(33); in onInit_intersectingBarsHaveSameZOrder_throwsRuntimeException() 199 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn( in topSystemBarHasHigherZOrderThanHuns_topSystemBarIsSystemBarPanelType() 210 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn( in topSystemBarHasLowerZOrderThanHuns_topSystemBarIsStatusBarAdditionalType() 292 when(mResources.getInteger(R.integer.config_showDisplayCompatToolbarOnSystemBar)) in updateInsetPaddings_overlappingBars_addsPaddingsByOrders() 295 when(mResources.getInteger(R.integer.config_topSystemBarZOrder)).thenReturn(7); in updateInsetPaddings_overlappingBars_addsPaddingsByOrders() 296 when(mResources.getInteger(R.integer.config_bottomSystemBarZOrder)).thenReturn(10); in updateInsetPaddings_overlappingBars_addsPaddingsByOrders() 297 when(mResources.getInteger(R.integer.config_leftSystemBarZOrder)).thenReturn(8); in updateInsetPaddings_overlappingBars_addsPaddingsByOrders() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScoringParamsTest.java | 281 R.integer.config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz, -88); 283 R.integer.config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz, -77); 285 R.integer.config_wifi_framework_wifi_score_low_rssi_threshold_24GHz, -66); 287 R.integer.config_wifi_framework_wifi_score_good_rssi_threshold_24GHz, -55); 289 R.integer.config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz, -80); 291 R.integer.config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz, -70); 293 R.integer.config_wifi_framework_wifi_score_low_rssi_threshold_5GHz, -60); 295 R.integer.config_wifi_framework_wifi_score_good_rssi_threshold_5GHz, -50); 297 R.integer.config_wifiFrameworkScoreBadRssiThreshold6ghz, -80); 299 R.integer.config_wifiFrameworkScoreEntryRssiThreshold6ghz, -70); [all …]
|
D | WifiBlocklistMonitorTest.java | 115 R.integer.config_wifiDisableReasonAssociationRejectionThreshold), 117 R.integer.config_wifiDisableReasonAuthenticationFailureThreshold), 119 R.integer.config_wifiDisableReasonDhcpFailureThreshold), 121 R.integer.config_wifiDisableReasonNetworkNotFoundThreshold), 123 R.integer.config_wifiDisableReasonNoInternetTemporaryThreshold), 125 R.integer.config_wifiDisableReasonAuthenticationNoCredentialsThreshold), 127 R.integer.config_wifiDisableReasonNoInternetPermanentThreshold), 129 R.integer.config_wifiDisableReasonByWrongPasswordThreshold), 131 R.integer.config_wifiDisableReasonConsecutiveFailuresThreshold), 133 R.integer.config_wifiDisableReasonAuthenticationNoSubscriptionThreshold) [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | DeviceConfigFacadeTest.java | 102 when(mResources.getInteger(R.integer.filter_distance_inliers_percent)) in setUp() 104 when(mResources.getInteger(R.integer.filter_distance_window)) in setUp() 106 when(mResources.getInteger(R.integer.filter_angle_inliers_percent)) in setUp() 108 when(mResources.getInteger(R.integer.filter_angle_window)) in setUp() 110 when(mResources.getInteger(R.integer.primer_fov_degrees)) in setUp() 114 when(mResources.getInteger(R.integer.prediction_timeout_seconds)) in setUp() 118 when(mResources.getInteger(R.integer.mirror_detection_window)) in setUp() 120 when(mResources.getInteger(R.integer.front_mirror_dps)) in setUp() 122 when(mResources.getInteger(R.integer.back_mirror_dps)) in setUp() 124 when(mResources.getInteger(R.integer.mirror_score_std_degrees)) in setUp() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceControllerTest.java | 138 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 143 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 148 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 156 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled() 161 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled() 166 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled() 174 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary() 179 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary() 184 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
|
D | PowerMenuSettingsUtilsTest.java | 70 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerForAssistantEnabled_valueNotSet_defaultToAssistant_returnsTrue() 78 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerForAssistantEnabled_valueNotSet_defaultToPowerMenu_returnsFalse() 86 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerSettingAvailable_defaultToAssistant_returnsTrue() 93 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerSettingAvailable_defaultToPowerMenu_returnsTrue() 101 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerSettingAvailable_defaultToPowerOff_returnsFalse() 113 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in isLongPressPowerSettingAvailable_settingDisabled_returnsFalse() 155 when(mResources.getInteger(com.android.internal.R.integer.config_keyChordPowerVolumeUp)) in setLongPressPowerForPowerMenu_updatesKeyChordValueToDefault()
|
D | PowerMenuPreferenceControllerTest.java | 56 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in setUp() 66 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in getAvailabilityStatus_settingsAvailable_returnsAvailable() 79 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in getAvailabilityStatus_settingsNotAvailable_returnsNotAvailable() 92 when(mResources.getInteger(com.android.internal.R.integer.config_longPressOnPowerBehavior)) in getAvailabilityStatus_longPressPowerSettingNotAvailable_returnsNotAvailable()
|
/packages/apps/Camera2/src/com/android/camera/module/ |
D | ModulesInfo.java | 50 int photoModuleId = context.getResources().getInteger(R.integer.camera_mode_photo); in setupModules() 54 registerVideoModule(moduleManager, res.getInteger(R.integer.camera_mode_video), in setupModules() 57 registerWideAngleModule(moduleManager, res.getInteger(R.integer.camera_mode_panorama), in setupModules() 60 res.getInteger(R.integer.camera_mode_photosphere), in setupModules() 64 registerRefocusModule(moduleManager, res.getInteger(R.integer.camera_mode_refocus), in setupModules() 68 registerGcamModule(moduleManager, res.getInteger(R.integer.camera_mode_gcam), in setupModules() 72 int imageCaptureIntentModuleId = res.getInteger(R.integer.camera_mode_capture_intent); in setupModules()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Config.kt | 62 mContext?.getResources()!!.getInteger(R.integer.num_suggestions_above_keyboard) 66 get() = mContext?.getResources()!!.getInteger(R.integer.max_promoted_suggestions) 69 get() = mContext?.getResources()!!.getInteger(R.integer.max_promoted_results) 77 get() = mContext?.getResources()!!.getInteger(R.integer.max_shortcuts_per_web_source) 81 get() = mContext?.getResources()!!.getInteger(R.integer.max_shortcuts_per_non_web_source)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionUtils.java | 49 animator.setDuration(res.getInteger(R.integer.alpha_activity_in_bkg_duration)); in createActivityFadeInAnimator() 50 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_in_bkg_delay)); in createActivityFadeInAnimator() 69 animator.setDuration(res.getInteger(R.integer.alpha_activity_out_bkg_duration)); in createActivityFadeOutAnimator() 70 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_out_bkg_delay)); in createActivityFadeOutAnimator()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultinetworkPolicyTrackerTest.kt | 70 doReturn(0).`when`(it).getInteger(R.integer.config_networkAvoidBadWifi) in <lambda>() 71 doReturn(0).`when`(it).getInteger(R.integer.config_activelyPreferBadWifi) in <lambda>() 127 doReturn(0).`when`(resources).getInteger(R.integer.config_activelyPreferBadWifi) in testUpdateAvoidBadWifi() 132 doReturn(1).`when`(resources).getInteger(R.integer.config_networkAvoidBadWifi) in testUpdateAvoidBadWifi() 143 doReturn(1).`when`(resources).getInteger(R.integer.config_activelyPreferBadWifi) in testUpdateAvoidBadWifi() 157 doReturn(0).`when`(resources).getInteger(R.integer.config_activelyPreferBadWifi) in testUpdateAvoidBadWifi()
|
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/animationhelper/ |
D | CarHeadsUpNotificationRightAnimationHelper.java | 43 context.getResources().getInteger(R.integer.headsup_total_enter_duration_ms)); in getAnimateInAnimator() 48 context.getResources().getInteger(R.integer.headsup_alpha_enter_duration_ms)); in getAnimateInAnimator() 66 move.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator() 70 alpha.setDuration(context.getResources().getInteger(R.integer.headsup_exit_duration_ms)); in getAnimateOutAnimator()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | NightDisplayIntensityPreferenceControllerTest.java | 78 com.android.internal.R.integer.config_nightDisplayColorTemperatureMin, 2950); in onPreferenceChange_changesTemperature() 80 com.android.internal.R.integer.config_nightDisplayColorTemperatureMax, 3050); in onPreferenceChange_changesTemperature() 93 com.android.internal.R.integer.config_nightDisplayColorTemperatureMin, 2950); in rangeOfSlider_staysWithinValidRange() 95 com.android.internal.R.integer.config_nightDisplayColorTemperatureMax, 3050); in rangeOfSlider_staysWithinValidRange()
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | SensorMetadata.java | 208 String integer = keys.next(); in readMappingFromJSON() local 209 if (json.get(integer) instanceof String && isInteger(integer)) { in readMappingFromJSON() 210 map.put(Integer.parseInt(integer), json.getString(integer)); in readMappingFromJSON()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | PageIndicator.java | 56 R.integer.ms_scrollbar_fade_animation_duration); in PageIndicator() 58 R.integer.ms_scrollbar_fade_animation_delay); in PageIndicator() 60 R.integer.ms_scrollbar_appear_animation_duration); in PageIndicator() 62 R.integer.ms_scrollbar_appear_animation_delay); in PageIndicator()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfig.java | 195 resources.getInteger(R.integer.a2dp_source_codec_priority_sbc)); in assignCodecConfigPriorities() 208 resources.getInteger(R.integer.a2dp_source_codec_priority_aac)); in assignCodecConfigPriorities() 221 resources.getInteger(R.integer.a2dp_source_codec_priority_aptx)); in assignCodecConfigPriorities() 234 resources.getInteger(R.integer.a2dp_source_codec_priority_aptx_hd)); in assignCodecConfigPriorities() 247 resources.getInteger(R.integer.a2dp_source_codec_priority_ldac)); in assignCodecConfigPriorities() 257 value = resources.getInteger(R.integer.a2dp_source_codec_priority_opus); in assignCodecConfigPriorities()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityButtonPreferenceControllerTest.java | 76 when(mResources.getInteger(com.android.internal.R.integer.config_navBarInteractionMode)) in displayPreference_navigationGestureEnabled_setCorrectTitle() 87 when(mResources.getInteger(com.android.internal.R.integer.config_navBarInteractionMode)) in displayPreference_navigationGestureDisabled_setCorrectTitle() 98 when(mResources.getInteger(com.android.internal.R.integer.config_navBarInteractionMode)) in updateDynamicRawDataToIndex_navigationGestureEnabled_setCorrectIndex() 114 when(mResources.getInteger(com.android.internal.R.integer.config_navBarInteractionMode)) in updateDynamicRawDataToIndex_navigationGestureDisabled_setCorrectIndex()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 49 slotViewSpec.rowsLand = r.getInteger(R.integer.albumset_rows_land); in AlbumSetPage() 50 slotViewSpec.rowsPort = r.getInteger(R.integer.albumset_rows_port); in AlbumSetPage() 100 slotViewSpec.rowsLand = r.getInteger(R.integer.album_rows_land); in AlbumPage() 101 slotViewSpec.rowsPort = r.getInteger(R.integer.album_rows_port); in AlbumPage()
|