/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 211 public static boolean propertyExists(String property) { in propertyExists() argument 212 return getProperty(property) != null; in propertyExists() 216 public static boolean propertyEquals(String property, String value) { in propertyEquals() argument 218 return !propertyExists(property); // null value implies property does not exist in propertyEquals() 220 return value.equals(getProperty(property)); in propertyEquals() 227 public static boolean propertyMatches(String property, String regex) { in propertyMatches() argument 230 return !propertyExists(property); in propertyMatches() 232 String value = getProperty(property); in propertyMatches() 239 public static boolean getPropertyBoolean(String property) { in getPropertyBoolean() argument 240 String value = getProperty(property); in getPropertyBoolean() [all …]
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/hardware/property/ |
D | CarVendorPropertyCustomPermissionTest.java | 16 package android.car.cts.permissiontest.hardware.property; 19 import static android.car.hardware.property.VehicleVendorPermission.PERMISSION_GET_CAR_VENDOR_CATEG… 20 import static android.car.hardware.property.VehicleVendorPermission.PERMISSION_GET_CAR_VENDOR_CATEG… 21 import static android.car.hardware.property.VehicleVendorPermission.PERMISSION_SET_CAR_VENDOR_CATEG… 35 import android.car.hardware.property.CarPropertyManager; 78 private void assumePropertyIsSupported(String permission, int property) { in assumePropertyIsSupported() argument 81 CarPropertyConfig<?> config = mCarPropertyManager.getCarPropertyConfig(property); in assumePropertyIsSupported() 85 assumeTrue("Property: " + VehiclePropertyIds.toString(property) + " is not supported", in assumePropertyIsSupported()
|
/cts/tests/tests/security/native/verified_boot/ |
D | VerifiedBootTest.cpp | 102 void waitForProperty(const std::string &property) { in waitForProperty() argument 104 std::string value = android::base::GetProperty(property, "unset"); in waitForProperty() 105 while (android::base::EqualsIgnoreCase(property, "unset") && retries--) { in waitForProperty() 106 value = android::base::GetProperty(property, "unset"); in waitForProperty() 109 if (android::base::EqualsIgnoreCase(property, "unset")) in waitForProperty() 110 ADD_FAILURE() << "Property was never set: " << property; in waitForProperty()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingPropertyTests.java | 66 final PackageManager.Property property = mPackageManager.getProperty(propertyName, in getProperty() local 68 if (!property.isBoolean()) { in getProperty() 72 return property.getBoolean(); in getProperty()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiPermissionTests.java | 174 String property = tryGetPropertyWithReadPermission(violations); in testDeviceConfigWithAllPermissions() local 176 VALUE, property); in testDeviceConfigWithAllPermissions() 242 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission() local 244 + " value.", VALUE, property); in testDeviceConfigPublicNamespacesWithoutReadPermission() 336 String property = null; in tryGetPropertyWithReadPermission() local 338 property = DeviceConfig.getProperty(NAMESPACE, KEY); in tryGetPropertyWithReadPermission() 343 return property; in tryGetPropertyWithReadPermission()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 124 String property = "y"; in testOfFloat() local 127 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() 153 String property = "y"; in testOfFloatBase() local 156 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() 159 objAnimator.setPropertyName(property); in testOfFloatBase() 168 String property = "scrollY"; in testOfInt() local 170 final ObjectAnimator intAnimator = ObjectAnimator.ofInt(object, property, 200, 0); in testOfInt() 193 String property = "backgroundColor"; in testOfObject() local 199 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject() 227 Property<AnimTarget, Float> property = AnimTarget.TEST_VALUE; in testOfObject_generic() local [all …]
|
D | PropertyValuesHolderTest.java | 262 ShapeHolderYProperty property=new ShapeHolderYProperty(ShapeHolder.class,"y"); in testOfFloat_Property() local 263 property.setObject(mObject); in testOfFloat_Property() 264 PropertyValuesHolder pVHolder = PropertyValuesHolder.ofFloat(property, values); in testOfFloat_Property() 297 String property = "backgroundColor"; in testOfInt_Property() local 302 ViewColorProperty colorProperty=new ViewColorProperty(Integer.class,property); in testOfInt_Property() 542 FloatProperty property = new FloatProperty("distance") { in testOfObject_Converter() local 553 PropertyValuesHolder.ofObject(property, converter, path); in testOfObject_Converter() 701 ShapeHolderYProperty property=new ShapeHolderYProperty(ShapeHolder.class,"y"); in testSetProperty() local 702 property.setObject(mObject); in testSetProperty() 704 pVHolder.setProperty(property); in testSetProperty()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | TestingUtils.java | 34 public static boolean getBooleanProperty(Instrumentation instrumentation, String property) in getBooleanProperty() argument 36 String value = trim(runShellCommand(instrumentation, "getprop " + property)); in getBooleanProperty()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | Post.java | 96 for (final Map.Entry<String, String> property : mProperties.entrySet()) { in send() 98 property.getKey(), in send() 99 property.getValue()); in send()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyValueTest.java | 27 import android.car.hardware.property.AreaIdConfig; 28 import android.car.hardware.property.CarInternalErrorException; 29 import android.car.hardware.property.CarPropertyManager; 30 import android.car.hardware.property.PropertyAccessDeniedSecurityException;
|
D | LaneCenteringAssistCommandTest.java | 23 import android.car.hardware.property.LaneCenteringAssistCommand;
|
D | VehicleTurnSignalTest.java | 23 import android.car.hardware.property.VehicleTurnSignal;
|
D | ForwardCollisionWarningStateTest.java | 23 import android.car.hardware.property.ForwardCollisionWarningState;
|
D | BlindSpotWarningStateTest.java | 23 import android.car.hardware.property.BlindSpotWarningState;
|
D | HandsOnDetectionDriverStateTest.java | 23 import android.car.hardware.property.HandsOnDetectionDriverState;
|
D | EvRegenerativeBrakingStateTest.java | 23 import android.car.hardware.property.EvRegenerativeBrakingState;
|
D | VehicleLightStateTest.java | 23 import android.car.hardware.property.VehicleLightState;
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | CrossUserPackageVisibilityTests.java | 419 .filter(property -> property.getPackageName().equals(TARGET_STUB)) in testQueryApplicationProperty_cannotDetectStubPkg() 430 .filter(property -> property.getPackageName().equals(TARGET_STUB)) in testQueryActivityProperty_cannotDetectStubPkg() 441 .filter(property -> property.getPackageName().equals(TARGET_STUB)) in testQueryProviderProperty_cannotDetectStubPkg() 452 .filter(property -> property.getPackageName().equals(TARGET_STUB)) in testQueryReceiverProperty_cannotDetectStubPkg() 463 .filter(property -> property.getPackageName().equals(TARGET_STUB)) in testQueryServiceProperty_cannotDetectStubPkg()
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 478 final String property = PropertyUtil.getProperty("ro.hardware.virtual_device"); in isVirtualDevice() local 479 Log.v(TAG, "virtual device property=" + property); in isVirtualDevice() 480 return Objects.equals(property, "1"); in isVirtualDevice() 492 final String property = PropertyUtil.getProperty("ro.hw_timeout_multiplier"); in getAdjustedOperationTimeoutMs() local 494 if (property != null) { in getAdjustedOperationTimeoutMs() 496 multiplier = Integer.parseInt(property); in getAdjustedOperationTimeoutMs()
|
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/ |
D | VehiclePropertyVerifiers.java | 26 import android.car.hardware.property.CarPropertyManager; 27 import android.car.hardware.property.LocationCharacterization;
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardAutoClearTest.java | 154 private String getAndSetProperty(String property, String newPropertyValue) { in getAndSetProperty() argument 156 property); in getAndSetProperty() 157 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_CLIPBOARD, property, in getAndSetProperty()
|
/cts/libs/helpers/core/src/com/android/cts/helpers/ |
D | DeviceInteractionHelperRule.java | 150 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/hostsidetests/library/ |
D | Android.bp | 60 // in the `tools` property although they technically are inputs of the zip, 64 // property, and then used as inputs in the `cmd`. 67 // property instead of `tools` or `srcs`. This is because those modules are 71 // created using the `required` property.
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 159 static String[] getStringList(String property) throws IOException { in getStringList() argument 160 String value = getProperty(property); in getStringList() 171 static String getProperty(String property) in getProperty() argument 173 Process process = new ProcessBuilder("getprop", property).start(); in getProperty()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | CaptureValuesTest.java | 98 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()
|