Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java43 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()
DBluetoothHealth.java148 public boolean registerSinkAppConfiguration(String name, int dataType, in registerSinkAppConfiguration() argument
152 if (VDBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); in registerSinkAppConfiguration()
153 return registerAppConfiguration(name, dataType, SINK_ROLE, in registerSinkAppConfiguration()
173 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument
178 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")"); in registerAppConfiguration()
181 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); in registerAppConfiguration()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp89 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType); in copyValue()
929 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
941 if (value.dataType == value.TYPE_ATTRIBUTE) { in android_content_AssetManager_applyStyle()
943 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
946 if (value.dataType == value.TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
991 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
1008 value.dataType, value.data)); in android_content_AssetManager_applyStyle()
1017 if (value.dataType == Res_value::TYPE_NULL) { in android_content_AssetManager_applyStyle()
1022 value.dataType, value.data)); in android_content_AssetManager_applyStyle()
1033 if (value.dataType == Res_value::TYPE_NULL) { in android_content_AssetManager_applyStyle()
[all …]
Dandroid_util_XmlBlock.cpp329 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()
330 || value.dataType == value.TYPE_ATTRIBUTE in android_content_XmlBlock_nativeGetStyleAttribute()
/frameworks/rs/driver/
DrsdShader.cpp283 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 …]
DrsdMeshObj.cpp55 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/native/opengl/libs/GLES_trace/tools/
Dgenapi.py222 dataType = " ".join(elements[:-1]).strip() # everything else is the data type
229 dataType += "*" * pointersInName
236 dataType += "*"
238 dataType = elements[0]
239 return (name, getDataTypeFromKw(dataType))
/frameworks/base/libs/androidfw/
DResourceTypes.cpp132 dataType = src.dataType; in copyFrom_dtoh()
1003 return attr->typedValue.dataType; in getAttributeDataType()
2559 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()
2560 curEntry->value.dataType)); in applyStyle()
2561 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
2645 te.value.dataType, te.value.data)); in getAttribute()
2646 const uint8_t type = te.value.dataType; in getAttribute()
2676 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference()
2680 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
2706 if (te.value.dataType == Res_value::TYPE_NULL) continue; in dumpToLog()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.h77 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()
DXMLNode.cpp453 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock()
455 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock()
457 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock()
459 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock()
464 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data); in printXMLBlock()
909 String8(e.name).string(), e.value.dataType, in parseValues()
1436 cdataExt.typedData.dataType = mCharsValue.dataType; in flatten_node()
1466 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node()
1467 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node()
1469 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node()
[all …]
DCommand.cpp250 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
268 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
287 if (value.dataType < Res_value::TYPE_FIRST_INT in getIntegerAttribute()
288 || value.dataType > Res_value::TYPE_LAST_INT) { in getIntegerAttribute()
305 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute()
308 if (value.dataType < Res_value::TYPE_FIRST_INT in getResolvedIntegerAttribute()
309 || value.dataType > Res_value::TYPE_LAST_INT) { in getResolvedIntegerAttribute()
326 if (value.dataType == Res_value::TYPE_STRING) { in getResolvedAttribute()
332 if (value.dataType != Res_value::TYPE_STRING) { in getResolvedAttribute()
DResourceTable.cpp2116 outValue->dataType = outValue->TYPE_STRING; in stringToValue()
2125 if (outValue->dataType == outValue->TYPE_STRING) { in stringToValue()
2301 outValue->dataType = Res_value::TYPE_INT_HEX; in getAttributeFlags()
3287 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3294 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3333 par.dataType = it.parsedValue.dataType; in flatten()
3338 String8(mName).string(), it.parsedValue.dataType, in flatten()
3374 map.value.dataType = it.parsedValue.dataType; in flatten()
3896 outValue->dataType, outValue->data); in getItemValue()
DResource.cpp461 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
488 if (value.dataType == Res_value::TYPE_STRING) { in validateAttr()
505 value.dataType); in validateAttr()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl50 void notePhoneDataConnectionState(int dataType, boolean hasData); in notePhoneDataConnectionState() argument
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_structs.h170 rs_data_type dataType; member
Drs_element.c92 return element->mHal.state.dataType; in rsElementGetDataType()
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java215 public void notePhoneDataConnectionState(int dataType, boolean hasData) { in notePhoneDataConnectionState() argument
218 mStats.notePhoneDataConnectionStateLocked(dataType, hasData); in notePhoneDataConnectionState()
/frameworks/base/core/java/android/content/
DIntentFilter.java327 public static IntentFilter create(String action, String dataType) { in create() argument
329 return new IntentFilter(action, dataType); in create()
372 public IntentFilter(String action, String dataType) in IntentFilter() argument
377 addDataType(dataType); in IntentFilter()
/frameworks/rs/
DrsElement.h43 RsDataType dataType; member
DrsElement.cpp167 mHal.state.dataType = mComponent.getType(); in compute()
/frameworks/support/renderscript/v8/rs_support/
DrsElement.h43 RsDataType dataType; member
DrsElement.cpp167 mHal.state.dataType = mComponent.getType(); in compute()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1972 public void notePhoneDataConnectionStateLocked(int dataType, boolean hasData) { in notePhoneDataConnectionStateLocked() argument
1975 switch (dataType) { in notePhoneDataConnectionStateLocked()
2023 if (DEBUG) Log.i(TAG, "Phone Data Connection -> " + dataType + " = " + hasData); in notePhoneDataConnectionStateLocked()
2339 @Override public long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
2341 return mPhoneDataConnectionsTimer[dataType].getTotalTimeLocked( in getPhoneDataConnectionTime()
2345 @Override public int getPhoneDataConnectionCount(int dataType, int which) { in getPhoneDataConnectionCount() argument
2346 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneDataConnectionCount()
/frameworks/base/include/androidfw/
DResourceTypes.h281 uint8_t dataType; member
/frameworks/base/core/java/android/os/
DBatteryStats.java845 public abstract long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
854 public abstract int getPhoneDataConnectionCount(int dataType, int which); in getPhoneDataConnectionCount() argument