Searched refs:BleAdvertiserService (Results 1 – 4 of 4) sorted by relevance
49 BleAdvertiserService.class); in onCreate()50 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND, in onCreate()51 BleAdvertiserService.COMMAND_START_SCANNABLE); in onCreate()67 BleAdvertiserService.class); in onCreate()68 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND, in onCreate()69 BleAdvertiserService.COMMAND_START_UNSCANNABLE); in onCreate()86 filter.addAction(BleAdvertiserService.BLE_ADV_NOT_SUPPORT); in onResume()87 filter.addAction(BleAdvertiserService.BLE_START_SCANNABLE); in onResume()88 filter.addAction(BleAdvertiserService.BLE_START_UNSCANNABLE); in onResume()89 filter.addAction(BleAdvertiserService.BLE_STOP_SCANNABLE); in onResume()[all …]
48 BleAdvertiserService.class); in onCreate()49 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND, in onCreate()50 BleAdvertiserService.COMMAND_START_POWER_LEVEL); in onCreate()68 filter.addAction(BleAdvertiserService.BLE_START_POWER_LEVEL); in onResume()69 filter.addAction(BleAdvertiserService.BLE_STOP_POWER_LEVEL); in onResume()70 filter.addAction(BleAdvertiserService.BLE_ADV_NOT_SUPPORT); in onResume()88 BleAdvertiserService.class); in stopAdvertising()89 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND, in stopAdvertising()90 BleAdvertiserService.COMMAND_STOP_POWER_LEVEL); in stopAdvertising()106 case BleAdvertiserService.BLE_START_POWER_LEVEL:[all …]
110 .setServiceData(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID), in onStartCommand()111 BleAdvertiserService.POWER_LEVEL_DATA, in onStartCommand()112 BleAdvertiserService.POWER_LEVEL_MASK) in onStartCommand()121 .setServiceData(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID), in onStartCommand()122 BleAdvertiserService.SCANNABLE_DATA) in onStartCommand()170 if (serviceData.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID)) != null) { in onScanResult()172 serviceData.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID)); in onScanResult()173 if (data.length == BleAdvertiserService.POWER_LEVEL_DATA.length) { in onScanResult()195 if (serviceData.get(new ParcelUuid(BleAdvertiserService.SCAN_RESP_UUID)) != null) { in onScanResult()202 if (serviceData.containsKey(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID))) { in onScanResult()[all …]
42 public class BleAdvertiserService extends Service { class284 Toast.makeText(BleAdvertiserService.this, msg, Toast.LENGTH_SHORT).show(); in showMessage()