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

123

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthAppConfiguration.java40 * @param dataType Data Type of the remote Bluetooth Health device
43 BluetoothHealthAppConfiguration(String name, int dataType) { argument
45 mDataType = dataType;
54 * @param dataType Data Type of the remote Bluetooth Health device
59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument
62 mDataType = dataType;
104 * @return dataType
H A DBluetoothHealth.java139 * @param dataType The dataType of the Source role of Health Profile to which
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.
170 public boolean registerAppConfiguration(String name, int dataType, int role, argument
175 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")");
178 new BluetoothHealthAppConfiguration(name, dataType, rol
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp48 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType);
51 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
61 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType);
64 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
H A DAppAsLib_test.cpp38 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
51 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
64 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
H A DResTable_test.cpp92 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
97 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
112 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
117 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
132 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
137 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
148 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
153 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
164 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
178 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
[all...]
H A DTestHelpers.cpp32 if (val.dataType != Res_value::TYPE_STRING) {
H A DIdmap_test.cpp75 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
90 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
H A DSplit_test.cpp92 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
113 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
209 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) {
104 if (value.dataType == Res_value::TYPE_STRING) {
110 if (value.dataType != Res_value::TYPE_STRING) {
149 if (value.dataType == Res_value::TYPE_REFERENCE) {
152 if (value.dataType < Res_value::TYPE_FIRST_INT
153 || value.dataType > Res_value::TYPE_LAST_INT) {
173 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;
H A DXMLNode.cpp477 if (value.dataType == Res_value::TYPE_NULL) {
479 } else if (value.dataType == Res_value::TYPE_REFERENCE) {
481 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) {
483 } else if (value.dataType == Res_value::TYPE_STRING) {
488 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data);
998 String8(e.name).string(), e.value.dataType,
1371 if (ae.value.dataType == Res_value::TYPE_NULL
1372 || ae.value.dataType == Res_value::TYPE_STRING) {
1554 cdataExt.typedData.dataType = mCharsValue.dataType;
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRestoreDescription.java65 public RestoreDescription(String packageName, int dataType) { argument
67 mDataType = dataType;
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_single_source_alloc.java57 for (int dataType: rsDataTypes) {
61 s.invoke_CreateAndTestAlloc(dataType, 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/
H A DResourceValues.cpp50 outValue->dataType = android::Res_value::TYPE_STRING;
70 outValue->dataType = (referenceType == Reference::Type::kResource) ?
101 out->dataType = android::Res_value::TYPE_INT_BOOLEAN;
131 outValue->dataType = android::Res_value::TYPE_STRING;
163 outValue->dataType = android::Res_value::TYPE_STRING;
187 outValue->dataType = android::Res_value::TYPE_STRING;
207 BinaryPrimitive::BinaryPrimitive(uint8_t dataType, uint32_t data) { argument
208 value.dataType = dataType;
213 outValue->dataType
[all...]
H A DResourceUtils.cpp261 value.dataType = android::Res_value::TYPE_REFERENCE;
264 value.dataType = android::Res_value::TYPE_NULL;
281 value.dataType = android::Res_value::TYPE_INT_DEC;
292 flags.dataType = android::Res_value::TYPE_INT_DEC;
346 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB4;
355 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB4;
365 value.dataType = android::Res_value::TYPE_INT_COLOR_RGB8;
374 value.dataType = android::Res_value::TYPE_INT_COLOR_ARGB8;
409 value.dataType = android::Res_value::TYPE_INT_BOOLEAN;
523 if (typeMask & androidTypeToAttributeTypeMask(floatingPoint->value.dataType)) {
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp117 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
1204 if (value.dataType == Res_value::TYPE_REFERENCE) {
1236 value.dataType = Res_value::TYPE_NULL;
1244 value.dataType = Res_value::TYPE_ATTRIBUTE;
1247 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data);
1251 if (value.dataType == Res_value::TYPE_NULL) {
1258 ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data);
1264 if (value.dataType != Res_value::TYPE_NULL) {
1270 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data);
1278 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, valu
[all...]
/frameworks/rs/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,
311 string dataType; local
313 convertToRsType(param.rsType, &dataType, &vectorSize);
319 writeJavaRandomCompatibleFloatAllocation(dataType, seed, vectorSize,
323 writeJavaRandomCompatibleIntegerAllocation(dataType, seed, vectorSize,
328 *mJava << "createRandomFloatAllocation(mRS, Element.DataType." << dataType << ", "
341 writeJavaRandomCompatibleFloatAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument
373 writeJavaRandomCompatibleIntegerAllocation( const string& dataType, const string& seed, char vectorSize, const NumericalType& compatibleType, const NumericalType& generatedType) const argument
394 string dataType; local
[all...]
/frameworks/rs/driver/
H A DrsdShader.cpp283 if (f->mHal.state.dataType == RS_TYPE_MATRIX_4X4) {
285 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_3X3) {
287 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_2X2) {
312 RsDataType dataType = field->mHal.state.dataType; local
318 if (dataType == RS_TYPE_MATRIX_4X4) {
324 } else if (dataType == RS_TYPE_MATRIX_3X3) {
329 } else if (dataType == RS_TYPE_MATRIX_2X2) {
359 RsDataType dataType = field->mHal.state.dataType; local
[all...]
H A DrsdMeshObj.cpp55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType;
112 mAttribs[userNum].type = rsdTypeToGLType(f->mHal.state.dataType);
113 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/rs/driver/runtime/
H A Drs_structs.h211 rs_data_type dataType; member in struct:Element::__anon1662::__anon1663
H A Drs_element.c93 return element->mHal.state.dataType;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp147 dataType = src.dataType;
1275 uint8_t type = attr->typedValue.dataType;
1297 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE ||
3428 attrRes, bag->map.value.dataType, bag->map.value.data,
3429 curEntry->value.dataType);
3431 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) {
3556 te.value.dataType, te.value.data);
3558 const uint8_t type = te.value.dataType;
3587 //printf("Resolving type=0x%x\n", inOutValue->dataType);
[all...]
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp390 if (value->dataType == Res_value::TYPE_STRING) {
423 if (value->dataType == Res_value::TYPE_REFERENCE ||
424 value->dataType == Res_value::TYPE_ATTRIBUTE) {
425 const Reference::Type type = (value->dataType == Res_value::TYPE_REFERENCE) ?
431 nullType.dataType = Res_value::TYPE_REFERENCE;

Completed in 5691 milliseconds

123