@Test
 public void testCreateStringArray() {
   String[] strs = {"a1", "b2"};
   parcel.writeStringArray(strs);
   String[] newStrs = parcel.createStringArray();
   assertTrue(Arrays.equals(strs, newStrs));
 }
Esempio n. 2
0
 /** Deserialize a record from an Android parcel. */
 @Override
 public DataRecordImpl createFromParcel(Parcel source) {
   String headers[] = source.createStringArray();
   String values[] = source.createStringArray();
   boolean columnFilterFlags[] = source.createBooleanArray();
   return new DataRecordImpl(headers, values, columnFilterFlags);
 }
Esempio n. 3
0
 private void readFromParcel(Parcel in) {
   address = in.readString();
   addressShort = in.readString();
   town = in.readString();
   descrip = in.readString();
   heat = in.readString();
   beds = in.readInt();
   baths = in.readFloat();
   sqft = in.readFloat();
   rent = in.readFloat();
   unitID = in.readInt();
   buildiumID = in.readInt();
   available = (Date) in.readSerializable();
   imageSrc = in.createStringArray();
   lon = in.readFloat();
   lat = in.readFloat();
   favorite = in.readByte() != 0;
   cable = in.readByte() != 0;
   hardwood = in.readByte() != 0;
   refrigerator = in.readByte() != 0;
   laundry = in.readByte() != 0;
   oven = in.readByte() != 0;
   airConditioning = in.readByte() != 0;
   balcony = in.readByte() != 0;
   carport = in.readByte() != 0;
   dishwasher = in.readByte() != 0;
   fenced = in.readByte() != 0;
   fireplace = in.readByte() != 0;
   garage = in.readByte() != 0;
   internet = in.readByte() != 0;
   microwave = in.readByte() != 0;
   walkCloset = in.readByte() != 0;
   start = (Date) in.readSerializable();
   stop = (Date) in.readSerializable();
 }
Esempio n. 4
0
 @Override
 public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags)
     throws android.os.RemoteException {
   switch (code) {
     case INTERFACE_TRANSACTION:
       {
         reply.writeString(DESCRIPTOR);
         return true;
       }
     case TRANSACTION_checkModules:
       {
         data.enforceInterface(DESCRIPTOR);
         eu.licentia.necessitas.ministro.IMinistroCallback _arg0;
         _arg0 =
             eu.licentia.necessitas.ministro.IMinistroCallback.Stub.asInterface(
                 data.readStrongBinder());
         java.lang.String[] _arg1;
         _arg1 = data.createStringArray();
         java.lang.String _arg2;
         _arg2 = data.readString();
         int _arg3;
         _arg3 = data.readInt();
         int _arg4;
         _arg4 = data.readInt();
         this.checkModules(_arg0, _arg1, _arg2, _arg3, _arg4);
         reply.writeNoException();
         return true;
       }
   }
   return super.onTransact(code, data, reply, flags);
 }
Esempio n. 5
0
  private Question(Parcel parcel) {
    mId = parcel.readLong();
    mText = parcel.readString();

    mChoices = arrayToList(parcel.createStringArray());
    mAnswer = parcel.readInt();
  }
 private PackageInfo(Parcel source) {
   packageName = source.readString();
   versionCode = source.readInt();
   versionName = source.readString();
   sharedUserId = source.readString();
   // M
   // Theme feature
   isThemePackage = source.readInt();
   themeNameId = source.readInt();
   // M
   sharedUserLabel = source.readInt();
   int hasApp = source.readInt();
   if (hasApp != 0) {
     applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source);
   }
   firstInstallTime = source.readLong();
   lastUpdateTime = source.readLong();
   gids = source.createIntArray();
   activities = source.createTypedArray(ActivityInfo.CREATOR);
   receivers = source.createTypedArray(ActivityInfo.CREATOR);
   services = source.createTypedArray(ServiceInfo.CREATOR);
   providers = source.createTypedArray(ProviderInfo.CREATOR);
   instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR);
   permissions = source.createTypedArray(PermissionInfo.CREATOR);
   requestedPermissions = source.createStringArray();
   signatures = source.createTypedArray(Signature.CREATOR);
   configPreferences = source.createTypedArray(ConfigurationInfo.CREATOR);
   reqFeatures = source.createTypedArray(FeatureInfo.CREATOR);
   installLocation = source.readInt();
 }
