private ApplicationInfo(android.os.Parcel source) : base(source) { taskAffinity = source.readString(); permission = source.readString(); processName = source.readString(); className = source.readString(); theme = source.readInt(); flags = source.readInt(); requiresSmallestWidthDp = source.readInt(); compatibleWidthLimitDp = source.readInt(); largestWidthLimitDp = source.readInt(); sourceDir = source.readString(); publicSourceDir = source.readString(); nativeLibraryDir = source.readString(); resourceDirs = source.readStringArray(); sharedLibraryFiles = source.readStringArray(); dataDir = source.readString(); uid = source.readInt(); targetSdkVersion = source.readInt(); enabled = source.readInt() != 0; enabledSetting = source.readInt(); installLocation = source.readInt(); manageSpaceActivityName = source.readString(); backupAgentName = source.readString(); descriptionRes = source.readInt(); uiOptions = source.readInt(); }
private PackageInfo(android.os.Parcel source) { packageName = source.readString(); versionCode = source.readInt(); versionName = source.readString(); sharedUserId = source.readString(); sharedUserLabel = source.readInt(); int hasApp = source.readInt(); if (hasApp != 0) { applicationInfo = android.content.pm.ApplicationInfo.CREATOR.createFromParcel(source ); } firstInstallTime = source.readLong(); lastUpdateTime = source.readLong(); gids = source.createIntArray(); activities = source.createTypedArray(android.content.pm.ActivityInfo.CREATOR); receivers = source.createTypedArray(android.content.pm.ActivityInfo.CREATOR); services = source.createTypedArray(android.content.pm.ServiceInfo.CREATOR); providers = source.createTypedArray(android.content.pm.ProviderInfo.CREATOR); instrumentation = source.createTypedArray(android.content.pm.InstrumentationInfo. CREATOR); permissions = source.createTypedArray(android.content.pm.PermissionInfo.CREATOR); requestedPermissions = source.createStringArray(); signatures = source.createTypedArray(android.content.pm.Signature.CREATOR); configPreferences = source.createTypedArray(android.content.pm.ConfigurationInfo. CREATOR); reqFeatures = source.createTypedArray(android.content.pm.FeatureInfo.CREATOR); installLocation = source.readInt(); }
private ObbInfo(android.os.Parcel source) { filename = source.readString(); packageName = source.readString(); version = source.readInt(); flags = source.readInt(); salt = source.createByteArray(); }
private EntryInfo(Parcel @in) { logicalName = @in.readString(); deviceCategory = @in.readString(); productName = @in.readString(); deviceBus = @in.readString(); address = @in.readString(); }
protected internal MPDAlbum(android.os.Parcel @in) { /* Getters */ mName = @in.readString(); mMBID = @in.readString(); mArtistName = @in.readString(); mImageFetching = @in.readByte() != 0; mDate = (System.DateTime)@in.readSerializable(); }
private InstrumentationInfo(android.os.Parcel source) : base(source) { targetPackage = source.readString(); sourceDir = source.readString(); publicSourceDir = source.readString(); dataDir = source.readString(); nativeLibraryDir = source.readString(); handleProfiling = source.readInt() != 0; functionalTest = source.readInt() != 0; }
protected internal PackageItemInfo(android.os.Parcel source) { name = source.readString(); packageName = source.readString(); labelRes = source.readInt(); nonLocalizedLabel = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel (source); icon = source.readInt(); logo = source.readInt(); metaData = source.readBundle(); }
private ProviderInfo(android.os.Parcel @in) : base(@in) { authority = @in.readString(); readPermission = @in.readString(); writePermission = @in.readString(); grantUriPermissions = @in.readInt() != 0; uriPermissionPatterns = @in.createTypedArray(android.os.PatternMatcher.CREATOR); pathPermissions = @in.createTypedArray(android.content.pm.PathPermission.CREATOR); multiprocess = @in.readInt() != 0; initOrder = @in.readInt(); isSyncable = @in.readInt() != 0; }
private ActivityInfo(android.os.Parcel source) : base(source) { theme = source.readInt(); launchMode = source.readInt(); permission = source.readString(); taskAffinity = source.readString(); targetActivity = source.readString(); flags = source.readInt(); screenOrientation = source.readInt(); configChanges = source.readInt(); softInputMode = source.readInt(); uiOptions = source.readInt(); }
/// <summary> /// Instantiate a new ComponentName from the data in a Parcel that was /// previously written with /// <see cref="writeToParcel(android.os.Parcel, int)">writeToParcel(android.os.Parcel, int) /// </see> /// . Note that you /// must not use this with data written by /// <see cref="writeToParcel(ComponentName, android.os.Parcel)">writeToParcel(ComponentName, android.os.Parcel) /// </see> /// since it is not possible /// to handle a null ComponentObject here. /// </summary> /// <param name="in"> /// The Parcel containing the previously written ComponentName, /// positioned at the location in the buffer where it was written. /// </param> public ComponentName(android.os.Parcel @in) { mPackage = @in.readString(); if (mPackage == null) { throw new System.ArgumentNullException("package name is null"); } mClass = @in.readString(); if (mClass == null) { throw new System.ArgumentNullException("class name is null"); } }
/// <summary> /// Unmarshal a parcel. </summary> /// <param name="in"> parcel. </param> private EngagementConfiguration(Parcel @in) { mConnectionString = @in.readString(); mLazyAreaLocationReport = toBoolean(@in.readByte()); mRealtimeLocationReport = toBoolean(@in.readByte()); mFineRealtimeLocationReport = toBoolean(@in.readByte()); mBackgroundRealtimeLocationReport = toBoolean(@in.readByte()); }
private PermissionInfo(android.os.Parcel source) : base(source) { group = source.readString(); descriptionRes = source.readInt(); protectionLevel = source.readInt(); nonLocalizedDescription = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel (source); }
public virtual void readFromParcel(android.os.Parcel @in) { this.pkg = @in.readString(); this.id = @in.readInt(); if (@in.readInt() != 0) { this.tag = @in.readString(); } else { this.tag = null; } this.uid = @in.readInt(); this.initialPid = @in.readInt(); this.priority = @in.readInt(); this.notification = new android.app.Notification(@in); }
public virtual void readFromParcel(android.os.Parcel @in) { this.iconPackage = @in.readString(); this.iconId = @in.readInt(); this.iconLevel = @in.readInt(); this.visible = @in.readInt() != 0; this.number = @in.readInt(); this.contentDescription = @in.readCharSequence(); }
protected internal ComponentInfo(android.os.Parcel source) : base(source) { applicationInfo = android.content.pm.ApplicationInfo.CREATOR.createFromParcel(source ); processName = source.readString(); descriptionRes = source.readInt(); enabled = (source.readInt() != 0); exported = (source.readInt() != 0); }
/// <summary>Create a MPDTrack from a parcel</summary> /// <param name="in">Parcel to deserialize</param> protected internal MPDTrack(android.os.Parcel @in) : base(@in.readString()) { pTrackTitle = @in.readString(); pTrackAlbum = @in.readString(); pTrackArtist = @in.readString(); pTrackAlbumArtist = @in.readString(); pDate = @in.readString(); pTrackMBID = @in.readString(); pTrackAlbumMBID = @in.readString(); pTrackArtistMBID = @in.readString(); pTrackAlbumArtistMBID = @in.readString(); pLength = @in.readInt(); pTrackNumber = @in.readInt(); pAlbumTrackCount = @in.readInt(); pDiscNumber = @in.readInt(); pAlbumDiscCount = @in.readInt(); pSongPosition = @in.readInt(); pSongID = @in.readInt(); pImageFetching = @in.readInt() == 1; }
private PackageInfoLite(android.os.Parcel source) { packageName = source.readString(); recommendedInstallLocation = source.readInt(); installLocation = source.readInt(); int verifiersLength = source.readInt(); if (verifiersLength == 0) { verifiers = new android.content.pm.VerifierInfo[0]; } else { verifiers = new android.content.pm.VerifierInfo[verifiersLength]; source.readTypedArray(verifiers, android.content.pm.VerifierInfo.CREATOR); } }
/// <summary>Unflatten the AppWidgetProviderInfo from a parcel.</summary> /// <remarks>Unflatten the AppWidgetProviderInfo from a parcel.</remarks> public AppWidgetProviderInfo(android.os.Parcel @in) { if (0 != @in.readInt()) { this.provider = new android.content.ComponentName(@in); } this.minWidth = @in.readInt(); this.minHeight = @in.readInt(); this.minResizeWidth = @in.readInt(); this.minResizeHeight = @in.readInt(); this.updatePeriodMillis = @in.readInt(); this.initialLayout = @in.readInt(); if (0 != @in.readInt()) { this.configure = new android.content.ComponentName(@in); } this.label = @in.readString(); this.icon = @in.readInt(); this.previewImage = @in.readInt(); this.autoAdvanceViewId = @in.readInt(); this.resizeMode = @in.readInt(); }
protected internal MPDCurrentStatus(android.os.Parcel @in) { /* Create this object from parcel */ pVolume = @in.readInt(); pRepeat = @in.readInt(); pRandom = @in.readInt(); pSinglePlayback = @in.readInt(); pConsume = @in.readInt(); pPlaylistVersion = @in.readInt(); pPlaylistLength = @in.readInt(); pCurrentSongIndex = @in.readInt(); pNextSongIndex = @in.readInt(); pSamplerate = @in.readInt(); pBitDepth = @in.readString(); pChannelCount = @in.readInt(); pBitrate = @in.readInt(); pElapsedTime = @in.readInt(); pTrackLength = @in.readInt(); pUpdateDBJob = @in.readInt(); pPlaybackState = org.gateshipone.malp.mpdservice.mpdprotocol.mpdobjects.MPDCurrentStatus.MPD_PLAYBACK_STATE .values()[@in.readInt()]; }
/// <summary> /// Read a ComponentName from a Parcel that was previously written /// with /// <see cref="writeToParcel(ComponentName, android.os.Parcel)">writeToParcel(ComponentName, android.os.Parcel) /// </see> /// , returning either /// a null or new object as appropriate. /// </summary> /// <param name="in">The Parcel from which to read the ComponentName</param> /// <returns> /// Returns a new ComponentName matching the previously written /// object, or null if a null had been written. /// </returns> /// <seealso cref="writeToParcel(ComponentName, android.os.Parcel)">writeToParcel(ComponentName, android.os.Parcel) /// </seealso> public static android.content.ComponentName readFromParcel(android.os.Parcel @in) { string pkg = @in.readString(); return(pkg != null ? new android.content.ComponentName(pkg, @in) : null); }
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) { switch (code) { case android.os.IBinderClass.INTERFACE_TRANSACTION: { reply.writeString(DESCRIPTOR); return(true); } case TRANSACTION_startListening: { data.enforceInterface(DESCRIPTOR); [email protected] _arg0; _arg0 = [email protected](data.readStrongBinder ()); string _arg1; _arg1 = data.readString(); int _arg2; _arg2 = data.readInt(); java.util.List <android.widget.RemoteViews> _arg3; _arg3 = new java.util.ArrayList <android.widget.RemoteViews>(); int[] _result = this.startListening(_arg0, _arg1, _arg2, _arg3); reply.writeNoException(); reply.writeIntArray(_result); reply.writeTypedList(_arg3); return(true); } case TRANSACTION_stopListening: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); this.stopListening(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_allocateAppWidgetId: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); int _arg1; _arg1 = data.readInt(); int _result = this.allocateAppWidgetId(_arg0, _arg1); reply.writeNoException(); reply.writeInt(_result); return(true); } case TRANSACTION_deleteAppWidgetId: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); this.deleteAppWidgetId(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_deleteHost: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); this.deleteHost(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_deleteAllHosts: { data.enforceInterface(DESCRIPTOR); this.deleteAllHosts(); reply.writeNoException(); return(true); } case TRANSACTION_getAppWidgetViews: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.widget.RemoteViews _result = this.getAppWidgetViews(_arg0); reply.writeNoException(); if ((_result != null)) { reply.writeInt(1); _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE ); } else { reply.writeInt(0); } return(true); } case TRANSACTION_updateAppWidgetIds: { data.enforceInterface(DESCRIPTOR); int[] _arg0; _arg0 = data.createIntArray(); android.widget.RemoteViews _arg1; if ((0 != data.readInt())) { _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.updateAppWidgetIds(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_partiallyUpdateAppWidgetIds: { data.enforceInterface(DESCRIPTOR); int[] _arg0; _arg0 = data.createIntArray(); android.widget.RemoteViews _arg1; if ((0 != data.readInt())) { _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.partiallyUpdateAppWidgetIds(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_updateAppWidgetProvider: { data.enforceInterface(DESCRIPTOR); android.content.ComponentName _arg0; if ((0 != data.readInt())) { _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data); } else { _arg0 = null; } android.widget.RemoteViews _arg1; if ((0 != data.readInt())) { _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.updateAppWidgetProvider(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_notifyAppWidgetViewDataChanged: { data.enforceInterface(DESCRIPTOR); int[] _arg0; _arg0 = data.createIntArray(); int _arg1; _arg1 = data.readInt(); this.notifyAppWidgetViewDataChanged(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_getInstalledProviders: { data.enforceInterface(DESCRIPTOR); java.util.List <android.appwidget.AppWidgetProviderInfo> _result = this.getInstalledProviders (); reply.writeNoException(); reply.writeTypedList(_result); return(true); } case TRANSACTION_getAppWidgetInfo: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.appwidget.AppWidgetProviderInfo _result = this.getAppWidgetInfo(_arg0); reply.writeNoException(); if ((_result != null)) { reply.writeInt(1); _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE ); } else { reply.writeInt(0); } return(true); } case TRANSACTION_bindAppWidgetId: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.content.ComponentName _arg1; if ((0 != data.readInt())) { _arg1 = android.content.ComponentName.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.bindAppWidgetId(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_bindRemoteViewsService: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.content.Intent _arg1; if ((0 != data.readInt())) { _arg1 = android.content.Intent.CREATOR.createFromParcel(data); } else { _arg1 = null; } android.os.IBinder _arg2; _arg2 = data.readStrongBinder(); this.bindRemoteViewsService(_arg0, _arg1, _arg2); reply.writeNoException(); return(true); } case TRANSACTION_unbindRemoteViewsService: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.content.Intent _arg1; if ((0 != data.readInt())) { _arg1 = android.content.Intent.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.unbindRemoteViewsService(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_getAppWidgetIds: { data.enforceInterface(DESCRIPTOR); android.content.ComponentName _arg0; if ((0 != data.readInt())) { _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data); } else { _arg0 = null; } int[] _result = this.getAppWidgetIds(_arg0); reply.writeNoException(); reply.writeIntArray(_result); return(true); } } return(base.onTransact(code, data, reply, flags)); }
public Account(android.os.Parcel @in) { this.name = @in.readString(); this.type = @in.readString(); }
private UserInfo(android.os.Parcel source) { id = source.readInt(); name = source.readString(); flags = source.readInt(); }
private ServiceInfo(android.os.Parcel source) : base(source) { permission = source.readString(); flags = source.readInt(); }
protected internal MPDArtist(android.os.Parcel @in) { pArtistName = @in.readString(); pMBIDs = @in.createStringArrayList(); mImageFetching = @in.readByte() != 0; }
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) { switch (code) { case android.os.IBinderClass.INTERFACE_TRANSACTION: { reply.writeString(DESCRIPTOR); return(true); } case TRANSACTION_expand: { data.enforceInterface(DESCRIPTOR); this.expand(); reply.writeNoException(); return(true); } case TRANSACTION_collapse: { data.enforceInterface(DESCRIPTOR); this.collapse(); reply.writeNoException(); return(true); } case TRANSACTION_disable: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.os.IBinder _arg1; _arg1 = data.readStrongBinder(); string _arg2; _arg2 = data.readString(); this.disable(_arg0, _arg1, _arg2); reply.writeNoException(); return(true); } case TRANSACTION_setIcon: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); string _arg1; _arg1 = data.readString(); int _arg2; _arg2 = data.readInt(); int _arg3; _arg3 = data.readInt(); string _arg4; _arg4 = data.readString(); this.setIcon(_arg0, _arg1, _arg2, _arg3, _arg4); reply.writeNoException(); return(true); } case TRANSACTION_setIconVisibility: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); bool _arg1; _arg1 = (0 != data.readInt()); this.setIconVisibility(_arg0, _arg1); reply.writeNoException(); return(true); } case TRANSACTION_removeIcon: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); this.removeIcon(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_topAppWindowChanged: { data.enforceInterface(DESCRIPTOR); bool _arg0; _arg0 = (0 != data.readInt()); this.topAppWindowChanged(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_setImeWindowStatus: { data.enforceInterface(DESCRIPTOR); android.os.IBinder _arg0; _arg0 = data.readStrongBinder(); int _arg1; _arg1 = data.readInt(); int _arg2; _arg2 = data.readInt(); this.setImeWindowStatus(_arg0, _arg1, _arg2); reply.writeNoException(); return(true); } case TRANSACTION_registerStatusBar: { data.enforceInterface(DESCRIPTOR); [email protected] _arg0; _arg0 = [email protected](data.readStrongBinder ()); [email protected] _arg1; _arg1 = new [email protected](); java.util.List <android.os.IBinder> _arg2; _arg2 = new java.util.ArrayList <android.os.IBinder>(); java.util.List <*****@*****.**> _arg3; _arg3 = new java.util.ArrayList <*****@*****.** >(); int[] _arg4; int _arg4_length = data.readInt(); if ((_arg4_length < 0)) { _arg4 = null; } else { _arg4 = new int[_arg4_length]; } java.util.List <android.os.IBinder> _arg5; _arg5 = new java.util.ArrayList <android.os.IBinder>(); this.registerStatusBar(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5); reply.writeNoException(); if ((_arg1 != null)) { reply.writeInt(1); _arg1.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE ); } else { reply.writeInt(0); } reply.writeBinderList(_arg2); reply.writeTypedList(_arg3); reply.writeIntArray(_arg4); reply.writeBinderList(_arg5); return(true); } case TRANSACTION_onPanelRevealed: { data.enforceInterface(DESCRIPTOR); this.onPanelRevealed(); reply.writeNoException(); return(true); } case TRANSACTION_onNotificationClick: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); string _arg1; _arg1 = data.readString(); int _arg2; _arg2 = data.readInt(); this.onNotificationClick(_arg0, _arg1, _arg2); reply.writeNoException(); return(true); } case TRANSACTION_onNotificationError: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); string _arg1; _arg1 = data.readString(); int _arg2; _arg2 = data.readInt(); int _arg3; _arg3 = data.readInt(); int _arg4; _arg4 = data.readInt(); string _arg5; _arg5 = data.readString(); this.onNotificationError(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5); reply.writeNoException(); return(true); } case TRANSACTION_onClearAllNotifications: { data.enforceInterface(DESCRIPTOR); this.onClearAllNotifications(); reply.writeNoException(); return(true); } case TRANSACTION_onNotificationClear: { data.enforceInterface(DESCRIPTOR); string _arg0; _arg0 = data.readString(); string _arg1; _arg1 = data.readString(); int _arg2; _arg2 = data.readInt(); this.onNotificationClear(_arg0, _arg1, _arg2); reply.writeNoException(); return(true); } case TRANSACTION_setSystemUiVisibility: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); this.setSystemUiVisibility(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_setHardKeyboardEnabled: { data.enforceInterface(DESCRIPTOR); bool _arg0; _arg0 = (0 != data.readInt()); this.setHardKeyboardEnabled(_arg0); reply.writeNoException(); return(true); } case TRANSACTION_toggleRecentApps: { data.enforceInterface(DESCRIPTOR); this.toggleRecentApps(); reply.writeNoException(); return(true); } } return(base.onTransact(code, data, reply, flags)); }
public Annotation(android.os.Parcel src) { mKey = src.readString(); mValue = src.readString(); }
public SyncAdapterType(android.os.Parcel source) : this(source.readString(), source .readString(), source.readInt() != 0, source.readInt() != 0, source.readInt() != 0, source.readInt() != 0, source.readString()) { throw new System.NotImplementedException(); }
private ComponentName(string pkg, android.os.Parcel @in) { mPackage = pkg; mClass = @in.readString(); }
private FeatureInfo(android.os.Parcel source) { name = source.readString(); reqGlEsVersion = source.readInt(); flags = source.readInt(); }