Home
last modified time | relevance | path

Searched refs:property (Results 1 – 23 of 23) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java132 public static boolean propertyExists(String property) { in propertyExists() argument
133 return getProperty(property) != null; in propertyExists()
137 public static boolean propertyEquals(String property, String value) { in propertyEquals() argument
139 return !propertyExists(property); // null value implies property does not exist in propertyEquals()
141 return value.equals(getProperty(property)); in propertyEquals()
148 public static boolean propertyMatches(String property, String regex) { in propertyMatches() argument
151 return !propertyExists(property); in propertyMatches()
153 String value = getProperty(property); in propertyMatches()
160 public static int getPropertyInt(String property) { in getPropertyInt() argument
161 String value = getProperty(property); in getPropertyInt()
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPropertyUtil.java117 public static boolean propertyExists(String property) { in propertyExists() argument
118 return getProperty(property) != null; in propertyExists()
122 public static boolean propertyEquals(String property, String value) { in propertyEquals() argument
124 return !propertyExists(property); // null value implies property does not exist in propertyEquals()
126 return value.equals(getProperty(property)); in propertyEquals()
133 public static boolean propertyMatches(String property, String regex) { in propertyMatches() argument
136 return !propertyExists(property); in propertyMatches()
138 String value = getProperty(property); in propertyMatches()
145 public static int getPropertyInt(String property) { in getPropertyInt() argument
146 String value = getProperty(property); in getPropertyInt()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java128 private String[] getStringList(String property) throws IOException { in getStringList() argument
129 String value = getProperty(property); in getStringList()
140 static String getProperty(String property) in getProperty() argument
142 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()
160 private void assertProperty(String message, String property, String expected) in assertProperty() argument
162 Process process = new ProcessBuilder("getprop", property).start(); in assertProperty()
184 private void assertNoPropertySet(String message, String property) throws IOException { in assertNoPropertySet() argument
192 line.startsWith("[" + property + "]")); in assertNoPropertySet()
/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java104 String property = "y"; in testOfFloat() local
107 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat()
133 String property = "y"; in testOfFloatBase() local
136 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase()
139 objAnimator.setPropertyName(property); in testOfFloatBase()
147 String property = "scrollY"; in testOfInt() local
149 final ObjectAnimator intAnimator = ObjectAnimator.ofInt(object, property, 200, 0); in testOfInt()
171 String property = "backgroundColor"; in testOfObject() local
177 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject()
232 String property = "backgroundColor"; in testOfArgb() local
[all …]
DPropertyValuesHolderTest.java248 ShapeHolderYProperty property=new ShapeHolderYProperty(ShapeHolder.class,"y"); in testOfFloat_Property() local
249 property.setObject(mObject); in testOfFloat_Property()
250 PropertyValuesHolder pVHolder = PropertyValuesHolder.ofFloat(property, values); in testOfFloat_Property()
283 String property = "backgroundColor"; in testOfInt_Property() local
288 ViewColorProperty colorProperty=new ViewColorProperty(Integer.class,property); in testOfInt_Property()
528 FloatProperty property = new FloatProperty("distance") { in testOfObject_Converter() local
539 PropertyValuesHolder.ofObject(property, converter, path); in testOfObject_Converter()
686 ShapeHolderYProperty property=new ShapeHolderYProperty(ShapeHolder.class,"y"); in testSetProperty() local
687 property.setObject(mObject); in testSetProperty()
689 pVHolder.setProperty(property); in testSetProperty()
DAnimatorTest.java134 String property = "y"; in testEnd() local
137 Animator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd()
DValueAnimatorTest.java469 String property = "y"; in testEnd() local
472 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd()
731 String property = "y"; in getAnimator() local
734 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getAnimator()
DAnimatorSetTest.java636 String property = "y"; in getYAnimator() local
639 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getYAnimator()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java196 String property = DeviceConfig.getProperty(NAMESPACE, KEY); in testDeviceConfigWithAllPermissions() local
198 property, VALUE); in testDeviceConfigWithAllPermissions()
246 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission() local
248 + " value.", property, VALUE); in testDeviceConfigPublicNamespacesWithoutReadPermission()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRequiredPropertiesRule.java78 for (Property property : requiredProperies) { in assertTestIsValid()
79 if (!property.isSupported()) { in assertTestIsValid()
80 unsupportedProperties.add(property); in assertTestIsValid()
/cts/libs/helpers/core/src/com/android/cts/helpers/
DDeviceInteractionHelperRule.java150 void buildPackageList(String property, PackageManager pm) { in buildPackageList() argument
155 String searchPath = property; in buildPackageList()
156 Log.d(LOG_TAG, "Search path from property: <" + property + ">"); in buildPackageList()
/cts/tests/tests/transition/src/android/transition/cts/
DCaptureValuesTest.java98 for (String property : properties) { in verifyCapturedValues()
99 assertTrue(className + " should have written to property " + property, in verifyCapturedValues()
100 values.values.keySet().contains(property)); in verifyCapturedValues()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java124 static void setProperty(ITestDevice device, String property, String value) throws Exception { in setProperty() argument
125 device.executeShellCommand("setprop " + property + " " + value); in setProperty()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java124 public PropertyMatcher(T property, String description, in PropertyMatcher() argument
127 mProperty = property; in PropertyMatcher()
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java53 protected static String getProperty(String property) in getProperty() argument
55 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java30 import android.car.hardware.property.CarPropertyManager;
31 import android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback;
DCarPropertyValueTest.java22 import android.car.hardware.property.CarPropertyManager;
DCarPropertyConfigTest.java22 import android.car.hardware.property.CarPropertyManager;
/cts/tools/release-parser/proto/
Drelease.proto372 // property map(key,value)
398 // property map(key,value)
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java424 private static String getProperty(String property) in getProperty() argument
426 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()
/cts/apps/CtsVerifier/res/raw/
Dopencv_library_license16 Third party copyrights are property of their respective owners.
/cts/tests/tests/media/src/android/media/cts/
DVideoDecoderPerfTest.java107 private static String getProperty(String property) throws IOException { in getProperty() argument
108 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java158 private static String getProperty(String property) throws IOException { in getProperty() argument
159 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()