Searched refs:atString (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 1490 private String parseUnknownAt(String atString) { in parseUnknownAt() argument 1491 StringBuilder atCommand = new StringBuilder(atString.length()); in parseUnknownAt() 1493 for (int i = 0; i < atString.length(); i++) { in parseUnknownAt() 1494 char c = atString.charAt(i); in parseUnknownAt() 1496 int j = atString.indexOf('"', i + 1); // search for closing " in parseUnknownAt() 1498 atCommand.append(atString.substring(i, atString.length())); in parseUnknownAt() 1502 atCommand.append(atString.substring(i, j + 1)); in parseUnknownAt() 1513 String atString = null; in getAtCommandType() local 1516 atString = atCommand.substring(5); in getAtCommandType() 1517 if (atString.startsWith("?")) { // Read in getAtCommandType() [all …]
|
D | AtPhonebook.java | 154 public void handleCscsCommand(String atString, int type, BluetoothDevice device) { in handleCscsCommand() argument 155 log("handleCscsCommand - atString = " + atString); in handleCscsCommand() 173 String[] args = atString.split("="); in handleCscsCommand() 178 String characterSet = ((atString.split("="))[1]); in handleCscsCommand() 199 public void handleCpbsCommand(String atString, int type, BluetoothDevice device) { in handleCpbsCommand() argument 201 log("handleCpbsCommand - atString = " + atString); in handleCpbsCommand() 234 String[] args = atString.split("="); in handleCpbsCommand() 268 void handleCpbrCommand(String atString, int type, BluetoothDevice remoteDevice) { in handleCpbrCommand() argument 269 log("handleCpbrCommand - atString = " + atString); in handleCpbrCommand() 322 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 | 951 String atString = "1"; in testAtBindWithDriverSafetyEventWhenConnecting() local 953 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindWithDriverSafetyEventWhenConnecting() 974 String atString = "2"; in testAtBindEventWithBatteryLevelEventWhenConnecting() local 976 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindEventWithBatteryLevelEventWhenConnecting() 997 String atString = "err,A,123,,1"; in testAtBindEventWithErrorEventWhenConnecting() local 999 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_BIND, atString, mTestDevice)); in testAtBindEventWithErrorEventWhenConnecting()
|