List of usage examples for org.apache.http.util LangUtils HASH_SEED
int HASH_SEED
To view the source code for org.apache.http.util LangUtils HASH_SEED.
Click Source Link
From source file:com.mnxfst.testing.server.cfg.PTestNameValuePair.java
public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, this.getName()); return hash; }
From source file:com.gargoylesoftware.htmlunit.util.NameValuePair.java
/** * {@inheritDoc}// w w w .j a va 2 s. c o m */ @Override public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, name_); hash = LangUtils.hashCode(hash, value_); return hash; }
From source file:com.ok2c.lightmtp.agent.SessionEndpoint.java
@Override public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, this.localAddress); hash = LangUtils.hashCode(hash, this.remoteAddress); return hash;// w ww.j a v a 2s . c om }
From source file:com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport.java
public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, this.name); hash = LangUtils.hashCode(hash, this.value); return hash;/*from w w w.ja v a2 s. c o m*/ }
From source file:com.grendelscan.commons.http.apache_overrides.serializable.SerializableNameValuePair.java
@Override public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, name); hash = LangUtils.hashCode(hash, value); return hash;/* w w w .j a v a 2 s .c o m*/ }
From source file:cn.mimessage.and.sdk.net.request.DefaultValuePair.java
@Override public int hashCode() { int hash = LangUtils.HASH_SEED; hash = LangUtils.hashCode(hash, this.name); hash = LangUtils.hashCode(hash, this.value); return hash;/*from w w w . j ava 2 s . c o m*/ }
From source file:com.google.android.gms.common.C0270e.java
private static Dialog m3391b(int i, Activity activity, Fragment fragment, int i2, OnCancelListener onCancelListener) { Builder builder;//from w w w .j a v a 2s . co m Intent a; OnClickListener c0420i; CharSequence c; if (C0516u.m4166a((Context) activity) && i == 2) { i = 42; } if (C0519x.m4174c()) { TypedValue typedValue = new TypedValue(); activity.getTheme().resolveAttribute(16843529, typedValue, true); if ("Theme.Dialog.Alert".equals(activity.getResources().getResourceEntryName(typedValue.resourceId))) { builder = new Builder(activity, 5); if (builder == null) { builder = new Builder(activity); } builder.setMessage(C0270e.m3392b(activity, i)); if (onCancelListener != null) { builder.setOnCancelListener(onCancelListener); } a = C0270e.m3382a(i); c0420i = fragment != null ? new C0420i(activity, a, i2) : new C0420i(fragment, a, i2); c = C0270e.m3397c(activity, i); if (c != null) { builder.setPositiveButton(c, c0420i); } switch (i) { case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoPanelHeight /*0*/: return null; case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoShadowHeight /*1*/: return builder.setTitle(R.common_google_play_services_install_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoParalaxOffset /*2*/: return builder.setTitle(R.common_google_play_services_update_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoFadeColor /*3*/: return builder.setTitle(R.common_google_play_services_enable_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoFlingVelocity /*4*/: case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoOverlay /*6*/: return builder.create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoDragView /*5*/: Log.e("GooglePlayServicesUtil", "An invalid account was specified when connecting. Please provide a valid account."); return builder.setTitle(R.common_google_play_services_invalid_account_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoClipPanel /*7*/: Log.e("GooglePlayServicesUtil", "Network error occurred. Please retry request later."); return builder.setTitle(R.common_google_play_services_network_error_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoAnchorPoint /*8*/: Log.e("GooglePlayServicesUtil", "Internal error occurred. Please see logs for detailed information"); return builder.create(); case HTTP.HT /*9*/: Log.e("GooglePlayServicesUtil", "Google Play services is invalid. Cannot recover."); return builder.setTitle(R.common_google_play_services_unsupported_title).create(); case HTTP.LF /*10*/: Log.e("GooglePlayServicesUtil", "Developer error occurred. Please see logs for detailed information"); return builder.create(); case com.olacabs.customer.R.R.MapM4bAttrs_m4b_uiZoomControls /*11*/: Log.e("GooglePlayServicesUtil", "The application is not licensed to the user."); return builder.create(); case Constants.DEFAULT_MAP_ZOOM_LEVEL /*16*/: Log.e("GooglePlayServicesUtil", "One of the API components you attempted to connect to is not available."); return builder.create(); case LangUtils.HASH_SEED /*17*/: Log.e("GooglePlayServicesUtil", "The specified account could not be signed in."); return builder.setTitle(R.common_google_play_services_sign_in_failed_title).create(); case 42: return builder.setTitle(R.common_android_wear_update_title).create(); default: Log.e("GooglePlayServicesUtil", "Unexpected error code " + i); return builder.create(); } } } builder = null; if (builder == null) { builder = new Builder(activity); } builder.setMessage(C0270e.m3392b(activity, i)); if (onCancelListener != null) { builder.setOnCancelListener(onCancelListener); } a = C0270e.m3382a(i); if (fragment != null) { } c = C0270e.m3397c(activity, i); if (c != null) { builder.setPositiveButton(c, c0420i); } switch (i) { case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoPanelHeight /*0*/: return null; case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoShadowHeight /*1*/: return builder.setTitle(R.common_google_play_services_install_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoParalaxOffset /*2*/: return builder.setTitle(R.common_google_play_services_update_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoFadeColor /*3*/: return builder.setTitle(R.common_google_play_services_enable_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoFlingVelocity /*4*/: case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoOverlay /*6*/: return builder.create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoDragView /*5*/: Log.e("GooglePlayServicesUtil", "An invalid account was specified when connecting. Please provide a valid account."); return builder.setTitle(R.common_google_play_services_invalid_account_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoClipPanel /*7*/: Log.e("GooglePlayServicesUtil", "Network error occurred. Please retry request later."); return builder.setTitle(R.common_google_play_services_network_error_title).create(); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoAnchorPoint /*8*/: Log.e("GooglePlayServicesUtil", "Internal error occurred. Please see logs for detailed information"); return builder.create(); case HTTP.HT /*9*/: Log.e("GooglePlayServicesUtil", "Google Play services is invalid. Cannot recover."); return builder.setTitle(R.common_google_play_services_unsupported_title).create(); case HTTP.LF /*10*/: Log.e("GooglePlayServicesUtil", "Developer error occurred. Please see logs for detailed information"); return builder.create(); case com.olacabs.customer.R.R.MapM4bAttrs_m4b_uiZoomControls /*11*/: Log.e("GooglePlayServicesUtil", "The application is not licensed to the user."); return builder.create(); case Constants.DEFAULT_MAP_ZOOM_LEVEL /*16*/: Log.e("GooglePlayServicesUtil", "One of the API components you attempted to connect to is not available."); return builder.create(); case LangUtils.HASH_SEED /*17*/: Log.e("GooglePlayServicesUtil", "The specified account could not be signed in."); return builder.setTitle(R.common_google_play_services_sign_in_failed_title).create(); case 42: return builder.setTitle(R.common_android_wear_update_title).create(); default: Log.e("GooglePlayServicesUtil", "Unexpected error code " + i); return builder.create(); } }
From source file:com.google.android.gms.common.C0270e.java
public static String m3392b(Context context, int i) { Resources resources = context.getResources(); switch (i) {// www .j av a2 s. c o m case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoShadowHeight /*1*/: return C0270e.m3390a(context.getResources()) ? resources.getString(R.common_google_play_services_install_text_tablet) : resources.getString(R.common_google_play_services_install_text_phone); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoParalaxOffset /*2*/: return resources.getString(R.common_google_play_services_update_text); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoFadeColor /*3*/: return resources.getString(R.common_google_play_services_enable_text); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoDragView /*5*/: return resources.getString(R.common_google_play_services_invalid_account_text); case com.sothree.slidinguppanel.p086a.R.R.SlidingUpPanelLayout_umanoClipPanel /*7*/: return resources.getString(R.common_google_play_services_network_error_text); case HTTP.HT /*9*/: return resources.getString(R.common_google_play_services_unsupported_text); case Constants.DEFAULT_MAP_ZOOM_LEVEL /*16*/: return resources.getString(R.commono_google_play_services_api_unavailable_text); case LangUtils.HASH_SEED /*17*/: return resources.getString(R.common_google_play_services_sign_in_failed_text); case 42: return resources.getString(R.common_android_wear_update_text); default: return resources.getString(R.common_google_play_services_unknown_issue); } }