Searched refs:dataType (Results 1 - 25 of 63) sorted by relevance

123

/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp83 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 DBluetoothHealthAppConfiguration.java39 * @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 DBluetoothHealth.java139 * @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 DAppAsLib_test.cpp40 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 DTheme_test.cpp87 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 DResTable_test.cpp68 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 DAssetManager2_test.cpp115 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 DTestHelpers.cpp68 if (val.dataType != Res_value::TYPE_STRING) {
H A DIdmap_test.cpp66 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
82 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
H A DSplit_test.cpp98 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 DAaptXml.cpp36 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 DXMLNode.h80 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 DRestoreDescription.java65 public RestoreDescription(String packageName, int dataType) { argument
67 mDataType = dataType;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_single_source_alloc.java67 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 DUT_single_source_alloc.java69 for (rsDataType dataType : rsDataType.values()) {
73 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize);
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
H A DDemoModeController.java280 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 DProtoSerialize_test.cpp234 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 DProtoDeserialize.cpp769 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 DGenerateTestFiles.cpp29 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 DResourceValues.cpp88 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 DResourceUtils.cpp343 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 DrsdShader.cpp287 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 DrsdMeshObj.cpp59 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 Dslang_rs_export_element.cpp36 DataType dataType; member in struct:slang::DataElementInfo
60 EI->type = DataElementInfoTable[i].dataType;
/frameworks/base/tools/aapt2/cmd/
H A DUtil.cpp260 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) {

Completed in 7841 milliseconds

123