Home
last modified time | relevance | path

Searched refs:commType (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java272 int commType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); in onMessageReceived() local
274 if (commType == Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED) { in onMessageReceived()
286 } else if (commType == Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION) { in onMessageReceived()
295 } else if (commType == Constants.COMM_TYPE_RESPONSE_USER_DENIED_PERMISSION) { in onMessageReceived()
300 } else if (commType == Constants.COMM_TYPE_RESPONSE_DATA) { in onMessageReceived()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DMainWearActivity.java381 int commType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); in onMessageReceived() local
383 if (commType == Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED) { in onMessageReceived()
395 } else if (commType == Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION) { in onMessageReceived()
404 } else if (commType == Constants.COMM_TYPE_RESPONSE_USER_DENIED_PERMISSION) { in onMessageReceived()
409 } else if (commType == Constants.COMM_TYPE_RESPONSE_DATA) { in onMessageReceived()