Home
last modified time | relevance | path

Searched refs:numAttributes (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java335 int numAttributes = 0; in setPlayerApplicationSetting() local
338 numAttributes += ((mSettings & 0x01)!= 0)?1: 0; in setPlayerApplicationSetting()
341 byte[] attribArray = new byte [2*numAttributes]; in setPlayerApplicationSetting()
372 isPlayerAppSettingSupported((byte)numAttributes, attribArray); in setPlayerApplicationSetting()
374 ByteBuffer bb = ByteBuffer.wrap(attribArray, 0, (2*numAttributes)); in setPlayerApplicationSetting()
376 MESSAGE_SEND_SET_CURRENT_PLAYER_APPLICATION_SETTINGS, numAttributes, 0, bb); in setPlayerApplicationSetting()
581 byte numAttributes = (byte)msg.arg1; in handleMessage()
583 byte[] attributeIds = new byte [numAttributes]; in handleMessage()
584 byte[] attributeVals = new byte [numAttributes]; in handleMessage()
585 for(int i = 0; (bbRsp.hasRemaining())&&(i < numAttributes); i++) { in handleMessage()
[all …]
DAvrcpControllerClasses.java414 public boolean isPlayerAppSettingSupported(byte numAttributes, byte[] playerAppSetting) { in isPlayerAppSettingSupported() argument
415 for( int i = 0; (i < 2*numAttributes);) { in isPlayerAppSettingSupported()