Esempio n. 7
0
  public Photo(Parcel in) {

    mPhotoId = in.readString();
    mUserId = in.readString();
    mEventId = in.readString();
    mLocation = MapUtils.stringToLatLng(in.readString());
    try {
      mDate = getDateFormat().parse(in.readString());
    } catch (ParseException e) {
    }
    mUrl = in.createStringArray();
    mTags = in.createStringArrayList();
  }
 private void readFromParcel(Parcel in) {
   dialogSize = in.readInt();
   Rlog.d(TAG, "readFromParcel size = " + dialogSize);
   if (dialogSize < 0) {
     return;
   }
   callInfo = new ArrayList<String[]>();
   for (int i = 0; i < dialogSize; i++) {
     String[] info = new String[INDEX_MAX];
     info = in.createStringArray(); // read each string[]
     callInfo.add(info);
   }
   Rlog.d(TAG, "readFromParcel - " + toString());
 }
 /*Part of Parcelable interface.
    When unpacking a parcel, the program fills data fields in the order laid out below.
 */
 private Article(Parcel in) {
   article_ID = in.readInt();
   title = in.readString();
   body = in.readString();
   desc = in.readString();
   genre = in.readString();
   is_Top = in.readByte() != 0;
   has_Image = in.readByte() != 0;
   viewed = in.readByte() != 0;
   has_Thumb = in.readByte() != 0;
   image_ID = in.readInt();
   image_URL = in.readString();
   thumb_URL = in.readString();
   categories = in.createStringArray();
 }
