/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 | 77 value.dataType = Res_value::TYPE_NULL; in attribute_entry() 82 || value.dataType == Res_value::TYPE_NULL in needStringValue() 83 || value.dataType == Res_value::TYPE_STRING; in needStringValue()
|
D | XMLNode.cpp | 481 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock() 483 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock() 485 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock() 487 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock() 492 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data); in printXMLBlock() 969 String8(e.name).string(), e.value.dataType, in parseValues() 1520 cdataExt.typedData.dataType = mCharsValue.dataType; in flatten_node() 1550 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node() 1551 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node() 1553 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ResTable_test.cpp | 55 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST() 86 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 91 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 106 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 111 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 126 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 137 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 142 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 153 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 167 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() [all …]
|
D | Theme_test.cpp | 48 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType); in TEST() 51 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 61 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType); in TEST() 64 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST()
|
D | Idmap_test.cpp | 75 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F() 90 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
|
D | Split_test.cpp | 89 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST() 110 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST() 179 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST()
|
/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 | 145 public boolean registerSinkAppConfiguration(String name, int dataType, in registerSinkAppConfiguration() argument 149 if (VDBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); in registerSinkAppConfiguration() 150 return registerAppConfiguration(name, dataType, SINK_ROLE, in registerSinkAppConfiguration() 170 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument 175 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")"); in registerAppConfiguration() 178 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); in registerAppConfiguration()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 105 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType); in copyValue() 1067 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_resolveAttrs() 1097 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_resolveAttrs() 1105 value.dataType = Res_value::TYPE_ATTRIBUTE; in android_content_AssetManager_resolveAttrs() 1108 value.dataType, value.data)); in android_content_AssetManager_resolveAttrs() 1117 if (value.dataType == Res_value::TYPE_NULL) { in android_content_AssetManager_resolveAttrs() 1122 value.dataType, value.data)); in android_content_AssetManager_resolveAttrs() 1128 if (value.dataType != Res_value::TYPE_NULL) { in android_content_AssetManager_resolveAttrs() 1134 value.dataType, value.data)); in android_content_AssetManager_resolveAttrs() 1141 value.dataType, value.data)); in android_content_AssetManager_resolveAttrs() [all …]
|
D | android_util_XmlBlock.cpp | 332 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute() 333 || value.dataType == value.TYPE_ATTRIBUTE in android_content_XmlBlock_nativeGetStyleAttribute()
|
/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/rs/driver/ |
D | rsdShader.cpp | 283 if (f->mHal.state.dataType == RS_TYPE_MATRIX_4X4) { in appendUserConstants() 285 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_3X3) { in appendUserConstants() 287 } else if (f->mHal.state.dataType == RS_TYPE_MATRIX_2X2) { in appendUserConstants() 310 RsDataType dataType = field->mHal.state.dataType; in logUniform() local 316 if (dataType == RS_TYPE_MATRIX_4X4) { in logUniform() 322 } else if (dataType == RS_TYPE_MATRIX_3X3) { in logUniform() 327 } else if (dataType == RS_TYPE_MATRIX_2X2) { in logUniform() 357 RsDataType dataType = field->mHal.state.dataType; in setUniform() local 358 if (dataType == RS_TYPE_MATRIX_4X4) { in setUniform() 360 } else if (dataType == RS_TYPE_MATRIX_3X3) { in setUniform() [all …]
|
D | rsdMeshObj.cpp | 55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; in isValidGLComponent() 112 mAttribs[userNum].type = rsdTypeToGLType(f->mHal.state.dataType); in init() 113 mAttribs[userNum].normalized = f->mHal.state.dataType != RS_TYPE_FLOAT_32; in init()
|
/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/native/opengl/libs/GLES_trace/tools/ |
D | genapi.py | 230 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/rs/api/ |
D | gen_runtime.cpp | 331 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; in writeJavaInputAllocationDefinition() local 1464 convertToRsType(param.rsType, &dataType, &vectorSize); in writeJavaInputAllocationDefinition() 1470 writeJavaRandomCompatibleFloatAllocation(file, dataType, seed, vectorSize, in writeJavaInputAllocationDefinition() 1474 writeJavaRandomCompatibleIntegerAllocation(file, dataType, seed, vectorSize, in writeJavaInputAllocationDefinition() 1482 file << "createRandomFloatAllocation(mRS, Element.DataType." << dataType << ", " in writeJavaInputAllocationDefinition() 1487 file << "createRandomAllocation(mRS, Element.DataType." << dataType << ", " << vectorSize in writeJavaInputAllocationDefinition() 1495 void Permutation::writeJavaRandomCompatibleFloatAllocation(ofstream& file, const string& dataType, in writeJavaRandomCompatibleFloatAllocation() argument [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 142 dataType = src.dataType; in copyFrom_dtoh() 1224 uint8_t type = attr->typedValue.dataType; in getAttributeDataType() 1246 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE || in getAttributeData() 3120 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle() 3121 curEntry->value.dataType)); in applyStyle() 3122 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle() 3206 te.value.dataType, te.value.data)); in getAttribute() 3207 const uint8_t type = te.value.dataType; in getAttribute() 3237 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference() 3241 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_element.cpp | 36 DataType dataType; member 60 EI->type = DataElementInfoTable[i].dataType; in Init()
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 196 rs_data_type dataType; member
|
D | rs_element.c | 91 return element->mHal.state.dataType; in rsElementGetDataType()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 84 void notePhoneDataConnectionState(int dataType, boolean hasData); in notePhoneDataConnectionState() argument
|
/frameworks/rs/ |
D | rsElement.h | 43 RsDataType dataType; member
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 59 switch(dataType) { \ 683 jint count, jobject data, jint sizeBytes, jint dataType) in nAllocationData1D() argument 687 (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, dataType); in nAllocationData1D() 706 jint w, jint h, jobject data, jint sizeBytes, jint dataType) in nAllocationData2D() argument 711 (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationData2D() 744 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType) in nAllocationData3D() argument 779 nAllocationRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jobject data, int dataType) in nAllocationRead() argument 789 jint count, jobject data, int sizeBytes, int dataType) in nAllocationRead1D() argument 793 (RsContext)con, alloc, offset, count, sizeBytes, dataType); in nAllocationRead1D() 800 jint w, jint h, jobject data, int sizeBytes, int dataType) in nAllocationRead2D() argument [all …]
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 344 public static IntentFilter create(String action, String dataType) { in create() argument 346 return new IntentFilter(action, dataType); in create() 389 public IntentFilter(String action, String dataType) in IntentFilter() argument 394 addDataType(dataType); in IntentFilter()
|