Lines Matching refs:Constants
26 import com.example.android.wearable.runtimepermissions.common.Constants;
59 if (messagePath.equals(Constants.MESSAGE_PATH_PHONE)) { in onMessageReceived()
62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); in onMessageReceived()
64 if (requestType == Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION) { in onMessageReceived()
67 } else if (requestType == Constants.COMM_TYPE_REQUEST_DATA) { in onMessageReceived()
80 dataMap.putInt(Constants.KEY_COMM_TYPE, in promptUserForStoragePermission()
81 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION); in promptUserForStoragePermission()
105 dataMap.putInt(Constants.KEY_COMM_TYPE, in respondWithStorageInformation()
106 Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED); in respondWithStorageInformation()
132 dataMap.putInt(Constants.KEY_COMM_TYPE, in respondWithStorageInformation()
133 Constants.COMM_TYPE_RESPONSE_DATA); in respondWithStorageInformation()
134 dataMap.putString(Constants.KEY_PAYLOAD, stringBuilder.toString()); in respondWithStorageInformation()
146 client.blockingConnect(Constants.CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS); in sendMessage()
153 Constants.MESSAGE_PATH_WEAR, in sendMessage()
158 Constants.CONNECTION_TIME_OUT_MS, in sendMessage()