Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 9 of 9) sorted by relevance

/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DNsdHelper.java86 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in initializeDiscoveryListener()
87 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener()
91 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in initializeDiscoveryListener()
92 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener()
101 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in initializeResolveListener()
102 Log.e(TAG, "Resolve failed" + errorCode); in initializeResolveListener()
138 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initializeRegistrationListener()
139 Log.d(TAG, "Service unregistration failed: " + errorCode); in initializeRegistrationListener()
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DAdvertiserService.java196 public void onStartFailure(int errorCode) { in onStartFailure() argument
197 super.onStartFailure(errorCode); in onStartFailure()
200 sendFailureIntent(errorCode); in onStartFailure()
216 private void sendFailureIntent(int errorCode){ in sendFailureIntent() argument
219 failureIntent.putExtra(ADVERTISING_FAILED_EXTRA_CODE, errorCode); in sendFailureIntent()
DScannerFragment.java223 public void onScanFailed(int errorCode) { in onScanFailed() argument
224 super.onScanFailed(errorCode); in onScanFailed()
225 Toast.makeText(getActivity(), "Scan failed with error: " + errorCode, Toast.LENGTH_LONG) in onScanFailed() local
DAdvertiserFragment.java62 … int errorCode = intent.getIntExtra(AdvertiserService.ADVERTISING_FAILED_EXTRA_CODE, -1); in onCreate()
67 switch (errorCode) { in onCreate()
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DGeofenceTransitionsIntentService.java74 int errorCode = geoFenceEvent.getErrorCode(); in onHandleIntent() local
75 Log.e(TAG, "Location Services error: " + errorCode); in onHandleIntent()
DMainActivity.java141 int errorCode = connectionResult.getErrorCode(); in onConnectionFailed() local
142 Log.e(TAG, "Connection to Google Play services failed with error code " + errorCode); in onConnectionFailed()
/development/samples/training/ads-and-ux/src/com/example/training/ads/
DAdsCatalogActivity.java149 public void onFailedToReceiveAd(Ad ad, ErrorCode errorCode) { in onFailedToReceiveAd() argument
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java156 public void onRegistrationFailed(String localProfileUri, int errorCode, in initializeLocalProfile() argument
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java271 public void onFailure(int errorCode) { in connectP2p()