Searched refs:numAttr (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | Avrcp.java | 299 byte numAttr = (byte) msg.arg1; in handleMessage() 301 if (DEBUG) Log.v(TAG, "MESSAGE_GET_ELEM_ATTRS:numAttr=" + numAttr); in handleMessage() 302 attrIds = new int[numAttr]; in handleMessage() 303 textArray = new String[numAttr]; in handleMessage() 304 for (int i = 0; i < numAttr; ++i) { in handleMessage() 308 getElementAttrRspNative(numAttr, attrIds, textArray); in handleMessage() 594 private void getElementAttr(byte numAttr, int[] attrs) { in getElementAttr() argument 597 for (i = 0; i < numAttr; ++i) { in getElementAttr() 600 Message msg = mHandler.obtainMessage(MESSAGE_GET_ELEM_ATTRS, numAttr, 0, attrList); in getElementAttr() 902 private native boolean getElementAttrRspNative(byte numAttr, int[] attrIds, String[] textArray); in getElementAttrRspNative() argument
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp.cpp | 253 static jboolean getElementAttrRspNative(JNIEnv *env, jobject object, jbyte numAttr, in getElementAttrRspNative() argument 264 if (numAttr > BTRC_MAX_ELEM_ATTR_SIZE) { in getElementAttrRspNative() 269 pAttrs = new btrc_element_attr_val_t[numAttr]; in getElementAttrRspNative() 282 for (i = 0; i < numAttr; ++i) { in getElementAttrRspNative() 303 if (i < numAttr) { in getElementAttrRspNative() 309 if ((status = sBluetoothAvrcpInterface->get_element_attr_rsp(numAttr, pAttrs)) != in getElementAttrRspNative()
|