Example #1
0
 private UserContact(Parcel in) {
   this.id = in.readLong();
   this.userId = in.readString();
   this.labelCode = in.readString();
   this.nickname = in.readString();
   this.mobile = in.readString();
   this.remarkName = in.readString();
   this.gender = in.readInt();
   this.birthday = in.readLong();
   this.age = in.readInt();
   this.constellation = in.readInt();
   this.province = in.readString();
   this.city = in.readString();
   this.school = in.readString();
   this.height = in.readInt();
   this.job = in.readString();
   this.signature = in.readString();
   this.avatar = in.readString();
   this.avatarThumb = in.readString();
   this.labels = in.createTypedArray(UserLabel.CREATOR);
   this.location = in.readParcelable(LocationInfo.class.getClassLoader());
   this.appearanceFace = in.readString();
   this.theme = in.readParcelable(UserTheme.class.getClassLoader());
   this.albumPhotos = in.createTypedArray(AlbumPhoto.CREATOR);
   this.labelStories = in.createTypedArray(LabelStory.CREATOR);
   this.interestTypes = in.createTypedArray(InterestType.CREATOR);
   this.userTags = in.createTypedArray(UserTag.CREATOR);
   this.visitorCount = in.readInt();
   this.myPhotoTotal = in.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();
 }
 @DSComment("Private Method")
 @DSBan(DSCat.PRIVATE_METHOD)
 @DSGenerator(
     tool_name = "Doppelganger",
     tool_version = "2.0",
     generated_on = "2013-12-30 12:34:48.954 -0500",
     hash_original_method = "CB7E407C3FF25BE7AFF90A1406ACF604",
     hash_generated_method = "9D052A8D6EA726EACB4803C8DD714358")
 private ProviderInfo(Parcel in) {
   super(in);
   authority = in.readString();
   readPermission = in.readString();
   writePermission = in.readString();
   grantUriPermissions = in.readInt() != 0;
   uriPermissionPatterns = in.createTypedArray(PatternMatcher.CREATOR);
   pathPermissions = in.createTypedArray(PathPermission.CREATOR);
   multiprocess = in.readInt() != 0;
   initOrder = in.readInt();
   isSyncable = in.readInt() != 0;
 }
 public ParcelableCardEntity(Parcel src) {
   name = src.readString();
   users = src.createTypedArray(ParcelableUser.CREATOR);
   final Bundle bundle = src.readBundle(ParcelableBindingValue.class.getClassLoader());
   for (String key : bundle.keySet()) {
     if (values == null) {
       values = new HashMap<>();
     }
     final ParcelableBindingValue value = bundle.getParcelable(key);
     values.put(key, value);
   }
 }
 public Account[] getAccounts(String accountType) throws RemoteException {
   Parcel _data = Parcel.obtain();
   Parcel _reply = Parcel.obtain();
   try {
     _data.writeInterfaceToken(Stub.DESCRIPTOR);
     _data.writeString(accountType);
     this.mRemote.transact(Stub.TRANSACTION_getAccounts, _data, _reply, 0);
     _reply.readException();
     Account[] _result = (Account[]) _reply.createTypedArray(Account.CREATOR);
     return _result;
   } finally {
     _reply.recycle();
     _data.recycle();
   }
 }
Example #6
0
        public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j)
            throws RemoteException
        {
            switch (i)
            {
            default:
                return super.onTransact(i, parcel, parcel1, j);

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

            case 1: // '\001'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                zza(com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder()), parcel.readString(), (UsageInfo[])parcel.createTypedArray(UsageInfo.CREATOR));
                parcel1.writeNoException();
                return true;

            case 2: // '\002'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                zza(com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder()));
                parcel1.writeNoException();
                return true;

            case 3: // '\003'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                zzb(com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder()));
                parcel1.writeNoException();
                return true;

            case 4: // '\004'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                zzgr zzgr = com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder());
                boolean flag;
                if (parcel.readInt() != 0)
                {
                    flag = true;
                } else
                {
                    flag = false;
                }
                zza(zzgr, flag);
                parcel1.writeNoException();
                return true;

            case 5: // '\005'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                com.google.android.gms.appdatasearch.GetRecentContextCall.Request request;
                if (parcel.readInt() != 0)
                {
                    request = com.google.android.gms.appdatasearch.GetRecentContextCall.Request.CREATOR.zzr(parcel);
                } else
                {
                    request = null;
                }
                zza(request, com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder()));
                parcel1.writeNoException();
                return true;

            case 6: // '\006'
                parcel.enforceInterface("com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearch");
                zza(com.google.android.gms.internal.zzgr.zza.zzI(parcel.readStrongBinder()), parcel.readString(), parcel.readString());
                parcel1.writeNoException();
                return true;
            }
        }
