/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestSuiteInfoTest.java | 70 assertEquals("eng.build.5", p.getProperty("build_number")); in testLoadConfig() 71 assertEquals("arm64", p.getProperty("target_arch")); in testLoadConfig() 72 assertEquals("CTS", p.getProperty("name")); in testLoadConfig() 73 assertEquals("Compatibility Test Suite", p.getProperty("fullname")); in testLoadConfig() 74 assertEquals("7.0", p.getProperty("version")); in testLoadConfig() 96 assertEquals("eng.build.5", p.getProperty("build_number")); in testLoadConfig_multiArch() 97 assertEquals("arm64,x86_64", p.getProperty("target_arch")); in testLoadConfig_multiArch() 98 assertEquals("CTS", p.getProperty("name")); in testLoadConfig_multiArch() 99 assertEquals("Compatibility Test Suite", p.getProperty("fullname")); in testLoadConfig_multiArch() 100 assertEquals("7.0", p.getProperty("version")); in testLoadConfig_multiArch()
|
D | TestFailureListenerTest.java | 64 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))) in testTestFailed() 83 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))).andReturn("user"); in testTestFailed_userBuild() 103 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))).andReturn("debug"); in testFailed_multiDevice() 106 EasyMock.expect(device2.getProperty(EasyMock.eq("ro.build.type"))).andReturn("debug"); in testFailed_multiDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | AbiFormatterTest.java | 53 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null); in testGetDefaultAbi() 54 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null); in testGetDefaultAbi() 59 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist32"))) in testGetDefaultAbi() 65 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist64"))).andReturn(""); in testGetDefaultAbi() 66 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null); in testGetDefaultAbi() 76 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn("abi1,abi2"); in testGetSupportedAbis() 83 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null); in testGetSupportedAbis() 84 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi"); in testGetSupportedAbis() 90 EasyMock.expect(device.getProperty("ro.product.cpu.abilist")).andReturn(""); in testGetSupportedAbis() 91 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi"); in testGetSupportedAbis() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptorTest.java | 33 EasyMock.expect(d.getProperty("ro.product.name")).andReturn("yakju"); in testDeviceBuildDescriptor() 34 EasyMock.expect(d.getProperty("ro.build.type")).andReturn("userdebug"); in testDeviceBuildDescriptor() 35 EasyMock.expect(d.getProperty("ro.product.brand")).andReturn("google"); in testDeviceBuildDescriptor() 36 EasyMock.expect(d.getProperty("ro.product.model")).andReturn("Galaxy Nexus"); in testDeviceBuildDescriptor() 37 EasyMock.expect(d.getProperty("ro.build.version.release")).andReturn("4.2"); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceSelectionOptionsTest.java | 182 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT)).andReturn(null); 183 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_O_MR1)) 185 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_LESS_EQUAL_O)) 194 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT)).andReturn(null); 195 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_O_MR1)) 197 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_LESS_EQUAL_O)) 206 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT)).andReturn("variant"); 207 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_O_MR1)) 209 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.VARIANT_LEGACY_LESS_EQUAL_O)) 220 EasyMock.expect(mMockDevice.getProperty(DeviceProperties.BOARD)).andReturn(DEVICE_TYPE); [all …]
|
D | NativeDeviceTest.java | 937 public String getProperty(String name) throws DeviceNotAvailableException { in testIsHeadless() 949 public String getProperty(String name) throws DeviceNotAvailableException { in testIsHeadless_notHeadless() 1367 public String getProperty(String name) throws DeviceNotAvailableException { in testIsNewer() 1399 public String getProperty(String name) throws DeviceNotAvailableException { in testIsNewer_timeOffset() 1432 public String getProperty(String name) throws DeviceNotAvailableException { in testIsNewer_fails() 1461 public String getProperty(String name) throws DeviceNotAvailableException { in testGetBuildAlias() 1475 public String getProperty(String name) throws DeviceNotAvailableException { in testGetBuildAlias_null() 1493 public String getProperty(String name) throws DeviceNotAvailableException { in testGetBuildAlias_empty() 1510 public String getProperty(String name) throws DeviceNotAvailableException { in testGetBuildId() 1523 public String getProperty(String name) throws DeviceNotAvailableException { in testGetBuildId_null() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestSuiteInfo.java | 91 return mTestSuiteInfo.getProperty(BUILD_NUMBER); in getBuildNumber() 96 String testInfoArch = mTestSuiteInfo.getProperty(TARGET_ARCH); in getTargetArchs() 104 return mTestSuiteInfo.getProperty(NAME); in getName() 109 return mTestSuiteInfo.getProperty(FULLNAME); in getFullName() 114 return mTestSuiteInfo.getProperty(VERSION); in getVersion() 121 return mTestSuiteInfo.getProperty(name); in get()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | NativeBridgeModuleControllerTest.java | 67 EasyMock.expect(mMockDevice.getProperty(NativeBridgeModuleController.NATIVE_BRIDGE_PROP)) in testNoBridgeSupport() 81 EasyMock.expect(mMockDevice.getProperty(NativeBridgeModuleController.NATIVE_BRIDGE_PROP)) in testBridgeSupport() 83 EasyMock.expect(mMockDevice.getProperty("ro.product.cpu.abilist")) in testBridgeSupport() 97 EasyMock.expect(mMockDevice.getProperty(NativeBridgeModuleController.NATIVE_BRIDGE_PROP)) in testBridgeSupport_differentBitness() 99 EasyMock.expect(mMockDevice.getProperty("ro.product.cpu.abilist")) in testBridgeSupport_differentBitness() 113 EasyMock.expect(mMockDevice.getProperty(NativeBridgeModuleController.NATIVE_BRIDGE_PROP)) in testBridgeSupport_differentArch() 115 EasyMock.expect(mMockDevice.getProperty("ro.product.cpu.abilist")) in testBridgeSupport_differentArch()
|
D | MinApiLevelModuleControllerTest.java | 63 EasyMock.expect(mMockDevice.getProperty(mApiLevelProp)).andReturn("28"); in testDeviceApiLevelLowerThanMinApiLevel() 78 EasyMock.expect(mMockDevice.getProperty(mApiLevelProp)).andReturn("28"); in testDeviceApiLevelHigherThanMinApiLevel() 93 EasyMock.expect(mMockDevice.getProperty(mApiLevelProp)).andReturn(null); in testDeviceApiLevelNotFound()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptor.java | 106 device.getProperty(DeviceProperties.PRODUCT), in injectDeviceAttributes() 107 device.getProperty(DeviceProperties.BUILD_TYPE)); in injectDeviceAttributes() 126 String brand = device.getProperty(DeviceProperties.BRAND); in generateDeviceDesc() 133 device.getProperty("ro.product.model"), in generateDeviceDesc() 134 device.getProperty(DeviceProperties.RELEASE_VERSION)); in generateDeviceDesc()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | SystemServerFileDescriptorCheckerTest.java | 45 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))) in testFailToGetPid() 57 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))) in testFailToGetFdCount() 73 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))) in testAcceptableFdCount() 89 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))) in testUnacceptableFdCount() 107 EasyMock.expect(mMockDevice.getProperty(EasyMock.eq("ro.build.type"))).andReturn("user"); in testUserBuild()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BuildInfoUtil.java | 91 device.getProperty(DeviceProperties.BRAND), in bootstrapDeviceBuildAttributes() 92 device.getProperty(DeviceProperties.PRODUCT), in bootstrapDeviceBuildAttributes() 94 device.getProperty(DeviceProperties.RELEASE_VERSION)); in bootstrapDeviceBuildAttributes()
|
D | AbiFormatter.java | 98 String abiList = device.getProperty(PRODUCT_CPU_ABILIST_KEY + bitness); in getSupportedAbis() 106 String legacyProperty = device.getProperty(PRODUCT_CPU_ABI_KEY); in getSupportedAbis()
|
/tools/tradefederation/contrib/src/com/android/wireless/tests/ |
D | RadioHelper.java | 47 return mDevice.getProperty("gsm.current.phone-type"); in getPhoneType() 52 return mDevice.getProperty("gsm.sim.state"); in getSimState() 91 return mDevice.getProperty("ro.carrier").contains(WIFI_ONLY); in isWifiOnlyDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceSelectionOptions.java | 479 if (!propEntry.getValue().equals(device.getProperty(propEntry.getKey()))) { in matches() 646 String prop = getProperty(device, DeviceProperties.BOARD); in getDeviceProductType() 649 prop = getProperty(device, DeviceProperties.HARDWARE); in getDeviceProductType() 657 private String getProperty(IDevice device, String propName) { in getProperty() method in DeviceSelectionOptions 658 return device.getProperty(propName); in getProperty() 663 String prop = getProperty(device, DeviceProperties.VARIANT); in getDeviceProductVariant() 665 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY_O_MR1); in getDeviceProductVariant() 668 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY_LESS_EQUAL_O); in getDeviceProductVariant() 698 String prop = getProperty(device, DeviceProperties.SDK_VERSION); in getDeviceSdkLevel()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/ |
D | TelephonyTokenProviderTest.java | 83 .getProperty(TelephonyTokenProvider.GSM_OPERATOR_PROP); in testSimCard_securedElementOrange() 95 .getProperty(TelephonyTokenProvider.GSM_OPERATOR_PROP); in testSimCard_securedElementOrange_dualSim() 107 .getProperty(TelephonyTokenProvider.GSM_OPERATOR_PROP); in testSimCard_securedElement_anySim()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceBuildInfoInjector.java | 75 device.getProperty(DeviceProperties.PRODUCT), in setUp() 76 device.getProperty(DeviceProperties.BUILD_TYPE)); in setUp()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationTest.java | 64 String lines[] = text.split(System.getProperty("line.separator")); in elementaryManifestGeneration() 100 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnHalfWrittenFile() 138 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnExistingFile()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Version.kt | 33 VERSION = properties.getProperty("metalavaVersion")
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ATestFileSystemLogSaver.java | 31 private File mAtestRootReportDir = new File(System.getProperty("java.io.tmpdir"));
|
D | JsonHttpTestResultReporter.java | 146 mDeviceName = testDevice.getProperty(DEVICE_NAME_PROPERTY); in parseAdditionalDeviceDetails() 151 testDevice.getProperty(SDK_VERSION_PROPERTY), in parseAdditionalDeviceDetails() 152 testDevice.getProperty(BUILD_ID_PROPERTY).charAt(0)); in parseAdditionalDeviceDetails()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/util/clockwork/ |
D | ClockworkUtils.java | 45 entry.getKey().getProperty("ro.build.characteristics"); in setUpMultiDevice()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | SymlinkTest.kt | 38 val before = System.getProperty("user.dir") in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | MinSdkModuleController.java | 47 String sdkVersionString = device.getProperty(SDK_VERSION_PROP); in shouldRun()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/ |
D | NativeBridgeModuleController.java | 42 String bridge = device.getProperty(NATIVE_BRIDGE_PROP); in shouldRun()
|