Home | History | Annotate | Download | only in com.example.android.wearable.runtimepermissions

Lines Matching refs:Constants

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