Lines Matching refs:methodName

761         String methodName;
763 methodName = String.format("pair(device=%s)", device);
765 methodName = String.format("acceptPair(device=%s)", device);
769 fail(String.format("%s bluetooth not enabled", methodName));
791 fail(String.format("%s invalid state: state=%d", methodName, state));
801 writeOutput(String.format("%s completed in %d ms", methodName,
804 writeOutput(String.format("%s completed", methodName));
815 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
828 String methodName = String.format("unpair(device=%s)", device);
831 fail(String.format("%s bluetooth not enabled", methodName));
853 fail(String.format("%s invalid state: state=%d", methodName, state));
863 writeOutput(String.format("%s completed in %d ms", methodName,
866 writeOutput(String.format("%s completed", methodName));
876 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
898 * @param methodName The method name to printed in the logs. If null, will be
902 String methodName) {
903 if (methodName == null) {
904 methodName = String.format("connectProfile(profile=%d, device=%s)", profile, device);
911 fail(String.format("%s bluetooth not enabled", methodName));
915 fail(String.format("%s device not paired", methodName));
944 fail(String.format("%s invalid state: state=%d", methodName, state));
954 writeOutput(String.format("%s completed in %d ms", methodName,
957 writeOutput(String.format("%s completed", methodName));
968 methodName, state, BluetoothProfile.STATE_CONNECTED, firedFlags, mask));
979 * @param methodName The method name to printed in the logs. If null, will be
983 String methodName) {
984 if (methodName == null) {
985 methodName = String.format("disconnectProfile(profile=%d, device=%s)", profile, device);
992 fail(String.format("%s bluetooth not enabled", methodName));
996 fail(String.format("%s device not paired", methodName));
1025 fail(String.format("%s invalid state: state=%d", methodName, state));
1035 writeOutput(String.format("%s completed in %d ms", methodName,
1038 writeOutput(String.format("%s completed", methodName));
1049 methodName, state, BluetoothProfile.STATE_DISCONNECTED, firedFlags, mask));
1087 String methodName;
1090 methodName = String.format("connectPan(device=%s)", device);
1095 methodName = String.format("incomingPanConnection(device=%s)", device);
1101 fail(String.format("%s bluetooth not enabled", methodName));
1105 fail(String.format("%s device not paired", methodName));
1130 fail(String.format("%s invalid state: state=%d", methodName, state));
1140 writeOutput(String.format("%s completed in %d ms", methodName,
1143 writeOutput(String.format("%s completed", methodName));
1154 methodName, state, BluetoothPan.STATE_CONNECTED, firedFlags, mask));
1192 String methodName;
1195 methodName = String.format("disconnectPan(device=%s)", device);
1200 methodName = String.format("incomingPanDisconnection(device=%s)", device);
1206 fail(String.format("%s bluetooth not enabled", methodName));
1210 fail(String.format("%s device not paired", methodName));
1234 fail(String.format("%s invalid state: state=%d", methodName, state));
1244 writeOutput(String.format("%s completed in %d ms", methodName,
1247 writeOutput(String.format("%s completed", methodName));
1258 methodName, state, BluetoothInputDevice.STATE_DISCONNECTED, firedFlags, mask));
1293 String methodName;
1296 methodName = String.format("startSco(device=%s)", device);
1299 methodName = String.format("stopSco(device=%s)", device);
1304 fail(String.format("%s bluetooth not enabled", methodName));
1308 fail(String.format("%s device not paired", methodName));
1315 fail(String.format("%s device does not support SCO", methodName));
1337 writeOutput(String.format("%s completed in %d ms", methodName,
1340 writeOutput(String.format("%s completed", methodName));
1351 methodName, isScoOn, isStart, firedFlags, mask));