Home
last modified time | relevance | path

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

/packages/modules/StatsD/framework/java/android/os/
DStatsDimensionsValue.java111 if (mInner.valueType == STRING_VALUE_TYPE) { in getStringValue()
125 if (mInner.valueType == INT_VALUE_TYPE) { in getIntValue()
139 if (mInner.valueType == LONG_VALUE_TYPE) { in getLongValue()
154 if (mInner.valueType == BOOLEAN_VALUE_TYPE) { in getBooleanValue()
168 if (mInner.valueType == FLOAT_VALUE_TYPE) { in getFloatValue()
185 if (mInner.valueType == TUPLE_VALUE_TYPE) { in getTupleValueList()
212 return mInner.valueType; in getValueType()
221 public boolean isValueType(int valueType) { in isValueType() argument
222 return mInner.valueType == valueType; in isValueType()
238 switch (mInner.valueType) { in toString()
[all …]
/packages/modules/NeuralNetworks/common/types/operations/src/
DFill.cpp25 bool getValueType(OperandType outputType, OperandType* valueType) { in getValueType() argument
28 *valueType = OperandType::FLOAT16; in getValueType()
31 *valueType = OperandType::FLOAT32; in getValueType()
34 *valueType = OperandType::INT32; in getValueType()
55 OperandType valueType; in validate() local
56 NN_RET_CHECK(getValueType(outputType, &valueType)); in validate()
57 NN_RET_CHECK(validateInputTypes(context, {OperandType::TENSOR_INT32, valueType})); in validate()
/packages/modules/StatsD/framework/test/unittests/src/android/os/
DStatsDimensionsValueTest.java42 sdvp.valueType = StatsDimensionsValue.TUPLE_VALUE_TYPE; in testConversionFromStructuredParcel()
50 sdvp.tupleValue[0].valueType = StatsDimensionsValue.STRING_VALUE_TYPE; in testConversionFromStructuredParcel()
51 sdvp.tupleValue[1].valueType = StatsDimensionsValue.INT_VALUE_TYPE; in testConversionFromStructuredParcel()
52 sdvp.tupleValue[2].valueType = StatsDimensionsValue.LONG_VALUE_TYPE; in testConversionFromStructuredParcel()
53 sdvp.tupleValue[3].valueType = StatsDimensionsValue.FLOAT_VALUE_TYPE; in testConversionFromStructuredParcel()
54 sdvp.tupleValue[4].valueType = StatsDimensionsValue.BOOLEAN_VALUE_TYPE; in testConversionFromStructuredParcel()
114 parcel.valueType = StatsDimensionsValue.TUPLE_VALUE_TYPE; in testNullTupleArray()
/packages/services/Car/tools/emulator/
Duser_action_generator.py69 def _getAreaConfigs(self, vhalConfig, supportedAreas, valueType): argument
77 areaConfigs[area] = AreaConfig(configs[0], valueType)
80 areaConfigs[config.area_id] = AreaConfig(config, valueType)
88 def __init__(self, vhalAreaConfig, valueType): argument
92 if valueType == c.VEHICLEPROPERTYTYPE_INT32:
95 elif valueType == c.VEHICLEPROPERTYTYPE_INT64:
98 elif valueType == c.VEHICLEPROPERTYTYPE_FLOAT:
/packages/modules/StatsD/statsd/src/
DHashableDimensionKey.cpp60 child.valueType = STATS_DIMENSIONS_VALUE_INT_TYPE; in populateStatsDimensionsValueParcelChildren()
64 child.valueType = STATS_DIMENSIONS_VALUE_LONG_TYPE; in populateStatsDimensionsValueParcelChildren()
68 child.valueType = STATS_DIMENSIONS_VALUE_FLOAT_TYPE; in populateStatsDimensionsValueParcelChildren()
72 child.valueType = STATS_DIMENSIONS_VALUE_STRING_TYPE; in populateStatsDimensionsValueParcelChildren()
85 child.valueType = STATS_DIMENSIONS_VALUE_TUPLE_TYPE; in populateStatsDimensionsValueParcelChildren()
103 root.valueType = STATS_DIMENSIONS_VALUE_TUPLE_TYPE; in toStatsDimensionsValueParcel()
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java190 int valueType = propertyId & VehiclePropertyType.MASK; in toValueString() local
193 switch (valueType) { in toValueString()
317 int valueType = propertyId & VehiclePropertyType.MASK; in toValueTypeString() local
318 return toDebugString(VehiclePropertyType.class, valueType); in toValueTypeString()
/packages/modules/StatsD/aidl/android/os/
DStatsDimensionsValueParcel.aidl13 int valueType;
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java2266 String valueType;
2268 valueType = VALUE_TYPE_STRING;
2270 valueType = VALUE_TYPE_INTEGER;
2272 valueType = VALUE_TYPE_BOOLEAN;
2281 serializer.attribute(null, ATTRIBUTE_VALUE_TYPE, valueType);
2382 String valueType = parser.getAttributeValue(null, ATTRIBUTE_VALUE_TYPE);
2396 if (VALUE_TYPE_STRING.equals(valueType)) {
2398 } else if (VALUE_TYPE_INTEGER.equals(valueType)) {
2405 } else if (VALUE_TYPE_BOOLEAN.equals(valueType)) {
2409 Log.w(this, "Invalid type " + valueType + " for PhoneAccount bundle.");
/packages/modules/StatsD/statsd/tests/
DFieldValue_test.cpp667 ASSERT_EQ(attributionNodeParcel.valueType, STATS_DIMENSIONS_VALUE_TUPLE_TYPE); in checkAttributionNodeInDimensionsValueParcel()
672 EXPECT_EQ(uidParcel.valueType, STATS_DIMENSIONS_VALUE_INT_TYPE); in checkAttributionNodeInDimensionsValueParcel()
677 EXPECT_EQ(tagParcel.valueType, STATS_DIMENSIONS_VALUE_STRING_TYPE); in checkAttributionNodeInDimensionsValueParcel()
712 ASSERT_EQ(rootParcel.valueType, STATS_DIMENSIONS_VALUE_TUPLE_TYPE); in TEST()
718 ASSERT_EQ(attributionChainParcel.valueType, STATS_DIMENSIONS_VALUE_TUPLE_TYPE); in TEST()
730 EXPECT_EQ(floatParcel.valueType, STATS_DIMENSIONS_VALUE_FLOAT_TYPE); in TEST()
Dstatsd_test_util.cpp1582 root.valueType = STATS_DIMENSIONS_VALUE_TUPLE_TYPE; in CreateAttributionUidDimensionsValueParcel()
1585 attrNode.valueType = STATS_DIMENSIONS_VALUE_TUPLE_TYPE; in CreateAttributionUidDimensionsValueParcel()
1588 posInAttrChain.valueType = STATS_DIMENSIONS_VALUE_TUPLE_TYPE; in CreateAttributionUidDimensionsValueParcel()
1591 uidNode.valueType = STATS_DIMENSIONS_VALUE_INT_TYPE; in CreateAttributionUidDimensionsValueParcel()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/TV/libs/m2/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
Ddagger-android-processor-2.23.jarjava/dagger/android/processor/META-INF/gradle/incremental.annotation.processors ...
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...