Home | History | Annotate | Download | only in bluetooth

Lines Matching full:methodname

777         String methodName;
779 methodName = String.format("pair(device=%s)", device);
781 methodName = String.format("acceptPair(device=%s)", device);
785 fail(String.format("%s bluetooth not enabled", methodName));
807 fail(String.format("%s invalid state: state=%d", methodName, state));
817 writeOutput(String.format("%s completed in %d ms", methodName,
820 writeOutput(String.format("%s completed", methodName));
831 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
844 String methodName = String.format("unpair(device=%s)", device);
847 fail(String.format("%s bluetooth not enabled", methodName));
869 fail(String.format("%s invalid state: state=%d", methodName, state));
879 writeOutput(String.format("%s completed in %d ms", methodName,
882 writeOutput(String.format("%s completed", methodName));
892 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
903 * @param methodName The method name to printed in the logs. If null, will be
907 String methodName) {
908 if (methodName == null) {
909 methodName = String.format("connectProfile(profile=%d, device=%s)", profile, device);
916 fail(String.format("%s bluetooth not enabled", methodName));
920 fail(String.format("%s device not paired", methodName));
949 fail(String.format("%s invalid state: state=%d", methodName, state));
959 writeOutput(String.format("%s completed in %d ms", methodName,
962 writeOutput(String.format("%s completed", methodName));
973 methodName, state, BluetoothProfile.STATE_CONNECTED, firedFlags, mask));
984 * @param methodName The method name to printed in the logs. If null, will be
988 String methodName) {
989 if (methodName == null) {
990 methodName = String.format("disconnectProfile(profile=%d, device=%s)", profile, device);
997 fail(String.format("%s bluetooth not enabled", methodName));
1001 fail(String.format("%s device not paired", methodName));
1030 fail(String.format("%s invalid state: state=%d", methodName, state));
1040 writeOutput(String.format("%s completed in %d ms", methodName,
1043 writeOutput(String.format("%s completed", methodName));
1054 methodName, state, BluetoothProfile.STATE_DISCONNECTED, firedFlags, mask));
1092 String methodName;
1095 methodName = String.format("connectPan(device=%s)", device);
1100 methodName = String.format("incomingPanConnection(device=%s)", device);
1106 fail(String.format("%s bluetooth not enabled", methodName));
1110 fail(String.format("%s device not paired", methodName));
1135 fail(String.format("%s invalid state: state=%d", methodName, state));
1145 writeOutput(String.format("%s completed in %d ms", methodName,
1148 writeOutput(String.format("%s completed", methodName));
1159 methodName, state, BluetoothPan.STATE_CONNECTED, firedFlags, mask));
1197 String methodName;
1200 methodName = String.format("disconnectPan(device=%s)", device);
1205 methodName = String.format("incomingPanDisconnection(device=%s)", device);
1211 fail(String.format("%s bluetooth not enabled", methodName));
1215 fail(String.format("%s device not paired", methodName));
1239 fail(String.format("%s invalid state: state=%d", methodName, state));
1249 writeOutput(String.format("%s completed in %d ms", methodName,
1252 writeOutput(String.format("%s completed", methodName));
1263 methodName, state, BluetoothInputDevice.STATE_DISCONNECTED, firedFlags, mask));
1298 String methodName;
1301 methodName = String.format("startSco(device=%s)", device);
1304 methodName = String.format("stopSco(device=%s)", device);
1309 fail(String.format("%s bluetooth not enabled", methodName));
1313 fail(String.format("%s device not paired", methodName));
1320 fail(String.format("%s device does not support SCO", methodName));
1342 writeOutput(String.format("%s completed in %d ms", methodName,
1345 writeOutput(String.format("%s completed", methodName));
1356 methodName, isScoOn, isStart, firedFlags, mask));