Home
last modified time | relevance | path

Searched refs:connectionResult (Results 1 – 21 of 21) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java164 ConnectionResult connectionResult = googleApiClient.blockingConnect( in addGeofencesInternal() local
167 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in addGeofencesInternal()
175 connectionResult.getErrorCode())); in addGeofencesInternal()
221 ConnectionResult connectionResult = googleApiClient.blockingConnect( in requestLocationInternal() local
224 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in requestLocationInternal()
248 connectionResult.getErrorCode())); in requestLocationInternal()
293 ConnectionResult connectionResult = googleApiClient.blockingConnect( in clearRemoteNotifications() local
296 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in clearRemoteNotifications()
414 ConnectionResult connectionResult = googleApiClient.blockingConnect( in sendDataToWearable() local
472 if (connectionResult.isSuccess() && googleApiClient.isConnected() in sendDataToWearable()
[all …]
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DDataLayerListenerService.java60 ConnectionResult connectionResult = mGoogleApiClient in onDataChanged() local
62 if (!connectionResult.isSuccess()) { in onDataChanged()
64 + "error code: " + connectionResult.getErrorCode()); in onDataChanged()
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DMainActivity.java131 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
133 if (connectionResult.hasResolution()) { in onConnectionFailed()
135 connectionResult.startResolutionForResult(this, in onConnectionFailed()
141 int errorCode = connectionResult.getErrorCode(); in onConnectionFailed()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java125 ConnectionResult connectionResult = googleApiClient.blockingConnect( in clearRemoteNotificationsInternal() local
128 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in clearRemoteNotificationsInternal()
152 ConnectionResult connectionResult = googleApiClient.blockingConnect( in startDeviceActivityInternal() local
155 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in startDeviceActivityInternal()
DListenerService.java84 ConnectionResult connectionResult = googleApiClient.blockingConnect( in showNotification() local
87 if (!connectionResult.isSuccess() || !googleApiClient.isConnected()) { in showNotification()
89 connectionResult.getErrorCode())); in showNotification()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceConfigListenerService.java64 ConnectionResult connectionResult = in onMessageReceived() local
67 if (!connectionResult.isSuccess()) { in onMessageReceived()
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java101 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
103 + connectionResult.getErrorCode()); in onConnectionFailed()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsActivity.java195 ConnectionResult connectionResult = googleApiClient.blockingConnect( in doInBackground() local
198 if (!connectionResult.isSuccess() || !googleApiClient.isConnected()) { in doInBackground()
200 connectionResult.getErrorCode())); in doInBackground()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java139 ConnectionResult connectionResult = in sendMessage() local
144 if (!connectionResult.isSuccess()) { in sendMessage()
DMainWearActivity.java304 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainWearActivity.java181 public void onConnectionFailed(@NonNull ConnectionResult connectionResult) { in onConnectionFailed() argument
182 Log.e(TAG, "onConnectionFailed(): " + connectionResult); in onConnectionFailed()
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java205 public void onConnectionFailed(@NonNull ConnectionResult connectionResult) { in onConnectionFailed() argument
206 Log.e(TAG, "onConnectionFailed(): " + connectionResult); in onConnectionFailed()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java93 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
DQuizListenerService.java86 ConnectionResult connectionResult = googleApiClient.blockingConnect(CONNECT_TIMEOUT_MS, in onDataChanged() local
88 if (!connectionResult.isSuccess()) { in onDataChanged()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java116 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
DSynchronizedNotificationsFragment.java186 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java385 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
386 Log.e(TAG, "onConnectionFailed(): " + connectionResult.getErrorMessage()); in onConnectionFailed()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DUpdateService.java122 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java153 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java126 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java253 public void onConnectionFailed(ConnectionResult connectionResult) { in onConnectionFailed() argument