Home
last modified time | relevance | path

Searched refs:Properties (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java58 enum Properties { enum in ConfigTest
121 public void setProperty(final Properties p, final int value) { in setProperty()
182 public void setProperty(final Properties p, final String value) { in setProperty()
227 config.setProperty(Properties.LANGUAGE, "en"); in makeClassicConfig()
228 config.setProperty(Properties.COUNTRY, "US"); in makeClassicConfig()
229 config.setProperty(Properties.MCC, 310); in makeClassicConfig()
230 config.setProperty(Properties.MNC, 001); // unused in makeClassicConfig()
231 config.setProperty(Properties.TOUCHSCREEN, Configuration.TOUCHSCREEN_FINGER); in makeClassicConfig()
232 config.setProperty(Properties.KEYBOARD, Configuration.KEYBOARD_QWERTY); in makeClassicConfig()
233 config.setProperty(Properties.KEYBOARDHIDDEN, Configuration.KEYBOARDHIDDEN_YES); in makeClassicConfig()
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java26 import android.provider.DeviceConfig.Properties;
177 Properties properties = tryGetPropertiesWithReadPermission(violations); in testDeviceConfigWithAllPermissions()
208 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission()
209 new Properties.Builder(PUBLIC_NAMESPACE).setString(KEY2, VALUE).build(); in testDeviceConfigPublicNamespacesWithoutReadPermission()
230 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission()
231 new Properties.Builder(PUBLIC_NAMESPACE).setString(KEY, VALUE).build(); in testDeviceConfigPublicNamespacesWithoutReadPermission()
251 Properties properties = DeviceConfig.getProperties(PUBLIC_NAMESPACE); in testDeviceConfigPublicNamespacesWithoutReadPermission()
275 public void onPropertiesChanged(Properties properties) { in onPropertiesChanged()
291 Properties properties = in trySetPropertiesWithoutWritePermission()
292 new Properties.Builder(NAMESPACE2).setString(KEY2, VALUE).build(); in trySetPropertiesWithoutWritePermission()
[all …]
DDeviceConfigApiTests.java30 import android.provider.DeviceConfig.Properties;
203 for (Properties properties : DeviceConfig.getAllProperties()) { in testPropertiesIncludedInGetAllProperties()
349 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_sameNamespace()
376 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_differentNamespace()
405 Properties properties1 = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_multipleNamespaces()
407 Properties properties2 = new Properties.Builder(NAMESPACE2) in testSetAndGetProperties_multipleNamespaces()
436 Properties properties1 = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_overrideValue()
438 Properties properties2 = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_overrideValue()
790 final Properties properties = in testGetPropertiesString_empty()
804 final Properties properties = in testGetPropertiesString_nullDefault()
[all …]
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsLibcoreTestRunListener.java41 import java.util.Properties;
133 Properties createDefaultProperties(); in createDefaultProperties()
167 public Properties createDefaultProperties() { in createDefaultProperties()
168 return new Properties(); in createDefaultProperties()
183 public Properties createDefaultProperties() { in createDefaultProperties()
203 private final Properties mProperties;
/cts/tests/AlarmManager/util/src/android/alarmmanager/util/
DAlarmManagerDeviceConfigHelper.java44 DeviceConfig.Properties initialProperties = null; in AlarmManagerDeviceConfigHelper()
89 public static void commitAndAwaitPropagation(DeviceConfig.Properties propertiesToSet) { in commitAndAwaitPropagation()
109 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_ALARM_MANAGER, in commitAndAwaitPropagation()
119 commitAndAwaitPropagation(new DeviceConfig.Properties(DeviceConfig.NAMESPACE_ALARM_MANAGER, in restoreAll()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceConfigStateHelper.java102 public void set(@NonNull DeviceConfig.Properties properties) { in set()
113 final DeviceConfig.Properties.Builder builder = in restoreOriginalValues()
114 new DeviceConfig.Properties.Builder(mNamespace); in restoreOriginalValues()
DOneTimeDeviceConfigListener.java21 import android.provider.DeviceConfig.Properties;
60 public void onPropertiesChanged(@NonNull Properties properties) { in onPropertiesChanged()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/properties/
DProperties.kt7 object Properties { object
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/
DTestApis.kt39 import com.android.bedstead.nene.properties.Properties
191 fun properties() = Properties
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java501 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_MEDIA) in testAppBlocklist()
524 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_MEDIA) in testAttributionBlocklist()
561 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_MEDIA) in testAppAllowlist()
584 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_MEDIA) in testAttributionAllowlist()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobSchedulingTest.java192 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_JOB_SCHEDULER) in testFailingScheduleOnQuotaExceeded()
218 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_JOB_SCHEDULER)
242 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_JOB_SCHEDULER)
DJobThrottlingTest.java153 new DeviceConfig.Properties.Builder(DeviceConfig.NAMESPACE_JOB_SCHEDULER) in setUp()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1551 final DeviceConfig.Properties props = new DeviceConfig.Properties.Builder( in setGeneratedPreviewRateLimit()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt1278 return_type: "java.util.Properties"
1307 parameters: "java.util.Properties"
1665 name: "java.util.Properties"
1672 parameters: "java.util.Properties"
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DProvisioningTest.kt1491 val properties = Properties() in <lambda>()