Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestSuiteInfo.java57 mTestSuiteInfo.setProperty(BUILD_NUMBER, "[stub build number]"); in TestSuiteInfo()
58 mTestSuiteInfo.setProperty(TARGET_ARCH, "[stub target arch]"); in TestSuiteInfo()
59 mTestSuiteInfo.setProperty(NAME, "[stub name]"); in TestSuiteInfo()
60 mTestSuiteInfo.setProperty(FULLNAME, "[stub fullname]"); in TestSuiteInfo()
61 mTestSuiteInfo.setProperty(VERSION, "[stub version]"); in TestSuiteInfo()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java495 setProperty(testDevice, A2DP_SNK_PROPERTY, true); in toggleA2dpSinkIfNeeded()
496 setProperty(testDevice, A2DP_SRC_PROPERTY, false); in toggleA2dpSinkIfNeeded()
498 setProperty(testDevice, A2DP_SNK_PROPERTY, false); in toggleA2dpSinkIfNeeded()
499 setProperty(testDevice, A2DP_SRC_PROPERTY, true); in toggleA2dpSinkIfNeeded()
506 setProperty(testDevice, HFP_HF_PROPERTY, true); in toggleHfpHfIfNeeded()
507 setProperty(testDevice, HFP_AG_PROPERTY, false); in toggleHfpHfIfNeeded()
509 setProperty(testDevice, HFP_HF_PROPERTY, false); in toggleHfpHfIfNeeded()
510 setProperty(testDevice, HFP_AG_PROPERTY, true); in toggleHfpHfIfNeeded()
514 private void setProperty(ITestDevice testDevice, String property, boolean enable) { in setProperty() method in PtsBotTest
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DOs.kt23 System.setProperty("apple.laf.useScreenMenuBar", "true") in main()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiEnvironmentManager.kt75 System.setProperty("java.awt.headless", "true")
126 System.setProperty("idea.max.intellisense.filesize", "100000") in ensurePsiFileCapacity()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt110 System.setProperty("user.dir", before) in <lambda>()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceSetupTest.java917 when(mMockDevice.setProperty("persist.sys.timezone", "America/Los_Angeles")) in testSetup_set_timezone_LA()
1200 mDeviceSetup.setProperty("key", "value"); in testSetup_legacy_setprop_conflict()
1221 mDeviceSetup.setProperty("key", "value"); in test_restore_properties_previous_exists()
1241 mDeviceSetup.setProperty("key", "value"); in test_restore_properties_previous_doesnt_exists()
1352 mDeviceSetup.setProperty("key", "value"); in testSetup_rootDisabled_withChangeSystemProp()
1416 mDeviceSetup.setProperty("persist.key", "value"); in testSetup_no_reboot_on_generic_persist_property()
1427 mDeviceSetup.setProperty("arm64.memtag.bootctl", "memtag"); in testSetup_reboot_on_memtag()
1438 mDeviceSetup.setProperty("persist.debug.dalvik.vm.jdwp.enabled", "1"); in testSetup_reboot_on_enable_jdwp()
1549 when(mMockDevice.setProperty("persist.sys.test_harness", "1")).thenReturn(true); in doSetupExpectations()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DTradefedSandboxTest.java101 System.setProperty(TF_JAR_DIR, mTmpFolder.getAbsolutePath()); in setUp()
112 System.setProperty(TF_JAR_DIR, mCachedProperty); in tearDown()
268 System.setProperty(TF_JAR_DIR, ""); in testPrepareEnvironment_noTfDirJar()
/tools/tradefederation/core/javatests/com/android/tradefed/command/console/
DConfigCompleterTest.java73 System.setProperty(TerminalBuilder.PROP_DUMB, "true"); in createLineReader()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DBluetoothHciSnoopLogCollector.java186 boolean successfullySetPropOnDevice = device.setProperty(SNOOP_LOG_MODE_PROPERTY, mode); in setSnoopLogModeProperty()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DBluetoothHciSnoopLogCollectorTest.java92 when(mMockDevice.setProperty(Mockito.anyString(), Mockito.anyString())).thenReturn(true); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDynamicSystemPreparer.java301 device.setProperty("persist.sys.fflag.override.settings_dynamic_system", "true"); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java870 getDevice().setProperty("prop.test", "0"); in testGetProperty_volatile()
872 getDevice().setProperty("prop.test", "1"); in testGetProperty_volatile()
DNativeDeviceTest.java3216 assertTrue(mTestDevice.setProperty("test", "value")); in testSetProperty()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt966 System.setProperty(xmlPathProperty, xmlFile.path) in getApiLookup()
970 System.setProperty(xmlPathProperty, xmlFile.path) in getApiLookup()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java128 public boolean setProperty(String propKey, String propValue) throws DeviceNotAvailableException; in setProperty() method
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java942 device.setProperty(prop.getKey(), prop.getValue()); in changeSystemProps()
1705 protected void setProperty(String key, String value) { in setProperty() method in DeviceSetup
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt880 System.setProperty("user.dir", pwd.path) in parse()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java775 public boolean setProperty(String propKey, String propValue) in setProperty() method in NativeDevice