Lines Matching refs:Constants
29 import com.example.android.wearable.synchronizednotifications.common.Constants;
68 if (Constants.ACTION_DISMISS.equals(action)) { in onStartCommand()
71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); in onStartCommand()
72 if (notificationId == Constants.BOTH_ID) { in onStartCommand()
95 String content = dataMap.getString(Constants.KEY_CONTENT); in onDataChanged()
96 String title = dataMap.getString(Constants.KEY_TITLE); in onDataChanged()
97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
109 .cancel(Constants.WATCH_ONLY_ID); in onDataChanged()
126 Intent dismissIntent = new Intent(Constants.ACTION_DISMISS); in buildWearableOnlyNotification()
127 dismissIntent.putExtra(Constants.KEY_NOTIFICATION_ID, Constants.BOTH_ID); in buildWearableOnlyNotification()
134 .notify(Constants.WATCH_ONLY_ID, builder.build()); in buildWearableOnlyNotification()
140 new Uri.Builder().scheme(WEAR_URI_SCHEME).path(Constants.BOTH_PATH).build(); in onConnected()