/frameworks/base/libs/androidfw/ |
H A D | AttributeResolution.cpp | 83 if (value.dataType == Res_value::TYPE_REFERENCE) { 112 value.dataType = Res_value::TYPE_NULL; 122 value.dataType = Res_value::TYPE_ATTRIBUTE; 125 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data); 134 ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data); 140 if (value.dataType != Res_value::TYPE_NULL) { 148 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data); 155 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); 163 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); 169 if (value.dataType [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthAppConfiguration.java | 39 * @param dataType Data Type of the remote Bluetooth Health device 42 BluetoothHealthAppConfiguration(String name, int dataType) { argument 44 mDataType = dataType; 53 * @param dataType Data Type of the remote Bluetooth Health device 57 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument 60 mDataType = dataType; 102 * @return dataType
|
H A D | BluetoothHealth.java | 139 * @param dataType The dataType of the Source role of Health Profile to which the sink wants to 145 public boolean registerSinkAppConfiguration(String name, int dataType, argument 149 if (VDBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); 150 return registerAppConfiguration(name, dataType, SINK_ROLE, 162 * @param dataType The dataType of the Source role of Health Profile. 169 public boolean registerAppConfiguration(String name, int dataType, int role, argument 174 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")"); 177 new BluetoothHealthAppConfiguration(name, dataType, rol [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | AppAsLib_test.cpp | 40 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 59 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 78 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
|
H A D | Theme_test.cpp | 87 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 93 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 111 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 117 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 126 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 158 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 165 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 172 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); 192 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 199 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); [all...] |
H A D | ResTable_test.cpp | 68 EXPECT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 115 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 120 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 139 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 144 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 163 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 168 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 184 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 189 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 205 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); [all...] |
H A D | AssetManager2_test.cpp | 115 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 145 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 167 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); 174 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 184 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); 191 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 209 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); 221 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[0].value.dataType); 225 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[1].value.dataType); 229 EXPECT_EQ(static_cast<uint8_t>(Res_value::TYPE_INT_DEC), bag->entries[2].value.dataType); [all...] |
H A D | TestHelpers.cpp | 68 if (val.dataType != Res_value::TYPE_STRING) {
|
H A D | Idmap_test.cpp | 66 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); 82 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
|
H A D | Split_test.cpp | 98 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); 122 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); 228 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
|
/frameworks/base/tools/aapt/ |
H A D | AaptXml.cpp | 36 if (value.dataType != Res_value::TYPE_STRING) { 58 if (value.dataType < Res_value::TYPE_FIRST_INT 59 || value.dataType > Res_value::TYPE_LAST_INT) { 112 if (value.dataType == Res_value::TYPE_STRING) { 127 if (value.dataType != Res_value::TYPE_STRING) { 165 if (value.dataType == Res_value::TYPE_REFERENCE) { 168 if (value.dataType < Res_value::TYPE_FIRST_INT 169 || value.dataType > Res_value::TYPE_LAST_INT) { 189 if (outValue->dataType == Res_value::TYPE_REFERENCE) {
|
H A D | XMLNode.h | 80 value.dataType = Res_value::TYPE_NULL; 85 || value.dataType == Res_value::TYPE_NULL 86 || value.dataType == Res_value::TYPE_STRING;
|
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreDescription.java | 65 public RestoreDescription(String packageName, int dataType) { argument 67 mDataType = dataType;
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | UT_single_source_alloc.java | 67 for (rsDataType dataType : rsDataType.values()) { 71 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | UT_single_source_alloc.java | 69 for (rsDataType dataType : rsDataType.values()) { 73 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize);
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 280 private static final String getDataType(int dataType) { argument 281 if (dataType == 1) return "1x"; 282 if (dataType == 2) return "3g"; 283 if (dataType == 3) return "4g"; 284 if (dataType == 4) return "e"; 285 if (dataType == 5) return "g"; 286 if (dataType == 6) return "h"; 287 if (dataType == 7) return "lte"; 288 if (dataType == 8) return "roam";
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 234 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); 294 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); 300 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); 306 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_COLOR_RGB8)); 312 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_COLOR_ARGB8)); 318 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_COLOR_RGB4)); 324 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_COLOR_ARGB4)); 330 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_DEC)); 336 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_DEC)); 342 EXPECT_THAT(bp->value.dataType, E [all...] |
H A D | ProtoDeserialize.cpp | 769 val.dataType = android::Res_value::TYPE_NULL; 773 val.dataType = android::Res_value::TYPE_NULL; 777 val.dataType = android::Res_value::TYPE_FLOAT; 782 val.dataType = android::Res_value::TYPE_DIMENSION; 786 val.dataType = android::Res_value::TYPE_FRACTION; 790 val.dataType = android::Res_value::TYPE_INT_DEC; 794 val.dataType = android::Res_value::TYPE_INT_HEX; 798 val.dataType = android::Res_value::TYPE_INT_BOOLEAN; 802 val.dataType = android::Res_value::TYPE_INT_COLOR_ARGB8; 806 val.dataType [all...] |
/frameworks/rs/script_api/ |
H A D | GenerateTestFiles.cpp | 29 static void convertToRsType(const string& name, string* dataType, char* vectorSize) { argument 39 dataType->clear(); 42 *dataType = TYPES[i].rsDataType; 108 void writeJavaRandomCompatibleFloatAllocation(const string& dataType, const string& seed, 112 void writeJavaRandomCompatibleIntegerAllocation(const string& dataType, const string& seed, 318 string dataType; local 320 convertToRsType(param.rsType, &dataType, &vectorSize); 326 writeJavaRandomCompatibleFloatAllocation(dataType, seed, vectorSize, 330 writeJavaRandomCompatibleIntegerAllocation(dataType, seed, vectorSize, 335 *mJava << "createRandomFloatAllocation(mRS, Element.DataType." << dataType << ", " 348 writeJavaRandomCompatibleFloatAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument 380 writeJavaRandomCompatibleIntegerAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument 401 string dataType; local [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.cpp | 88 out_value->dataType = android::Res_value::TYPE_STRING; 124 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; 126 out_value->dataType = android::Res_value::TYPE_REFERENCE; 130 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; 132 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; 218 out->dataType = android::Res_value::TYPE_INT_BOOLEAN; 264 out_value->dataType = android::Res_value::TYPE_STRING; 319 out_value->dataType = android::Res_value::TYPE_STRING; 355 out_value->dataType = android::Res_value::TYPE_STRING; 389 BinaryPrimitive::BinaryPrimitive(uint8_t dataType, uint32_ argument [all...] |
H A D | ResourceUtils.cpp | 343 value.dataType = android::Res_value::TYPE_INT_DEC; 354 flags.dataType = android::Res_value::TYPE_INT_HEX; 409 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB4; 418 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB4; 428 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB8; 437 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB8; 479 if (value.dataType == android::Res_value::TYPE_INT_HEX) { 631 if (type_mask & AndroidTypeToAttributeTypeMask(floating_point->value.dataType)) { 698 switch (res_value.dataType) { 739 if (res_value.dataType [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 287 if (f->mHal.state.dataType == RS_TYPE_MATRIX_4X4) { 289 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_3X3) { 291 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_2X2) { 316 RsDataType dataType = field->mHal.state.dataType; local 322 if (dataType == RS_TYPE_MATRIX_4X4) { 328 } else if (dataType == RS_TYPE_MATRIX_3X3) { 333 } else if (dataType == RS_TYPE_MATRIX_2X2) { 363 RsDataType dataType = field->mHal.state.dataType; local [all...] |
H A D | rsdMeshObj.cpp | 59 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; 116 mAttribs[userNum].type = rsdTypeToGLType(f->mHal.state.dataType); 117 mAttribs[userNum].normalized = f->mHal.state.dataType != RS_TYPE_FLOAT_32;
|
/frameworks/compile/slang/ |
H A D | slang_rs_export_element.cpp | 36 DataType dataType; member in struct:slang::DataElementInfo 60 EI->type = DataElementInfoTable[i].dataType;
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Util.cpp | 260 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && 261 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { 284 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && 285 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) {
|