types

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityInfo

type ActivityInfo struct {
	Theme                                 int32
	LaunchMode                            int32
	DocumentLaunchMode                    int32
	Permission                            string
	TaskAffinity                          string
	TargetActivity                        string
	LaunchToken                           string
	Flags                                 int32
	PrivateFlags                          int32
	ScreenOrientation                     int32
	ConfigChanges                         int32
	SoftInputMode                         int32
	UiOptions                             int32
	ParentActivityName                    string
	PersistableMode                       int32
	MaxRecents                            int32
	LockTaskLaunchMode                    int32
	ResizeMode                            int32
	RequestedVrComponent                  string
	RotationAnimation                     int32
	ColorMode                             int32
	MaxAspectRatio                        float32
	MinAspectRatio                        float32
	SupportsSizeChanges                   bool
	RequiredDisplayCategory               string
	RequireContentUriPermissionFromCaller int32
}

func (*ActivityInfo) MarshalParcel

func (s *ActivityInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ActivityInfo) UnmarshalParcel

func (s *ActivityInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ApplicationInfo

type ApplicationInfo struct {
	TaskAffinity                         string
	Permission                           string
	ProcessName                          string
	ClassName                            string
	Theme                                int32
	Flags                                int32
	PrivateFlags                         int32
	PrivateFlagsExt                      int32
	RequiresSmallestWidthDp              int32
	CompatibleWidthLimitDp               int32
	LargestWidthLimitDp                  int32
	ScanSourceDir                        string
	ScanPublicSourceDir                  string
	SourceDir                            string
	PublicSourceDir                      string
	NativeLibraryDir                     string
	SecondaryNativeLibraryDir            string
	NativeLibraryRootDir                 string
	NativeLibraryRootRequiresIsa         bool
	PrimaryCpuAbi                        string
	SecondaryCpuAbi                      string
	SeInfo                               string
	SeInfoUser                           string
	DataDir                              string
	DeviceProtectedDataDir               string
	CredentialProtectedDataDir           string
	Uid                                  int32
	MinSdkVersion                        int32
	TargetSdkVersion                     int32
	LongVersionCode                      int64
	Enabled                              bool
	EnabledSetting                       int32
	InstallLocation                      int32
	ManageSpaceActivityName              string
	BackupAgentName                      string
	DescriptionRes                       int32
	UiOptions                            int32
	FullBackupContent                    int32
	DataExtractionRulesRes               int32
	CrossProfile                         bool
	NetworkSecurityConfigRes             int32
	Category                             int32
	TargetSandboxVersion                 int32
	ClassLoaderName                      string
	CompileSdkVersion                    int32
	CompileSdkVersionCodename            string
	AppComponentFactory                  string
	IconRes                              int32
	RoundIconRes                         int32
	HiddenApiPolicy                      int32
	HiddenUntilInstalled                 bool
	ZygotePreloadName                    string
	GwpAsanMode                          int32
	MemtagMode                           int32
	NativeHeapZeroInitialized            int32
	CreateTimestamp                      int64
	LocaleConfigRes                      int32
	AllowCrossUidActivitySwitchFromBelow bool
}

func (*ApplicationInfo) MarshalParcel

func (s *ApplicationInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ApplicationInfo) UnmarshalParcel

func (s *ApplicationInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ConfigurationInfo

type ConfigurationInfo struct {
	ReqTouchScreen   int32
	ReqKeyboardType  int32
	ReqNavigation    int32
	ReqInputFeatures int32
	ReqGlEsVersion   int32
}

func (*ConfigurationInfo) MarshalParcel

func (s *ConfigurationInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ConfigurationInfo) UnmarshalParcel

func (s *ConfigurationInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type DataLoaderParamsParcel

type DataLoaderParamsParcel struct {
	Type        DataLoaderType
	PackageName string
	ClassName   string
	Arguments   string
}

func (*DataLoaderParamsParcel) MarshalParcel

func (s *DataLoaderParamsParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*DataLoaderParamsParcel) UnmarshalParcel

func (s *DataLoaderParamsParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type DataLoaderType

type DataLoaderType int32
const (
	DataLoaderTypeNONE        DataLoaderType = 0
	DataLoaderTypeSTREAMING   DataLoaderType = 1
	DataLoaderTypeINCREMENTAL DataLoaderType = 2
)

type IDataLoaderStatusListener

type IDataLoaderStatusListener interface {
	AsBinder() binder.IBinder
}

type IPackageDataObserver

type IPackageDataObserver interface {
	AsBinder() binder.IBinder
}

type IPackageMoveObserver

type IPackageMoveObserver interface {
	AsBinder() binder.IBinder
}

type IShortcutService

type IShortcutService interface {
	AsBinder() binder.IBinder
}

type InstantAppRequestInfo

type InstantAppRequestInfo struct {
	Flg   int32
	Token string
}

func (*InstantAppRequestInfo) MarshalParcel

func (s *InstantAppRequestInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*InstantAppRequestInfo) UnmarshalParcel

func (s *InstantAppRequestInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type PackageInfoLite

type PackageInfoLite struct {
	PackageName                string
	VersionCode                int32
	VersionCodeMajor           int32
	BaseRevisionCode           int32
	RecommendedInstallLocation int32
	InstallLocation            int32
	MultiArch                  bool
	Debuggable                 bool
}

func (*PackageInfoLite) MarshalParcel

func (s *PackageInfoLite) MarshalParcel(
	p *parcel.Parcel,
) error

func (*PackageInfoLite) UnmarshalParcel

func (s *PackageInfoLite) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ParceledListSlice

type ParceledListSlice struct {
}

func (*ParceledListSlice) MarshalParcel

func (s *ParceledListSlice) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ParceledListSlice) UnmarshalParcel

func (s *ParceledListSlice) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ProviderInfo

type ProviderInfo struct {
	Authority           string
	ReadPermission      string
	WritePermission     string
	GrantUriPermissions bool
	ForceUriPermissions bool
	Multiprocess        bool
	InitOrder           int32
	Flags               int32
	IsSyncable          bool
}

func (*ProviderInfo) MarshalParcel

func (s *ProviderInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ProviderInfo) UnmarshalParcel

func (s *ProviderInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ProviderInfoList

type ProviderInfoList struct {
}

func (*ProviderInfoList) MarshalParcel

func (s *ProviderInfoList) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ProviderInfoList) UnmarshalParcel

func (s *ProviderInfoList) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ResolveInfo

type ResolveInfo struct {
	Priority              int32
	PreferredOrder        int32
	Match                 int32
	SpecificIndex         int32
	LabelRes              int32
	Icon                  int32
	ResolvePackageName    string
	TargetUserId          int32
	System                bool
	NoResourceId          bool
	IconResourceId        int32
	HandleAllWebDataURI   bool
	AutoResolutionAllowed bool
	IsInstantAppAvailable bool
	ActivityInfo          ActivityInfo
}

func (*ResolveInfo) MarshalParcel

func (s *ResolveInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ResolveInfo) UnmarshalParcel

func (s *ResolveInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ServiceInfo

type ServiceInfo struct {
	Permission            string
	Flags                 int32
	ForegroundServiceType int32
}

func (*ServiceInfo) MarshalParcel

func (s *ServiceInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ServiceInfo) UnmarshalParcel

func (s *ServiceInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ShortcutInfo

type ShortcutInfo struct {
	UserId                 int32
	Id                     string
	PackageName            string
	Flags                  int32
	IconResId              int32
	LastChangedTimestamp   int64
	DisabledReason         int32
	TitleResId             int32
	TextResId              int32
	DisabledMessageResId   int32
	Rank                   int32
	BitmapPath             string
	IconResName            string
	TitleResName           string
	TextResName            string
	DisabledMessageResName string
	IconUri                string
	StartingThemeResName   string
	ExcludedSurfaces       int32
	Icon                   *drawable.Icon
}

func (*ShortcutInfo) MarshalParcel

func (s *ShortcutInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ShortcutInfo) UnmarshalParcel

func (s *ShortcutInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SignedPackageParcel

type SignedPackageParcel struct {
	PackageName       string
	CertificateDigest []byte
}

func (*SignedPackageParcel) MarshalParcel

func (s *SignedPackageParcel) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SignedPackageParcel) UnmarshalParcel

func (s *SignedPackageParcel) UnmarshalParcel(
	p *parcel.Parcel,
) error

type UserInfo

type UserInfo struct {
	Id                        int32
	Name                      string
	IconPath                  string
	Flags                     int32
	UserType                  string
	SerialNumber              int32
	CreationTime              int64
	LastLoggedInTime          int64
	LastLoggedInFingerprint   string
	Partial                   bool
	PreCreated                bool
	ProfileGroupId            int32
	GuestToRemove             bool
	RestrictedProfileParentId int32
	ProfileBadge              int32
}

func (*UserInfo) MarshalParcel

func (s *UserInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*UserInfo) UnmarshalParcel

func (s *UserInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type UserProperties

type UserProperties struct {
	PropertiesPresent                     int64
	ShowInLauncher                        int32
	StartWithParent                       bool
	ShowInSettings                        int32
	ShowInQuietMode                       int32
	ShowInSharingSurfaces                 int32
	InheritDevicePolicy                   int32
	UseParentsContacts                    bool
	UpdateCrossProfileIntentFiltersOnOTA  bool
	CrossProfileIntentFilterAccessControl int32
	CrossProfileIntentResolutionStrategy  int32
	MediaSharedWithParent                 bool
	CredentialShareableWithParent         bool
	AuthAlwaysRequiredToDisableQuietMode  bool
	AllowStoppingUserWithDelayedLocking   bool
	DeleteAppWithParent                   bool
	AlwaysVisible                         bool
	CrossProfileContentSharingStrategy    int32
	ProfileApiVisibility                  int32
	ItemsRestrictedOnHomeScreen           bool
}

func (*UserProperties) MarshalParcel

func (s *UserProperties) MarshalParcel(
	p *parcel.Parcel,
) error

func (*UserProperties) UnmarshalParcel

func (s *UserProperties) UnmarshalParcel(
	p *parcel.Parcel,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL