Пример #1
0
  protected Object zzb(com.google.android.gms.common.server.response.FastJsonResponse.Field field) {
    switch (field.zzmF()) {
      case 3: // '\003'
      default:
        throw new IllegalStateException(
            (new StringBuilder())
                .append("Unknown safe parcelable id=")
                .append(field.zzmF())
                .toString());

      case 2: // '\002'
        return zzGM;

      case 4: // '\004'
        return zzaAy;

      case 5: // '\005'
        return zzaAq;

      case 6: // '\006'
        return zzaAz;

      case 7: // '\007'
        return zzAV;
    }
  }
Пример #2
0
 public int hashCode() {
   Iterator iterator = zzazC.values().iterator();
   int i = 0;
   do {
     if (!iterator.hasNext()) {
       break;
     }
     com.google.android.gms.common.server.response.FastJsonResponse.Field field =
         (com.google.android.gms.common.server.response.FastJsonResponse.Field) iterator.next();
     if (zza(field)) {
       int j = field.zzmF();
       i = zzb(field).hashCode() + (i + j);
     }
   } while (true);
   return i;
 }
Пример #3
0
 static {
   TreeMap treemap = new TreeMap();
   sFields = treemap;
   treemap.put(
       "currentTimeMillis",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forLong(
           "currentTimeMillis"));
   sFields.put(
       "requestId",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forLong("requestId"));
   sFields.put(
       "timePeriods",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forConcreteTypeArray(
           "timePeriods",
           com / google / android / gms / games / server / api / EventPeriodUpdate));
 }
 static {
   TreeMap treemap = new TreeMap();
   sFields = treemap;
   treemap.put(
       "apiVersion",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forString(
           "apiVersion"));
   sFields.put(
       "firstPartyApiVersion",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forString(
           "firstPartyApiVersion"));
   sFields.put(
       "revisionStatus",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forString(
           "revisionStatus"));
 }
Пример #5
0
 static {
   TreeMap treemap = new TreeMap();
   sFields = treemap;
   treemap.put(
       "instances",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forConcreteTypeArray(
           "instances", com / google / android / gms / games / server / api / MarketInstance));
 }
Пример #6
0
 static {
   zzazC = new HashMap();
   zzazC.put(
       "id", com.google.android.gms.common.server.response.FastJsonResponse.Field.zzk("id", 2));
   zzazC.put(
       "result",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.zza(
           "result",
           4,
           com / google / android / gms / plus / internal / model / moments / ItemScopeEntity));
   zzazC.put(
       "startDate",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.zzk("startDate", 5));
   zzazC.put(
       "target",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.zza(
           "target",
           6,
           com / google / android / gms / plus / internal / model / moments / ItemScopeEntity));
   zzazC.put(
       "type",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.zzk("type", 7));
 }
 static {
   TreeMap treemap = new TreeMap();
   sFields = treemap;
   treemap.put(
       "autoMatchedPlayer",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forConcreteType(
           "autoMatchedPlayer",
           com / google / android / gms / games / server / api / AnonymousPlayer));
   sFields.put(
       "id",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forString(
           "external_participant_id"));
   sFields.put(
       "player",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.forConcreteType(
           "player", com / google / android / gms / games / server / api / Player));
   sFields.put(
       "status",
       com.google.android.gms.common.server.response.FastJsonResponse.Field.withConverter(
           "player_status",
           com / google / android / gms / games / server / converter / ParticipantStatusConverter,
           false));
 }
Пример #8
0
 protected boolean zza(
     com.google.android.gms.common.server.response.FastJsonResponse.Field field) {
   return zzazD.contains(Integer.valueOf(field.zzmF()));
 }
 static
 {
   HashMap localHashMap = new HashMap();
   J = localHashMap;
   localHashMap.put("abouts", FastJsonResponse.Field.b("abouts", 2, DefaultPersonImpl.Abouts.class));
   J.put("addresses", FastJsonResponse.Field.b("addresses", 3, DefaultPersonImpl.Addresses.class));
   J.put("ageRange", FastJsonResponse.Field.d("ageRange", 4));
   J.put("birthdays", FastJsonResponse.Field.b("birthdays", 5, DefaultPersonImpl.Birthdays.class));
   J.put("braggingRights", FastJsonResponse.Field.b("braggingRights", 6, DefaultPersonImpl.BraggingRights.class));
   J.put("coverPhotos", FastJsonResponse.Field.b("coverPhotos", 7, DefaultPersonImpl.CoverPhotos.class));
   J.put("customFields", FastJsonResponse.Field.b("customFields", 8, DefaultPersonImpl.CustomFields.class));
   J.put("emails", FastJsonResponse.Field.b("emails", 9, DefaultPersonImpl.Emails.class));
   J.put("etag", FastJsonResponse.Field.d("etag", 10));
   J.put("events", FastJsonResponse.Field.b("events", 11, DefaultPersonImpl.Events.class));
   J.put("genders", FastJsonResponse.Field.b("genders", 12, DefaultPersonImpl.Genders.class));
   J.put("id", FastJsonResponse.Field.d("id", 13));
   J.put("images", FastJsonResponse.Field.b("images", 14, DefaultPersonImpl.Images.class));
   J.put("instantMessaging", FastJsonResponse.Field.b("instantMessaging", 15, DefaultPersonImpl.InstantMessaging.class));
   J.put("language", FastJsonResponse.Field.d("language", 17));
   J.put("legacyFields", FastJsonResponse.Field.a("legacyFields", 18, DefaultPersonImpl.LegacyFields.class));
   J.put("linkedPeople", FastJsonResponse.Field.b("linkedPeople", 19, DefaultPersonImpl.class));
   J.put("memberships", FastJsonResponse.Field.b("memberships", 20, DefaultPersonImpl.Memberships.class));
   J.put("metadata", FastJsonResponse.Field.a("metadata", 21, DefaultPersonImpl.Metadata.class));
   J.put("names", FastJsonResponse.Field.b("names", 22, DefaultPersonImpl.Names.class));
   J.put("nicknames", FastJsonResponse.Field.b("nicknames", 23, DefaultPersonImpl.Nicknames.class));
   J.put("occupations", FastJsonResponse.Field.b("occupations", 24, DefaultPersonImpl.Occupations.class));
   J.put("organizations", FastJsonResponse.Field.b("organizations", 25, DefaultPersonImpl.Organizations.class));
   J.put("phoneNumbers", FastJsonResponse.Field.b("phoneNumbers", 26, DefaultPersonImpl.PhoneNumbers.class));
   J.put("placesLived", FastJsonResponse.Field.b("placesLived", 27, DefaultPersonImpl.PlacesLived.class));
   J.put("profileUrl", FastJsonResponse.Field.d("profileUrl", 28));
   J.put("relations", FastJsonResponse.Field.b("relations", 29, DefaultPersonImpl.Relations.class));
   J.put("relationshipInterests", FastJsonResponse.Field.b("relationshipInterests", 30, DefaultPersonImpl.RelationshipInterests.class));
   J.put("relationshipStatuses", FastJsonResponse.Field.b("relationshipStatuses", 31, DefaultPersonImpl.RelationshipStatuses.class));
   J.put("skills", FastJsonResponse.Field.b("skills", 32, DefaultPersonImpl.Skills.class));
   J.put("sortKeys", FastJsonResponse.Field.a("sortKeys", 33, DefaultPersonImpl.SortKeys.class));
   J.put("taglines", FastJsonResponse.Field.b("taglines", 34, DefaultPersonImpl.Taglines.class));
   J.put("urls", FastJsonResponse.Field.b("urls", 35, DefaultPersonImpl.Urls.class));
 }