Searched refs:errorCode (Results 1 – 9 of 9) sorted by relevance
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | NsdHelper.java | 86 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/ |
D | AdvertiserService.java | 196 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()
|
D | ScannerFragment.java | 223 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
|
D | AdvertiserFragment.java | 62 … 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/ |
D | GeofenceTransitionsIntentService.java | 74 int errorCode = geoFenceEvent.getErrorCode(); in onHandleIntent() local 75 Log.e(TAG, "Location Services error: " + errorCode); in onHandleIntent()
|
D | MainActivity.java | 141 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/ |
D | AdsCatalogActivity.java | 149 public void onFailedToReceiveAd(Ad ad, ErrorCode errorCode) { in onFailedToReceiveAd() argument
|
/development/samples/SipDemo/src/com/example/android/sip/ |
D | WalkieTalkieActivity.java | 156 public void onRegistrationFailed(String localProfileUri, int errorCode, in initializeLocalProfile() argument
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiServiceDiscoveryActivity.java | 271 public void onFailure(int errorCode) { in connectP2p()
|