Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:addHandler

66     private void addHandler(String action, Handler handler) {
91 addHandler(BluetoothAdapter.ACTION_STATE_CHANGED, new AdapterStateChangedHandler());
93 addHandler(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED,
97 addHandler(BluetoothAdapter.ACTION_DISCOVERY_STARTED, new ScanningStateChangedHandler(true));
98 addHandler(BluetoothAdapter.ACTION_DISCOVERY_FINISHED, new ScanningStateChangedHandler(false));
99 addHandler(BluetoothDevice.ACTION_FOUND, new DeviceFoundHandler());
100 addHandler(BluetoothDevice.ACTION_DISAPPEARED, new DeviceDisappearedHandler());
101 addHandler(BluetoothDevice.ACTION_NAME_CHANGED, new NameChangedHandler());
102 addHandler(BluetoothDevice.ACTION_ALIAS_CHANGED, new NameChangedHandler());
105 addHandler(BluetoothDevice.ACTION_BOND_STATE_CHANGED, new BondStateChangedHandler());
108 addHandler(BluetoothDevice.ACTION_CLASS_CHANGED, new ClassChangedHandler());
109 addHandler(BluetoothDevice.ACTION_UUID, new UuidChangedHandler());
110 addHandler(BluetoothDevice.ACTION_BATTERY_LEVEL_CHANGED, new BatteryLevelChangedHandler());
113 addHandler(Intent.ACTION_DOCK_EVENT, new DockEventHandler());
116 addHandler(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED,
118 addHandler(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED,
120 addHandler(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED,
124 addHandler(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED,
126 addHandler(TelephonyManager.ACTION_PHONE_STATE_CHANGED,