Bluetooth

Testplan for the landing of bluetooth silos:

Discovering Capabilities of Devices

Connect you device to the phone
Run adb shell
Then run bluetoothctl
This will list the device in the database run info <mac address of device>
Run tests on the sections below that match the devices capabilities.

A2DP: Multimedia audio streaming for speakers.

  • Attach a speaker
    • Receive a call should not play from speaker
    • Play a Music track should play from speaker
  • Disconnect the speaker
    • Play a Music track should play from phone
    • Receive a call should play from phone
  • Reconnect the speaker
    • Play a music track should play from speaker
    • Receive a call should not play from speaker
  • Forget the Speaker
    • Play a Music track should play from phone
    • Receive a call should play from phone
  • Connect to car
    • Set car system to media device → phone
    • Play music on the phone, music comes through the car speakers.

HFP: Car style Hands Free Audio

  • Connect to a car
    • Make a call, audio should be from the car, caller display should show name
    • Receive a cal, audio should be from the car, caller display should show name
    • Shows Signal strength
  • Disconnect from car
    • Make a call should be from the phone
    • Receive a call should be from the phone
  • Reconnect to car
    • Make a call, audio should be from the car, caller display should show name
    • Receive a call, audio should be from the car, caller display should show name
    • Shows Signal Strength
  • Forget the car
    • Make call should be from the device
    • Receive call should be from the device

Future:

  • Shows Battery status
  • Shows Previous calls
  • Shows missed calls

PBAP/IrDA: Phonebook sharing

  • Connect to car
    • Addressbook syncs
    • Ensure address list is identical

HSP: Head set profile Audio

  • Connect to a headset
    • Make a call, call comes through the headset
    • Receive a call, press the call accept button, call is answered and comes through the headset
  • Disconnect the device
    • Make a call should come through the phone
    • Receive a call should come through the phone
  • Reconnect to headset
    • Make a call, call comes through the headset
    • Receive a call, press the call accept button, call is answered and comes through the headset
  • Forget the headset
    • Make a call should come through the phone
    • Receive a call should come through the phone

OBEX: (Future enablement for file share) Data Exchange between devices

  • For now this is tied into the addressbook syncing feature and not much else.

Future tests:

  • Connect to another Phone:
    • Send some data
    • Receive some data
  • Connect to a PC:
    • Send some data
    • Receive some data
  • Reconnect to devices
  • Forget the devices

HID: Mouse and keyboard connections

  • Connect a Mouse
    • Pointer appears switches to window mode
  • Connect a keyboard
    • Open messaging type on the keyboard
  • Disconnect mouse
    • Switches to tablet mode
    • Open messaging app type on the keyboard
  • Reconnect mouse
  • Disconnect keyboard
    • Open Messaging app type on the phone, ensure the keyboard doesn’t type
  • Reconnect keyboard
    • Open messaging app type on the keyboard
  • Forget both devices.
    • Phone should be back to normal mode
    • OSK should appear when opening the messaging app

Process/Merges/TestPlans/Bluetooth (last edited 2015-11-19 19:41:23 by 1)