Home
last modified time | relevance | path

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

/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainWearActivity.java207 public void onResult(@NonNull CapabilityApi.GetCapabilityResult getCapabilityResult) { in checkIfPhoneHasApp()
208 Log.d(TAG, "onResult(): " + getCapabilityResult); in checkIfPhoneHasApp()
210 if (getCapabilityResult.getStatus().isSuccess()) { in checkIfPhoneHasApp()
211 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in checkIfPhoneHasApp()
216 Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); in checkIfPhoneHasApp()
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java237 public void onResult(@NonNull CapabilityApi.GetCapabilityResult getCapabilityResult) { in findWearDevicesWithApp()
238 Log.d(TAG, "onResult(): " + getCapabilityResult); in findWearDevicesWithApp()
240 if (getCapabilityResult.getStatus().isSuccess()) { in findWearDevicesWithApp()
241 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in findWearDevicesWithApp()
246 Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); in findWearDevicesWithApp()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java155 CapabilityApi.GetCapabilityResult getCapabilityResult = in sendMessage() local
160 if (!getCapabilityResult.getStatus().isSuccess()) { in sendMessage()
166 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in sendMessage()
DMainWearActivity.java284 public void onResult(CapabilityApi.GetCapabilityResult getCapabilityResult) { in onConnected()
286 if (getCapabilityResult.getStatus().isSuccess()) { in onConnected()
287 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in onConnected()
292 + getCapabilityResult.getStatus()); in onConnected()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java218 public void onResult(CapabilityApi.GetCapabilityResult getCapabilityResult) { in onConnected()
220 CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); in onConnected()