Home
last modified time | relevance | path

Searched refs:BleScannerService (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerHardwareScanFilterActivity.java64 BleScannerService.class); in onCreate()
65 intent.putExtra(BleScannerService.EXTRA_COMMAND, in onCreate()
66 BleScannerService.COMMAND_SCAN_WITH_FILTER); in onCreate()
76 BleScannerService.class); in onCreate()
77 intent.putExtra(BleScannerService.EXTRA_COMMAND, in onCreate()
78 BleScannerService.COMMAND_SCAN_WITHOUT_FILTER); in onCreate()
89 filter.addAction(BleScannerService.BLE_SCAN_RESULT); in onResume()
98 case BleScannerService.BLE_SCAN_RESULT:
99 String uuid = intent.getStringExtra(BleScannerService.EXTRA_UUID);
100 String data = intent.getStringExtra(BleScannerService.EXTRA_DATA);
[all …]
DBleScannerPowerLevelActivity.java106 Intent intent = new Intent(this, BleScannerService.class); in onCreate()
107 intent.putExtra(BleScannerService.EXTRA_COMMAND, BleScannerService.COMMAND_POWER_LEVEL); in onCreate()
116 filter.addAction(BleScannerService.BLE_POWER_LEVEL); in onResume()
117 filter.addAction(BleScannerService.BLE_PRIVACY_NEW_MAC_RECEIVE); in onResume()
130 stopService(new Intent(this, BleScannerService.class)); in onDestroy()
137 case BleScannerService.BLE_POWER_LEVEL:
139 BleScannerService.EXTRA_POWER_LEVEL_BIT, -1);
140 int powerLevel = intent.getIntExtra(BleScannerService.EXTRA_POWER_LEVEL, -2);
157 .setText(intent.getStringExtra(BleScannerService.EXTRA_MAC_ADDRESS));
159 .setText(intent.getStringExtra(BleScannerService.EXTRA_RSSI));
[all …]
DBleScannerService.java41 public class BleScannerService extends Service { class
153 Toast.makeText(BleScannerService.this, msg, Toast.LENGTH_SHORT).show(); in showMessage()