Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 20 of 20) 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.cpp330 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()
331 || 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/base/libs/utils/
DResourceTypes.cpp132 dataType = src.dataType; in copyFrom_dtoh()
981 return attr->typedValue.dataType; in getAttributeDataType()
1621 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()
1622 curEntry->value.dataType)); in applyStyle()
1623 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { in applyStyle()
1707 te.value.dataType, te.value.data)); in getAttribute()
1708 const uint8_t type = te.value.dataType; in getAttribute()
1738 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference()
1742 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
1768 if (te.value.dataType == Res_value::TYPE_NULL) continue; in dumpToLog()
[all …]
/frameworks/base/libs/rs/driver/
DrsdShader.cpp251 RsDataType dataType = field->getType(); in logUniform() local
257 if (dataType == RS_TYPE_MATRIX_4X4) { in logUniform()
263 } else if (dataType == RS_TYPE_MATRIX_3X3) { in logUniform()
268 } else if (dataType == RS_TYPE_MATRIX_2X2) { in logUniform()
298 RsDataType dataType = field->getType(); in setUniform() local
299 if (dataType == RS_TYPE_MATRIX_4X4) { in setUniform()
301 } else if (dataType == RS_TYPE_MATRIX_3X3) { in setUniform()
303 } else if (dataType == RS_TYPE_MATRIX_2X2) { in setUniform()
/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.cpp446 if (value.dataType == Res_value::TYPE_NULL) { in printXMLBlock()
448 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock()
450 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock()
452 } else if (value.dataType == Res_value::TYPE_STRING) { in printXMLBlock()
457 printf("=(type 0x%x)0x%x", (int)value.dataType, (int)value.data); in printXMLBlock()
898 String8(e.name).string(), e.value.dataType, in parseValues()
1418 cdataExt.typedData.dataType = mCharsValue.dataType; in flatten_node()
1446 if (ae.value.dataType == Res_value::TYPE_NULL in flatten_node()
1447 || ae.value.dataType == Res_value::TYPE_STRING) { in flatten_node()
1449 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.cpp2066 outValue->dataType = outValue->TYPE_STRING; in stringToValue()
2075 if (outValue->dataType == outValue->TYPE_STRING) { in stringToValue()
2242 outValue->dataType = Res_value::TYPE_INT_HEX; in getAttributeFlags()
3197 par.dataType = it.parsedValue.dataType; in flatten()
3202 String8(mName).string(), it.parsedValue.dataType, in flatten()
3238 map.value.dataType = it.parsedValue.dataType; in flatten()
3761 outValue->dataType, outValue->data); in getItemValue()
DResource.cpp425 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
452 if (value.dataType == Res_value::TYPE_STRING) { in validateAttr()
469 value.dataType); in validateAttr()
/frameworks/base/opengl/java/android/opengl/
DTexture.java91 int dataType, in loadTexture() argument
115 0, gl.GL_RGB, dataType, in loadTexture()
/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/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1940 public void notePhoneDataConnectionStateLocked(int dataType, boolean hasData) { in notePhoneDataConnectionStateLocked() argument
1943 switch (dataType) { in notePhoneDataConnectionStateLocked()
1991 if (DEBUG) Log.i(TAG, "Phone Data Connection -> " + dataType + " = " + hasData); in notePhoneDataConnectionStateLocked()
2303 @Override public int getPhoneSignalStrengthCount(int dataType, int which) { in getPhoneSignalStrengthCount() argument
2304 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneSignalStrengthCount()
2307 @Override public long getPhoneDataConnectionTime(int dataType, in getPhoneDataConnectionTime() argument
2309 return mPhoneDataConnectionsTimer[dataType].getTotalTimeLocked( in getPhoneDataConnectionTime()
2313 @Override public int getPhoneDataConnectionCount(int dataType, int which) { in getPhoneDataConnectionCount() argument
2314 return mPhoneDataConnectionsTimer[dataType].getCountLocked(which); in getPhoneDataConnectionCount()
/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.java2806 native String registerHealthApplicationNative(int dataType, String role, String name, in registerHealthApplicationNative() argument
2808 native String registerHealthApplicationNative(int dataType, String role, String name); in registerHealthApplicationNative() argument
/frameworks/base/include/utils/
DResourceTypes.h281 uint8_t dataType; member