/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
D | ListenerService.java | 36 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 37 Log.v(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived() 39 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { in onMessageReceived() 42 } else if (Constants.START_ATTRACTION_PATH.equals(messageEvent.getPath())) { in onMessageReceived() 45 String attractionName = new String(messageEvent.getData()); in onMessageReceived() 49 } else if (Constants.START_NAVIGATION_PATH.equals(messageEvent.getPath())) { in onMessageReceived() 52 String attractionQuery = new String(messageEvent.getData()); in onMessageReceived()
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestPhoneService.java | 53 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 54 super.onMessageReceived(messageEvent); in onMessageReceived() 55 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 57 String messagePath = messageEvent.getPath(); in onMessageReceived() 61 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived() 65 promptUserForStoragePermission(messageEvent.getSourceNodeId()); in onMessageReceived() 68 respondWithStorageInformation(messageEvent.getSourceNodeId()); in onMessageReceived()
|
D | MainPhoneActivity.java | 264 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 265 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 267 String messagePath = messageEvent.getPath(); in onMessageReceived() 270 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceConfigListenerService.java | 42 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 45 Log.d(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived() 48 if (!messageEvent.getPath().equals(DigitalWatchFaceUtil.PATH_WITH_FEATURE)) { in onMessageReceived() 51 byte[] rawData = messageEvent.getData(); in onMessageReceived()
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/ |
D | DataLayerListenerService.java | 88 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 89 LOGD(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived() 92 if (messageEvent.getPath().equals(START_ACTIVITY_PATH)) { in onMessageReceived()
|
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/ |
D | MainActivity.java | 84 public void onMessageReceived(final MessageEvent messageEvent) { in onMessageReceived() argument 88 if (messageEvent.getPath().equals(TIMER_SELECTED_PATH)) { in onMessageReceived() 91 } else if (messageEvent.getPath().equals(TIMER_FINISHED_PATH)) { in onMessageReceived()
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestWearService.java | 63 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 64 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 66 String messagePath = messageEvent.getPath(); in onMessageReceived() 69 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived()
|
D | MainWearActivity.java | 373 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 374 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 376 String messagePath = messageEvent.getPath(); in onMessageReceived() 380 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived()
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
D | ListenerService.java | 70 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 71 Log.v(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived() 73 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { in onMessageReceived()
|
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/ |
D | MainActivity.java | 232 public void onMessageReceived(final MessageEvent messageEvent) { in onMessageReceived() argument 234 + messageEvent.getRequestId() + " " + messageEvent.getPath()); in onMessageReceived() 236 mDataItemListAdapter.add(new Event("Message from watch", messageEvent.toString())); in onMessageReceived()
|
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
D | QuizListenerService.java | 167 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 168 String path = messageEvent.getPath(); in onMessageReceived() 175 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived()
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
D | MainActivity.java | 197 public void onMessageReceived(MessageEvent messageEvent) { in onMessageReceived() argument 198 if (messageEvent.getPath().equals(RESET_QUIZ_PATH)) { in onMessageReceived()
|