Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 43) sorted by relevance

12

/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DFileTransferService.java58 Log.d(WiFiDirectActivity.TAG, "Client socket - " + socket.isConnected()); in onHandleIntent()
73 if (socket.isConnected()) { in onHandleIntent()
DWiFiDirectBroadcastReceiver.java91 if (networkInfo.isConnected()) { in onReceive()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java70 if (mGoogleApiClient.isConnected()) { in onConnectedNodes()
140 if (mGoogleApiClient.isConnected() || mGoogleApiClient.isConnecting()) { in onDestroy()
DFindPhoneService.java70 if (mGoogleApiClient.isConnected()) { in onHandleIntent()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java98 if (mGoogleApiClient != null && mGoogleApiClient.isConnected()) { in onStop()
191 if (mGoogleApiClient.isConnected()) { in onDeleteEventsClicked()
217 if (mGoogleApiClient.isConnected()) { in deleteDataItems()
292 if (!mGoogleApiClient.isConnecting() && !mGoogleApiClient.isConnected()) { in onActivityResult()
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java60 if (!mGoogleApiClient.isConnected()) { in onResume()
67 if (mGoogleApiClient.isConnected()) { in onDestroy()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java110 if ((mGoogleApiClient != null) && (mGoogleApiClient.isConnected())) { in onStop()
141 if (!mGoogleApiClient.isConnecting() && !mGoogleApiClient.isConnected()) { in onActivityResult()
203 if ((mGoogleApiClient != null) && (!mGoogleApiClient.isConnected())) { in onSwitchClicked()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java128 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in clearRemoteNotificationsInternal()
155 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in startDeviceActivityInternal()
DListenerService.java87 if (!connectionResult.isSuccess() || !googleApiClient.isConnected()) { in showNotification()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java124 if (mGoogleApiClient.isConnected()) { in buildWearableOnlyNotification()
156 if (mGoogleApiClient.isConnected()) { in buildMirroredNotifications()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectBroadcastReceiver.java71 if (networkInfo.isConnected()) { in onReceive()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java152 if (!mGoogleApiClient.isConnected()) { in onStart()
425 if (path.equals(QUIZ_EXITED_PATH) && mGoogleApiClient.isConnected()) { in sendMessageToWearable()
445 if (mGoogleApiClient.isConnected()) { in resetQuiz()
474 if (mGoogleApiClient.isConnected()) { in resetDataItems()
525 if (mGoogleApiClient.isConnected()) { in newQuiz()
571 if (mGoogleApiClient.isConnected()) { in deleteDataItems()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java75 if (!mGoogleApiClient.isConnected()) { in onResume()
82 if (mGoogleApiClient.isConnected()) { in onPause()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceConfigListenerService.java63 if (!mGoogleApiClient.isConnected()) { in onMessageReceived()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java67 if (!mGoogleApiClient.isConnected()) { in onHandleIntent()
DUpdateQuestionService.java73 if (!mGoogleApiClient.isConnected()) { in onHandleIntent()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DDataLayerListenerService.java59 if (!mGoogleApiClient.isConnected() || !mGoogleApiClient.isConnecting()) { in onDataChanged()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java167 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in addGeofencesInternal()
224 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in requestLocationInternal()
296 if (connectionResult.isSuccess() && googleApiClient.isConnected()) { in clearRemoteNotifications()
472 if (connectionResult.isSuccess() && googleApiClient.isConnected() in sendDataToWearable()
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DMainActivity.java98 if (activeInfo != null && activeInfo.isConnected()) { in checkNetworkConnection()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java205 if ((mGoogleApiClient != null) && (mGoogleApiClient.isConnected()) && in onPause()
408 if (!mGpsPermissionApproved || !mGoogleApiClient.isConnected()) { in addLocationEntry()
477 if(mGoogleApiClient != null && mGoogleApiClient.isConnected()) { in onRequestPermissionsResult()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java155 if (!mResolvingError && (mGoogleApiClient != null) && (mGoogleApiClient.isConnected())) { in onStop()
261 if (null != mImageBitmap && mGoogleApiClient.isConnected()) { in onSendPhotoClick()
444 if (!mGoogleApiClient.isConnected()) { in run()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DCheckInAndDeleteDataItemsService.java83 if (mGoogleApiClient.isConnected()) { in onHandleIntent()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DDeleteService.java68 if (mGoogleApiClient.isConnected()) { in onHandleIntent()
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DGeofenceTransitionsIntentService.java93 if (mGoogleApiClient.isConnected()) { in onHandleIntent()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DUpdateService.java89 if (mGoogleApiClient.isConnected()) { in onDataChanged()

12