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.java146 public boolean registerSinkAppConfiguration(String name, int dataType, in registerSinkAppConfiguration() argument
150 if (VDBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); in registerSinkAppConfiguration()
151 return registerAppConfiguration(name, dataType, SINK_ROLE, in registerSinkAppConfiguration()
171 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument
176 if (VDBG) log("registerApplication(" + name + ":" + dataType + ")"); in registerAppConfiguration()
179 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); in registerAppConfiguration()
DBluetoothAdvScanData.java56 public BluetoothAdvScanData(IBluetoothGatt mBluetoothGatt, int dataType) { in BluetoothAdvScanData() argument
58 this.mDataType = dataType; in BluetoothAdvScanData()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp89 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType); in copyValue()
942 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
954 if (value.dataType == value.TYPE_ATTRIBUTE) { in android_content_AssetManager_applyStyle()
956 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
959 if (value.dataType == value.TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
1004 value.dataType = Res_value::TYPE_NULL; in android_content_AssetManager_applyStyle()
1021 value.dataType, value.data)); in android_content_AssetManager_applyStyle()
1030 if (value.dataType == Res_value::TYPE_NULL) { in android_content_AssetManager_applyStyle()
1035 value.dataType, value.data)); in android_content_AssetManager_applyStyle()
1046 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.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/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.cpp2177 outValue->dataType = outValue->TYPE_STRING; in stringToValue()
2186 if (outValue->dataType == outValue->TYPE_STRING) { in stringToValue()
2362 outValue->dataType = Res_value::TYPE_INT_HEX; in getAttributeFlags()
3348 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3355 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3394 par.dataType = it.parsedValue.dataType; in flatten()
3399 String8(mName).string(), it.parsedValue.dataType, in flatten()
3435 map.value.dataType = it.parsedValue.dataType; in flatten()
3957 outValue->dataType, outValue->data); in getItemValue()
DResource.cpp462 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
489 if (value.dataType == Res_value::TYPE_STRING) { in validateAttr()
506 value.dataType); in validateAttr()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp131 dataType = src.dataType; in copyFrom_dtoh()
1094 return attr->typedValue.dataType; in getAttributeDataType()
2699 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()
2700 curEntry->value.dataType)); in applyStyle()
2701 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
2785 te.value.dataType, te.value.data)); in getAttribute()
2786 const uint8_t type = te.value.dataType; in getAttribute()
2816 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference()
2820 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
2846 if (te.value.dataType == Res_value::TYPE_NULL) continue; in dumpToLog()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl52 void notePhoneDataConnectionState(int dataType, boolean hasData); in notePhoneDataConnectionState() argument
/frameworks/rs/driver/runtime/
Drs_structs.h182 rs_data_type dataType; member
Drs_element.c92 return element->mHal.state.dataType; in rsElementGetDataType()
Drs_sample.c542 rs_data_type dt = elem->mHal.state.dataType; in rsSample()
594 rs_data_type dt = elem->mHal.state.dataType; in rsSample()
641 rs_data_type dt = elem->mHal.state.dataType; in rsSample()
/frameworks/rs/
DrsElement.h43 RsDataType dataType; member
DrsElement.cpp166 mHal.state.dataType = mComponent.getType(); in compute()
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java231 public void notePhoneDataConnectionState(int dataType, boolean hasData) { in notePhoneDataConnectionState() argument
234 mStats.notePhoneDataConnectionStateLocked(dataType, hasData); in notePhoneDataConnectionState()
/frameworks/base/core/java/android/content/
DIntentFilter.java344 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()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2131 public void notePhoneDataConnectionStateLocked(int dataType, boolean hasData) { in notePhoneDataConnectionStateLocked() argument
2134 switch (dataType) { in notePhoneDataConnectionStateLocked()
2185 if (DEBUG) Log.i(TAG, "Phone Data Connection -> " + dataType + " = " + hasData); in notePhoneDataConnectionStateLocked()
2551 @Override public long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
2553 return mPhoneDataConnectionsTimer[dataType].getTotalTimeLocked( in getPhoneDataConnectionTime()
2557 @Override public int getPhoneDataConnectionCount(int dataType, int which) { in getPhoneDataConnectionCount() argument
2558 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneDataConnectionCount()
/frameworks/base/include/androidfw/
DResourceTypes.h281 uint8_t dataType; member
/frameworks/base/core/java/android/os/
DBatteryStats.java874 public abstract long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
883 public abstract int getPhoneDataConnectionCount(int dataType, int which); in getPhoneDataConnectionCount() argument