Searched refs:atString (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | VendorCommandResponseProcessor.java | 124 public boolean processEvent(String atString, BluetoothDevice device) { in processEvent() argument 131 int indexOfEqual = atString.indexOf('='); in processEvent() 132 int indexOfColon = atString.indexOf(':'); in processEvent() 135 eventCode = atString.substring(0, indexOfEqual + 1); in processEvent() 137 eventCode = atString.substring(0, indexOfColon + 1); in processEvent() 139 eventCode = atString; in processEvent() 147 Log.e(TAG, "Invalid response: " + atString + ". " + eventCode); in processEvent() 150 broadcastVendorSpecificEventIntent(vendorId, eventCode, atString, device); in processEvent() 152 + atString + " for device" + device); in processEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 1518 private String parseUnknownAt(String atString) { in parseUnknownAt() argument 1519 StringBuilder atCommand = new StringBuilder(atString.length()); in parseUnknownAt() 1521 for (int i = 0; i < atString.length(); i++) { in parseUnknownAt() 1522 char c = atString.charAt(i); in parseUnknownAt() 1524 int j = atString.indexOf('"', i + 1); // search for closing " in parseUnknownAt() 1526 atCommand.append(atString.substring(i, atString.length())); in parseUnknownAt() 1530 atCommand.append(atString.substring(i, j + 1)); in parseUnknownAt() 1541 String atString = null; in getAtCommandType() local 1544 atString = atCommand.substring(5); in getAtCommandType() 1545 if (atString.startsWith("?")) { // Read in getAtCommandType() [all …]
|
D | AtPhonebook.java | 159 public void handleCscsCommand(String atString, int type, BluetoothDevice device) { in handleCscsCommand() argument 160 log("handleCscsCommand - atString = " + atString); in handleCscsCommand() 178 String[] args = atString.split("="); in handleCscsCommand() 183 String characterSet = ((atString.split("="))[1]); in handleCscsCommand() 204 public void handleCpbsCommand(String atString, int type, BluetoothDevice device) { in handleCpbsCommand() argument 206 log("handleCpbsCommand - atString = " + atString); in handleCpbsCommand() 239 String[] args = atString.split("="); in handleCpbsCommand() 273 void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument 274 log("handleCpbrCommand - atString = " + atString); in handleCpbrCommand() 327 if ((atString.split("=")).length < 2) { in handleCpbrCommand() [all …]
|
D | HeadsetNativeInterface.java | 174 private void onUnknownAt(String atString, byte[] address) { in onUnknownAt() argument 176 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_UNKNOWN_AT, atString, in onUnknownAt() 187 private void onATBind(String atString, byte[] address) { in onATBind() argument 188 HeadsetStackEvent event = new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, in onATBind()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 955 String atString = "1"; in testAtBindWithDriverSafetyEventWhenConnecting() local 957 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindWithDriverSafetyEventWhenConnecting() 978 String atString = "2"; in testAtBindEventWithBatteryLevelEventWhenConnecting() local 980 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindEventWithBatteryLevelEventWhenConnecting() 1001 String atString = "err,A,123,,1"; in testAtBindEventWithErrorEventWhenConnecting() local 1003 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindEventWithErrorEventWhenConnecting()
|