/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigTest.java | 121 public void setProperty(final Properties p, final int value) { in setProperty() method in ConfigTest.TotalConfig 182 public void setProperty(final Properties p, final String value) { in setProperty() method in ConfigTest.TotalConfig 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() 234 config.setProperty(Properties.NAVIGATION, Configuration.NAVIGATION_TRACKBALL); in makeClassicConfig() [all …]
|
/cts/hostsidetests/gwp_asan/src/android/cts/gwp_asan/ |
D | RecoverableDefaultTest.java | 45 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG, "1"); in setUp() 46 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG + ":gwp_asan_enabled", "1"); in setUp() 47 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG + ":gwp_asan_default", "1"); in setUp() 53 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG, ""); in tearDown() 54 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG + ":gwp_asan_enabled", ""); in tearDown() 55 mDevice.setProperty(PROCESS_SAMPLING_SYSPROP + TEST_PKG + ":gwp_asan_default", ""); in tearDown()
|
D | NonRecoverableTest.java | 42 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG, "false"); in setUp() 43 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG + ":gwp_asan_enabled", "false"); in setUp() 44 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG + ":gwp_asan_default", "false"); in setUp() 50 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG, ""); in tearDown() 51 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG + ":gwp_asan_enabled", ""); in tearDown() 52 mDevice.setProperty(RECOVERABLE_SYSPROP + TEST_PKG + ":gwp_asan_default", ""); in tearDown()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | ProvisionRequester.java | 54 post.setProperty("Accept", "*/*"); 55 post.setProperty("User-Agent", "Widevine CDM v1.0"); 56 post.setProperty("Content-Type", "application/json"); 57 post.setProperty("Connection", "close");
|
D | KeyRequester.java | 168 post.setProperty("Content-Type", "text/xml"); in sendRequest() 169 post.setProperty("SOAPAction", in sendRequest() 172 post.setProperty("User-Agent", "Widevine CDM v1.0"); in sendRequest() 173 post.setProperty("Connection", "close"); in sendRequest() 174 post.setProperty("Accept", "*/*"); in sendRequest()
|
D | Post.java | 72 public void setProperty(String key, String value) { in setProperty() method in Post
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiTests.java | 198 DeviceConfig.setProperty(NAMESPACE3, KEY3, VALUE3, false); in testPropertiesIncludedInGetAllProperties() 199 DeviceConfig.setProperty(NAMESPACE4, KEY4, VALUE4, false); in testPropertiesIncludedInGetAllProperties() 237 DeviceConfig.setProperty(NAMESPACE3, KEY3, VALUE4, /* makeDefault= */ false); in testAddStickyLocalOverridePreventsWrites() 252 DeviceConfig.setProperty(NAMESPACE3, KEY4, VALUE4, /* makeDefault= */ false); in testAddStickyLocalOverrideDoesNotAffectOtherFlags() 266 DeviceConfig.setProperty(NAMESPACE3, KEY3, VALUE4, false); in testGetStickyLocalOverrides() 267 DeviceConfig.setProperty(NAMESPACE3, KEY4, VALUE3, false); in testGetStickyLocalOverrides() 308 DeviceConfig.setProperty(NAMESPACE3, KEY3, VALUE4, false); in testClearStickyLocalOverride() 309 DeviceConfig.setProperty(NAMESPACE4, KEY4, VALUE3, false); in testClearStickyLocalOverride() 338 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetProperty_sameNamespace() 365 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetProperty_differentNamespace() [all …]
|
D | DeviceConfigApiPermissionTests.java | 201 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission() 223 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission() 282 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in trySetPropertyWithoutWritePermission() 314 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in trySetPropertyWithWritePermission()
|
/cts/hostsidetests/tagging/src/com/android/cts/tagging/ |
D | MemtagBootctlTest.java | 61 testInfo.getDevice().setProperty("arm64.memtag.bootctl", mPreviousState); in tearDown() 86 getDevice().setProperty("arm64.memtag.bootctl", "memtag-once"); in testMemtagOnce() 98 getDevice().setProperty("arm64.memtag.bootctl", "memtag-off"); in testMemtagOff() 110 getDevice().setProperty("arm64.memtag.bootctl", "memtag"); in testMemtag() 122 getDevice().setProperty("arm64.memtag.bootctl", "memtag,memtag-once"); in testBoth()
|
D | TaggingSdk30Test.java | 102 device.setProperty("persist.sys.mte.permissive", "1"); in testPermissive() 108 device.setProperty("persist.sys.mte.permissive", in testPermissive()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsLibcoreTestRunListener.java | 67 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in testRunStarted() 213 mProperties.setProperty("user.home", ""); in TestEnvironment() 214 mProperties.setProperty("java.io.tmpdir", context.getCacheDir().getAbsolutePath()); in TestEnvironment() 218 mProperties.setProperty("android.cts.device.multicast", in TestEnvironment() 226 mProperties.setProperty("android.cts.device.lowram", in TestEnvironment()
|
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | CtsTradefedTest.java | 56 System.setProperty(PROPERTY_NAME, mOriginalProperty); in tearDown() 64 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); in testSuiteInfoLoad()
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 391 DeviceConfig.setProperty("configuration", "namespace_to_package_mapping", in testRollbackClearsFlags() 393 DeviceConfig.setProperty("testspace", "flagname", "hello", false); in testRollbackClearsFlags() 394 DeviceConfig.setProperty("testspace", "another", "12345", false); in testRollbackClearsFlags() 612 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback() 634 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback() 645 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback_MultiPackage() 669 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback_MultiPackage() 681 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime() 699 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime() 745 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresWhenLifetimeChanges() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 69 System.setProperty("system.certs.enabled", mApexCertsEnabled); in testNoRemovedCertificates() 97 System.setProperty("system.certs.enabled", mApexCertsEnabled); in testNoAddedCertificates() 107 System.setProperty("system.certs.enabled", mApexCertsEnabled); in testBlockCertificates()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardAutoClearTest.java | 117 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_CLIPBOARD, in testAutoClearEnabledDefault() 157 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_CLIPBOARD, property, in getAndSetProperty()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/hardware/property/ |
D | CarVendorPropertyCustomPermissionTest.java | 116 mCarPropertyManager.setProperty(Object[].class, MIXED_TYPE_PROPERTY_FOR_TEST, in testSetMixedTypePropertyForTest() 127 assertThrows(SecurityException.class, () -> mCarPropertyManager.setProperty(Object[].class, in testSetMixedTypePropertyForTest_noPermission()
|
/cts/tests/translation/src/android/translation/cts/ |
D | Helper.java | 170 System.setProperty(LOG_TAG, "DEBUG"); in enableDebugLog() 182 System.setProperty(LOG_TAG, level); in disableDebugLog()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | Camera2ParameterizedTestCase.java | 64 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().toString()); in setUp()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceConfigStateManager.java | 72 DeviceConfig.setProperty(mNamespace, mKey, value, /* makeDefault= */ false); in setWithPermissionsGranted()
|
D | DeviceConfigStateHelper.java | 63 DeviceConfig.setProperty(mNamespace, key, value, /* makeDefault */false))); in set()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsGpuProfilingDataTest.java | 117 getDevice().setProperty(DEBUG_PROPERTY, initialDebugPropertyValue); in cleanup() 137 getDevice().setProperty(DEBUG_PROPERTY, "1"); in init()
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 512 DeviceConfig.setProperty( in setCacheReservePercentsToZero() 519 DeviceConfig.setProperty( in setCacheReservePercentsToZero() 528 DeviceConfig.setProperty( in resetCacheReservePercents() 534 DeviceConfig.setProperty( in resetCacheReservePercents()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | Helper.java | 248 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_PRIVACY, INDICATORS_FLAG, shouldEnable, in setIndicatorEnabledState() 271 DeviceConfig.setProperty(NAMESPACE_VOICE_INTERACTION, KEY_RESTART_PERIOD_IN_SECONDS,
|
/cts/tests/tests/hibernation/src/android/hibernation/cts/ |
D | AppHibernationUtils.kt | 212 DeviceConfig.setProperty(namespace, name, value, false /* makeDefault */) in withDeviceConfig() 217 DeviceConfig.setProperty(namespace, name, oldValue, false /* makeDefault */) in withDeviceConfig()
|
D | AppHibernationIntegrationTest.kt | 120 DeviceConfig.setProperty(NAMESPACE_APP_HIBERNATION, HIBERNATION_ENABLED_KEY, "true", in <lambda>() 147 DeviceConfig.setProperty(NAMESPACE_APP_HIBERNATION, HIBERNATION_ENABLED_KEY, in <lambda>()
|