Esempio n. 10
0
 /**
  * Gets an array of supported digest schema.
  *
  * @return an array of digest schema
  */
 public java.lang.String[] getSupportedDigestSchema() throws android.os.RemoteException {
   android.os.Parcel _data = android.os.Parcel.obtain();
   android.os.Parcel _reply = android.os.Parcel.obtain();
   java.lang.String[] _result;
   try {
     _data.writeInterfaceToken(DESCRIPTOR);
     mRemote.transact(Stub.TRANSACTION_getSupportedDigestSchema, _data, _reply, 0);
     _reply.readException();
     _result = _reply.createStringArray();
   } finally {
     _reply.recycle();
     _data.recycle();
   }
   return _result;
 }
 public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
     throws RemoteException {
   switch (paramInt1) {
     default:
       return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
     case 1598968902:
       paramParcel2.writeString("com.google.android.gms.common.internal.IGmsServiceBroker");
       return true;
     case 1:
       paramParcel1.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
       localIGmsCallbacks = IGmsCallbacks.Stub.asInterface(paramParcel1.readStrongBinder());
       paramInt1 = paramParcel1.readInt();
       str1 = paramParcel1.readString();
       String str2 = paramParcel1.readString();
       String[] arrayOfString = paramParcel1.createStringArray();
       String str3 = paramParcel1.readString();
       if (paramParcel1.readInt() != 0) {}
       for (paramParcel1 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
           ;
           paramParcel1 = null) {
         getPlusService(
             localIGmsCallbacks, paramInt1, str1, str2, arrayOfString, str3, paramParcel1);
         paramParcel2.writeNoException();
         return true;
       }
   }
   paramParcel1.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
   IGmsCallbacks localIGmsCallbacks =
       IGmsCallbacks.Stub.asInterface(paramParcel1.readStrongBinder());
   paramInt1 = paramParcel1.readInt();
   String str1 = paramParcel1.readString();
   if (paramParcel1.readInt() != 0) {}
   for (paramParcel1 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
       ;
       paramParcel1 = null) {
     getPanoramaService(localIGmsCallbacks, paramInt1, str1, paramParcel1);
     paramParcel2.writeNoException();
     return true;
   }
 }
 public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
     throws RemoteException {
   int i = 0;
   Account _arg0;
   String _result;
   IAccountManagerResponse _arg02;
   Account _arg1;
   String _arg12;
   Bundle _arg2;
   boolean _arg3;
   String _arg22;
   boolean _arg4;
   Bundle _arg5;
   switch (code) {
     case TRANSACTION_getPassword /*1*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       _result = getPassword(_arg0);
       reply.writeNoException();
       reply.writeString(_result);
       return true;
     case TRANSACTION_getUserData /*2*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       _result = getUserData(_arg0, data.readString());
       reply.writeNoException();
       reply.writeString(_result);
       return true;
     case TRANSACTION_getAccounts /*3*/:
       data.enforceInterface(DESCRIPTOR);
       Account[] _result2 = getAccounts(data.readString());
       reply.writeNoException();
       reply.writeTypedArray(_result2, TRANSACTION_getPassword);
       return true;
     case TRANSACTION_hasFeatures /*4*/:
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       if (data.readInt() != 0) {
         _arg1 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg1 = null;
       }
       hasFeatures(_arg02, _arg1, data.createStringArray());
       reply.writeNoException();
       return true;
     case TRANSACTION_getAccountsByFeatures /*5*/:
       data.enforceInterface(DESCRIPTOR);
       getAccountsByFeatures(
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder()),
           data.readString(),
           data.createStringArray());
       reply.writeNoException();
       return true;
     case TRANSACTION_addAccount /*6*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       _arg12 = data.readString();
       if (data.readInt() != 0) {
         _arg2 = (Bundle) Bundle.CREATOR.createFromParcel(data);
       } else {
         _arg2 = null;
       }
       boolean _result3 = addAccount(_arg0, _arg12, _arg2);
       reply.writeNoException();
       if (_result3) {
         i = TRANSACTION_getPassword;
       }
       reply.writeInt(i);
       return true;
     case TRANSACTION_removeAccount /*7*/:
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       if (data.readInt() != 0) {
         _arg1 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg1 = null;
       }
       removeAccount(_arg02, _arg1);
       reply.writeNoException();
       return true;
     case TRANSACTION_invalidateAuthToken /*8*/:
       data.enforceInterface(DESCRIPTOR);
       invalidateAuthToken(data.readString(), data.readString());
       reply.writeNoException();
       return true;
     case TRANSACTION_peekAuthToken /*9*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       _result = peekAuthToken(_arg0, data.readString());
       reply.writeNoException();
       reply.writeString(_result);
       return true;
     case TRANSACTION_setAuthToken /*10*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       setAuthToken(_arg0, data.readString(), data.readString());
       reply.writeNoException();
       return true;
     case TRANSACTION_setPassword /*11*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       setPassword(_arg0, data.readString());
       reply.writeNoException();
       return true;
     case TRANSACTION_clearPassword /*12*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       clearPassword(_arg0);
       reply.writeNoException();
       return true;
     case TRANSACTION_setUserData /*13*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       setUserData(_arg0, data.readString(), data.readString());
       reply.writeNoException();
       return true;
     case TRANSACTION_updateAppPermission /*14*/:
       data.enforceInterface(DESCRIPTOR);
       if (data.readInt() != 0) {
         _arg0 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg0 = null;
       }
       _arg12 = data.readString();
       int _arg23 = data.readInt();
       if (data.readInt() != 0) {
         _arg3 = true;
       } else {
         _arg3 = false;
       }
       updateAppPermission(_arg0, _arg12, _arg23, _arg3);
       reply.writeNoException();
       return true;
     case TRANSACTION_getAuthToken /*15*/:
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       if (data.readInt() != 0) {
         _arg1 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg1 = null;
       }
       _arg22 = data.readString();
       if (data.readInt() != 0) {
         _arg3 = true;
       } else {
         _arg3 = false;
       }
       if (data.readInt() != 0) {
         _arg4 = true;
       } else {
         _arg4 = false;
       }
       if (data.readInt() != 0) {
         _arg5 = (Bundle) Bundle.CREATOR.createFromParcel(data);
       } else {
         _arg5 = null;
       }
       getAuthToken(_arg02, _arg1, _arg22, _arg3, _arg4, _arg5);
       reply.writeNoException();
       return true;
     case TRANSACTION_addAcount /*16*/:
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       _arg12 = data.readString();
       _arg22 = data.readString();
       String[] _arg32 = data.createStringArray();
       if (data.readInt() != 0) {
         _arg4 = true;
       } else {
         _arg4 = false;
       }
       if (data.readInt() != 0) {
         _arg5 = (Bundle) Bundle.CREATOR.createFromParcel(data);
       } else {
         _arg5 = null;
       }
       addAcount(_arg02, _arg12, _arg22, _arg32, _arg4, _arg5);
       reply.writeNoException();
       return true;
     case TRANSACTION_updateCredentials /*17*/:
       Bundle _arg42;
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       if (data.readInt() != 0) {
         _arg1 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg1 = null;
       }
       _arg22 = data.readString();
       if (data.readInt() != 0) {
         _arg3 = true;
       } else {
         _arg3 = false;
       }
       if (data.readInt() != 0) {
         _arg42 = (Bundle) Bundle.CREATOR.createFromParcel(data);
       } else {
         _arg42 = null;
       }
       updateCredentials(_arg02, _arg1, _arg22, _arg3, _arg42);
       reply.writeNoException();
       return true;
     case TRANSACTION_editProperties /*18*/:
       boolean _arg24;
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       _arg12 = data.readString();
       if (data.readInt() != 0) {
         _arg24 = true;
       } else {
         _arg24 = false;
       }
       editProperties(_arg02, _arg12, _arg24);
       reply.writeNoException();
       return true;
     case TRANSACTION_confirmCredentials /*19*/:
       data.enforceInterface(DESCRIPTOR);
       _arg02 =
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder());
       if (data.readInt() != 0) {
         _arg1 = (Account) Account.CREATOR.createFromParcel(data);
       } else {
         _arg1 = null;
       }
       if (data.readInt() != 0) {
         _arg2 = (Bundle) Bundle.CREATOR.createFromParcel(data);
       } else {
         _arg2 = null;
       }
       if (data.readInt() != 0) {
         _arg3 = true;
       } else {
         _arg3 = false;
       }
       confirmCredentials(_arg02, _arg1, _arg2, _arg3);
       reply.writeNoException();
       return true;
     case TRANSACTION_getAuthTokenLabel /*20*/:
       data.enforceInterface(DESCRIPTOR);
       getAuthTokenLabel(
           com.xiaomi.accounts.IAccountManagerResponse.Stub.asInterface(data.readStrongBinder()),
           data.readString(),
           data.readString());
       reply.writeNoException();
       return true;
     case 1598968902:
       reply.writeString(DESCRIPTOR);
       return true;
     default:
       return super.onTransact(code, data, reply, flags);
   }
 }
 public SavedState(Parcel source) {
   super(source);
   originalColors = source.readString();
   currentColors = source.createStringArray();
 }