Example #7
0
 public boolean onTransact(
     int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) {
   switch (paramInt1) {
     default:
       return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
     case 1598968902:
       paramParcel2.writeString("com.google.android.gms.people.internal.IPeopleCallbacks");
       return true;
     case 1:
       paramParcel1.enforceInterface("com.google.android.gms.people.internal.IPeopleCallbacks");
       int i2 = paramParcel1.readInt();
       Bundle localBundle6;
       if (paramParcel1.readInt() != 0) {
         localBundle6 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
         if (paramParcel1.readInt() == 0) {
           break label150;
         }
       }
       for (Bundle localBundle7 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
           ;
           localBundle7 = null) {
         a(i2, localBundle6, localBundle7);
         return true;
         localBundle6 = null;
         break;
       }
     case 2:
       paramParcel1.enforceInterface("com.google.android.gms.people.internal.IPeopleCallbacks");
       int n = paramParcel1.readInt();
       if (paramParcel1.readInt() != 0) {}
       for (Bundle localBundle5 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
           ;
           localBundle5 = null) {
         int i1 = paramParcel1.readInt();
         DataHolder localDataHolder = null;
         if (i1 != 0) {
           localDataHolder = ehk.a(paramParcel1);
         }
         a(n, localBundle5, localDataHolder);
         return true;
       }
     case 3:
       paramParcel1.enforceInterface("com.google.android.gms.people.internal.IPeopleCallbacks");
       int m = paramParcel1.readInt();
       Bundle localBundle4;
       if (paramParcel1.readInt() != 0) {
         localBundle4 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
         if (paramParcel1.readInt() == 0) {
           break label303;
         }
       }
       for (ParcelFileDescriptor localParcelFileDescriptor2 =
               (ParcelFileDescriptor) ParcelFileDescriptor.CREATOR.createFromParcel(paramParcel1);
           ;
           localParcelFileDescriptor2 = null) {
         a(m, localBundle4, localParcelFileDescriptor2);
         return true;
         localBundle4 = null;
         break;
       }
     case 4:
       label150:
       label303:
       paramParcel1.enforceInterface("com.google.android.gms.people.internal.IPeopleCallbacks");
       int j = paramParcel1.readInt();
       int k = paramParcel1.readInt();
       Bundle localBundle3 = null;
       if (k != 0) {
         localBundle3 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
       }
       a(j, localBundle3, (DataHolder[]) paramParcel1.createTypedArray(DataHolder.CREATOR));
       return true;
   }
   paramParcel1.enforceInterface("com.google.android.gms.people.internal.IPeopleCallbacks");
   int i = paramParcel1.readInt();
   Bundle localBundle1;
   ParcelFileDescriptor localParcelFileDescriptor1;
   if (paramParcel1.readInt() != 0) {
     localBundle1 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
     if (paramParcel1.readInt() == 0) {
       break label464;
     }
     localParcelFileDescriptor1 =
         (ParcelFileDescriptor) ParcelFileDescriptor.CREATOR.createFromParcel(paramParcel1);
     label423:
     if (paramParcel1.readInt() == 0) {
       break label470;
     }
   }
   label464:
   label470:
   for (Bundle localBundle2 = (Bundle) Bundle.CREATOR.createFromParcel(paramParcel1);
       ;
       localBundle2 = null) {
     a(i, localBundle1, localParcelFileDescriptor1, localBundle2);
     return true;
     localBundle1 = null;
     break;
     localParcelFileDescriptor1 = null;
     break label423;
   }
 }
 /**
  * Creates a new instance with data read from a Parcel.
  *
  * @param source the data to read
  */
 private CategoryListItem(Parcel source) {
   name = source.readString();
   fullName = source.readString();
   key = source.readString();
   subItems = source.createTypedArray(CREATOR);
 }