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

12

/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 DResTable_test.cpp55 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
86 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
91 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
106 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
111 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
126 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
137 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
142 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
153 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
167 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
[all...]
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.cpp89 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
110 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
179 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.h77 value.dataType = Res_value::TYPE_NULL;
82 || value.dataType == Res_value::TYPE_NULL
83 || value.dataType == Res_value::TYPE_STRING;
H A DXMLNode.cpp481 if (value.dataType == Res_value::TYPE_NULL) {
483 } else if (value.dataType == Res_value::TYPE_REFERENCE) {
485 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) {
487 } else if (value.dataType == Res_value::TYPE_STRING) {
492 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data);
969 String8(e.name).string(), e.value.dataType,
1340 if (ae.value.dataType == Res_value::TYPE_NULL
1341 || ae.value.dataType == Res_value::TYPE_STRING) {
1520 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/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/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py230 dataType = " ".join(elements[:-1]).strip() # everything else is the data type
237 dataType += "*" * pointersInName
244 dataType += "*"
246 dataType = elements[0]
247 return (name, getDataTypeFromKw(dataType))
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp105 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
1067 if (value.dataType == Res_value::TYPE_REFERENCE) {
1097 value.dataType = Res_value::TYPE_NULL;
1105 value.dataType = Res_value::TYPE_ATTRIBUTE;
1108 value.dataType, value.data));
1117 if (value.dataType == Res_value::TYPE_NULL) {
1122 value.dataType, value.data));
1128 if (value.dataType != Res_value::TYPE_NULL) {
1134 value.dataType, value.data));
1141 value.dataType, valu
[all...]
H A Dandroid_util_XmlBlock.cpp332 return value.dataType == value.TYPE_REFERENCE
333 || value.dataType == value.TYPE_ATTRIBUTE
/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) {
310 RsDataType dataType = field->mHal.state.dataType; local
316 if (dataType == RS_TYPE_MATRIX_4X4) {
322 } else if (dataType == RS_TYPE_MATRIX_3X3) {
327 } else if (dataType == RS_TYPE_MATRIX_2X2) {
357 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/base/libs/androidfw/
H A DResourceTypes.cpp142 dataType = src.dataType;
1224 uint8_t type = attr->typedValue.dataType;
1246 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE ||
3120 attrRes, bag->map.value.dataType, bag->map.value.data,
3121 curEntry->value.dataType));
3122 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) {
3206 te.value.dataType, te.value.data));
3207 const uint8_t type = te.value.dataType;
3236 //printf("Resolving type=0x%x\n", inOutValue->dataType);
[all...]
/frameworks/rs/api/
H A Dgen_runtime.cpp331 void writeJavaRandomCompatibleFloatAllocation(ofstream& file, const string& dataType,
335 void writeJavaRandomCompatibleIntegerAllocation(ofstream& file, const string& dataType,
361 void convertToRsType(const string& name, string* dataType, char* vectorSize) const;
1462 string dataType; local
1464 convertToRsType(param.rsType, &dataType, &vectorSize);
1470 writeJavaRandomCompatibleFloatAllocation(file, dataType, seed, vectorSize,
1474 writeJavaRandomCompatibleIntegerAllocation(file, dataType, seed, vectorSize,
1482 file << "createRandomFloatAllocation(mRS, Element.DataType." << dataType << ", "
1487 file << "createRandomAllocation(mRS, Element.DataType." << dataType << ", " << vectorSize
1495 void Permutation::writeJavaRandomCompatibleFloatAllocation(ofstream& file, const string& dataType, argument
1528 writeJavaRandomCompatibleIntegerAllocation(ofstream& file, const string& dataType, const string& seed, char vectorSize, const Type& compatibleType, const Type& generatedType) const argument
1550 string dataType; local
1559 convertToRsType(const string& name, string* dataType, char* vectorSize) const argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h196 rs_data_type dataType; member in struct:Element::__anon1491::__anon1492
H A Drs_element.c91 return element->mHal.state.dataType;
/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl84 void notePhoneDataConnectionState(int dataType, boolean hasData);
/frameworks/rs/
H A DrsElement.h43 RsDataType dataType; member in struct:android::renderscript::Element::Hal::State
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp59 switch(dataType) { \
683 jint count, jobject data, jint sizeBytes, jint dataType)
686 LOG_API("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), dataType(%i)",
687 (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, dataType);
706 jint w, jint h, jobject data, jint sizeBytes, jint dataType)
711 (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType);
744 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType)
779 nAllocationRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jobject data, int dataType) argument
789 jint count, jobject data, int sizeBytes, int dataType)
792 LOG_API("nAllocation1DRead, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), dataType(
682 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, jint sizeBytes, jint dataType) argument
705 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType) argument
743 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, int sizeBytes, int dataType) argument
788 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, int sizeBytes, int dataType) argument
799 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, int sizeBytes, int dataType) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java338 * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person".
344 public static IntentFilter create(String action, String dataType) { argument
346 return new IntentFilter(action, dataType);
386 * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person".
389 public IntentFilter(String action, String dataType) argument
394 addDataType(dataType);

Completed in 692 milliseconds

12