Esempio n. 14
0
    public boolean onTransact(int i1, Parcel parcel, Parcel parcel1, int j1)
        throws RemoteException {
      Object obj1 = null;
      Object obj2 = null;
      String as1[] = null;
      String s21 = null;
      IBinder ibinder1 = null;
      String s23 = null;
      Object obj3 = null;
      Object obj4 = null;
      Object obj5 = null;
      Object obj6 = null;
      Object obj7 = null;
      Object obj8 = null;
      Object obj9 = null;
      Object obj10 = null;
      Object obj11 = null;
      Object obj12 = null;
      Object obj13 = null;
      Object obj14 = null;
      Object obj15 = null;
      Object obj16 = null;
      Object obj = null;
      switch (i1) {
        default:
          return super.onTransact(i1, parcel, parcel1, j1);

        case 1598968902:
          parcel1.writeString("com.google.android.gms.common.internal.IGmsServiceBroker");
          return true;

        case 1: // '\001'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj1 = parcel.readString();
          obj2 = parcel.readString();
          as1 = parcel.createStringArray();
          s21 = parcel.readString();
          if (parcel.readInt() != 0) {
            parcel = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          } else {
            parcel = null;
          }
          a(((ah) (obj)), i1, ((String) (obj1)), ((String) (obj2)), as1, s21, parcel);
          parcel1.writeNoException();
          return true;

        case 2: // '\002'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj2 = parcel.readString();
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          a(((ah) (obj1)), i1, ((String) (obj2)), ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 3: // '\003'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          a(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 4: // '\004'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          a(ah.a.a(parcel.readStrongBinder()), parcel.readInt());
          parcel1.writeNoException();
          return true;

        case 5: // '\005'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj2 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          as1 = parcel.readString();
          obj = obj1;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          b(((ah) (obj2)), i1, as1, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 6: // '\006'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          as1 = parcel.readString();
          obj = obj2;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          c(((ah) (obj1)), i1, as1, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 7: // '\007'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s1 = parcel.readString();
          obj = as1;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          d(((ah) (obj1)), i1, s1, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 8: // '\b'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s2 = parcel.readString();
          obj = s21;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          e(((ah) (obj1)), i1, s2, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 9: // '\t'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj1 = parcel.readString();
          String s3 = parcel.readString();
          String as2[] = parcel.createStringArray();
          String s22 = parcel.readString();
          ibinder1 = parcel.readStrongBinder();
          s23 = parcel.readString();
          if (parcel.readInt() != 0) {
            parcel = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          } else {
            parcel = null;
          }
          a(((ah) (obj)), i1, ((String) (obj1)), s3, as2, s22, ibinder1, s23, parcel);
          parcel1.writeNoException();
          return true;

        case 10: // '\n'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          a(
              ah.a.a(parcel.readStrongBinder()),
              parcel.readInt(),
              parcel.readString(),
              parcel.readString(),
              parcel.createStringArray());
          parcel1.writeNoException();
          return true;

        case 11: // '\013'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s4 = parcel.readString();
          obj = ibinder1;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          f(((ah) (obj1)), i1, s4, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 12: // '\f'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s5 = parcel.readString();
          obj = s23;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          g(((ah) (obj1)), i1, s5, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 13: // '\r'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s6 = parcel.readString();
          obj = obj3;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          h(((ah) (obj1)), i1, s6, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 14: // '\016'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s7 = parcel.readString();
          obj = obj4;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          i(((ah) (obj1)), i1, s7, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 15: // '\017'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s8 = parcel.readString();
          obj = obj5;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          j(((ah) (obj1)), i1, s8, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 16: // '\020'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s9 = parcel.readString();
          obj = obj6;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          k(((ah) (obj1)), i1, s9, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 17: // '\021'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s10 = parcel.readString();
          obj = obj7;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          l(((ah) (obj1)), i1, s10, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 18: // '\022'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s11 = parcel.readString();
          obj = obj8;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          m(((ah) (obj1)), i1, s11, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 19: // '\023'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj1 = parcel.readString();
          IBinder ibinder = parcel.readStrongBinder();
          if (parcel.readInt() != 0) {
            parcel = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          } else {
            parcel = null;
          }
          a(((ah) (obj)), i1, ((String) (obj1)), ibinder, parcel);
          parcel1.writeNoException();
          return true;

        case 20: // '\024'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj1 = parcel.readString();
          String as[] = parcel.createStringArray();
          String s20 = parcel.readString();
          if (parcel.readInt() != 0) {
            parcel = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          } else {
            parcel = null;
          }
          a(((ah) (obj)), i1, ((String) (obj1)), as, s20, parcel);
          parcel1.writeNoException();
          return true;

        case 21: // '\025'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          b(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 22: // '\026'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          c(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 23: // '\027'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s12 = parcel.readString();
          obj = obj9;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          n(((ah) (obj1)), i1, s12, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 24: // '\030'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          d(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 25: // '\031'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s13 = parcel.readString();
          obj = obj10;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          o(((ah) (obj1)), i1, s13, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 26: // '\032'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          e(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 27: // '\033'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s14 = parcel.readString();
          obj = obj11;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          p(((ah) (obj1)), i1, s14, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 28: // '\034'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          b(
              ah.a.a(parcel.readStrongBinder()),
              parcel.readInt(),
              parcel.readString(),
              parcel.readString(),
              parcel.createStringArray());
          parcel1.writeNoException();
          return true;

        case 30: // '\036'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          obj1 = parcel.readString();
          String s15 = parcel.readString();
          String as3[] = parcel.createStringArray();
          if (parcel.readInt() != 0) {
            parcel = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          } else {
            parcel = null;
          }
          a(((ah) (obj)), i1, ((String) (obj1)), s15, as3, parcel);
          parcel1.writeNoException();
          return true;

        case 31: // '\037'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          f(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 32: // ' '
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          g(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 33: // '!'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          a(
              ah.a.a(parcel.readStrongBinder()),
              parcel.readInt(),
              parcel.readString(),
              parcel.readString(),
              parcel.readString(),
              parcel.createStringArray());
          parcel1.writeNoException();
          return true;

        case 34: // '"'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          a(
              ah.a.a(parcel.readStrongBinder()),
              parcel.readInt(),
              parcel.readString(),
              parcel.readString());
          parcel1.writeNoException();
          return true;

        case 35: // '#'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          h(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 36: // '$'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          i(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 37: // '%'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s16 = parcel.readString();
          obj = obj12;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          q(((ah) (obj1)), i1, s16, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 38: // '&'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s17 = parcel.readString();
          obj = obj13;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          r(((ah) (obj1)), i1, s17, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 40: // '('
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          j(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 41: // ')'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s18 = parcel.readString();
          obj = obj14;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          s(((ah) (obj1)), i1, s18, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 42: // '*'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          k(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 43: // '+'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          i1 = parcel.readInt();
          String s19 = parcel.readString();
          obj = obj15;
          if (parcel.readInt() != 0) {
            obj = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
          }
          t(((ah) (obj1)), i1, s19, ((Bundle) (obj)));
          parcel1.writeNoException();
          return true;

        case 44: // ','
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          l(ah.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readString());
          parcel1.writeNoException();
          return true;

        case 46: // '.'
          parcel.enforceInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
          obj1 = ah.a.a(parcel.readStrongBinder());
          obj = obj16;
          break;
      }
      if (parcel.readInt() != 0) {
        obj = (jj) jj.CREATOR.createFromParcel(parcel);
      }
      a(((ah) (obj1)), ((jj) (obj)));
      parcel1.writeNoException();
      return true;
    }
 private CampaignMetadata(@NonNull Parcel source) {
   id = source.readLong();
   representationTypes = source.createStringArray();
 }
Esempio n. 16
0
 private Animal(Parcel parcel) {
   String[] nameAndInfo = parcel.createStringArray();
   name = nameAndInfo[0];
   info = nameAndInfo[1];
   imageIndex = parcel.readInt();
 }
        public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j)
            throws RemoteException
        {
            Object obj1 = null;
            Object obj = null;
            switch (i)
            {
            default:
                return super.onTransact(i, parcel, parcel1, j);

            case 1598968902: 
                parcel1.writeString("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                return true;

            case 1001: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                c(parcel.readInt(), parcel.readInt(), parcel.readString());
                return true;

            case 1002: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                a(parcel.readString(), parcel.createByteArray(), parcel.readInt());
                return true;

            case 1003: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bg(parcel.readString());
                return true;

            case 1004: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bh(parcel.readString());
                return true;

            case 1005: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bi(parcel.readString());
                return true;

            case 1006: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bj(parcel.readString());
                return true;

            case 1007: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bk(parcel.readString());
                return true;

            case 1008: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                a(parcel.readString(), parcel.createStringArray());
                return true;

            case 1009: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                b(parcel.readString(), parcel.createStringArray());
                return true;

            case 1010: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                c(parcel.readString(), parcel.createStringArray());
                return true;

            case 1011: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                d(parcel.readString(), parcel.createStringArray());
                return true;

            case 1012: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                e(parcel.readString(), parcel.createStringArray());
                return true;

            case 1013: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                f(parcel.readString(), parcel.createStringArray());
                return true;

            case 1014: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                onP2PConnected(parcel.readString());
                return true;

            case 1015: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                onP2PDisconnected(parcel.readString());
                return true;

            case 1016: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                hJ();
                return true;

            case 1017: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                g(parcel.readString(), parcel.createStringArray());
                return true;

            case 1018: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bl(parcel.readString());
                return true;

            case 1019: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                bm(parcel.readString());
                return true;

            case 1020: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                ck(parcel.readInt());
                return true;

            case 1021: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                al(parcel.readStrongBinder());
                return true;

            case 1022: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                parcel1 = obj;
                if (parcel.readInt() != 0)
                {
                    parcel1 = ConnectionInfo.CREATOR.bf(parcel);
                }
                a(parcel1);
                return true;

            case 1023: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                hK();
                return true;

            case 1024: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                parcel1 = obj1;
                if (parcel.readInt() != 0)
                {
                    parcel1 = (ParcelFileDescriptor)ParcelFileDescriptor.CREATOR.createFromParcel(parcel);
                }
                a(parcel1, parcel.readInt());
                return true;

            case 1025: 
                parcel.enforceInterface("com.google.android.gms.games.internal.IRoomServiceCallbacks");
                t(parcel.readString(), parcel.readInt());
                return true;
            }
        }
 protected ScreeningsAPI(Parcel in) {
   this.date = in.readString();
   this.times = in.createStringArray();
 }