Lines Matching refs:mGoogleApiClient
102 private GoogleApiClient mGoogleApiClient; field in MainActivity
128 mGoogleApiClient = new GoogleApiClient.Builder(this) in onCreate()
152 if (!mGoogleApiClient.isConnected()) { in onStart()
153 mGoogleApiClient.connect(); in onStart()
159 Wearable.DataApi.removeListener(mGoogleApiClient, this); in onStop()
160 Wearable.MessageApi.removeListener(mGoogleApiClient, this); in onStop()
182 Wearable.DataApi.addListener(mGoogleApiClient, this); in onConnected()
183 Wearable.MessageApi.addListener(mGoogleApiClient, this); in onConnected()
305 Wearable.DataApi.putDataItem(mGoogleApiClient, question.toPutDataRequest()); in addQuestionDataItem()
409 Wearable.DataApi.putDataItem(mGoogleApiClient, in askNextQuestionIfExists()
416 Wearable.NodeApi.getConnectedNodes(mGoogleApiClient).setResultCallback( in sendMessageToWearable()
422 .sendMessage(mGoogleApiClient, node.getId(), path, data); in sendMessageToWearable()
425 if (path.equals(QUIZ_EXITED_PATH) && mGoogleApiClient.isConnected()) { in sendMessageToWearable()
426 mGoogleApiClient.disconnect(); in sendMessageToWearable()
445 if (mGoogleApiClient.isConnected()) { in resetQuiz()
446 Wearable.DataApi.getDataItems(mGoogleApiClient) in resetQuiz()
474 if (mGoogleApiClient.isConnected()) { in resetDataItems()
477 Wearable.DataApi.getDataItem(mGoogleApiClient, dataItemUri) in resetDataItems()
504 Wearable.DataApi.putDataItem(mGoogleApiClient, putDataRequest); in onResult()
525 if (mGoogleApiClient.isConnected()) { in newQuiz()
526 Wearable.DataApi.getDataItems(mGoogleApiClient) in newQuiz()
571 if (mGoogleApiClient.isConnected()) { in deleteDataItems()
573 Wearable.DataApi.deleteDataItems(mGoogleApiClient, dataItemUri) in deleteDataItems()