Searched refs:UtilityService (Results 1 – 9 of 9) sorted by relevance
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
D | UtilityService.java | 42 public class UtilityService extends IntentService { class 44 private static final String TAG = UtilityService.class.getSimpleName(); 54 Intent intent = new Intent(context, UtilityService.class); in clearNotification() 55 intent.setAction(UtilityService.ACTION_CLEAR_NOTIFICATION); in clearNotification() 64 Intent intent = new Intent(context, UtilityService.class); in getClearRemoteNotificationsIntent() 65 intent.setAction(UtilityService.ACTION_CLEAR_REMOTE_NOTIFICATIONS); in getClearRemoteNotificationsIntent() 78 Intent intent = new Intent(context, UtilityService.class); in startDeviceActivity() 79 intent.setAction(UtilityService.ACTION_START_DEVICE_ACTIVITY); in startDeviceActivity() 91 public UtilityService() { in UtilityService() method in UtilityService
|
D | ListenerService.java | 75 UtilityService.clearNotification(this); in onMessageReceived() 107 this, 0, UtilityService.getClearRemoteNotificationsIntent(this), 0); in showNotification()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionListActivity.java | 33 import com.example.android.xyztouristattractions.service.UtilityService; 77 UtilityService.requestLocation(this); in onResume() 94 UtilityService.triggerWearTest(this, false); in onOptionsItemSelected() 99 UtilityService.triggerWearTest(this, true); in onOptionsItemSelected() 140 UtilityService.addGeofences(this); in fineLocationPermissionGranted() 141 UtilityService.requestLocation(this); in fineLocationPermissionGranted()
|
D | AttractionListFragment.java | 41 import com.example.android.xyztouristattractions.service.UtilityService; 92 mBroadcastReceiver, UtilityService.getLocationUpdatedIntentFilter()); in onResume()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
D | UtilityReceiver.java | 36 intent.setClass(context, UtilityService.class); in onReceive() 37 intent.setAction(UtilityService.ACTION_GEOFENCE_TRIGGERED); in onReceive()
|
D | UtilityService.java | 70 public class UtilityService extends IntentService { class 71 private static final String TAG = UtilityService.class.getSimpleName(); 83 return new IntentFilter(UtilityService.ACTION_LOCATION_UPDATED); in getLocationUpdatedIntentFilter() 87 Intent intent = new Intent(context, UtilityService.class); in triggerWearTest() 88 intent.setAction(UtilityService.ACTION_FAKE_UPDATE); in triggerWearTest() 94 Intent intent = new Intent(context, UtilityService.class); in addGeofences() 95 intent.setAction(UtilityService.ACTION_ADD_GEOFENCES); in addGeofences() 100 Intent intent = new Intent(context, UtilityService.class); in requestLocation() 101 intent.setAction(UtilityService.ACTION_REQUEST_LOCATION); in requestLocation() 106 Intent intent = new Intent(context, UtilityService.class); in clearNotification() [all …]
|
D | ListenerService.java | 41 UtilityService.clearNotification(this); in onMessageReceived()
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionsGridPagerAdapter.java | 45 import com.example.android.xyztouristattractions.service.UtilityService; 230 UtilityService.clearNotification(mContext); in startAction() 231 UtilityService.clearRemoteNotifications(mContext); in startAction() 232 UtilityService.startDeviceActivity(mContext, pathName, attraction.name, attraction.city); in startAction()
|
D | AttractionsActivity.java | 41 import com.example.android.xyztouristattractions.service.UtilityService; 134 UtilityService.clearNotification(this); in onCreate() 135 UtilityService.clearRemoteNotifications(this); in onCreate()
|