HomeSort by relevance Sort by last modified time
    Searched refs:AtCommandResult (Results 1 - 7 of 7) sorted by null

  /frameworks/base/core/java/android/bluetooth/
AtCommandHandler.java 19 import android.bluetooth.AtCommandResult;
37 public AtCommandResult handleBasicCommand(String arg) {
38 return new AtCommandResult(AtCommandResult.ERROR);
47 public AtCommandResult handleActionCommand() {
48 return new AtCommandResult(AtCommandResult.ERROR);
57 public AtCommandResult handleReadCommand() {
58 return new AtCommandResult(AtCommandResult.ERROR)
    [all...]
AtCommandResult.java 36 public class AtCommandResult {
49 * Construct a new AtCommandResult with given result code, and an empty
53 public AtCommandResult(int resultCode) {
59 * Construct a new AtCommandResult with result code OK, and the specified
63 public AtCommandResult(String response) {
80 * Add the given result into this AtCommandResult object.<p>
83 * @param result The AtCommandResult to add to this result.
85 public void addResult(AtCommandResult result) {
AtParser.java 20 import android.bluetooth.AtCommandResult;
251 public AtCommandResult process(String raw_input) {
264 return new AtCommandResult(AtCommandResult.UNSOLICITED);
270 return new AtCommandResult(AtCommandResult.ERROR);
275 AtCommandResult result =
276 new AtCommandResult(AtCommandResult.UNSOLICITED);
292 new AtCommandResult(AtCommandResult.ERROR))
    [all...]
HeadsetBase.java 126 AtCommandResult result = mAtParser.process(input);
130 if (result.getResultCode() == AtCommandResult.ERROR) {
  /frameworks/base/core/tests/coretests/src/android/bluetooth/
AtParserTest.java 20 import android.bluetooth.AtCommandResult;
38 this(AtCommandResult.ERROR, AtCommandResult.ERROR,
39 AtCommandResult.ERROR, AtCommandResult.ERROR,
40 AtCommandResult.ERROR);
65 public AtCommandResult handleBasicCommand(String args) {
68 return new AtCommandResult(mBasicReturn);
71 public AtCommandResult handleActionCommand() {
73 return new AtCommandResult(mActionReturn)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
BluetoothHandsfree.java 20 import android.bluetooth.AtCommandResult;
357 AtCommandResult result = ring();
618 AtCommandResult result = new AtCommandResult(AtCommandResult.UNSOLICITED);
654 AtCommandResult result = new AtCommandResult(AtCommandResult.UNSOLICITED);
    [all...]
BluetoothAtPhonebook.java 20 import android.bluetooth.AtCommandResult;
115 public AtCommandResult handleReadCommand() {
116 return new AtCommandResult("+CSCS: \"UTF-8\"");
119 public AtCommandResult handleSetCommand(Object[] args) {
121 return new AtCommandResult(AtCommandResult.ERROR);
126 return new AtCommandResult(AtCommandResult.OK);
132 public AtCommandResult handleTestCommand() {
133 return new AtCommandResult( "+CSCS: (\"UTF-8\",\"IRA\",\"GSM\")")
    [all...]

Completed in 225 milliseconds