| OLD | NEW |
| 1 'use strict'; | 1 'use strict'; |
| 2 | 2 |
| 3 // Bluetooth UUID constants: | 3 // Bluetooth UUID constants: |
| 4 // Services: | 4 // Services: |
| 5 var blacklist_test_service_uuid = "611c954a-263b-4f4a-aab6-01ddb953f985"; | 5 var blacklist_test_service_uuid = "611c954a-263b-4f4a-aab6-01ddb953f985"; |
| 6 // Characteristics: | 6 // Characteristics: |
| 7 var blacklist_exclude_reads_characteristic_uuid = | 7 var blacklist_exclude_reads_characteristic_uuid = |
| 8 "bad1c9a2-9a5b-4015-8b60-1579bbbf2135"; | 8 "bad1c9a2-9a5b-4015-8b60-1579bbbf2135"; |
| 9 | 9 |
| 10 // Sometimes we need to test that using either the name, alias, or UUID | 10 // Sometimes we need to test that using either the name, alias, or UUID |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 var reconnection_address = { | 22 var reconnection_address = { |
| 23 alias: 0x2a03, | 23 alias: 0x2a03, |
| 24 name: 'gap.reconnection_address', | 24 name: 'gap.reconnection_address', |
| 25 uuid: '00002a03-0000-1000-8000-00805f9b34fb' | 25 uuid: '00002a03-0000-1000-8000-00805f9b34fb' |
| 26 }; | 26 }; |
| 27 var heart_rate = { | 27 var heart_rate = { |
| 28 alias: 0x180d, | 28 alias: 0x180d, |
| 29 name: 'heart_rate', | 29 name: 'heart_rate', |
| 30 uuid: '0000180d-0000-1000-8000-00805f9b34fb' | 30 uuid: '0000180d-0000-1000-8000-00805f9b34fb' |
| 31 }; | 31 }; |
| 32 var body_sensor_location = { |
| 33 alias: 0x2a38, |
| 34 name: 'body_sensor_location', |
| 35 uuid: '00002a38-0000-1000-8000-00805f9b34fb' |
| 36 }; |
| 32 var glucose = { | 37 var glucose = { |
| 33 alias: 0x1808, | 38 alias: 0x1808, |
| 34 name: 'glucose', | 39 name: 'glucose', |
| 35 uuid: '00001808-0000-1000-8000-00805f9b34fb' | 40 uuid: '00001808-0000-1000-8000-00805f9b34fb' |
| 36 }; | 41 }; |
| 37 var battery_service = { | 42 var battery_service = { |
| 38 alias: 0x180f, | 43 alias: 0x180f, |
| 39 name: 'battery_service', | 44 name: 'battery_service', |
| 40 uuid: '0000180f-0000-1000-8000-00805f9b34fb' | 45 uuid: '0000180f-0000-1000-8000-00805f9b34fb' |
| 41 }; | 46 }; |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // interact with the device. So before we clean up the browser data | 313 // interact with the device. So before we clean up the browser data |
| 309 // we change the visibility which results in all devices disconnecing. | 314 // we change the visibility which results in all devices disconnecing. |
| 310 // TODO(ortuno): Remove setPageVisibility hack. In the future, the browser | 315 // TODO(ortuno): Remove setPageVisibility hack. In the future, the browser |
| 311 // will notify the renderer that the device disconnected so we won't need | 316 // will notify the renderer that the device disconnected so we won't need |
| 312 // this hack. | 317 // this hack. |
| 313 // https://crbug.com/581855 | 318 // https://crbug.com/581855 |
| 314 testRunner.setPageVisibility('hidden'); | 319 testRunner.setPageVisibility('hidden'); |
| 315 testRunner.setPageVisibility('visible'); | 320 testRunner.setPageVisibility('visible'); |
| 316 testRunner.setBluetoothMockDataSet(''); | 321 testRunner.setBluetoothMockDataSet(''); |
| 317 }); | 322 }); |
| OLD | NEW |