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.java113 public boolean registerSinkAppConfiguration(String name, int dataType, in registerSinkAppConfiguration() argument
117 if (DBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); in registerSinkAppConfiguration()
118 return registerAppConfiguration(name, dataType, SINK_ROLE, in registerSinkAppConfiguration()
138 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument
143 if (DBG) log("registerApplication(" + name + ":" + dataType + ")"); in registerAppConfiguration()
146 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()
Dandroid_server_BluetoothService.cpp1298 jint dataType, jstring role, in registerHealthApplicationNative() argument
1325 "DataType", DBUS_TYPE_UINT16, &dataType, in registerHealthApplicationNative()
1361 jint dataType, jstring role, in registerSinkHealthApplicationNative() argument
1388 "DataType", DBUS_TYPE_UINT16, &dataType, in registerSinkHealthApplicationNative()
/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/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()
908 String8(e.name).string(), e.value.dataType, in parseValues()
1435 cdataExt.typedData.dataType = mCharsValue.dataType; in flatten_node()
1465 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node()
1466 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node()
1468 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node()
[all …]
DCommand.cpp249 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
267 if (value.dataType != Res_value::TYPE_STRING) { in getAttribute()
286 if (value.dataType < Res_value::TYPE_FIRST_INT in getIntegerAttribute()
287 || value.dataType > Res_value::TYPE_LAST_INT) { in getIntegerAttribute()
304 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute()
307 if (value.dataType < Res_value::TYPE_FIRST_INT in getResolvedIntegerAttribute()
308 || value.dataType > Res_value::TYPE_LAST_INT) { in getResolvedIntegerAttribute()
325 if (value.dataType == Res_value::TYPE_STRING) { in getResolvedAttribute()
331 if (value.dataType != Res_value::TYPE_STRING) { in getResolvedAttribute()
DResourceTable.cpp2111 outValue->dataType = outValue->TYPE_STRING; in stringToValue()
2120 if (outValue->dataType == outValue->TYPE_STRING) { in stringToValue()
2296 outValue->dataType = Res_value::TYPE_INT_HEX; in getAttributeFlags()
3265 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3272 if (it.parsedValue.dataType == Res_value::TYPE_STRING) { in remapStringValue()
3311 par.dataType = it.parsedValue.dataType; in flatten()
3316 String8(mName).string(), it.parsedValue.dataType, in flatten()
3352 map.value.dataType = it.parsedValue.dataType; in flatten()
3875 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/libs/androidfw/
DResourceTypes.cpp132 dataType = src.dataType; in copyFrom_dtoh()
1003 return attr->typedValue.dataType; in getAttributeDataType()
2518 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()
2519 curEntry->value.dataType)); in applyStyle()
2520 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
2604 te.value.dataType, te.value.data)); in getAttribute()
2605 const uint8_t type = te.value.dataType; in getAttribute()
2635 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference()
2639 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
2665 if (te.value.dataType == Res_value::TYPE_NULL) continue; in dumpToLog()
[all …]
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_structs.h169 rs_data_type dataType; member
Drs_element.c92 return element->mHal.state.dataType; in rsElementGetDataType()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl50 void notePhoneDataConnectionState(int dataType, boolean hasData); in notePhoneDataConnectionState() argument
/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/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1942 public void notePhoneDataConnectionStateLocked(int dataType, boolean hasData) { in notePhoneDataConnectionStateLocked() argument
1945 switch (dataType) { in notePhoneDataConnectionStateLocked()
1993 if (DEBUG) Log.i(TAG, "Phone Data Connection -> " + dataType + " = " + hasData); in notePhoneDataConnectionStateLocked()
2305 @Override public int getPhoneSignalStrengthCount(int dataType, int which) { in getPhoneSignalStrengthCount() argument
2306 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneSignalStrengthCount()
2309 @Override public long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
2311 return mPhoneDataConnectionsTimer[dataType].getTotalTimeLocked( in getPhoneDataConnectionTime()
2315 @Override public int getPhoneDataConnectionCount(int dataType, int which) { in getPhoneDataConnectionCount() argument
2316 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneDataConnectionCount()
/frameworks/base/include/androidfw/
DResourceTypes.h281 uint8_t dataType; member
/frameworks/base/core/java/android/os/
DBatteryStats.java841 public abstract long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
850 public abstract int getPhoneDataConnectionCount(int dataType, int which); in getPhoneDataConnectionCount() argument
/frameworks/base/core/java/android/server/
DBluetoothService.java2912 native String registerHealthApplicationNative(int dataType, String role, String name, in registerHealthApplicationNative() argument
2914 native String registerHealthApplicationNative(int dataType, String role, String name); in registerHealthApplicationNative() argument