Home
last modified time | relevance | path

Searched refs:capabilityInfo (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainWearActivity.java188 public void onCapabilityChanged(CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
189 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged()
191 mAndroidPhoneNodeWithApp = pickBestNodeId(capabilityInfo.getNodes()); in onCapabilityChanged()
211 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in checkIfPhoneHasApp()
212 mAndroidPhoneNodeWithApp = pickBestNodeId(capabilityInfo.getNodes()); in checkIfPhoneHasApp()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java220 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in onConnected()
221 String capabilityName = capabilityInfo.getName(); in onConnected()
227 mWearNodeIds = capabilityInfo.getNodes(); in onConnected()
258 public void onCapabilityChanged(CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
259 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged()
261 mWearNodeIds = capabilityInfo.getNodes(); in onCapabilityChanged()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java176 private void updateConfirmationCapability(CapabilityInfo capabilityInfo) {
177 Set<Node> connectedNodes = capabilityInfo.getNodes();
215 public void onCapabilityChanged(CapabilityInfo capabilityInfo) {
216 updateConfirmationCapability(capabilityInfo);
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java212 public void onCapabilityChanged(CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
213 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged()
215 mWearNodesWithApp = capabilityInfo.getNodes(); in onCapabilityChanged()
241 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in findWearDevicesWithApp()
242 mWearNodesWithApp = capabilityInfo.getNodes(); in findWearDevicesWithApp()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java218 CapabilityInfo capabilityInfo = capabilitiesMap.get(capabilityName); in showNodes()
219 if (capabilityInfo != null) { in showNodes()
220 nodes.addAll(capabilityInfo.getNodes()); in showNodes()
253 public void onCapabilityChanged(CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
254 LOGD(TAG, "onCapabilityChanged: " + capabilityInfo); in onCapabilityChanged()
255 mDataFragment.appendItem("onCapabilityChanged", capabilityInfo.toString()); in onCapabilityChanged()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DMainWearActivity.java287 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in onConnected()
288 mPhoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); in onConnected()
308 public void onCapabilityChanged(CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
309 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged()
311 mPhoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); in onCapabilityChanged()
DIncomingRequestWearService.java166 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in sendMessage() local
167 String phoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); in sendMessage()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizReportActionService.java78 private void sendResetMessage(GoogleApiClient googleApiClient, CapabilityInfo capabilityInfo) { in sendResetMessage() argument
79 Set<Node> connectedNodes = capabilityInfo.getNodes(); in sendResetMessage()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java96 private void updateFindMeCapability(CapabilityInfo capabilityInfo) { in updateFindMeCapability() argument
97 Set<Node> connectedNodes = capabilityInfo.getNodes(); in updateFindMeCapability()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java240 public void onCapabilityChanged(final CapabilityInfo capabilityInfo) { in onCapabilityChanged() argument
241 LOGD(TAG, "onCapabilityChanged: " + capabilityInfo); in onCapabilityChanged()
243 mDataItemListAdapter.add(new Event("onCapabilityChanged", capabilityInfo.toString())); in onCapabilityChanged()