/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | AssistantSettingsTest.java | 20 import static android.provider.DeviceConfig.setProperty; 30 import android.provider.DeviceConfig; 50 "device_config delete " + DeviceConfig.NAMESPACE_SYSTEMUI; 97 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesDisabled() 101 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesDisabled() 110 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesEnabled() 114 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesEnabled() 123 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag() 127 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesNullFlag() 132 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag() [all …]
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | AssistantSettings.java | 21 import android.provider.DeviceConfig; 73 DeviceConfig.OnPropertiesChangedListener mDeviceConfigChangedListener; 88 DeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigs() 89 DeviceConfig.NAMESPACE_SYSTEMUI, in registerDeviceConfigs() 104 DeviceConfig.removeOnPropertiesChangedListener(mDeviceConfigChangedListener); in unregisterDeviceConfigs() 111 if (!DeviceConfig.NAMESPACE_SYSTEMUI.equals(namespace)) { in onDeviceConfigPropertiesChanged() 121 mGenerateReplies = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags() 124 mGenerateActions = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags() 127 mMaxMessagesToExtract = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags() 131 mMaxSuggestions = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/util/ |
D | NetworkStackUtilsTest.java | 37 import android.provider.DeviceConfig; 76 mSession = mockitoSession().spyStatic(DeviceConfig.class).startMocking(); in setUp() 93 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_Null() 102 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NotNull() 111 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NormalValue() 121 doReturn(null).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_NullValue() 131 doReturn(Integer.toString(TEST_MAX_FLAG_VALUE + 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_OverMaximumValue() 141 doReturn(Integer.toString(TEST_MIN_FLAG_VALUE - 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_BelowMinimumValue() 151 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_Null() 160 doReturn("true").when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_NotNull() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsControllerTestBase.java | 49 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()
|
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 31 import android.provider.DeviceConfig; 183 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOn_returnAvailable() 194 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable() 205 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable() 216 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable() 236 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_UI, in onStart_isAvailable_registerCallback()
|
D | BluetoothDetailsHeaderControllerTest.java | 129 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/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/ |
D | SettingsEventLogWriterTest.java | 25 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/src/com/android/settings/display/ |
D | PeakRefreshRatePreferenceController.java | 22 import android.provider.DeviceConfig; 143 implements DeviceConfig.OnPropertiesChangedListener, Executor { 145 DeviceConfig.addOnPropertiesChangedListener( in startListening() 146 DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in startListening() 152 DeviceConfig.removeOnPropertiesChangedListener(this); in stopListening() 157 DeviceConfig.getFloat( in getDefaultPeakRefreshRate() 158 DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getDefaultPeakRefreshRate() 159 DisplayManager.DeviceConfig.KEY_PEAK_REFRESH_RATE_DEFAULT, in getDefaultPeakRefreshRate() 167 public void onPropertiesChanged(DeviceConfig.Properties properties) { in onPropertiesChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | VibrateForCallsPreferenceControllerTest.java | 29 import android.provider.DeviceConfig; 70 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_notVoiceCapable_returnUnsupportedOnDevice() 79 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_rampingRingerEnabled_returnUnsupportedOnDevice() 88 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TELEPHONY, in getAvailabilityStatus_voiceCapableAndRampingRingerDisabled_returnAvailable()
|
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplTest.java | 36 import android.provider.DeviceConfig; 85 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in setUp() 89 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in setUp() 96 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in tearDown()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | Config.java | 21 import android.provider.DeviceConfig; 82 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE_CAR, in start() 87 private void onPropertiesChanged(DeviceConfig.Properties properties) { in onPropertiesChanged() 132 mUploadDestination = DeviceConfig.getString(NAMESPACE_CAR, in updateConstants()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 30 import static android.provider.DeviceConfig.NAMESPACE_CONNECTIVITY; 56 import android.provider.DeviceConfig; 129 protected final DeviceConfig.OnPropertiesChangedListener mConfigListener = 130 new DeviceConfig.OnPropertiesChangedListener() { 132 public void onPropertiesChanged(DeviceConfig.Properties properties) { 606 @NonNull final DeviceConfig.OnPropertiesChangedListener listener) { in addDeviceConfigChangedListener() 607 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE_CONNECTIVITY, in addDeviceConfigChangedListener()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/ |
D | AccessibilityUsagePreferenceController.java | 21 import android.provider.DeviceConfig; 50 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
D | SettingsEventLogWriter.java | 20 import android.provider.DeviceConfig; 68 return !DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in shouldDisableGenericEventLogging()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | VibrateForCallsPreferenceController.java | 20 import android.provider.DeviceConfig; 46 return Utils.isVoiceCapable(mContext) && !DeviceConfig.getBoolean( in getAvailabilityStatus() 47 DeviceConfig.NAMESPACE_TELEPHONY, RAMPING_RINGER_ENABLED, false) in getAvailabilityStatus()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemSettingsUtil.java | 21 import android.provider.DeviceConfig; 63 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TELEPHONY, in enableAudioCoupledVibrationForRampingRinger()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | DeviceFlag.java | 22 import android.provider.DeviceConfig; 64 DeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigChangedListener() 81 return DeviceConfig.getBoolean(NAMESPACE_LAUNCHER, key, defaultValue); in getDeviceValue()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | ConnectedDeviceDashboardFragment.java | 21 import android.provider.DeviceConfig; 70 final boolean nearbyEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in onAttach()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHeaderController.java | 22 import android.provider.DeviceConfig; 59 final boolean advancedEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in isAvailable()
|
D | BluetoothDeviceDetailsFragment.java | 26 import android.provider.DeviceConfig; 123 final boolean sliceEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | VibrateWhenRingPreferenceController.java | 26 import android.provider.DeviceConfig; 135 return DeviceConfig.getBoolean( in isRampingRingerEnabled() 136 DeviceConfig.NAMESPACE_TELEPHONY, RAMPING_RINGER_ENABLED, false); in isRampingRingerEnabled()
|
/packages/modules/ExtServices/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImpl.java | 26 import android.provider.DeviceConfig; 85 long requestTimeoutMillis = DeviceConfig.getLong( in onGetSupportedPackages() 86 DeviceConfig.NAMESPACE_ROLLBACK, in onGetSupportedPackages()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | RecentLocationAccessPreferenceController.java | 21 import android.provider.DeviceConfig; 66 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in isAvailable()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationAccessPreferenceController.java | 22 import android.provider.DeviceConfig; 68 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_PRIVACY, in isAvailable()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 28 import android.provider.DeviceConfig; 197 return DeviceConfig.getInt( in getNetworkRequestTimeoutMillis() 198 DeviceConfig.NAMESPACE_TELEPHONY, MMS_SERVICE_NETWORK_REQUEST_TIMEOUT_MILLIS, in getNetworkRequestTimeoutMillis()
|