Searched refs:numAttr (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | Avrcp.java | 335 byte numAttr = (byte) msg.arg1; in handleMessage() 337 if (DEBUG) Log.v(TAG, "MESSAGE_GET_ELEM_ATTRS:numAttr=" + numAttr); in handleMessage() 338 attrIds = new int[numAttr]; in handleMessage() 339 textArray = new String[numAttr]; in handleMessage() 340 for (int i = 0; i < numAttr; ++i) { in handleMessage() 344 getElementAttrRspNative(numAttr, attrIds, textArray); in handleMessage() 762 private void getElementAttr(byte numAttr, int[] attrs) { in getElementAttr() argument 765 for (i = 0; i < numAttr; ++i) { in getElementAttr() 768 Message msg = mHandler.obtainMessage(MESSAGE_GET_ELEM_ATTRS, numAttr, 0, attrList); in getElementAttr() 1114 private native boolean getElementAttrRspNative(byte numAttr, int[] attrIds, String[] textArray); in getElementAttrRspNative() argument
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp.cpp | 274 static jboolean getElementAttrRspNative(JNIEnv *env, jobject object, jbyte numAttr, in getElementAttrRspNative() argument 285 if (numAttr > BTRC_MAX_ELEM_ATTR_SIZE) { in getElementAttrRspNative() 290 pAttrs = new btrc_element_attr_val_t[numAttr]; in getElementAttrRspNative() 303 for (i = 0; i < numAttr; ++i) { in getElementAttrRspNative() 324 if (i < numAttr) { in getElementAttrRspNative() 330 if ((status = sBluetoothAvrcpInterface->get_element_attr_rsp(numAttr, pAttrs)) != in getElementAttrRspNative()
|