Home
last modified time | relevance | path

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

/development/samples/NsdManagerSample/testadvertiseservice/src/main/java/com/example/testadvertiseservice/
DAdvertiseActivity.kt70 override fun onRegistrationFailed(serviceType: NsdServiceInfo?, errorCode: Int) { in onRegistrationFailed()
71 log("Registration failed for type $serviceType, error $errorCode") in onRegistrationFailed()
74 override fun onUnregistrationFailed(serviceType: NsdServiceInfo?, errorCode: Int) { in onUnregistrationFailed()
75 log("Unregistration failed for type $serviceType, error $errorCode") in onUnregistrationFailed()
/development/samples/NsdManagerSample/testdiscoverservice/src/main/java/com/example/testdiscoverservice/
DDiscoverActivity.kt127 override fun onStartDiscoveryFailed(serviceType: String?, errorCode: Int) { in <lambda>()
128 log("Start discovery failed for type $serviceType, error $errorCode") in <lambda>()
131 override fun onStopDiscoveryFailed(serviceType: String?, errorCode: Int) { in <lambda>()
132 log("Stop discovery failed for type $serviceType, error $errorCode") in <lambda>()
154 override fun onResolveFailed(serviceInfo: NsdServiceInfo?, errorCode: Int) { in <lambda>()
155 log("listenerName $name Resolve failed for service $serviceInfo with code $errorCode") in <lambda>()
/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.java338 public void onFailure(int errorCode) { in connectP2p()