Home
last modified time | relevance | path

Searched refs:pendingResult (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java210 PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = in onConnected() local
216 pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { in onConnected()
329 PendingResult<MessageApi.SendMessageResult> pendingResult; in sendMessage() local
333 pendingResult = Wearable.MessageApi.sendMessage( in sendMessage()
339 pendingResult.setResultCallback(this, Constants.CONNECTION_TIME_OUT_MS, in sendMessage()
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java229 PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = in findWearDevicesWithApp() local
235 pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { in findWearDevicesWithApp()
255 PendingResult<NodeApi.GetConnectedNodesResult> pendingResult = in findAllWearDevices() local
258 pendingResult.setResultCallback(new ResultCallback<NodeApi.GetConnectedNodesResult>() { in findAllWearDevices()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DMainWearActivity.java276 PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = in onConnected() local
282 pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { in onConnected()
423 PendingResult<MessageApi.SendMessageResult> pendingResult = in sendMessage() local
430 pendingResult.setResultCallback(new ResultCallback<MessageApi.SendMessageResult>() { in sendMessage()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java213 PendingResult<Status> pendingResult = Fitness.ConfigApi.disableFit(mGoogleApiClient); in onSwitchClicked() local
215 pendingResult.setResultCallback(new ResultCallback<Status>() { in onSwitchClicked()
/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainWearActivity.java198 PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = in checkIfPhoneHasApp() local
204 pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { in checkIfPhoneHasApp()