Lines Matching refs:dataMap
30 import com.google.android.gms.wearable.DataMap;
61 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData());
62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0);
79 DataMap dataMap = new DataMap();
80 dataMap.putInt(Constants.KEY_COMM_TYPE,
82 sendMessage(nodeId, dataMap);
104 DataMap dataMap = new DataMap();
105 dataMap.putInt(Constants.KEY_COMM_TYPE,
107 sendMessage(nodeId, dataMap);
131 DataMap dataMap = new DataMap();
132 dataMap.putInt(Constants.KEY_COMM_TYPE,
134 dataMap.putString(Constants.KEY_PAYLOAD, stringBuilder.toString());
135 sendMessage(nodeId, dataMap);
140 private void sendMessage(String nodeId, DataMap dataMap) {
154 dataMap.toByteArray());