Home
last modified time | relevance | path

Searched refs:DeviceConfig (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantSettingsTest.java20 import static android.provider.DeviceConfig.setProperty;
34 import android.provider.DeviceConfig;
57 "device_config delete " + DeviceConfig.NAMESPACE_SYSTEMUI;
95 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesDisabled()
99 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesDisabled()
107 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesEnabled()
111 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesEnabled()
119 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag()
123 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesNullFlag()
128 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag()
[all …]
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistantSettings.java23 import android.provider.DeviceConfig;
105 DeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigs()
106 DeviceConfig.NAMESPACE_SYSTEMUI, in registerDeviceConfigs()
120 if (!DeviceConfig.NAMESPACE_SYSTEMUI.equals(namespace)) { in onDeviceConfigPropertiesChanged()
130 mGenerateReplies = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
133 mGenerateActions = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
136 mMaxMessagesToExtract = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
140 mMaxSuggestions = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java30 import android.provider.DeviceConfig;
148 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOn_returnAvailable()
159 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable()
170 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable()
181 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable()
201 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStart_isAvailable_registerCallback()
214 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStop_isAvailable_unregisterCallback()
249 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onDestroy_isAvailable_recycleBitmap()
DBluetoothDetailsControllerTestBase.java49 protected DeviceConfig mDeviceConfig;
83 protected static class DeviceConfig { class in BluetoothDetailsControllerTestBase
91 DeviceConfig setName(String newValue) { in setName()
96 DeviceConfig setAddress(String newValue) { in setAddress()
101 DeviceConfig setMajorDeviceClass(int newValue) { in setMajorDeviceClass()
106 DeviceConfig setConnected(boolean newValue) { in setConnected()
111 DeviceConfig setConnectionSummary(String connectionSummary) { in setConnectionSummary()
137 DeviceConfig makeDefaultDeviceConfig() { in makeDefaultDeviceConfig()
138 return new DeviceConfig() in makeDefaultDeviceConfig()
149 void setupDevice(DeviceConfig config) { in setupDevice()
DBluetoothDetailsHeaderControllerTest.java129 android.provider.DeviceConfig.setProperty( in isAvailable_untetheredHeadsetWithConfigOn_returnFalse()
130 android.provider.DeviceConfig.NAMESPACE_SETTINGS_UI, in isAvailable_untetheredHeadsetWithConfigOn_returnFalse()
140 android.provider.DeviceConfig.setProperty( in isAvailable_untetheredHeadsetWithConfigOff_returnTrue()
141 android.provider.DeviceConfig.NAMESPACE_SETTINGS_UI, in isAvailable_untetheredHeadsetWithConfigOff_returnTrue()
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemSettingsUtil.java21 import android.provider.DeviceConfig;
73 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TELEPHONY, RAMPING_RINGER_ENABLED, in enableRampingRingerFromDeviceConfig()
78 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TELEPHONY, in enableAudioCoupledVibrationForRampingRinger()
83 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getRampingRingerDuration()
88 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getRampingRingerVibrationDuration()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/
DSettingsEventLogWriterTest.java25 import android.provider.DeviceConfig;
61 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in visible_eventLogEnabled_shouldLog()
72 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in hidden_eventLogEnabled_shouldLog()
82 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in visible_eventLogDisabled_shouldNotLog()
93 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in hidden_eventLogDisabled_shouldNotLog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVibrateWhenRingPreferenceControllerTest.java32 import android.provider.DeviceConfig;
84 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in display_shouldDisplay()
92 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in display_shouldNotDisplay_notVoiceCapable()
100 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_RampingRingerEnabled()
108 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_VoiceEnabled_RampingRingerEnabled()
116 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "true", false); in display_shouldNotDisplay_VoiceDisabled_RampingRingerEnabled()
142 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in voiceCapable_availabled()
149 DeviceConfig.setProperty("telephony", "ramping_ringer_enabled", "false", false); in voiceCapable_notAvailabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java28 import android.provider.DeviceConfig;
146 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in testIsRampingRingerEnabled_bothFlagsOn_Enabled()
162 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in testIsRampingRingerEnabled_deviceConfigFlagOff_Disabled()
DRingVibrationPreferenceFragmentTest.java26 import android.provider.DeviceConfig;
57 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getVibrationEnabledSetting_rampingRingerEnabled_returnApplyRampingRinger()
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DSettingsEventLogWriter.java20 import android.provider.DeviceConfig;
68 return !DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in shouldDisableGenericEventLogging()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DAccessibilityUsagePreferenceController.java21 import android.provider.DeviceConfig;
50 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in getAvailabilityStatus()
DPermissionBarChartPreferenceController.java32 import android.provider.DeviceConfig;
93 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in getAvailabilityStatus()
/packages/modules/ExtServices/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImpl.java23 import android.provider.DeviceConfig;
80 long requestTimeoutMillis = DeviceConfig.getLong( in onGetSupportedPackages()
81 DeviceConfig.NAMESPACE_ROLLBACK, in onGetSupportedPackages()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHeaderController.java22 import android.provider.DeviceConfig;
58 final boolean advancedEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in isAvailable()
DBluetoothDeviceDetailsFragment.java25 import android.provider.DeviceConfig;
120 final boolean sliceEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in onAttach()
DAdvancedBluetoothDetailsHeaderController.java29 import android.provider.DeviceConfig;
92 final boolean advancedEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVibrateWhenRingPreferenceController.java26 import android.provider.DeviceConfig;
135 return DeviceConfig.getBoolean( in isRampingRingerEnabled()
136 DeviceConfig.NAMESPACE_TELEPHONY, RAMPING_RINGER_ENABLED, false); in isRampingRingerEnabled()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DConnectedDeviceDashboardFragment.java21 import android.provider.DeviceConfig;
91 final boolean nearbyEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in onAttach()
/packages/apps/Settings/src/com/android/settings/notification/
DVibrateWhenRingPreferenceController.java26 import android.provider.DeviceConfig;
135 return DeviceConfig.getBoolean( in isRampingRingerEnabled()
136 DeviceConfig.NAMESPACE_TELEPHONY, RAMPING_RINGER_ENABLED, false); in isRampingRingerEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DRecentLocationAccessPreferenceController.java21 import android.provider.DeviceConfig;
66 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in isAvailable()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java21 import android.provider.DeviceConfig;
177 String value = DeviceConfig.getProperty(namespace, name); in getDeviceConfigProperty()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDeviceConfig.java27 @Implements(android.provider.DeviceConfig.class)
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java64 import android.provider.DeviceConfig;
731 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isLocationAccessCheckEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DAccessibilityUsagePreferenceControllerTest.java25 import android.provider.DeviceConfig;

12