/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 79 if (value.dataType == Res_value::TYPE_REFERENCE) { in ResolveAttrs() 112 value.dataType = Res_value::TYPE_NULL; in ResolveAttrs() 122 value.dataType = Res_value::TYPE_ATTRIBUTE; in ResolveAttrs() 125 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, in ResolveAttrs() 135 ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs() 141 if (value.dataType != Res_value::TYPE_NULL) { in ResolveAttrs() 147 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs() 155 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs() 160 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs() 166 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in ResolveAttrs() [all …]
|
D | ResourceTypes.cpp | 147 dataType = src.dataType; in copyFrom_dtoh() 1281 uint8_t type = attr->typedValue.dataType; in getAttributeDataType() 1303 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE || in getAttributeData() 3538 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle() 3539 curEntry->value.dataType); in applyStyle() 3541 if (force || (curEntry->value.dataType == Res_value::TYPE_NULL in applyStyle() 3667 te.value.dataType, te.value.data); in getAttribute() 3669 const uint8_t type = te.value.dataType; in getAttribute() 3700 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference() 3705 (int)blockIndex, (int)inOutValue->dataType, inOutValue->data); in resolveAttributeReference() [all …]
|
D | AssetManager2.cpp | 406 out_value->dataType = Res_value::TYPE_REFERENCE; in GetResource() 433 for (size_t iteration = 0u; in_out_value->dataType == Res_value::TYPE_REFERENCE && in ResolveReference() 779 if (force || entry.value.dataType == Res_value::TYPE_NULL) { in ApplyStyle() 822 switch (entry.value.dataType) { in GetAttribute() 845 out_value->dataType = Res_value::TYPE_REFERENCE; in GetAttribute() 879 if (in_out_value->dataType == Res_value::TYPE_ATTRIBUTE) { in ResolveAttributeReference()
|
/frameworks/base/tools/aapt/ |
D | AaptXml.cpp | 36 if (value.dataType != Res_value::TYPE_STRING) { in getStringAttributeAtIndex() 58 if (value.dataType < Res_value::TYPE_FIRST_INT in getIntegerAttributeAtIndex() 59 || value.dataType > Res_value::TYPE_LAST_INT) { in getIntegerAttributeAtIndex() 104 if (value.dataType == Res_value::TYPE_STRING) { in getResolvedAttribute() 110 if (value.dataType != Res_value::TYPE_STRING) { in getResolvedAttribute() 149 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute() 152 if (value.dataType < Res_value::TYPE_FIRST_INT in getResolvedIntegerAttribute() 153 || value.dataType > Res_value::TYPE_LAST_INT) { in getResolvedIntegerAttribute() 173 if (outValue->dataType == Res_value::TYPE_REFERENCE) { in getResolvedResourceAttribute()
|
D | XMLNode.h | 80 value.dataType = Res_value::TYPE_NULL; in attribute_entry() 85 || value.dataType == Res_value::TYPE_NULL in needStringValue() 86 || value.dataType == Res_value::TYPE_STRING; in needStringValue()
|
D | XMLNode.cpp | 477 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock() 479 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock() 481 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock() 483 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock() 488 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data); in printXMLBlock() 998 String8(e.name).string(), e.value.dataType, in parseValues() 1554 cdataExt.typedData.dataType = mCharsValue.dataType; in flatten_node() 1584 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node() 1585 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node() 1587 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 107 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); in TEST_F() 137 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); in TEST_F() 159 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F() 166 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); in TEST_F() 176 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F() 183 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); in TEST_F() 201 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F() 213 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[0].value.dataType); in TEST_F() 217 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[1].value.dataType); in TEST_F() 221 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[2].value.dataType); in TEST_F() [all …]
|
D | Theme_test.cpp | 82 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 88 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 106 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 112 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); in TEST_F() 121 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 141 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 148 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 155 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F() 175 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() 182 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); in TEST_F() [all …]
|
D | ResTable_test.cpp | 68 EXPECT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 115 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 120 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 139 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 144 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 163 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 168 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 184 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 189 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 205 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() [all …]
|
D | AppAsLib_test.cpp | 40 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 59 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 78 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
|
D | Idmap_test.cpp | 66 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F() 82 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
|
D | Split_test.cpp | 98 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F() 122 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F() 228 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHealthAppConfiguration.java | 43 BluetoothHealthAppConfiguration(String name, int dataType) { in BluetoothHealthAppConfiguration() argument 45 mDataType = dataType; in BluetoothHealthAppConfiguration() 59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int in BluetoothHealthAppConfiguration() argument 62 mDataType = dataType; in BluetoothHealthAppConfiguration()
|
D | BluetoothHealth.java | 146 public boolean registerSinkAppConfiguration(String name, int dataType, in registerSinkAppConfiguration() argument 150 if (VDBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); in registerSinkAppConfiguration() 151 return registerAppConfiguration(name, dataType, SINK_ROLE, in registerSinkAppConfiguration() 171 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument 176 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")"); in registerAppConfiguration() 179 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); in registerAppConfiguration()
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 280 private static final String getDataType(int dataType) { in getDataType() argument 281 if (dataType == 1) return "1x"; in getDataType() 282 if (dataType == 2) return "3g"; in getDataType() 283 if (dataType == 3) return "4g"; in getDataType() 284 if (dataType == 4) return "e"; in getDataType() 285 if (dataType == 5) return "g"; in getDataType() 286 if (dataType == 6) return "h"; in getDataType() 287 if (dataType == 7) return "lte"; in getDataType() 288 if (dataType == 8) return "roam"; in getDataType()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 65 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten() 102 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten() 104 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten() 108 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten() 110 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten() 153 out->dataType = android::Res_value::TYPE_INT_BOOLEAN; in Flatten() 194 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten() 242 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten() 278 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten() 297 BinaryPrimitive::BinaryPrimitive(uint8_t dataType, uint32_t data) { in BinaryPrimitive() argument [all …]
|
D | ResourceUtils.cpp | 338 value.dataType = android::Res_value::TYPE_INT_DEC; in TryParseEnumSymbol() 349 flags.dataType = android::Res_value::TYPE_INT_HEX; in TryParseFlagSymbol() 404 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB4; in TryParseColor() 413 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB4; in TryParseColor() 423 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB8; in TryParseColor() 432 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB8; in TryParseColor() 474 if (value.dataType == android::Res_value::TYPE_INT_HEX) { in ParseResourceId() 622 if (type_mask & AndroidTypeToAttributeTypeMask(floating_point->value.dataType)) { in TryParseItemForAttribute() 689 switch (res_value.dataType) { in ParseBinaryResValue() 721 if (res_value.dataType == android::Res_value::TYPE_ATTRIBUTE || in ParseBinaryResValue() [all …]
|
/frameworks/rs/script_api/ |
D | GenerateTestFiles.cpp | 29 static void convertToRsType(const string& name, string* dataType, char* vectorSize) { in convertToRsType() argument 39 dataType->clear(); in convertToRsType() 42 *dataType = TYPES[i].rsDataType; in convertToRsType() 108 void writeJavaRandomCompatibleFloatAllocation(const string& dataType, const string& seed, 112 void writeJavaRandomCompatibleIntegerAllocation(const string& dataType, const string& seed, 318 string dataType; in writeJavaInputAllocationDefinition() local 320 convertToRsType(param.rsType, &dataType, &vectorSize); in writeJavaInputAllocationDefinition() 326 writeJavaRandomCompatibleFloatAllocation(dataType, seed, vectorSize, in writeJavaInputAllocationDefinition() 330 writeJavaRandomCompatibleIntegerAllocation(dataType, seed, vectorSize, in writeJavaInputAllocationDefinition() 335 *mJava << "createRandomFloatAllocation(mRS, Element.DataType." << dataType << ", " in writeJavaInputAllocationDefinition() [all …]
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 287 if (f->mHal.state.dataType == RS_TYPE_MATRIX_4X4) { in appendUserConstants() 289 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_3X3) { in appendUserConstants() 291 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_2X2) { in appendUserConstants() 316 RsDataType dataType = field->mHal.state.dataType; in logUniform() local 322 if (dataType == RS_TYPE_MATRIX_4X4) { in logUniform() 328 } else if (dataType == RS_TYPE_MATRIX_3X3) { in logUniform() 333 } else if (dataType == RS_TYPE_MATRIX_2X2) { in logUniform() 363 RsDataType dataType = field->mHal.state.dataType; in setUniform() local 364 if (dataType == RS_TYPE_MATRIX_4X4) { in setUniform() 366 } else if (dataType == RS_TYPE_MATRIX_3X3) { in setUniform() [all …]
|
D | rsdMeshObj.cpp | 59 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; in isValidGLComponent() 116 mAttribs[userNum].type = rsdTypeToGLType(f->mHal.state.dataType); in init() 117 mAttribs[userNum].normalized = f->mHal.state.dataType != RS_TYPE_FLOAT_32; in init()
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | UT_single_source_alloc.java | 52 for (int dataType : rsDataTypes) { in run() 56 s.invoke_CreateAndTestAlloc(dataType, vecSize); in run()
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreDescription.java | 65 public RestoreDescription(String packageName, int dataType) { in RestoreDescription() argument 67 mDataType = dataType; in RestoreDescription()
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_single_source_alloc.java | 72 for (rsDataType dataType: rsDataType.values()) { in run() 76 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize); in run()
|
/frameworks/compile/slang/ |
D | slang_rs_export_element.cpp | 36 DataType dataType; member 60 EI->type = DataElementInfoTable[i].dataType; in Init()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 221 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractCompiledInt() 222 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractCompiledInt() 245 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractSdkVersion() 246 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractSdkVersion()
|