Lines Matching refs:dataMap
69 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); in onMessageReceived() local
71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE); in onMessageReceived()
90 DataMap dataMap = new DataMap(); in promptUserForSensorPermission() local
91 dataMap.putInt(Constants.KEY_COMM_TYPE, in promptUserForSensorPermission()
93 sendMessage(dataMap); in promptUserForSensorPermission()
111 DataMap dataMap = new DataMap(); in respondWithSensorInformation() local
112 dataMap.putInt(Constants.KEY_COMM_TYPE, in respondWithSensorInformation()
114 sendMessage(dataMap); in respondWithSensorInformation()
124 DataMap dataMap = new DataMap(); in respondWithSensorInformation() local
125 dataMap.putInt(Constants.KEY_COMM_TYPE, in respondWithSensorInformation()
127 dataMap.putString(Constants.KEY_PAYLOAD, sensorSummary); in respondWithSensorInformation()
128 sendMessage(dataMap); in respondWithSensorInformation()
132 private void sendMessage(DataMap dataMap) { in sendMessage() argument
134 Log.d(TAG, "sendMessage(): " + dataMap); in sendMessage()
174 dataMap.toByteArray()); in sendMessage()