/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
PropertyNodesVerifierElem.java | 62 public PropertyNodesVerifierElem addExpectedNodeWithOrder(String propName, String propValue) { 63 return addExpectedNodeWithOrder(propName, propValue, null, null, null, null, null); 67 String propName, String propValue, ContentValues contentValues) { 68 return addExpectedNodeWithOrder(propName, propValue, null, 79 String propName, String propValue, List<String> propValueList) { 80 return addExpectedNodeWithOrder(propName, propValue, propValueList, null, 86 final String propValue = concatinateListWithSemiColon(propValueList); 87 return addExpectedNodeWithOrder(propName, propValue.toString(), propValueList, 91 public PropertyNodesVerifierElem addExpectedNodeWithOrder(String propName, String propValue, 93 return addExpectedNodeWithOrder(propName, propValue, null [all...] |
PropertyNode.java | 44 public String propValue; 48 * Used when propValue is encoded by something like BASE64, QUOTED-PRINTABLE, etc. 69 propValue = ""; 77 String propName, String propValue, List<String> propValue_vector, 85 if (propValue != null) { 86 this.propValue = propValue; 88 this.propValue = ""; 143 if (!propValue.equals(node.propValue)) { [all...] |
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
VehiclePropValueBuilder.java | 31 public static VehiclePropValueBuilder newBuilder(VehiclePropValue propValue) { 32 return new VehiclePropValueBuilder(propValue); 40 private VehiclePropValueBuilder(VehiclePropValue propValue) { 41 mPropValue = clone(propValue); 44 private VehiclePropValue clone(VehiclePropValue propValue) { 47 newValue.prop = propValue.prop; 48 newValue.areaId = propValue.areaId; 49 newValue.timestamp = propValue.timestamp; 50 newValue.value.stringValue = propValue.value.stringValue; 51 newValue.value.int32Values.addAll(propValue.value.int32Values) [all...] |
/bionic/tests/ |
system_properties_test2.cpp | 45 char propvalue[PROP_VALUE_MAX]; local 54 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); 55 ASSERT_STREQ("value1", propvalue); 64 propvalue[0] = '\0'; 66 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); 67 ASSERT_STREQ("value1", propvalue); 71 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); 72 ASSERT_STREQ("value1-1", propvalue); 85 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); 86 ASSERT_STREQ("value2", propvalue); 133 char propvalue[PROP_VALUE_MAX]; local [all...] |
system_properties_test.cpp | 133 char propvalue[PROP_VALUE_MAX]; local 134 ASSERT_EQ(6, __system_property_get("property", propvalue)); 135 ASSERT_STREQ(propvalue, "value1"); 137 ASSERT_EQ(6, __system_property_get("other_property", propvalue)); 138 ASSERT_STREQ(propvalue, "value2"); 140 ASSERT_EQ(6, __system_property_get("property_other", propvalue)); 141 ASSERT_STREQ(propvalue, "value3"); 143 ASSERT_EQ(5, __system_property_get(name, propvalue)); 144 ASSERT_STREQ(propvalue, "value"); 171 char propvalue[PROP_VALUE_MAX] local [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
HalClient.java | 80 public void setValue(VehiclePropValue propValue) throws PropertyTimeoutException { 83 return mVehicle.set(propValue); 93 propValue.prop, propValue.areaId)); 97 throw new PropertyTimeoutException(propValue.prop); 103 + "code: %d", propValue.prop, propValue.areaId, status)); 111 valueWrapper.object = res.propValue; 139 (status, propValue) -> { 141 result.propValue = propValue [all...] |
VehicleHal.java | 385 VehiclePropValue propValue = new VehiclePropValue(); 386 propValue.prop = propertyId; 387 propValue.areaId = areaId; 388 return mHalClient.getValue(propValue); 402 VehiclePropValue propValue; 403 propValue = mHalClient.getValue(requestedPropValue); 406 return (T) propValue.value.int32Values.get(0); 408 return (T) Boolean.valueOf(propValue.value.int32Values.get(0) == 1); 410 return (T) propValue.value.floatValues.get(0); 412 Integer[] intArray = new Integer[propValue.value.int32Values.size()] [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceQueryTestCase.cpp | 173 virtual void validate (const ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue, const std::string& implementationName) const = 0; 226 void validate (const ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue, const std::string& implementationName) const; 227 virtual void validateSingleVariable (const std::vector<VariablePathComponent>& path, const std::string& resource, glw::GLint propValue, const std::string& implementationName) const = 0; 228 virtual void validateBuiltinVariable (const std::string& resource, glw::GLint propValue, const std::string& implementationName) const; 242 void SingleVariableValidator::validate (const ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue, const std::string& implementationName) const 256 validateSingleVariable(path, resource, propValue, implementationName); 264 validateBuiltinVariable(resource, propValue, implementationName); 273 void SingleVariableValidator::validateBuiltinVariable (const std::string& resource, glw::GLint propValue, const std::string& implementationName) const 276 DE_UNREF(propValue); 286 void validate (const ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue, const std::string& implementationName) const [all...] |
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/ |
VtsHalAutomotiveVehicleV2_0HostTest.py | 172 propValue = self.emptyValueProperty(propertyId, areaId) 173 for k in propValue["value"]: 176 propValue["value"][k] += value[k] 178 propValue["value"][k].extend(value[k]) 179 vp = self.vtypes.Py2Pb("VehiclePropValue", propValue) 198 propValue = self.readVhalProperty(propertyId, areaId=areaId) 199 asserts.assertEqual(1, len(propValue["value"]["int32Values"])) 200 asserts.assertEqual(value, propValue["value"]["int32Values"][0]) 204 propValue = self.readVhalProperty( 206 asserts.assertEqual(1, len(propValue["value"]["int32Values"]) [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
Obd2SensorStore.cpp | 96 void Obd2SensorStore::fillPropValue(const std::string& dtc, VehiclePropValue* propValue) const { 97 propValue->timestamp = elapsedRealtimeNano(); 98 propValue->value.int32Values = getIntegerSensors(); 99 propValue->value.floatValues = getFloatSensors(); 100 propValue->value.bytes = getSensorsBitmask(); 101 propValue->value.stringValue = dtc;
|
VehiclePropertyStore.cpp | 44 bool VehiclePropertyStore::writeValue(const VehiclePropValue& propValue) { 46 if (!mConfigs.count(propValue.prop)) return false; 48 RecordId recId = getRecordIdLocked(propValue); 51 mPropertyValues.insert({ recId, propValue }); 53 valueToUpdate->timestamp = propValue.timestamp; 54 valueToUpdate->value = propValue.value; 59 void VehiclePropertyStore::removeValue(const VehiclePropValue& propValue) { 61 RecordId recId = getRecordIdLocked(propValue);
|
/packages/services/Car/tools/emulator/ |
vhal_emulator.py | 216 propValue = cmd.value.add() 217 propValue.prop = prop 219 propValue.area_id = area_id 226 propValue.value_type = valType 228 propValue.string_value = value 230 propValue.bytes_value = value 232 propValue.int32_values.append(value) 234 propValue.int64_values.append(value) 236 propValue.float_values.append(value) 238 propValue.int32_values.extend(value [all...] |
/hardware/ril/reference-ril/ |
misc.c | 36 char propValue[PROP_VALUE_MAX]; 37 inQemu = (__system_property_get("ro.kernel.qemu", propValue) != 0);
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
EmulatedVehicleHal.cpp | 134 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { 135 if (propValue.prop == kGenerateFakeDataControllingProperty) { 136 StatusCode status = handleGenerateFakeDataRequest(propValue); 140 } else if (mHvacPowerProps.count(propValue.prop)) { 148 } else if (propValue.prop == OBD2_FREEZE_FRAME_CLEAR) { 149 return clearObd2FreezeFrames(propValue); 150 } else if (propValue.prop == VEHICLE_MAP_SERVICE) { 156 if (!mPropStore->writeValue(propValue)) { 160 getEmulatorOrDie()->doSetValueFromClient(propValue); 276 bool EmulatedVehicleHal::setPropertyFromVehicle(const VehiclePropValue& propValue) { [all...] |
EmulatedVehicleHal.h | 55 StatusCode set(const VehiclePropValue& propValue) override; 60 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override; 79 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
|
VehicleEmulator.h | 43 virtual bool setPropertyFromVehicle(const VehiclePropValue& propValue) = 0; 82 void doSetValueFromClient(const VehiclePropValue& propValue);
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
Utils.java | 56 (int status, VehiclePropValue propValue) -> { 57 if (f.apply(status, propValue)) { 58 vpv[0] = propValue;
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPMetaImpl.java | 768 public void setPropertyBoolean(String schemaNS, String propName, boolean propValue, 771 setProperty(schemaNS, propName, propValue ? TRUESTR : FALSESTR, options); 778 public void setPropertyBoolean(String schemaNS, String propName, boolean propValue) 781 setProperty(schemaNS, propName, propValue ? TRUESTR : FALSESTR, null); 797 public void setPropertyInteger(String schemaNS, String propName, int propValue, 800 setProperty(schemaNS, propName, new Integer(propValue), options); 807 public void setPropertyInteger(String schemaNS, String propName, int propValue) 810 setProperty(schemaNS, propName, new Integer(propValue), null); 826 public void setPropertyLong(String schemaNS, String propName, long propValue, 829 setProperty(schemaNS, propName, new Long(propValue), options) [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
ThreadPool.java | 149 String propValue = AccessController.doPrivileged(new 151 if (propValue != null) { 153 return Integer.parseInt(propValue); 163 String propValue = AccessController.doPrivileged(new 165 if (propValue != null) { 168 .forName(propValue, true, ClassLoader.getSystemClassLoader());
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
VehiclePropertyStore.h | 70 bool writeValue(const VehiclePropValue& propValue); 72 void removeValue(const VehiclePropValue& propValue);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardEntry.java | [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
DeviceSelectionOptionsTest.java | 153 options.addProperty("prop1", "propvalue"); 155 EasyMock.expect(mMockDevice.getProperty("prop1")).andReturn("propvalue"); 166 options.addProperty("prop1", "propvalue"); 179 options.addProperty("prop1", "propvalue"); 182 EasyMock.expect(mMockDevice.getProperty("prop1")).andReturn("propvalue"); 194 options.addProperty("prop1", "propvalue"); 197 EasyMock.expect(mMockDevice.getProperty("prop1")).andReturn("propvalue");
|
/external/pdfium/fpdfsdk/javascript/ |
cjs_runtime.cpp | 231 v8::Local<v8::Value> propvalue = local 235 if (propvalue.IsEmpty()) { 239 pValue->ForceSetValue(propvalue); 255 v8::Local<v8::Value> propvalue = local 260 propvalue); local
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
CarVendorExtensionManagerTest.java | 237 public synchronized int set(VehiclePropValue propValue) { 238 if (propValue.prop == CUSTOM_BYTES_PROP_ID_1) { 239 mBytes = toByteArray(propValue.value.bytes); 242 mValues.put(propValue.prop, propValue);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPMeta.java | 187 * @param propValue the value for the property (only leaf properties have a value). 199 Object propValue, 208 * @param propValue the value for the property 214 Object propValue) throws XMPException; 230 * @param itemValue the new value of the array item. Has the same usage as propValue in 272 * propValue in <code>setProperty()</code>. 320 * @param itemValue the value of the array item. Has the same usage as propValue in getProperty. 361 * Has the same usage as propValue in getProperty. 411 * value of the qualifier, if the qualifier has a value. Has the same usage as propValue [all...] |