Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DDeviceConfigTest.java69 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_defaults()
79 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_rtlScript()
88 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_heightWidth()
97 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_heightWidthOrientation()
106 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_sizeToDimens()
115 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_sizeFromDimens()
124 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_longIncreasesHeight()
133 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_greatHeightTriggersLong()
150 DeviceConfig.applyToConfiguration(Qualifiers.parse(qualifiers), in applyQualifiers()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DTextClassifierApiTest.java25 import android.provider.DeviceConfig;
165 DeviceConfig.getString( in before()
166 DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in before()
169 DeviceConfig.setProperty( in before()
170 DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in before()
184 DeviceConfig.setProperty( in after()
185 DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in after()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/
DTextClassifierSettingsTest.java21 import android.provider.DeviceConfig;
163 key, DeviceConfig.getProperty(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, key)); in assertSettings()
179 DeviceConfig.setProperty( in setDeviceConfig()
180 DeviceConfig.NAMESPACE_TEXTCLASSIFIER, key, value, /* makeDefault */ false); in setDeviceConfig()
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DTextClassifierSettings.java21 import android.provider.DeviceConfig;
22 import android.provider.DeviceConfig.Properties;
50 public static final String NAMESPACE = DeviceConfig.NAMESPACE_TEXTCLASSIFIER;
247 return DeviceConfig.getProperties(namespace, names);
253 return DeviceConfig.getInt(namespace, name, defaultValue);
259 return DeviceConfig.getLong(namespace, name, defaultValue);
265 return DeviceConfig.getFloat(namespace, name, defaultValue);
271 return DeviceConfig.getString(namespace, name, defaultValue);
277 return DeviceConfig.getBoolean(namespace, name, defaultValue);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DBootstrap.java47 DeviceConfig.applyToConfiguration(qualifiers, apiLevel, configuration, displayMetrics); in applyQualifiers()
50 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyQualifiers()
DDeviceConfig.java20 public class DeviceConfig { class
94 private DeviceConfig() { in DeviceConfig() method in DeviceConfig
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java31 import org.robolectric.android.DeviceConfig;
32 import org.robolectric.android.DeviceConfig.ScreenSize;
230 assertThat(DeviceConfig.getScreenSize(configuration)).isEqualTo(ScreenSize.xlarge); in whenDimensAndSizeSpecified_setQualifiers_should()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/testing/
DTestingDeviceConfig.java19 import android.provider.DeviceConfig.Properties;
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs29 DeviceConfig = 4, enumerator
343 PciCapabilityType::DeviceConfig, in add_settings_pci_capabilities()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java56 import org.robolectric.android.DeviceConfig;
947 DeviceConfig.DEFAULT_SCREEN_SIZE.width, DeviceConfig.DEFAULT_SCREEN_SIZE.height)); in usesDefaultGlobalVisibleRect()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding.py1101 DeviceConfig = collections.namedtuple('DeviceConfig', variable