Documentation
¶
Index ¶
- Constants
- type AidlTestProxy
- func (p *AidlTestProxy) AsBinder() binder.IBinder
- func (p *AidlTestProxy) BooleanArray(ctx context.Context, a0 []bool, a1 []bool, a2 []bool) ([]bool, error)
- func (p *AidlTestProxy) CharArray(ctx context.Context, a0 []uint16, a1 []uint16, a2 []uint16) ([]uint16, error)
- func (p *AidlTestProxy) DoubleArray(ctx context.Context, a0 []float64, a1 []float64, a2 []float64) ([]float64, error)
- func (p *AidlTestProxy) FloatArray(ctx context.Context, a0 []float32, a1 []float32, a2 []float32) ([]float32, error)
- func (p *AidlTestProxy) IntArray(ctx context.Context, a0 []int32, a1 []int32, a2 []int32) ([]int32, error)
- func (p *AidlTestProxy) IntMethod(ctx context.Context, a int32) (int32, error)
- func (p *AidlTestProxy) IntSecurityException(ctx context.Context) (int32, error)
- func (p *AidlTestProxy) ListParcelableLonger(ctx context.Context, list []AidlTestTestParcelable, index int32) (AidlTestTestParcelable, error)
- func (p *AidlTestProxy) ListParcelableShorter(ctx context.Context, list []AidlTestTestParcelable, index int32) (int32, error)
- func (p *AidlTestProxy) LongArray(ctx context.Context, a0 []int64, a1 []int64, a2 []int64) ([]int64, error)
- func (p *AidlTestProxy) ParcelableArray(ctx context.Context, a0 []AidlTestTestParcelable, a1 []AidlTestTestParcelable, ...) ([]AidlTestTestParcelable, error)
- func (p *AidlTestProxy) ParcelableIn(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
- func (p *AidlTestProxy) ParcelableInOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
- func (p *AidlTestProxy) ParcelableOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
- func (p *AidlTestProxy) StringArray(ctx context.Context, a0 []string, a1 []string, a2 []string) ([]string, error)
- func (p *AidlTestProxy) VoidSecurityException(ctx context.Context) error
- type AidlTestStub
- type AidlTestTestParcelable
- type BatteryPropertiesRegistrarProxy
- type BatteryPropertiesRegistrarStub
- type BatteryProperty
- type BatterySaverPolicyConfig
- type BatteryUsageStats
- type BatteryUsageStatsQuery
- type BinderThreadPriorityServiceProxy
- func (p *BinderThreadPriorityServiceProxy) AsBinder() binder.IBinder
- func (p *BinderThreadPriorityServiceProxy) CallBack(ctx context.Context, recurse IBinderThreadPriorityService) error
- func (p *BinderThreadPriorityServiceProxy) GetThreadPriority(ctx context.Context) (int32, error)
- func (p *BinderThreadPriorityServiceProxy) GetThreadSchedulerGroup(ctx context.Context) (string, error)
- func (p *BinderThreadPriorityServiceProxy) SetPriorityAndCallBack(ctx context.Context, priority int32, recurse IBinderThreadPriorityService) error
- type BinderThreadPriorityServiceStub
- type BinderWorkSourceNestedServiceProxy
- type BinderWorkSourceNestedServiceStub
- type BinderWorkSourceServiceProxy
- func (p *BinderWorkSourceServiceProxy) AsBinder() binder.IBinder
- func (p *BinderWorkSourceServiceProxy) ClearWorkSourceProvider(ctx context.Context) error
- func (p *BinderWorkSourceServiceProxy) GetBinderCallingUid(ctx context.Context) (int32, error)
- func (p *BinderWorkSourceServiceProxy) GetIncomingWorkSourceUid(ctx context.Context) (int32, error)
- func (p *BinderWorkSourceServiceProxy) GetThreadLocalWorkSourceUid(ctx context.Context) (int32, error)
- func (p *BinderWorkSourceServiceProxy) SetWorkSourceProvider(ctx context.Context, uid int32) error
- type BinderWorkSourceServiceStub
- type BluetoothBatteryStats
- type Bundle
- type CancellationSignalProxy
- type CancellationSignalStub
- type CarrierAssociatedAppEntry
- type ClientCallbackProxy
- type ClientCallbackStub
- type CombinedVibration
- type ConnectionInfo
- type CoolingDevice
- type CpuUsageInfo
- type CreateAppDataArgs
- type CreateAppDataResult
- type DebugMemoryInfo
- type DeviceIdentifiersPolicyServiceProxy
- type DeviceIdentifiersPolicyServiceStub
- type DeviceIdleControllerProxy
- func (p *DeviceIdleControllerProxy) AddPowerSaveTempWhitelistApp(ctx context.Context, name string, duration int64, reasonCode int32, ...) error
- func (p *DeviceIdleControllerProxy) AddPowerSaveTempWhitelistAppForMms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
- func (p *DeviceIdleControllerProxy) AddPowerSaveTempWhitelistAppForSms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
- func (p *DeviceIdleControllerProxy) AddPowerSaveWhitelistApp(ctx context.Context, name string) error
- func (p *DeviceIdleControllerProxy) AddPowerSaveWhitelistApps(ctx context.Context, packageNames []string) (int32, error)
- func (p *DeviceIdleControllerProxy) AsBinder() binder.IBinder
- func (p *DeviceIdleControllerProxy) ExitIdle(ctx context.Context, reason string) error
- func (p *DeviceIdleControllerProxy) GetAppIdTempWhitelist(ctx context.Context) ([]int32, error)
- func (p *DeviceIdleControllerProxy) GetAppIdUserWhitelist(ctx context.Context) ([]int32, error)
- func (p *DeviceIdleControllerProxy) GetAppIdWhitelist(ctx context.Context) ([]int32, error)
- func (p *DeviceIdleControllerProxy) GetAppIdWhitelistExceptIdle(ctx context.Context) ([]int32, error)
- func (p *DeviceIdleControllerProxy) GetFullPowerWhitelist(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) GetFullPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) GetRemovedSystemPowerWhitelistApps(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) GetSystemPowerWhitelist(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) GetSystemPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) GetUserPowerWhitelist(ctx context.Context) ([]string, error)
- func (p *DeviceIdleControllerProxy) IsPowerSaveWhitelistApp(ctx context.Context, name string) (bool, error)
- func (p *DeviceIdleControllerProxy) IsPowerSaveWhitelistExceptIdleApp(ctx context.Context, name string) (bool, error)
- func (p *DeviceIdleControllerProxy) RemovePowerSaveWhitelistApp(ctx context.Context, name string) error
- func (p *DeviceIdleControllerProxy) RemoveSystemPowerWhitelistApp(ctx context.Context, name string) error
- func (p *DeviceIdleControllerProxy) RestoreSystemPowerWhitelistApp(ctx context.Context, name string) error
- func (p *DeviceIdleControllerProxy) WhitelistAppTemporarily(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
- type DeviceIdleControllerStub
- type DropBoxManagerEntry
- type DumpstateListenerProxy
- func (p *DumpstateListenerProxy) AsBinder() binder.IBinder
- func (p *DumpstateListenerProxy) OnError(ctx context.Context, errorCode int32) error
- func (p *DumpstateListenerProxy) OnFinished(ctx context.Context, bugreportFile string) error
- func (p *DumpstateListenerProxy) OnProgress(ctx context.Context, progress int32) error
- func (p *DumpstateListenerProxy) OnScreenshotTaken(ctx context.Context, success bool) error
- func (p *DumpstateListenerProxy) OnUiIntensiveBugreportDumpsFinished(ctx context.Context) error
- type DumpstateListenerStub
- type DumpstateProxy
- func (p *DumpstateProxy) AsBinder() binder.IBinder
- func (p *DumpstateProxy) CancelBugreport(ctx context.Context) error
- func (p *DumpstateProxy) PreDumpUiData(ctx context.Context) error
- func (p *DumpstateProxy) RetrieveBugreport(ctx context.Context, bugreportFd int32, bugreportFile string, ...) error
- func (p *DumpstateProxy) StartBugreport(ctx context.Context, bugreportFd int32, screenshotFd int32, ...) error
- type DumpstateStub
- type ExternalVibration
- type ExternalVibrationControllerProxy
- type ExternalVibrationControllerStub
- type ExternalVibrationScale
- type ExternalVibrationScaleScaleLevel
- type ExternalVibratorServiceProxy
- func (p *ExternalVibratorServiceProxy) AsBinder() binder.IBinder
- func (p *ExternalVibratorServiceProxy) OnExternalVibrationStart(ctx context.Context, vib ExternalVibration) (ExternalVibrationScale, error)
- func (p *ExternalVibratorServiceProxy) OnExternalVibrationStop(ctx context.Context, vib ExternalVibration) error
- type ExternalVibratorServiceStub
- type FabricatedOverlayInfo
- type FabricatedOverlayInternal
- type FabricatedOverlayInternalEntry
- type HardwarePropertiesManagerProxy
- func (p *HardwarePropertiesManagerProxy) AsBinder() binder.IBinder
- func (p *HardwarePropertiesManagerProxy) GetCpuUsages(ctx context.Context) ([]CpuUsageInfo, error)
- func (p *HardwarePropertiesManagerProxy) GetDeviceTemperatures(ctx context.Context, type_ int32, source int32) ([]float32, error)
- func (p *HardwarePropertiesManagerProxy) GetFanSpeeds(ctx context.Context) ([]float32, error)
- type HardwarePropertiesManagerStub
- type HintManagerProxy
- func (p *HintManagerProxy) AsBinder() binder.IBinder
- func (p *HintManagerProxy) CreateHintSession(ctx context.Context, token binder.IBinder, tids []int32, durationNanos int64) (IHintSession, error)
- func (p *HintManagerProxy) GetHintSessionPreferredRate(ctx context.Context) (int64, error)
- func (p *HintManagerProxy) GetHintSessionThreadIds(ctx context.Context, hintSession IHintSession) ([]int32, error)
- func (p *HintManagerProxy) SetHintSessionThreads(ctx context.Context, hintSession IHintSession, tids []int32) error
- type HintManagerStub
- type HintSessionProxy
- func (p *HintSessionProxy) AsBinder() binder.IBinder
- func (p *HintSessionProxy) Close(ctx context.Context) error
- func (p *HintSessionProxy) ReportActualWorkDuration(ctx context.Context, actualDurationNanos []int64, timeStampNanos []int64) error
- func (p *HintSessionProxy) ReportActualWorkDuration2(ctx context.Context, workDurations []WorkDuration) error
- func (p *HintSessionProxy) SendHint(ctx context.Context, hint int32) error
- func (p *HintSessionProxy) SetMode(ctx context.Context, mode int32, enabled bool) error
- func (p *HintSessionProxy) UpdateTargetWorkDuration(ctx context.Context, targetDurationNanos int64) error
- type HintSessionStub
- type IAidlTest
- type IAidlTestServer
- type IBatteryPropertiesRegistrar
- type IBatteryPropertiesRegistrarServer
- type IBinderThreadPriorityService
- type IBinderThreadPriorityServiceServer
- type IBinderWorkSourceNestedService
- type IBinderWorkSourceNestedServiceServer
- type IBinderWorkSourceService
- type IBinderWorkSourceServiceServer
- type ICancellationSignal
- type ICancellationSignalServer
- type IClientCallback
- type IClientCallbackServer
- type IDeviceIdentifiersPolicyService
- type IDeviceIdentifiersPolicyServiceServer
- type IDeviceIdleController
- type IDeviceIdleControllerServer
- type IDumpstate
- type IDumpstateListener
- type IDumpstateListenerServer
- type IDumpstateServer
- type IExternalVibrationController
- type IExternalVibrationControllerServer
- type IExternalVibratorService
- type IExternalVibratorServiceServer
- type IHardwarePropertiesManager
- type IHardwarePropertiesManagerServer
- type IHintManager
- type IHintManagerServer
- type IHintSession
- type IHintSessionServer
- type IIdmap2
- type IIdmap2Server
- type IIncidentAuthListener
- type IIncidentAuthListenerServer
- type IIncidentCompanion
- type IIncidentCompanionServer
- type IIncidentDumpCallback
- type IIncidentDumpCallbackServer
- type IIncidentManager
- type IIncidentManagerServer
- type IIncidentReportStatusListener
- type IIncidentReportStatusListenerServer
- type IInputConstants
- type IInputConstantsServer
- type IInputFlinger
- type IInputFlingerServer
- type IInstalld
- type IInstalldIFsveritySetupAuthToken
- type IInstalldIFsveritySetupAuthTokenServer
- type IInstalldServer
- type IMessenger
- type IMessengerServer
- type INetworkManagementService
- type INetworkManagementServiceServer
- type IPermissionController
- type IPermissionControllerServer
- type IPowerManager
- type IPowerManagerLowPowerStandbyPolicy
- type IPowerManagerLowPowerStandbyPortDescription
- type IPowerManagerServer
- type IPowerStatsService
- type IPowerStatsServiceServer
- type IProcessInfoService
- type IProcessInfoServiceServer
- type IProgressListener
- type IProgressListenerServer
- type IRecoverySystem
- type IRecoverySystemProgressListener
- type IRecoverySystemProgressListenerServer
- type IRecoverySystemServer
- type IRemoteCallback
- type IRemoteCallbackServer
- type ISchedulingPolicyService
- type ISchedulingPolicyServiceServer
- type ISecurityStateManager
- type ISecurityStateManagerServer
- type IServiceCallback
- type IServiceCallbackServer
- type IServiceManager
- type IServiceManagerServer
- type ISomeService
- type ISomeServiceServer
- type IStatsBootstrapAtomService
- type IStatsBootstrapAtomServiceServer
- type ISystemConfig
- type ISystemConfigServer
- type ISystemUpdateManager
- type ISystemUpdateManagerServer
- type IThermalEventListener
- type IThermalEventListenerServer
- type IThermalService
- type IThermalServiceServer
- type IThermalStatusListener
- type IThermalStatusListenerServer
- type IUpdateLock
- type IUpdateLockServer
- type IUserManager
- type IUserManagerServer
- type IUserRestrictionsListener
- type IUserRestrictionsListenerServer
- type IVibratorManagerService
- type IVibratorManagerServiceServer
- type IVibratorStateListener
- type IVibratorStateListenerServer
- type IWakeLockCallback
- type IWakeLockCallbackServer
- type Idmap2Proxy
- func (p *Idmap2Proxy) AcquireFabricatedOverlayIterator(ctx context.Context) (int32, error)
- func (p *Idmap2Proxy) AsBinder() binder.IBinder
- func (p *Idmap2Proxy) CreateFabricatedOverlay(ctx context.Context, overlay FabricatedOverlayInternal) (FabricatedOverlayInfo, error)
- func (p *Idmap2Proxy) CreateIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, ...) (string, error)
- func (p *Idmap2Proxy) DeleteFabricatedOverlay(ctx context.Context, path string) (bool, error)
- func (p *Idmap2Proxy) DumpIdmap(ctx context.Context, overlayApkPath string) (string, error)
- func (p *Idmap2Proxy) GetIdmapPath(ctx context.Context, overlayApkPath string) (string, error)
- func (p *Idmap2Proxy) NextFabricatedOverlayInfos(ctx context.Context, iteratorId int32) ([]FabricatedOverlayInfo, error)
- func (p *Idmap2Proxy) ReleaseFabricatedOverlayIterator(ctx context.Context, iteratorId int32) error
- func (p *Idmap2Proxy) RemoveIdmap(ctx context.Context, overlayApkPath string) (bool, error)
- func (p *Idmap2Proxy) VerifyIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, ...) (bool, error)
- type Idmap2Stub
- type IncidentAuthListenerProxy
- type IncidentAuthListenerStub
- type IncidentCompanionProxy
- func (p *IncidentCompanionProxy) ApproveReport(ctx context.Context, uri string) error
- func (p *IncidentCompanionProxy) AsBinder() binder.IBinder
- func (p *IncidentCompanionProxy) AuthorizeReport(ctx context.Context, receiverClass string, reportId string, flags int32, ...) error
- func (p *IncidentCompanionProxy) CancelAuthorization(ctx context.Context, callback IIncidentAuthListener) error
- func (p *IncidentCompanionProxy) DeleteAllIncidentReports(ctx context.Context, pkg string) error
- func (p *IncidentCompanionProxy) DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
- func (p *IncidentCompanionProxy) DenyReport(ctx context.Context, uri string) error
- func (p *IncidentCompanionProxy) GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
- func (p *IncidentCompanionProxy) GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
- func (p *IncidentCompanionProxy) GetPendingReports(ctx context.Context) ([]string, error)
- func (p *IncidentCompanionProxy) SendReportReadyBroadcast(ctx context.Context, pkg string, cls string) error
- type IncidentCompanionStub
- type IncidentDumpCallbackProxy
- type IncidentDumpCallbackStub
- type IncidentManagerIncidentReport
- type IncidentManagerProxy
- func (p *IncidentManagerProxy) AsBinder() binder.IBinder
- func (p *IncidentManagerProxy) DeleteAllIncidentReports(ctx context.Context, pkg string) error
- func (p *IncidentManagerProxy) DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
- func (p *IncidentManagerProxy) GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
- func (p *IncidentManagerProxy) GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
- func (p *IncidentManagerProxy) RegisterSection(ctx context.Context, id int32, name string, callback IIncidentDumpCallback) error
- func (p *IncidentManagerProxy) ReportIncident(ctx context.Context, args IncidentReportArgs) error
- func (p *IncidentManagerProxy) ReportIncidentToDumpstate(ctx context.Context, stream int32, listener IIncidentReportStatusListener) error
- func (p *IncidentManagerProxy) ReportIncidentToStream(ctx context.Context, args IncidentReportArgs, ...) error
- func (p *IncidentManagerProxy) SystemRunning(ctx context.Context) error
- func (p *IncidentManagerProxy) UnregisterSection(ctx context.Context, id int32) error
- type IncidentManagerStub
- type IncidentReportArgs
- type IncidentReportStatusListenerProxy
- func (p *IncidentReportStatusListenerProxy) AsBinder() binder.IBinder
- func (p *IncidentReportStatusListenerProxy) OnReportFailed(ctx context.Context) error
- func (p *IncidentReportStatusListenerProxy) OnReportFinished(ctx context.Context) error
- func (p *IncidentReportStatusListenerProxy) OnReportSectionStatus(ctx context.Context, section int32, status int32) error
- func (p *IncidentReportStatusListenerProxy) OnReportStarted(ctx context.Context) error
- type IncidentReportStatusListenerStub
- type InputChannelCore
- type InputConfig
- type InputConstantsProxy
- type InputConstantsStub
- type InputEventInjectionResult
- type InputEventInjectionSync
- type InputFlingerProxy
- func (p *InputFlingerProxy) AsBinder() binder.IBinder
- func (p *InputFlingerProxy) CreateInputChannel(ctx context.Context, name string) (InputChannelCore, error)
- func (p *InputFlingerProxy) RemoveInputChannel(ctx context.Context, connectionToken binder.IBinder) error
- func (p *InputFlingerProxy) SetFocusedWindow(ctx context.Context, request gui.FocusRequest) error
- type InputFlingerStub
- type InstalldIFsveritySetupAuthTokenProxy
- type InstalldIFsveritySetupAuthTokenStub
- type InstalldProxy
- func (p *InstalldProxy) AsBinder() binder.IBinder
- func (p *InstalldProxy) CleanupInvalidPackageDirs(ctx context.Context, uuid string, flags int32) error
- func (p *InstalldProxy) ClearAppData(ctx context.Context, uuid string, packageName string, flags int32, ...) error
- func (p *InstalldProxy) ClearAppProfiles(ctx context.Context, packageName string, profileName string) error
- func (p *InstalldProxy) ControlDexOptBlocking(ctx context.Context, block bool) error
- func (p *InstalldProxy) CopySystemProfile(ctx context.Context, systemProfile string, uid int32, packageName string, ...) (bool, error)
- func (p *InstalldProxy) CreateAppData(ctx context.Context, args CreateAppDataArgs) (CreateAppDataResult, error)
- func (p *InstalldProxy) CreateAppDataBatched(ctx context.Context, args []CreateAppDataArgs) ([]CreateAppDataResult, error)
- func (p *InstalldProxy) CreateFsveritySetupAuthToken(ctx context.Context, authFd int32, uid int32) (IInstalldIFsveritySetupAuthToken, error)
- func (p *InstalldProxy) CreateOatDir(ctx context.Context, packageName string, oatDir string, instructionSet string) error
- func (p *InstalldProxy) CreateProfileSnapshot(ctx context.Context, appId int32, packageName string, profileName string, ...) (bool, error)
- func (p *InstalldProxy) CreateUserData(ctx context.Context, uuid string, userSerial int32, flags int32) error
- func (p *InstalldProxy) DeleteOdex(ctx context.Context, packageName string, apkPath string, instructionSet string, ...) (int64, error)
- func (p *InstalldProxy) DeleteReferenceProfile(ctx context.Context, packageName string, profileName string) error
- func (p *InstalldProxy) DestroyAppData(ctx context.Context, uuid string, packageName string, flags int32, ...) error
- func (p *InstalldProxy) DestroyAppDataSnapshot(ctx context.Context, uuid string, packageName string, ceSnapshotInode int64, ...) error
- func (p *InstalldProxy) DestroyAppProfiles(ctx context.Context, packageName string) error
- func (p *InstalldProxy) DestroyCeSnapshotsNotSpecified(ctx context.Context, uuid string, retainSnapshotIds []int32) error
- func (p *InstalldProxy) DestroyProfileSnapshot(ctx context.Context, packageName string, profileName string) error
- func (p *InstalldProxy) DestroyUserData(ctx context.Context, uuid string, flags int32) error
- func (p *InstalldProxy) Dexopt(ctx context.Context, apkPath string, uid int32, packageName string, ...) (bool, error)
- func (p *InstalldProxy) DumpProfiles(ctx context.Context, uid int32, packageName string, profileName string, ...) (bool, error)
- func (p *InstalldProxy) EnableFsverity(ctx context.Context, authToken IInstalldIFsveritySetupAuthToken, ...) (int32, error)
- func (p *InstalldProxy) FixupAppData(ctx context.Context, uuid string, flags int32) error
- func (p *InstalldProxy) FreeCache(ctx context.Context, uuid string, targetFreeBytes int64, flags int32) error
- func (p *InstalldProxy) GetAppCrates(ctx context.Context, uuid string, packageNames []string) ([]storage.CrateMetadata, error)
- func (p *InstalldProxy) GetAppSize(ctx context.Context, uuid string, packageNames []string, flags int32, ...) ([]int64, error)
- func (p *InstalldProxy) GetExternalSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
- func (p *InstalldProxy) GetOdexVisibility(ctx context.Context, packageName string, apkPath string, instructionSet string, ...) (int32, error)
- func (p *InstalldProxy) GetUserCrates(ctx context.Context, uuid string) ([]storage.CrateMetadata, error)
- func (p *InstalldProxy) GetUserSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
- func (p *InstalldProxy) HashSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, ...) ([]byte, error)
- func (p *InstalldProxy) InvalidateMounts(ctx context.Context) error
- func (p *InstalldProxy) IsQuotaSupported(ctx context.Context, uuid string) (bool, error)
- func (p *InstalldProxy) LinkFile(ctx context.Context, packageName string, relativePath string, fromBase string, ...) error
- func (p *InstalldProxy) LinkNativeLibraryDirectory(ctx context.Context, uuid string, packageName string, nativeLibPath32 string) error
- func (p *InstalldProxy) MergeProfiles(ctx context.Context, uid int32, packageName string, profileName string) (int32, error)
- func (p *InstalldProxy) MigrateAppData(ctx context.Context, uuid string, packageName string, flags int32) error
- func (p *InstalldProxy) MigrateLegacyObbData(ctx context.Context) error
- func (p *InstalldProxy) MoveAb(ctx context.Context, packageName string, apkPath string, instructionSet string, ...) error
- func (p *InstalldProxy) MoveCompleteApp(ctx context.Context, fromUuid string, toUuid string, packageName string, ...) error
- func (p *InstalldProxy) OnPrivateVolumeRemoved(ctx context.Context, volumeUuid string) error
- func (p *InstalldProxy) PrepareAppProfile(ctx context.Context, packageName string, appId int32, profileName string, ...) (bool, error)
- func (p *InstalldProxy) ReconcileSdkData(ctx context.Context, args ReconcileSdkDataArgs) error
- func (p *InstalldProxy) ReconcileSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, isas []string, ...) (bool, error)
- func (p *InstalldProxy) RestoreAppDataSnapshot(ctx context.Context, uuid string, packageName string, appId int32, ...) error
- func (p *InstalldProxy) RestoreconAppData(ctx context.Context, uuid string, packageName string, flags int32, appId int32, ...) error
- func (p *InstalldProxy) RmPackageDir(ctx context.Context, packageName string, packageDir string) error
- func (p *InstalldProxy) Rmdex(ctx context.Context, codePath string, instructionSet string) error
- func (p *InstalldProxy) SetAppQuota(ctx context.Context, uuid string, appId int32, cacheQuota int64) error
- func (p *InstalldProxy) SetFirstBoot(ctx context.Context) error
- func (p *InstalldProxy) SnapshotAppData(ctx context.Context, uuid string, packageName string, snapshotId int32, ...) (int64, error)
- func (p *InstalldProxy) TryMountDataMirror(ctx context.Context, volumeUuid string) error
- type InstalldStub
- type LocaleList
- type Message
- type Messenger
- type MessengerProxy
- type MessengerStub
- type NetworkManagementServiceProxy
- func (p *NetworkManagementServiceProxy) AllowProtect(ctx context.Context, uid int32) error
- func (p *NetworkManagementServiceProxy) AsBinder() binder.IBinder
- func (p *NetworkManagementServiceProxy) ClearInterfaceAddresses(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) DenyProtect(ctx context.Context, uid int32) error
- func (p *NetworkManagementServiceProxy) DisableIpv6(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) DisableNat(ctx context.Context, internalInterface string, externalInterface string) error
- func (p *NetworkManagementServiceProxy) EnableIpv6(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) EnableNat(ctx context.Context, internalInterface string, externalInterface string) error
- func (p *NetworkManagementServiceProxy) GetInterfaceConfig(ctx context.Context, iface string) (net.InterfaceConfiguration, error)
- func (p *NetworkManagementServiceProxy) GetIpForwardingEnabled(ctx context.Context) (bool, error)
- func (p *NetworkManagementServiceProxy) IsBandwidthControlEnabled(ctx context.Context) (bool, error)
- func (p *NetworkManagementServiceProxy) IsFirewallEnabled(ctx context.Context) (bool, error)
- func (p *NetworkManagementServiceProxy) IsNetworkRestricted(ctx context.Context, uid int32) (bool, error)
- func (p *NetworkManagementServiceProxy) IsTetheringStarted(ctx context.Context) (bool, error)
- func (p *NetworkManagementServiceProxy) ListInterfaces(ctx context.Context) ([]string, error)
- func (p *NetworkManagementServiceProxy) ListTetheredInterfaces(ctx context.Context) ([]string, error)
- func (p *NetworkManagementServiceProxy) RegisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
- func (p *NetworkManagementServiceProxy) RemoveInterfaceAlert(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) RemoveInterfaceQuota(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) SetDataSaverModeEnabled(ctx context.Context, enable bool) (bool, error)
- func (p *NetworkManagementServiceProxy) SetFirewallChainEnabled(ctx context.Context, chain int32, enable bool) error
- func (p *NetworkManagementServiceProxy) SetFirewallEnabled(ctx context.Context, enabled bool) error
- func (p *NetworkManagementServiceProxy) SetFirewallUidRule(ctx context.Context, chain int32, uid int32, rule int32) error
- func (p *NetworkManagementServiceProxy) SetFirewallUidRules(ctx context.Context, chain int32, uids []int32, rules []int32) error
- func (p *NetworkManagementServiceProxy) SetIPv6AddrGenMode(ctx context.Context, iface string, mode int32) error
- func (p *NetworkManagementServiceProxy) SetInterfaceAlert(ctx context.Context, iface string, alertBytes int64) error
- func (p *NetworkManagementServiceProxy) SetInterfaceConfig(ctx context.Context, iface string, cfg net.InterfaceConfiguration) error
- func (p *NetworkManagementServiceProxy) SetInterfaceDown(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) SetInterfaceIpv6PrivacyExtensions(ctx context.Context, iface string, enable bool) error
- func (p *NetworkManagementServiceProxy) SetInterfaceQuota(ctx context.Context, iface string, quotaBytes int64) error
- func (p *NetworkManagementServiceProxy) SetInterfaceUp(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) SetIpForwardingEnabled(ctx context.Context, enabled bool) error
- func (p *NetworkManagementServiceProxy) SetUidCleartextNetworkPolicy(ctx context.Context, uid int32, policy int32) error
- func (p *NetworkManagementServiceProxy) SetUidOnMeteredNetworkAllowlist(ctx context.Context, uid int32, enable bool) error
- func (p *NetworkManagementServiceProxy) SetUidOnMeteredNetworkDenylist(ctx context.Context, uid int32, enable bool) error
- func (p *NetworkManagementServiceProxy) Shutdown(ctx context.Context) error
- func (p *NetworkManagementServiceProxy) StartTethering(ctx context.Context, dhcpRanges []string) error
- func (p *NetworkManagementServiceProxy) StopTethering(ctx context.Context) error
- func (p *NetworkManagementServiceProxy) TetherInterface(ctx context.Context, iface string) error
- func (p *NetworkManagementServiceProxy) UnregisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
- func (p *NetworkManagementServiceProxy) UntetherInterface(ctx context.Context, iface string) error
- type NetworkManagementServiceStub
- type OverlayablePolicy
- type PackageTagsList
- type ParcelDuration
- type ParcelUuid
- type ParcelableException
- type ParcelableParcel
- type PatternMatcher
- type PermissionControllerProxy
- func (p *PermissionControllerProxy) AsBinder() binder.IBinder
- func (p *PermissionControllerProxy) CheckPermission(ctx context.Context, permission string, pid int32, uid int32) (bool, error)
- func (p *PermissionControllerProxy) GetPackageUid(ctx context.Context, packageName string, flags int32) (int32, error)
- func (p *PermissionControllerProxy) GetPackagesForUid(ctx context.Context, uid int32) ([]string, error)
- func (p *PermissionControllerProxy) IsRuntimePermission(ctx context.Context, permission string) (bool, error)
- func (p *PermissionControllerProxy) NoteOp(ctx context.Context, op string, uid int32, packageName string) (int32, error)
- type PermissionControllerStub
- type PersistableBundle
- type PowerManagerProxy
- func (p *PowerManagerProxy) AcquireLowPowerStandbyPorts(ctx context.Context, token binder.IBinder, ...) error
- func (p *PowerManagerProxy) AcquireWakeLock(ctx context.Context, lock binder.IBinder, flags int32, tag string, ...) error
- func (p *PowerManagerProxy) AcquireWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32, tag string, ...) error
- func (p *PowerManagerProxy) AcquireWakeLockWithUid(ctx context.Context, lock binder.IBinder, flags int32, tag string, ...) error
- func (p *PowerManagerProxy) AreAutoPowerSaveModesEnabled(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) AsBinder() binder.IBinder
- func (p *PowerManagerProxy) BoostScreenBrightness(ctx context.Context, time int64) error
- func (p *PowerManagerProxy) Crash(ctx context.Context, message string) error
- func (p *PowerManagerProxy) ForceLowPowerStandbyActive(ctx context.Context, active bool) error
- func (p *PowerManagerProxy) ForceSuspend(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) GetActiveLowPowerStandbyPorts(ctx context.Context) ([]IPowerManagerLowPowerStandbyPortDescription, error)
- func (p *PowerManagerProxy) GetBatteryDischargePrediction(ctx context.Context) (ParcelDuration, error)
- func (p *PowerManagerProxy) GetBrightnessConstraint(ctx context.Context, constraint int32) (float32, error)
- func (p *PowerManagerProxy) GetFullPowerSavePolicy(ctx context.Context) (BatterySaverPolicyConfig, error)
- func (p *PowerManagerProxy) GetLastShutdownReason(ctx context.Context) (int32, error)
- func (p *PowerManagerProxy) GetLastSleepReason(ctx context.Context) (int32, error)
- func (p *PowerManagerProxy) GetLowPowerStandbyPolicy(ctx context.Context) (IPowerManagerLowPowerStandbyPolicy, error)
- func (p *PowerManagerProxy) GetPowerSaveModeTrigger(ctx context.Context) (int32, error)
- func (p *PowerManagerProxy) GetPowerSaveState(ctx context.Context, serviceType int32) (PowerSaveState, error)
- func (p *PowerManagerProxy) GoToSleep(ctx context.Context, time int64, reason int32, flags int32) error
- func (p *PowerManagerProxy) GoToSleepWithDisplayId(ctx context.Context, displayId int32, time int64, reason int32, flags int32) error
- func (p *PowerManagerProxy) IsAmbientDisplayAvailable(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsAmbientDisplaySuppressed(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsAmbientDisplaySuppressedForToken(ctx context.Context, token string) (bool, error)
- func (p *PowerManagerProxy) IsAmbientDisplaySuppressedForTokenByApp(ctx context.Context, token string) (bool, error)
- func (p *PowerManagerProxy) IsBatteryDischargePredictionPersonalized(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsBatterySaverSupported(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsDeviceIdleMode(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsDisplayInteractive(ctx context.Context, displayId int32) (bool, error)
- func (p *PowerManagerProxy) IsExemptFromLowPowerStandby(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsFeatureAllowedInLowPowerStandby(ctx context.Context, feature string) (bool, error)
- func (p *PowerManagerProxy) IsInteractive(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsLightDeviceIdleMode(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsLowPowerStandbyEnabled(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsLowPowerStandbySupported(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsPowerSaveMode(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsReasonAllowedInLowPowerStandby(ctx context.Context, reason int32) (bool, error)
- func (p *PowerManagerProxy) IsScreenBrightnessBoosted(ctx context.Context) (bool, error)
- func (p *PowerManagerProxy) IsWakeLockLevelSupported(ctx context.Context, level int32) (bool, error)
- func (p *PowerManagerProxy) Nap(ctx context.Context, time int64) error
- func (p *PowerManagerProxy) Reboot(ctx context.Context, confirm bool, reason string, wait bool) error
- func (p *PowerManagerProxy) RebootSafeMode(ctx context.Context, confirm bool, wait bool) error
- func (p *PowerManagerProxy) ReleaseLowPowerStandbyPorts(ctx context.Context, token binder.IBinder) error
- func (p *PowerManagerProxy) ReleaseWakeLock(ctx context.Context, lock binder.IBinder, flags int32) error
- func (p *PowerManagerProxy) ReleaseWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32) error
- func (p *PowerManagerProxy) SetAdaptivePowerSaveEnabled(ctx context.Context, enabled bool) (bool, error)
- func (p *PowerManagerProxy) SetAdaptivePowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
- func (p *PowerManagerProxy) SetAttentionLight(ctx context.Context, on bool, color int32) error
- func (p *PowerManagerProxy) SetBatteryDischargePrediction(ctx context.Context, timeRemaining ParcelDuration, isCustomized bool) error
- func (p *PowerManagerProxy) SetDozeAfterScreenOff(ctx context.Context, on bool) error
- func (p *PowerManagerProxy) SetDynamicPowerSaveHint(ctx context.Context, powerSaveHint bool, disableThreshold int32) (bool, error)
- func (p *PowerManagerProxy) SetFullPowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
- func (p *PowerManagerProxy) SetLowPowerStandbyActiveDuringMaintenance(ctx context.Context, activeDuringMaintenance bool) error
- func (p *PowerManagerProxy) SetLowPowerStandbyEnabled(ctx context.Context, enabled bool) error
- func (p *PowerManagerProxy) SetLowPowerStandbyPolicy(ctx context.Context, policy *IPowerManagerLowPowerStandbyPolicy) error
- func (p *PowerManagerProxy) SetPowerBoost(ctx context.Context, boost int32, durationMs int32) error
- func (p *PowerManagerProxy) SetPowerMode(ctx context.Context, mode int32, enabled bool) error
- func (p *PowerManagerProxy) SetPowerModeChecked(ctx context.Context, mode int32, enabled bool) (bool, error)
- func (p *PowerManagerProxy) SetPowerSaveModeEnabled(ctx context.Context, mode bool) (bool, error)
- func (p *PowerManagerProxy) SetStayOnSetting(ctx context.Context, val int32) error
- func (p *PowerManagerProxy) Shutdown(ctx context.Context, confirm bool, reason string, wait bool) error
- func (p *PowerManagerProxy) SuppressAmbientDisplay(ctx context.Context, token string, suppress bool) error
- func (p *PowerManagerProxy) UpdateWakeLockCallback(ctx context.Context, lock binder.IBinder, callback IWakeLockCallback) error
- func (p *PowerManagerProxy) UpdateWakeLockUids(ctx context.Context, lock binder.IBinder, uids []int32) error
- func (p *PowerManagerProxy) UpdateWakeLockUidsAsync(ctx context.Context, lock binder.IBinder, uids []int32) error
- func (p *PowerManagerProxy) UpdateWakeLockWorkSource(ctx context.Context, lock binder.IBinder, ws WorkSource, historyTag string) error
- func (p *PowerManagerProxy) UserActivity(ctx context.Context, displayId int32, time int64, event int32, flags int32) error
- func (p *PowerManagerProxy) WakeUp(ctx context.Context, time int64, reason int32, details string) error
- type PowerManagerStub
- type PowerMonitor
- type PowerSaveState
- type PowerStatsServiceProxy
- type PowerStatsServiceStub
- type ProcessInfoServiceProxy
- func (p *ProcessInfoServiceProxy) AsBinder() binder.IBinder
- func (p *ProcessInfoServiceProxy) GetProcessStatesAndOomScoresFromPids(ctx context.Context, pids []int32, states []int32, scores []int32) error
- func (p *ProcessInfoServiceProxy) GetProcessStatesFromPids(ctx context.Context, pids []int32, states []int32) error
- type ProcessInfoServiceStub
- type ProgressListenerProxy
- func (p *ProgressListenerProxy) AsBinder() binder.IBinder
- func (p *ProgressListenerProxy) OnFinished(ctx context.Context, id int32, extras Bundle) error
- func (p *ProgressListenerProxy) OnProgress(ctx context.Context, id int32, progress int32, extras Bundle) error
- func (p *ProgressListenerProxy) OnStarted(ctx context.Context, id int32, extras Bundle) error
- type ProgressListenerStub
- type ReconcileSdkDataArgs
- type RecoverySystemProgressListenerProxy
- type RecoverySystemProgressListenerStub
- type RecoverySystemProxy
- func (p *RecoverySystemProxy) AllocateSpaceForUpdate(ctx context.Context, packageFilePath string) (bool, error)
- func (p *RecoverySystemProxy) AsBinder() binder.IBinder
- func (p *RecoverySystemProxy) ClearBcb(ctx context.Context) (bool, error)
- func (p *RecoverySystemProxy) ClearLskf(ctx context.Context, packageName string) (bool, error)
- func (p *RecoverySystemProxy) IsLskfCaptured(ctx context.Context, packageName string) (bool, error)
- func (p *RecoverySystemProxy) RebootRecoveryWithCommand(ctx context.Context, command string) error
- func (p *RecoverySystemProxy) RebootWithLskf(ctx context.Context, packageName string, reason string, slotSwitch bool) (int32, error)
- func (p *RecoverySystemProxy) RebootWithLskfAssumeSlotSwitch(ctx context.Context, packageName string, reason string) (int32, error)
- func (p *RecoverySystemProxy) RequestLskf(ctx context.Context, packageName string, sender types.IntentSender) (bool, error)
- func (p *RecoverySystemProxy) SetupBcb(ctx context.Context, command string) (bool, error)
- func (p *RecoverySystemProxy) Uncrypt(ctx context.Context, packageFile string, ...) (bool, error)
- type RecoverySystemStub
- type RemoteCallback
- type RemoteCallbackProxy
- type RemoteCallbackStub
- type ResultReceiver
- type SchedulingPolicyServiceProxy
- func (p *SchedulingPolicyServiceProxy) AsBinder() binder.IBinder
- func (p *SchedulingPolicyServiceProxy) RequestCpusetBoost(ctx context.Context, enable bool, client binder.IBinder) (int32, error)
- func (p *SchedulingPolicyServiceProxy) RequestPriority(ctx context.Context, pid int32, tid int32, prio int32, isForApp bool) (int32, error)
- type SchedulingPolicyServiceStub
- type SecurityStateManagerProxy
- type SecurityStateManagerStub
- type ServiceCallbackProxy
- type ServiceCallbackStub
- type ServiceDebugInfo
- type ServiceManagerProxy
- func (p *ServiceManagerProxy) AddService(ctx context.Context, name string, service binder.IBinder, allowIsolated bool, ...) error
- func (p *ServiceManagerProxy) AsBinder() binder.IBinder
- func (p *ServiceManagerProxy) CheckService(ctx context.Context, name string) (binder.IBinder, error)
- func (p *ServiceManagerProxy) GetConnectionInfo(ctx context.Context, name string) (ConnectionInfo, error)
- func (p *ServiceManagerProxy) GetDeclaredInstances(ctx context.Context, iface string) ([]string, error)
- func (p *ServiceManagerProxy) GetService(ctx context.Context, name string) (binder.IBinder, error)
- func (p *ServiceManagerProxy) GetServiceDebugInfo(ctx context.Context) ([]ServiceDebugInfo, error)
- func (p *ServiceManagerProxy) GetUpdatableNames(ctx context.Context, apexName string) ([]string, error)
- func (p *ServiceManagerProxy) IsDeclared(ctx context.Context, name string) (bool, error)
- func (p *ServiceManagerProxy) ListServices(ctx context.Context, dumpPriority int32) ([]string, error)
- func (p *ServiceManagerProxy) RegisterClientCallback(ctx context.Context, name string, service binder.IBinder, ...) error
- func (p *ServiceManagerProxy) RegisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
- func (p *ServiceManagerProxy) TryUnregisterService(ctx context.Context, name string, service binder.IBinder) error
- func (p *ServiceManagerProxy) UnregisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
- func (p *ServiceManagerProxy) UpdatableViaApex(ctx context.Context, name string) (string, error)
- type ServiceManagerStub
- type SharedMemory
- type SomeServiceProxy
- type SomeServiceStub
- type StatsBootstrapAtom
- type StatsBootstrapAtomServiceProxy
- type StatsBootstrapAtomServiceStub
- type StatsBootstrapAtomValue
- func (u *StatsBootstrapAtomValue) GetBoolValue() (bool, bool)
- func (u *StatsBootstrapAtomValue) GetBytesValue() ([]byte, bool)
- func (u *StatsBootstrapAtomValue) GetFloatValue() (float32, bool)
- func (u *StatsBootstrapAtomValue) GetIntValue() (int32, bool)
- func (u *StatsBootstrapAtomValue) GetLongValue() (int64, bool)
- func (u *StatsBootstrapAtomValue) GetStringValue() (string, bool)
- func (u *StatsBootstrapAtomValue) MarshalParcel(p *parcel.Parcel) error
- func (u *StatsBootstrapAtomValue) SetBoolValue(v bool)
- func (u *StatsBootstrapAtomValue) SetBytesValue(v []byte)
- func (u *StatsBootstrapAtomValue) SetFloatValue(v float32)
- func (u *StatsBootstrapAtomValue) SetIntValue(v int32)
- func (u *StatsBootstrapAtomValue) SetLongValue(v int64)
- func (u *StatsBootstrapAtomValue) SetStringValue(v string)
- func (u *StatsBootstrapAtomValue) UnmarshalParcel(p *parcel.Parcel) error
- type StrictModeViolationInfo
- type SystemConfigProxy
- func (p *SystemConfigProxy) AsBinder() binder.IBinder
- func (p *SystemConfigProxy) GetDefaultVrComponents(ctx context.Context) ([]types.ComponentName, error)
- func (p *SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierApps(ctx context.Context) ([]string, error)
- func (p *SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries(ctx context.Context) (map[any]any, error)
- func (p *SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierAssociatedApps(ctx context.Context) (map[any]any, error)
- func (p *SystemConfigProxy) GetEnabledComponentOverrides(ctx context.Context, packageName string) ([]types.ComponentName, error)
- func (p *SystemConfigProxy) GetEnhancedConfirmationTrustedInstallers(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
- func (p *SystemConfigProxy) GetEnhancedConfirmationTrustedPackages(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
- func (p *SystemConfigProxy) GetPreventUserDisablePackages(ctx context.Context) ([]string, error)
- func (p *SystemConfigProxy) GetSystemPermissionUids(ctx context.Context, permissionName string) ([]int32, error)
- type SystemConfigStub
- type SystemUpdateManagerProxy
- type SystemUpdateManagerStub
- type Temperature
- type ThermalEventListenerProxy
- type ThermalEventListenerStub
- type ThermalServiceProxy
- func (p *ThermalServiceProxy) AsBinder() binder.IBinder
- func (p *ThermalServiceProxy) GetCurrentCoolingDevices(ctx context.Context) ([]CoolingDevice, error)
- func (p *ThermalServiceProxy) GetCurrentCoolingDevicesWithType(ctx context.Context, type_ int32) ([]CoolingDevice, error)
- func (p *ThermalServiceProxy) GetCurrentTemperatures(ctx context.Context) ([]Temperature, error)
- func (p *ThermalServiceProxy) GetCurrentTemperaturesWithType(ctx context.Context, type_ int32) ([]Temperature, error)
- func (p *ThermalServiceProxy) GetCurrentThermalStatus(ctx context.Context) (int32, error)
- func (p *ThermalServiceProxy) GetThermalHeadroom(ctx context.Context, forecastSeconds int32) (float32, error)
- func (p *ThermalServiceProxy) GetThermalHeadroomThresholds(ctx context.Context) ([]float32, error)
- func (p *ThermalServiceProxy) RegisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
- func (p *ThermalServiceProxy) RegisterThermalEventListenerWithType(ctx context.Context, listener IThermalEventListener, type_ int32) (bool, error)
- func (p *ThermalServiceProxy) RegisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
- func (p *ThermalServiceProxy) UnregisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
- func (p *ThermalServiceProxy) UnregisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
- type ThermalServiceStub
- type ThermalStatusListenerProxy
- type ThermalStatusListenerStub
- type UpdateLockProxy
- type UpdateLockStub
- type UserHandle
- type UserManagerEnforcingUser
- type UserManagerProxy
- func (p *UserManagerProxy) AddUserRestrictionsListener(ctx context.Context, listener IUserRestrictionsListener) error
- func (p *UserManagerProxy) AsBinder() binder.IBinder
- func (p *UserManagerProxy) CanAddMoreManagedProfiles(ctx context.Context, allowedToRemoveOne bool) (bool, error)
- func (p *UserManagerProxy) CanAddMoreProfilesToUser(ctx context.Context, userType string, allowedToRemoveOne bool) (bool, error)
- func (p *UserManagerProxy) CanAddMoreUsersOfType(ctx context.Context, userType string) (bool, error)
- func (p *UserManagerProxy) CanHaveRestrictedProfile(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) ClearSeedAccountData(ctx context.Context) error
- func (p *UserManagerProxy) CreateProfileForUserEvenWhenDisallowedWithThrow(ctx context.Context, name string, userType string, flags int32, ...) (types.UserInfo, error)
- func (p *UserManagerProxy) CreateProfileForUserWithThrow(ctx context.Context, name string, userType string, flags int32, ...) (types.UserInfo, error)
- func (p *UserManagerProxy) CreateRestrictedProfileWithThrow(ctx context.Context, name string, parentUserHandle int32) (types.UserInfo, error)
- func (p *UserManagerProxy) CreateUserWithAttributes(ctx context.Context, userName string, userType string, flags int32, ...) (UserHandle, error)
- func (p *UserManagerProxy) CreateUserWithThrow(ctx context.Context, name string, userType string, flags int32) (types.UserInfo, error)
- func (p *UserManagerProxy) EvictCredentialEncryptionKey(ctx context.Context) error
- func (p *UserManagerProxy) GetApplicationRestrictions(ctx context.Context, packageName string) (Bundle, error)
- func (p *UserManagerProxy) GetApplicationRestrictionsForUser(ctx context.Context, packageName string) (Bundle, error)
- func (p *UserManagerProxy) GetBootUser(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetCommunalProfileId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetCredentialOwnerProfile(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetDefaultGuestRestrictions(ctx context.Context) (Bundle, error)
- func (p *UserManagerProxy) GetGuestUsers(ctx context.Context) ([]types.UserInfo, error)
- func (p *UserManagerProxy) GetMainDisplayIdAssignedToUser(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetMainUserId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetPreInstallableSystemPackages(ctx context.Context, userType string) ([]string, error)
- func (p *UserManagerProxy) GetPreviousFullUserToEnterForeground(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetPrimaryUser(ctx context.Context) (types.UserInfo, error)
- func (p *UserManagerProxy) GetProfileIds(ctx context.Context, enabledOnly bool) ([]int32, error)
- func (p *UserManagerProxy) GetProfileIdsExcludingHidden(ctx context.Context, enabledOnly bool) ([]int32, error)
- func (p *UserManagerProxy) GetProfileLabelResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetProfileParent(ctx context.Context) (types.UserInfo, error)
- func (p *UserManagerProxy) GetProfileParentId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetProfileType(ctx context.Context) (string, error)
- func (p *UserManagerProxy) GetProfiles(ctx context.Context, enabledOnly bool) ([]types.UserInfo, error)
- func (p *UserManagerProxy) GetRemainingCreatableProfileCount(ctx context.Context, userType string) (int32, error)
- func (p *UserManagerProxy) GetRemainingCreatableUserCount(ctx context.Context, userType string) (int32, error)
- func (p *UserManagerProxy) GetSeedAccountName(ctx context.Context) (string, error)
- func (p *UserManagerProxy) GetSeedAccountOptions(ctx context.Context) (PersistableBundle, error)
- func (p *UserManagerProxy) GetSeedAccountType(ctx context.Context) (string, error)
- func (p *UserManagerProxy) GetUserAccount(ctx context.Context) (string, error)
- func (p *UserManagerProxy) GetUserBadgeColorResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserBadgeDarkColorResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserBadgeLabelResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserBadgeNoBackgroundResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserBadgeResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserCreationTime(ctx context.Context) (int64, error)
- func (p *UserManagerProxy) GetUserHandle(ctx context.Context, userSerialNumber int32) (int32, error)
- func (p *UserManagerProxy) GetUserIcon(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserIconBadgeResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserInfo(ctx context.Context) (types.UserInfo, error)
- func (p *UserManagerProxy) GetUserName(ctx context.Context) (string, error)
- func (p *UserManagerProxy) GetUserPropertiesCopy(ctx context.Context) (types.UserProperties, error)
- func (p *UserManagerProxy) GetUserRestrictionSource(ctx context.Context, restrictionKey string) (int32, error)
- func (p *UserManagerProxy) GetUserRestrictionSources(ctx context.Context, restrictionKey string) ([]UserManagerEnforcingUser, error)
- func (p *UserManagerProxy) GetUserRestrictions(ctx context.Context) (Bundle, error)
- func (p *UserManagerProxy) GetUserSerialNumber(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserStartRealtime(ctx context.Context) (int64, error)
- func (p *UserManagerProxy) GetUserStatusBarIconResId(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserSwitchability(ctx context.Context) (int32, error)
- func (p *UserManagerProxy) GetUserUnlockRealtime(ctx context.Context) (int64, error)
- func (p *UserManagerProxy) GetUsers(ctx context.Context, excludePartial bool, excludeDying bool, ...) ([]types.UserInfo, error)
- func (p *UserManagerProxy) GetVisibleUsers(ctx context.Context) ([]int32, error)
- func (p *UserManagerProxy) HasBadge(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) HasBaseUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
- func (p *UserManagerProxy) HasRestrictedProfiles(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) HasUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
- func (p *UserManagerProxy) HasUserRestrictionOnAnyUser(ctx context.Context, restrictionKey string) (bool, error)
- func (p *UserManagerProxy) IsAdminUser(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsDemoUser(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsForegroundUserAdmin(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsHeadlessSystemUserMode(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsPreCreated(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsQuietModeEnabled(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsRestricted(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsSameProfileGroup(ctx context.Context, otherUserHandle int32) (bool, error)
- func (p *UserManagerProxy) IsSettingRestrictedForUser(ctx context.Context, setting string, value string) (bool, error)
- func (p *UserManagerProxy) IsUserForeground(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsUserNameSet(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsUserOfType(ctx context.Context, userType string) (bool, error)
- func (p *UserManagerProxy) IsUserRunning(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsUserSwitcherEnabled(ctx context.Context, showEvenIfNotActionable bool, mUserId int32) (bool, error)
- func (p *UserManagerProxy) IsUserTypeEnabled(ctx context.Context, userType string) (bool, error)
- func (p *UserManagerProxy) IsUserUnlocked(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsUserUnlockingOrUnlocked(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) IsUserVisible(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) MarkGuestForDeletion(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) PreCreateUserWithThrow(ctx context.Context, userType string) (types.UserInfo, error)
- func (p *UserManagerProxy) RemoveUser(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) RemoveUserEvenWhenDisallowed(ctx context.Context) (bool, error)
- func (p *UserManagerProxy) RemoveUserWhenPossible(ctx context.Context, overrideDevicePolicy bool) (int32, error)
- func (p *UserManagerProxy) RequestQuietModeEnabled(ctx context.Context, enableQuietMode bool, target contentTypes.IntentSender, ...) (bool, error)
- func (p *UserManagerProxy) RevokeUserAdmin(ctx context.Context) error
- func (p *UserManagerProxy) SetApplicationRestrictions(ctx context.Context, packageName string, restrictions Bundle) error
- func (p *UserManagerProxy) SetBootUser(ctx context.Context) error
- func (p *UserManagerProxy) SetDefaultGuestRestrictions(ctx context.Context, restrictions Bundle) error
- func (p *UserManagerProxy) SetSeedAccountData(ctx context.Context, accountName string, accountType string, ...) error
- func (p *UserManagerProxy) SetUserAccount(ctx context.Context, accountName string) error
- func (p *UserManagerProxy) SetUserAdmin(ctx context.Context) error
- func (p *UserManagerProxy) SetUserEnabled(ctx context.Context) error
- func (p *UserManagerProxy) SetUserEphemeral(ctx context.Context, enableEphemeral bool) (bool, error)
- func (p *UserManagerProxy) SetUserIcon(ctx context.Context, icon graphics.Bitmap) error
- func (p *UserManagerProxy) SetUserName(ctx context.Context, name string) error
- func (p *UserManagerProxy) SetUserRestriction(ctx context.Context, key string, value bool) error
- func (p *UserManagerProxy) SomeUserHasAccount(ctx context.Context, accountName string, accountType string) (bool, error)
- func (p *UserManagerProxy) SomeUserHasSeedAccount(ctx context.Context, accountName string, accountType string) (bool, error)
- type UserManagerStub
- type UserRestrictionsListenerProxy
- type UserRestrictionsListenerStub
- type VibrationAttributes
- type VibrationEffect
- type VibratorInfo
- type VibratorManagerServiceProxy
- func (p *VibratorManagerServiceProxy) AsBinder() binder.IBinder
- func (p *VibratorManagerServiceProxy) CancelVibrate(ctx context.Context, usageFilter int32, token binder.IBinder) error
- func (p *VibratorManagerServiceProxy) GetVibratorIds(ctx context.Context) ([]int32, error)
- func (p *VibratorManagerServiceProxy) GetVibratorInfo(ctx context.Context, vibratorId int32) (VibratorInfo, error)
- func (p *VibratorManagerServiceProxy) IsVibrating(ctx context.Context, vibratorId int32) (bool, error)
- func (p *VibratorManagerServiceProxy) PerformHapticFeedback(ctx context.Context, uid int32, deviceId int32, opPkg string, constant int32, ...) error
- func (p *VibratorManagerServiceProxy) RegisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
- func (p *VibratorManagerServiceProxy) SetAlwaysOnEffect(ctx context.Context, uid int32, opPkg string, alwaysOnId int32, ...) (bool, error)
- func (p *VibratorManagerServiceProxy) UnregisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
- func (p *VibratorManagerServiceProxy) Vibrate(ctx context.Context, uid int32, deviceId int32, opPkg string, ...) error
- type VibratorManagerServiceStub
- type VibratorStateListenerProxy
- type VibratorStateListenerStub
- type WakeLockCallbackProxy
- type WakeLockCallbackStub
- type WakeLockStats
- type WorkDuration
- type WorkSource
Constants ¶
const ( TransactionIAidlTestIntMethod = binder.FirstCallTransaction + 0 TransactionIAidlTestParcelableIn = binder.FirstCallTransaction + 1 TransactionIAidlTestParcelableOut = binder.FirstCallTransaction + 2 TransactionIAidlTestParcelableInOut = binder.FirstCallTransaction + 3 TransactionIAidlTestListParcelableLonger = binder.FirstCallTransaction + 4 TransactionIAidlTestListParcelableShorter = binder.FirstCallTransaction + 5 TransactionIAidlTestBooleanArray = binder.FirstCallTransaction + 6 TransactionIAidlTestCharArray = binder.FirstCallTransaction + 7 TransactionIAidlTestIntArray = binder.FirstCallTransaction + 8 TransactionIAidlTestLongArray = binder.FirstCallTransaction + 9 TransactionIAidlTestFloatArray = binder.FirstCallTransaction + 10 TransactionIAidlTestDoubleArray = binder.FirstCallTransaction + 11 TransactionIAidlTestStringArray = binder.FirstCallTransaction + 12 TransactionIAidlTestParcelableArray = binder.FirstCallTransaction + 13 TransactionIAidlTestVoidSecurityException = binder.FirstCallTransaction + 14 TransactionIAidlTestIntSecurityException = binder.FirstCallTransaction + 15 )
const ( MethodIAidlTestIntMethod = "intMethod" MethodIAidlTestParcelableIn = "parcelableIn" MethodIAidlTestParcelableOut = "parcelableOut" MethodIAidlTestParcelableInOut = "parcelableInOut" MethodIAidlTestListParcelableLonger = "listParcelableLonger" MethodIAidlTestListParcelableShorter = "listParcelableShorter" MethodIAidlTestBooleanArray = "booleanArray" MethodIAidlTestCharArray = "charArray" MethodIAidlTestIntArray = "intArray" MethodIAidlTestLongArray = "longArray" MethodIAidlTestFloatArray = "floatArray" MethodIAidlTestDoubleArray = "doubleArray" MethodIAidlTestStringArray = "stringArray" MethodIAidlTestParcelableArray = "parcelableArray" MethodIAidlTestVoidSecurityException = "voidSecurityException" MethodIAidlTestIntSecurityException = "intSecurityException" )
const ( TransactionIBatteryPropertiesRegistrarGetProperty = binder.FirstCallTransaction + 0 TransactionIBatteryPropertiesRegistrarScheduleUpdate = binder.FirstCallTransaction + 1 )
const ( MethodIBatteryPropertiesRegistrarGetProperty = "getProperty" MethodIBatteryPropertiesRegistrarScheduleUpdate = "scheduleUpdate" )
const ( TransactionIBinderThreadPriorityServiceGetThreadPriority = binder.FirstCallTransaction + 0 TransactionIBinderThreadPriorityServiceGetThreadSchedulerGroup = binder.FirstCallTransaction + 1 TransactionIBinderThreadPriorityServiceCallBack = binder.FirstCallTransaction + 2 TransactionIBinderThreadPriorityServiceSetPriorityAndCallBack = binder.FirstCallTransaction + 3 )
const ( MethodIBinderThreadPriorityServiceGetThreadPriority = "getThreadPriority" MethodIBinderThreadPriorityServiceGetThreadSchedulerGroup = "getThreadSchedulerGroup" MethodIBinderThreadPriorityServiceCallBack = "callBack" MethodIBinderThreadPriorityServiceSetPriorityAndCallBack = "setPriorityAndCallBack" )
const ( TransactionIBinderWorkSourceNestedServiceNestedCallWithWorkSourceToSet = binder.FirstCallTransaction + 0 TransactionIBinderWorkSourceNestedServiceNestedCall = binder.FirstCallTransaction + 1 )
const ( MethodIBinderWorkSourceNestedServiceNestedCallWithWorkSourceToSet = "nestedCallWithWorkSourceToSet" MethodIBinderWorkSourceNestedServiceNestedCall = "nestedCall" )
const ( TransactionIBinderWorkSourceServiceGetIncomingWorkSourceUid = binder.FirstCallTransaction + 0 TransactionIBinderWorkSourceServiceGetBinderCallingUid = binder.FirstCallTransaction + 1 TransactionIBinderWorkSourceServiceGetThreadLocalWorkSourceUid = binder.FirstCallTransaction + 2 TransactionIBinderWorkSourceServiceSetWorkSourceProvider = binder.FirstCallTransaction + 3 TransactionIBinderWorkSourceServiceClearWorkSourceProvider = binder.FirstCallTransaction + 4 )
const ( MethodIBinderWorkSourceServiceGetIncomingWorkSourceUid = "getIncomingWorkSourceUid" MethodIBinderWorkSourceServiceGetBinderCallingUid = "getBinderCallingUid" MethodIBinderWorkSourceServiceGetThreadLocalWorkSourceUid = "getThreadLocalWorkSourceUid" MethodIBinderWorkSourceServiceSetWorkSourceProvider = "setWorkSourceProvider" MethodIBinderWorkSourceServiceClearWorkSourceProvider = "clearWorkSourceProvider" )
const ( TransactionIDeviceIdentifiersPolicyServiceGetSerial = binder.FirstCallTransaction + 0 TransactionIDeviceIdentifiersPolicyServiceGetSerialForPackage = binder.FirstCallTransaction + 1 )
const ( MethodIDeviceIdentifiersPolicyServiceGetSerial = "getSerial" MethodIDeviceIdentifiersPolicyServiceGetSerialForPackage = "getSerialForPackage" )
const ( TransactionIDeviceIdleControllerAddPowerSaveWhitelistApp = binder.FirstCallTransaction + 0 TransactionIDeviceIdleControllerAddPowerSaveWhitelistApps = binder.FirstCallTransaction + 1 TransactionIDeviceIdleControllerRemovePowerSaveWhitelistApp = binder.FirstCallTransaction + 2 TransactionIDeviceIdleControllerRemoveSystemPowerWhitelistApp = binder.FirstCallTransaction + 3 TransactionIDeviceIdleControllerRestoreSystemPowerWhitelistApp = binder.FirstCallTransaction + 4 TransactionIDeviceIdleControllerGetRemovedSystemPowerWhitelistApps = binder.FirstCallTransaction + 5 TransactionIDeviceIdleControllerGetSystemPowerWhitelistExceptIdle = binder.FirstCallTransaction + 6 TransactionIDeviceIdleControllerGetSystemPowerWhitelist = binder.FirstCallTransaction + 7 TransactionIDeviceIdleControllerGetUserPowerWhitelist = binder.FirstCallTransaction + 8 TransactionIDeviceIdleControllerGetFullPowerWhitelistExceptIdle = binder.FirstCallTransaction + 9 TransactionIDeviceIdleControllerGetFullPowerWhitelist = binder.FirstCallTransaction + 10 TransactionIDeviceIdleControllerGetAppIdWhitelistExceptIdle = binder.FirstCallTransaction + 11 TransactionIDeviceIdleControllerGetAppIdWhitelist = binder.FirstCallTransaction + 12 TransactionIDeviceIdleControllerGetAppIdUserWhitelist = binder.FirstCallTransaction + 13 TransactionIDeviceIdleControllerGetAppIdTempWhitelist = binder.FirstCallTransaction + 14 TransactionIDeviceIdleControllerIsPowerSaveWhitelistExceptIdleApp = binder.FirstCallTransaction + 15 TransactionIDeviceIdleControllerIsPowerSaveWhitelistApp = binder.FirstCallTransaction + 16 TransactionIDeviceIdleControllerAddPowerSaveTempWhitelistApp = binder.FirstCallTransaction + 17 TransactionIDeviceIdleControllerAddPowerSaveTempWhitelistAppForMms = binder.FirstCallTransaction + 18 TransactionIDeviceIdleControllerAddPowerSaveTempWhitelistAppForSms = binder.FirstCallTransaction + 19 TransactionIDeviceIdleControllerWhitelistAppTemporarily = binder.FirstCallTransaction + 20 TransactionIDeviceIdleControllerExitIdle = binder.FirstCallTransaction + 21 )
const ( MethodIDeviceIdleControllerAddPowerSaveWhitelistApp = "addPowerSaveWhitelistApp" MethodIDeviceIdleControllerAddPowerSaveWhitelistApps = "addPowerSaveWhitelistApps" MethodIDeviceIdleControllerRemovePowerSaveWhitelistApp = "removePowerSaveWhitelistApp" MethodIDeviceIdleControllerRemoveSystemPowerWhitelistApp = "removeSystemPowerWhitelistApp" MethodIDeviceIdleControllerRestoreSystemPowerWhitelistApp = "restoreSystemPowerWhitelistApp" MethodIDeviceIdleControllerGetRemovedSystemPowerWhitelistApps = "getRemovedSystemPowerWhitelistApps" MethodIDeviceIdleControllerGetSystemPowerWhitelistExceptIdle = "getSystemPowerWhitelistExceptIdle" MethodIDeviceIdleControllerGetSystemPowerWhitelist = "getSystemPowerWhitelist" MethodIDeviceIdleControllerGetUserPowerWhitelist = "getUserPowerWhitelist" MethodIDeviceIdleControllerGetFullPowerWhitelistExceptIdle = "getFullPowerWhitelistExceptIdle" MethodIDeviceIdleControllerGetFullPowerWhitelist = "getFullPowerWhitelist" MethodIDeviceIdleControllerGetAppIdWhitelistExceptIdle = "getAppIdWhitelistExceptIdle" MethodIDeviceIdleControllerGetAppIdWhitelist = "getAppIdWhitelist" MethodIDeviceIdleControllerGetAppIdUserWhitelist = "getAppIdUserWhitelist" MethodIDeviceIdleControllerGetAppIdTempWhitelist = "getAppIdTempWhitelist" MethodIDeviceIdleControllerIsPowerSaveWhitelistExceptIdleApp = "isPowerSaveWhitelistExceptIdleApp" MethodIDeviceIdleControllerIsPowerSaveWhitelistApp = "isPowerSaveWhitelistApp" MethodIDeviceIdleControllerAddPowerSaveTempWhitelistApp = "addPowerSaveTempWhitelistApp" MethodIDeviceIdleControllerAddPowerSaveTempWhitelistAppForMms = "addPowerSaveTempWhitelistAppForMms" MethodIDeviceIdleControllerAddPowerSaveTempWhitelistAppForSms = "addPowerSaveTempWhitelistAppForSms" MethodIDeviceIdleControllerWhitelistAppTemporarily = "whitelistAppTemporarily" MethodIDeviceIdleControllerExitIdle = "exitIdle" )
const ( TransactionIDumpstatePreDumpUiData = binder.FirstCallTransaction + 0 TransactionIDumpstateStartBugreport = binder.FirstCallTransaction + 1 TransactionIDumpstateCancelBugreport = binder.FirstCallTransaction + 2 TransactionIDumpstateRetrieveBugreport = binder.FirstCallTransaction + 3 )
const ( MethodIDumpstatePreDumpUiData = "preDumpUiData" MethodIDumpstateStartBugreport = "startBugreport" MethodIDumpstateCancelBugreport = "cancelBugreport" MethodIDumpstateRetrieveBugreport = "retrieveBugreport" )
const ( IDumpstateBugreportModeFull int32 = 0 IDumpstateBugreportModeInteractive int32 = 1 IDumpstateBugreportModeRemote int32 = 2 IDumpstateBugreportModeWear int32 = 3 IDumpstateBugreportModeTelephony int32 = 4 IDumpstateBugreportModeWifi int32 = 5 IDumpstateBugreportModeDefault int32 = 6 IDumpstateBugreportModeOnboarding int32 = 7 IDumpstateBugreportFlagUsePredumpedUiData int32 = 1 IDumpstateBugreportFlagDeferConsent int32 = 2 IDumpstateBugreportFlagKeepBugreportOnRetrieval int32 = 4 )
const ( TransactionIDumpstateListenerOnProgress = binder.FirstCallTransaction + 0 TransactionIDumpstateListenerOnError = binder.FirstCallTransaction + 1 TransactionIDumpstateListenerOnFinished = binder.FirstCallTransaction + 2 TransactionIDumpstateListenerOnScreenshotTaken = binder.FirstCallTransaction + 3 TransactionIDumpstateListenerOnUiIntensiveBugreportDumpsFinished = binder.FirstCallTransaction + 4 )
const ( MethodIDumpstateListenerOnProgress = "onProgress" MethodIDumpstateListenerOnError = "onError" MethodIDumpstateListenerOnFinished = "onFinished" MethodIDumpstateListenerOnScreenshotTaken = "onScreenshotTaken" MethodIDumpstateListenerOnUiIntensiveBugreportDumpsFinished = "onUiIntensiveBugreportDumpsFinished" )
const ( IDumpstateListenerBugreportErrorInvalidInput int32 = 1 IDumpstateListenerBugreportErrorRuntimeError int32 = 2 IDumpstateListenerBugreportErrorUserDeniedConsent int32 = 3 IDumpstateListenerBugreportErrorUserConsentTimedOut int32 = 4 IDumpstateListenerBugreportErrorAnotherReportInProgress int32 = 5 IDumpstateListenerBugreportErrorNoBugreportToRetrieve int32 = 6 )
const ( TransactionIExternalVibrationControllerMute = binder.FirstCallTransaction + 0 TransactionIExternalVibrationControllerUnmute = binder.FirstCallTransaction + 1 )
const ( MethodIExternalVibrationControllerMute = "mute" MethodIExternalVibrationControllerUnmute = "unmute" )
const ( TransactionIExternalVibratorServiceOnExternalVibrationStart = binder.FirstCallTransaction + 0 TransactionIExternalVibratorServiceOnExternalVibrationStop = binder.FirstCallTransaction + 1 )
const ( MethodIExternalVibratorServiceOnExternalVibrationStart = "onExternalVibrationStart" MethodIExternalVibratorServiceOnExternalVibrationStop = "onExternalVibrationStop" )
const ( TransactionIHardwarePropertiesManagerGetDeviceTemperatures = binder.FirstCallTransaction + 0 TransactionIHardwarePropertiesManagerGetCpuUsages = binder.FirstCallTransaction + 1 TransactionIHardwarePropertiesManagerGetFanSpeeds = binder.FirstCallTransaction + 2 )
const ( MethodIHardwarePropertiesManagerGetDeviceTemperatures = "getDeviceTemperatures" MethodIHardwarePropertiesManagerGetCpuUsages = "getCpuUsages" MethodIHardwarePropertiesManagerGetFanSpeeds = "getFanSpeeds" )
const ( TransactionIHintManagerCreateHintSession = binder.FirstCallTransaction + 0 TransactionIHintManagerGetHintSessionPreferredRate = binder.FirstCallTransaction + 1 TransactionIHintManagerSetHintSessionThreads = binder.FirstCallTransaction + 2 TransactionIHintManagerGetHintSessionThreadIds = binder.FirstCallTransaction + 3 )
const ( MethodIHintManagerCreateHintSession = "createHintSession" MethodIHintManagerGetHintSessionPreferredRate = "getHintSessionPreferredRate" MethodIHintManagerSetHintSessionThreads = "setHintSessionThreads" MethodIHintManagerGetHintSessionThreadIds = "getHintSessionThreadIds" )
const ( TransactionIHintSessionUpdateTargetWorkDuration = binder.FirstCallTransaction + 0 TransactionIHintSessionReportActualWorkDuration = binder.FirstCallTransaction + 1 TransactionIHintSessionClose = binder.FirstCallTransaction + 2 TransactionIHintSessionSendHint = binder.FirstCallTransaction + 3 TransactionIHintSessionSetMode = binder.FirstCallTransaction + 4 TransactionIHintSessionReportActualWorkDuration2 = binder.FirstCallTransaction + 5 )
const ( MethodIHintSessionUpdateTargetWorkDuration = "updateTargetWorkDuration" MethodIHintSessionReportActualWorkDuration = "reportActualWorkDuration" MethodIHintSessionClose = "close" MethodIHintSessionSendHint = "sendHint" MethodIHintSessionSetMode = "setMode" MethodIHintSessionReportActualWorkDuration2 = "reportActualWorkDuration2" )
const ( TransactionIIdmap2GetIdmapPath = binder.FirstCallTransaction + 0 TransactionIIdmap2RemoveIdmap = binder.FirstCallTransaction + 1 TransactionIIdmap2VerifyIdmap = binder.FirstCallTransaction + 2 TransactionIIdmap2CreateIdmap = binder.FirstCallTransaction + 3 TransactionIIdmap2CreateFabricatedOverlay = binder.FirstCallTransaction + 4 TransactionIIdmap2DeleteFabricatedOverlay = binder.FirstCallTransaction + 5 TransactionIIdmap2AcquireFabricatedOverlayIterator = binder.FirstCallTransaction + 6 TransactionIIdmap2ReleaseFabricatedOverlayIterator = binder.FirstCallTransaction + 7 TransactionIIdmap2NextFabricatedOverlayInfos = binder.FirstCallTransaction + 8 TransactionIIdmap2DumpIdmap = binder.FirstCallTransaction + 9 )
const ( MethodIIdmap2GetIdmapPath = "getIdmapPath" MethodIIdmap2RemoveIdmap = "removeIdmap" MethodIIdmap2VerifyIdmap = "verifyIdmap" MethodIIdmap2CreateIdmap = "createIdmap" MethodIIdmap2CreateFabricatedOverlay = "createFabricatedOverlay" MethodIIdmap2DeleteFabricatedOverlay = "deleteFabricatedOverlay" MethodIIdmap2AcquireFabricatedOverlayIterator = "acquireFabricatedOverlayIterator" MethodIIdmap2ReleaseFabricatedOverlayIterator = "releaseFabricatedOverlayIterator" MethodIIdmap2NextFabricatedOverlayInfos = "nextFabricatedOverlayInfos" MethodIIdmap2DumpIdmap = "dumpIdmap" )
const ( TransactionIIncidentAuthListenerOnReportApproved = binder.FirstCallTransaction + 0 TransactionIIncidentAuthListenerOnReportDenied = binder.FirstCallTransaction + 1 )
const ( MethodIIncidentAuthListenerOnReportApproved = "onReportApproved" MethodIIncidentAuthListenerOnReportDenied = "onReportDenied" )
const ( TransactionIIncidentCompanionAuthorizeReport = binder.FirstCallTransaction + 0 TransactionIIncidentCompanionCancelAuthorization = binder.FirstCallTransaction + 1 TransactionIIncidentCompanionSendReportReadyBroadcast = binder.FirstCallTransaction + 2 TransactionIIncidentCompanionGetPendingReports = binder.FirstCallTransaction + 3 TransactionIIncidentCompanionApproveReport = binder.FirstCallTransaction + 4 TransactionIIncidentCompanionDenyReport = binder.FirstCallTransaction + 5 TransactionIIncidentCompanionGetIncidentReportList = binder.FirstCallTransaction + 6 TransactionIIncidentCompanionGetIncidentReport = binder.FirstCallTransaction + 7 TransactionIIncidentCompanionDeleteIncidentReports = binder.FirstCallTransaction + 8 TransactionIIncidentCompanionDeleteAllIncidentReports = binder.FirstCallTransaction + 9 )
const ( MethodIIncidentCompanionAuthorizeReport = "authorizeReport" MethodIIncidentCompanionCancelAuthorization = "cancelAuthorization" MethodIIncidentCompanionSendReportReadyBroadcast = "sendReportReadyBroadcast" MethodIIncidentCompanionGetPendingReports = "getPendingReports" MethodIIncidentCompanionApproveReport = "approveReport" MethodIIncidentCompanionDenyReport = "denyReport" MethodIIncidentCompanionGetIncidentReportList = "getIncidentReportList" MethodIIncidentCompanionGetIncidentReport = "getIncidentReport" MethodIIncidentCompanionDeleteIncidentReports = "deleteIncidentReports" MethodIIncidentCompanionDeleteAllIncidentReports = "deleteAllIncidentReports" )
const ( TransactionIIncidentManagerReportIncident = binder.FirstCallTransaction + 0 TransactionIIncidentManagerReportIncidentToStream = binder.FirstCallTransaction + 1 TransactionIIncidentManagerReportIncidentToDumpstate = binder.FirstCallTransaction + 2 TransactionIIncidentManagerRegisterSection = binder.FirstCallTransaction + 3 TransactionIIncidentManagerUnregisterSection = binder.FirstCallTransaction + 4 TransactionIIncidentManagerSystemRunning = binder.FirstCallTransaction + 5 TransactionIIncidentManagerGetIncidentReportList = binder.FirstCallTransaction + 6 TransactionIIncidentManagerGetIncidentReport = binder.FirstCallTransaction + 7 TransactionIIncidentManagerDeleteIncidentReports = binder.FirstCallTransaction + 8 TransactionIIncidentManagerDeleteAllIncidentReports = binder.FirstCallTransaction + 9 )
const ( MethodIIncidentManagerReportIncident = "reportIncident" MethodIIncidentManagerReportIncidentToStream = "reportIncidentToStream" MethodIIncidentManagerReportIncidentToDumpstate = "reportIncidentToDumpstate" MethodIIncidentManagerRegisterSection = "registerSection" MethodIIncidentManagerUnregisterSection = "unregisterSection" MethodIIncidentManagerSystemRunning = "systemRunning" MethodIIncidentManagerGetIncidentReportList = "getIncidentReportList" MethodIIncidentManagerGetIncidentReport = "getIncidentReport" MethodIIncidentManagerDeleteIncidentReports = "deleteIncidentReports" MethodIIncidentManagerDeleteAllIncidentReports = "deleteAllIncidentReports" )
const ( TransactionIIncidentReportStatusListenerOnReportStarted = binder.FirstCallTransaction + 0 TransactionIIncidentReportStatusListenerOnReportSectionStatus = binder.FirstCallTransaction + 1 TransactionIIncidentReportStatusListenerOnReportFinished = binder.FirstCallTransaction + 2 TransactionIIncidentReportStatusListenerOnReportFailed = binder.FirstCallTransaction + 3 )
const ( MethodIIncidentReportStatusListenerOnReportStarted = "onReportStarted" MethodIIncidentReportStatusListenerOnReportSectionStatus = "onReportSectionStatus" MethodIIncidentReportStatusListenerOnReportFinished = "onReportFinished" MethodIIncidentReportStatusListenerOnReportFailed = "onReportFailed" )
const ( IIncidentReportStatusListenerStatusStarting int32 = 1 IIncidentReportStatusListenerStatusFinished int32 = 2 )
const ( IInputConstantsUnmultipliedDefaultDispatchingTimeoutMillis int32 = 5000 IInputConstantsInvalidBatteryCapacity int32 = -1 IInputConstantsInvalidInputEventId int32 = 0 IInputConstantsInvalidInputDeviceId int32 = -2 IInputConstantsPolicyFlagInjectedFromAccessibility int32 = 131072 IInputConstantsInputEventFlagIsAccessibilityEvent int32 = 2048 IInputConstantsDefaultPointerAcceleration int32 = 3 IInputConstantsVelocityTrackerStrategyDefault int32 = -1 IInputConstantsVelocityTrackerStrategyImpulse int32 = 0 IInputConstantsVelocityTrackerStrategyLsq1 int32 = 1 IInputConstantsVelocityTrackerStrategyLsq2 int32 = 2 IInputConstantsVelocityTrackerStrategyLsq3 int32 = 3 IInputConstantsVelocityTrackerStrategyWlsq2Delta int32 = 4 IInputConstantsVelocityTrackerStrategyWlsq2Central int32 = 5 IInputConstantsVelocityTrackerStrategyWlsq2Recent int32 = 6 IInputConstantsVelocityTrackerStrategyInt1 int32 = 7 IInputConstantsVelocityTrackerStrategyInt2 int32 = 8 IInputConstantsVelocityTrackerStrategyLegacy int32 = 9 )
const ( TransactionIInputFlingerCreateInputChannel = binder.FirstCallTransaction + 0 TransactionIInputFlingerRemoveInputChannel = binder.FirstCallTransaction + 1 TransactionIInputFlingerSetFocusedWindow = binder.FirstCallTransaction + 2 )
const ( MethodIInputFlingerCreateInputChannel = "createInputChannel" MethodIInputFlingerRemoveInputChannel = "removeInputChannel" MethodIInputFlingerSetFocusedWindow = "setFocusedWindow" )
const ( TransactionIInstalldCreateUserData = binder.FirstCallTransaction + 0 TransactionIInstalldDestroyUserData = binder.FirstCallTransaction + 1 TransactionIInstalldSetFirstBoot = binder.FirstCallTransaction + 2 TransactionIInstalldCreateAppData = binder.FirstCallTransaction + 3 TransactionIInstalldCreateAppDataBatched = binder.FirstCallTransaction + 4 TransactionIInstalldReconcileSdkData = binder.FirstCallTransaction + 5 TransactionIInstalldRestoreconAppData = binder.FirstCallTransaction + 6 TransactionIInstalldMigrateAppData = binder.FirstCallTransaction + 7 TransactionIInstalldClearAppData = binder.FirstCallTransaction + 8 TransactionIInstalldDestroyAppData = binder.FirstCallTransaction + 9 TransactionIInstalldFixupAppData = binder.FirstCallTransaction + 10 TransactionIInstalldGetAppSize = binder.FirstCallTransaction + 11 TransactionIInstalldGetUserSize = binder.FirstCallTransaction + 12 TransactionIInstalldGetExternalSize = binder.FirstCallTransaction + 13 TransactionIInstalldGetAppCrates = binder.FirstCallTransaction + 14 TransactionIInstalldGetUserCrates = binder.FirstCallTransaction + 15 TransactionIInstalldSetAppQuota = binder.FirstCallTransaction + 16 TransactionIInstalldMoveCompleteApp = binder.FirstCallTransaction + 17 TransactionIInstalldDexopt = binder.FirstCallTransaction + 18 TransactionIInstalldControlDexOptBlocking = binder.FirstCallTransaction + 19 TransactionIInstalldRmdex = binder.FirstCallTransaction + 20 TransactionIInstalldMergeProfiles = binder.FirstCallTransaction + 21 TransactionIInstalldDumpProfiles = binder.FirstCallTransaction + 22 TransactionIInstalldCopySystemProfile = binder.FirstCallTransaction + 23 TransactionIInstalldClearAppProfiles = binder.FirstCallTransaction + 24 TransactionIInstalldDestroyAppProfiles = binder.FirstCallTransaction + 25 TransactionIInstalldDeleteReferenceProfile = binder.FirstCallTransaction + 26 TransactionIInstalldCreateProfileSnapshot = binder.FirstCallTransaction + 27 TransactionIInstalldDestroyProfileSnapshot = binder.FirstCallTransaction + 28 TransactionIInstalldRmPackageDir = binder.FirstCallTransaction + 29 TransactionIInstalldFreeCache = binder.FirstCallTransaction + 30 TransactionIInstalldLinkNativeLibraryDirectory = binder.FirstCallTransaction + 31 TransactionIInstalldCreateOatDir = binder.FirstCallTransaction + 32 TransactionIInstalldLinkFile = binder.FirstCallTransaction + 33 TransactionIInstalldMoveAb = binder.FirstCallTransaction + 34 TransactionIInstalldDeleteOdex = binder.FirstCallTransaction + 35 TransactionIInstalldReconcileSecondaryDexFile = binder.FirstCallTransaction + 36 TransactionIInstalldHashSecondaryDexFile = binder.FirstCallTransaction + 37 TransactionIInstalldInvalidateMounts = binder.FirstCallTransaction + 38 TransactionIInstalldIsQuotaSupported = binder.FirstCallTransaction + 39 TransactionIInstalldPrepareAppProfile = binder.FirstCallTransaction + 40 TransactionIInstalldSnapshotAppData = binder.FirstCallTransaction + 41 TransactionIInstalldRestoreAppDataSnapshot = binder.FirstCallTransaction + 42 TransactionIInstalldDestroyAppDataSnapshot = binder.FirstCallTransaction + 43 TransactionIInstalldDestroyCeSnapshotsNotSpecified = binder.FirstCallTransaction + 44 TransactionIInstalldTryMountDataMirror = binder.FirstCallTransaction + 45 TransactionIInstalldOnPrivateVolumeRemoved = binder.FirstCallTransaction + 46 TransactionIInstalldMigrateLegacyObbData = binder.FirstCallTransaction + 47 TransactionIInstalldCleanupInvalidPackageDirs = binder.FirstCallTransaction + 48 TransactionIInstalldGetOdexVisibility = binder.FirstCallTransaction + 49 TransactionIInstalldCreateFsveritySetupAuthToken = binder.FirstCallTransaction + 50 TransactionIInstalldEnableFsverity = binder.FirstCallTransaction + 51 )
const ( MethodIInstalldCreateUserData = "createUserData" MethodIInstalldDestroyUserData = "destroyUserData" MethodIInstalldSetFirstBoot = "setFirstBoot" MethodIInstalldCreateAppData = "createAppData" MethodIInstalldCreateAppDataBatched = "createAppDataBatched" MethodIInstalldReconcileSdkData = "reconcileSdkData" MethodIInstalldRestoreconAppData = "restoreconAppData" MethodIInstalldMigrateAppData = "migrateAppData" MethodIInstalldClearAppData = "clearAppData" MethodIInstalldDestroyAppData = "destroyAppData" MethodIInstalldFixupAppData = "fixupAppData" MethodIInstalldGetAppSize = "getAppSize" MethodIInstalldGetUserSize = "getUserSize" MethodIInstalldGetExternalSize = "getExternalSize" MethodIInstalldGetAppCrates = "getAppCrates" MethodIInstalldGetUserCrates = "getUserCrates" MethodIInstalldSetAppQuota = "setAppQuota" MethodIInstalldMoveCompleteApp = "moveCompleteApp" MethodIInstalldDexopt = "dexopt" MethodIInstalldControlDexOptBlocking = "controlDexOptBlocking" MethodIInstalldRmdex = "rmdex" MethodIInstalldMergeProfiles = "mergeProfiles" MethodIInstalldDumpProfiles = "dumpProfiles" MethodIInstalldCopySystemProfile = "copySystemProfile" MethodIInstalldClearAppProfiles = "clearAppProfiles" MethodIInstalldDestroyAppProfiles = "destroyAppProfiles" MethodIInstalldDeleteReferenceProfile = "deleteReferenceProfile" MethodIInstalldCreateProfileSnapshot = "createProfileSnapshot" MethodIInstalldDestroyProfileSnapshot = "destroyProfileSnapshot" MethodIInstalldRmPackageDir = "rmPackageDir" MethodIInstalldFreeCache = "freeCache" MethodIInstalldLinkNativeLibraryDirectory = "linkNativeLibraryDirectory" MethodIInstalldCreateOatDir = "createOatDir" MethodIInstalldLinkFile = "linkFile" MethodIInstalldMoveAb = "moveAb" MethodIInstalldDeleteOdex = "deleteOdex" MethodIInstalldReconcileSecondaryDexFile = "reconcileSecondaryDexFile" MethodIInstalldHashSecondaryDexFile = "hashSecondaryDexFile" MethodIInstalldInvalidateMounts = "invalidateMounts" MethodIInstalldIsQuotaSupported = "isQuotaSupported" MethodIInstalldPrepareAppProfile = "prepareAppProfile" MethodIInstalldSnapshotAppData = "snapshotAppData" MethodIInstalldRestoreAppDataSnapshot = "restoreAppDataSnapshot" MethodIInstalldDestroyAppDataSnapshot = "destroyAppDataSnapshot" MethodIInstalldDestroyCeSnapshotsNotSpecified = "destroyCeSnapshotsNotSpecified" MethodIInstalldTryMountDataMirror = "tryMountDataMirror" MethodIInstalldOnPrivateVolumeRemoved = "onPrivateVolumeRemoved" MethodIInstalldMigrateLegacyObbData = "migrateLegacyObbData" MethodIInstalldCleanupInvalidPackageDirs = "cleanupInvalidPackageDirs" MethodIInstalldGetOdexVisibility = "getOdexVisibility" MethodIInstalldCreateFsveritySetupAuthToken = "createFsveritySetupAuthToken" MethodIInstalldEnableFsverity = "enableFsverity" )
const ( IInstalldFlagStorageDe int32 = 1 IInstalldFlagStorageCe int32 = 2 IInstalldFlagStorageExternal int32 = 4 IInstalldFlagStorageSdk int32 = 8 IInstalldFlagClearCacheOnly int32 = 16 IInstalldFlagClearCodeCacheOnly int32 = 32 IInstalldFlagFreeCacheV2 int32 = 256 IInstalldFlagFreeCacheV2DefyQuota int32 = 512 IInstalldFlagFreeCacheNoop int32 = 1024 IInstalldFlagFreeCacheDefyTargetFreeBytes int32 = 2048 IInstalldFlagUseQuota int32 = 4096 IInstalldFlagForce int32 = 8192 IInstalldFlagClearAppDataKeepArtProfiles int32 = 131072 )
const ( TransactionINetworkManagementServiceRegisterObserver = binder.FirstCallTransaction + 0 TransactionINetworkManagementServiceUnregisterObserver = binder.FirstCallTransaction + 1 TransactionINetworkManagementServiceListInterfaces = binder.FirstCallTransaction + 2 TransactionINetworkManagementServiceGetInterfaceConfig = binder.FirstCallTransaction + 3 TransactionINetworkManagementServiceSetInterfaceConfig = binder.FirstCallTransaction + 4 TransactionINetworkManagementServiceClearInterfaceAddresses = binder.FirstCallTransaction + 5 TransactionINetworkManagementServiceSetInterfaceDown = binder.FirstCallTransaction + 6 TransactionINetworkManagementServiceSetInterfaceUp = binder.FirstCallTransaction + 7 TransactionINetworkManagementServiceSetInterfaceIpv6PrivacyExtensions = binder.FirstCallTransaction + 8 TransactionINetworkManagementServiceDisableIpv6 = binder.FirstCallTransaction + 9 TransactionINetworkManagementServiceEnableIpv6 = binder.FirstCallTransaction + 10 TransactionINetworkManagementServiceSetIPv6AddrGenMode = binder.FirstCallTransaction + 11 TransactionINetworkManagementServiceShutdown = binder.FirstCallTransaction + 12 TransactionINetworkManagementServiceGetIpForwardingEnabled = binder.FirstCallTransaction + 13 TransactionINetworkManagementServiceSetIpForwardingEnabled = binder.FirstCallTransaction + 14 TransactionINetworkManagementServiceStartTethering = binder.FirstCallTransaction + 15 TransactionINetworkManagementServiceStopTethering = binder.FirstCallTransaction + 16 TransactionINetworkManagementServiceIsTetheringStarted = binder.FirstCallTransaction + 17 TransactionINetworkManagementServiceTetherInterface = binder.FirstCallTransaction + 18 TransactionINetworkManagementServiceUntetherInterface = binder.FirstCallTransaction + 19 TransactionINetworkManagementServiceListTetheredInterfaces = binder.FirstCallTransaction + 20 TransactionINetworkManagementServiceEnableNat = binder.FirstCallTransaction + 21 TransactionINetworkManagementServiceDisableNat = binder.FirstCallTransaction + 22 TransactionINetworkManagementServiceSetInterfaceQuota = binder.FirstCallTransaction + 23 TransactionINetworkManagementServiceRemoveInterfaceQuota = binder.FirstCallTransaction + 24 TransactionINetworkManagementServiceSetInterfaceAlert = binder.FirstCallTransaction + 25 TransactionINetworkManagementServiceRemoveInterfaceAlert = binder.FirstCallTransaction + 26 TransactionINetworkManagementServiceSetUidOnMeteredNetworkDenylist = binder.FirstCallTransaction + 27 TransactionINetworkManagementServiceSetUidOnMeteredNetworkAllowlist = binder.FirstCallTransaction + 28 TransactionINetworkManagementServiceSetDataSaverModeEnabled = binder.FirstCallTransaction + 29 TransactionINetworkManagementServiceSetUidCleartextNetworkPolicy = binder.FirstCallTransaction + 30 TransactionINetworkManagementServiceIsBandwidthControlEnabled = binder.FirstCallTransaction + 31 TransactionINetworkManagementServiceSetFirewallEnabled = binder.FirstCallTransaction + 32 TransactionINetworkManagementServiceIsFirewallEnabled = binder.FirstCallTransaction + 33 TransactionINetworkManagementServiceSetFirewallUidRule = binder.FirstCallTransaction + 34 TransactionINetworkManagementServiceSetFirewallUidRules = binder.FirstCallTransaction + 35 TransactionINetworkManagementServiceSetFirewallChainEnabled = binder.FirstCallTransaction + 36 TransactionINetworkManagementServiceAllowProtect = binder.FirstCallTransaction + 37 TransactionINetworkManagementServiceDenyProtect = binder.FirstCallTransaction + 38 TransactionINetworkManagementServiceIsNetworkRestricted = binder.FirstCallTransaction + 39 )
const ( MethodINetworkManagementServiceRegisterObserver = "registerObserver" MethodINetworkManagementServiceUnregisterObserver = "unregisterObserver" MethodINetworkManagementServiceListInterfaces = "listInterfaces" MethodINetworkManagementServiceGetInterfaceConfig = "getInterfaceConfig" MethodINetworkManagementServiceSetInterfaceConfig = "setInterfaceConfig" MethodINetworkManagementServiceClearInterfaceAddresses = "clearInterfaceAddresses" MethodINetworkManagementServiceSetInterfaceDown = "setInterfaceDown" MethodINetworkManagementServiceSetInterfaceUp = "setInterfaceUp" MethodINetworkManagementServiceSetInterfaceIpv6PrivacyExtensions = "setInterfaceIpv6PrivacyExtensions" MethodINetworkManagementServiceDisableIpv6 = "disableIpv6" MethodINetworkManagementServiceEnableIpv6 = "enableIpv6" MethodINetworkManagementServiceSetIPv6AddrGenMode = "setIPv6AddrGenMode" MethodINetworkManagementServiceShutdown = "shutdown" MethodINetworkManagementServiceGetIpForwardingEnabled = "getIpForwardingEnabled" MethodINetworkManagementServiceSetIpForwardingEnabled = "setIpForwardingEnabled" MethodINetworkManagementServiceStartTethering = "startTethering" MethodINetworkManagementServiceStopTethering = "stopTethering" MethodINetworkManagementServiceIsTetheringStarted = "isTetheringStarted" MethodINetworkManagementServiceTetherInterface = "tetherInterface" MethodINetworkManagementServiceUntetherInterface = "untetherInterface" MethodINetworkManagementServiceListTetheredInterfaces = "listTetheredInterfaces" MethodINetworkManagementServiceEnableNat = "enableNat" MethodINetworkManagementServiceDisableNat = "disableNat" MethodINetworkManagementServiceSetInterfaceQuota = "setInterfaceQuota" MethodINetworkManagementServiceRemoveInterfaceQuota = "removeInterfaceQuota" MethodINetworkManagementServiceSetInterfaceAlert = "setInterfaceAlert" MethodINetworkManagementServiceRemoveInterfaceAlert = "removeInterfaceAlert" MethodINetworkManagementServiceSetUidOnMeteredNetworkDenylist = "setUidOnMeteredNetworkDenylist" MethodINetworkManagementServiceSetUidOnMeteredNetworkAllowlist = "setUidOnMeteredNetworkAllowlist" MethodINetworkManagementServiceSetDataSaverModeEnabled = "setDataSaverModeEnabled" MethodINetworkManagementServiceSetUidCleartextNetworkPolicy = "setUidCleartextNetworkPolicy" MethodINetworkManagementServiceIsBandwidthControlEnabled = "isBandwidthControlEnabled" MethodINetworkManagementServiceSetFirewallEnabled = "setFirewallEnabled" MethodINetworkManagementServiceIsFirewallEnabled = "isFirewallEnabled" MethodINetworkManagementServiceSetFirewallUidRule = "setFirewallUidRule" MethodINetworkManagementServiceSetFirewallUidRules = "setFirewallUidRules" MethodINetworkManagementServiceSetFirewallChainEnabled = "setFirewallChainEnabled" MethodINetworkManagementServiceAllowProtect = "allowProtect" MethodINetworkManagementServiceDenyProtect = "denyProtect" MethodINetworkManagementServiceIsNetworkRestricted = "isNetworkRestricted" )
const ( TransactionIPermissionControllerCheckPermission = binder.FirstCallTransaction + 0 TransactionIPermissionControllerNoteOp = binder.FirstCallTransaction + 1 TransactionIPermissionControllerGetPackagesForUid = binder.FirstCallTransaction + 2 TransactionIPermissionControllerIsRuntimePermission = binder.FirstCallTransaction + 3 TransactionIPermissionControllerGetPackageUid = binder.FirstCallTransaction + 4 )
const ( MethodIPermissionControllerCheckPermission = "checkPermission" MethodIPermissionControllerNoteOp = "noteOp" MethodIPermissionControllerGetPackagesForUid = "getPackagesForUid" MethodIPermissionControllerIsRuntimePermission = "isRuntimePermission" MethodIPermissionControllerGetPackageUid = "getPackageUid" )
const ( TransactionIPowerManagerAcquireWakeLock = binder.FirstCallTransaction + 0 TransactionIPowerManagerAcquireWakeLockWithUid = binder.FirstCallTransaction + 1 TransactionIPowerManagerReleaseWakeLock = binder.FirstCallTransaction + 2 TransactionIPowerManagerUpdateWakeLockUids = binder.FirstCallTransaction + 3 TransactionIPowerManagerSetPowerBoost = binder.FirstCallTransaction + 4 TransactionIPowerManagerSetPowerMode = binder.FirstCallTransaction + 5 TransactionIPowerManagerSetPowerModeChecked = binder.FirstCallTransaction + 6 TransactionIPowerManagerUpdateWakeLockWorkSource = binder.FirstCallTransaction + 7 TransactionIPowerManagerUpdateWakeLockCallback = binder.FirstCallTransaction + 8 TransactionIPowerManagerIsWakeLockLevelSupported = binder.FirstCallTransaction + 9 TransactionIPowerManagerUserActivity = binder.FirstCallTransaction + 10 TransactionIPowerManagerWakeUp = binder.FirstCallTransaction + 11 TransactionIPowerManagerGoToSleep = binder.FirstCallTransaction + 12 TransactionIPowerManagerGoToSleepWithDisplayId = binder.FirstCallTransaction + 13 TransactionIPowerManagerNap = binder.FirstCallTransaction + 14 TransactionIPowerManagerGetBrightnessConstraint = binder.FirstCallTransaction + 15 TransactionIPowerManagerIsInteractive = binder.FirstCallTransaction + 16 TransactionIPowerManagerIsDisplayInteractive = binder.FirstCallTransaction + 17 TransactionIPowerManagerAreAutoPowerSaveModesEnabled = binder.FirstCallTransaction + 18 TransactionIPowerManagerIsPowerSaveMode = binder.FirstCallTransaction + 19 TransactionIPowerManagerGetPowerSaveState = binder.FirstCallTransaction + 20 TransactionIPowerManagerSetPowerSaveModeEnabled = binder.FirstCallTransaction + 21 TransactionIPowerManagerIsBatterySaverSupported = binder.FirstCallTransaction + 22 TransactionIPowerManagerGetFullPowerSavePolicy = binder.FirstCallTransaction + 23 TransactionIPowerManagerSetFullPowerSavePolicy = binder.FirstCallTransaction + 24 TransactionIPowerManagerSetDynamicPowerSaveHint = binder.FirstCallTransaction + 25 TransactionIPowerManagerSetAdaptivePowerSavePolicy = binder.FirstCallTransaction + 26 TransactionIPowerManagerSetAdaptivePowerSaveEnabled = binder.FirstCallTransaction + 27 TransactionIPowerManagerGetPowerSaveModeTrigger = binder.FirstCallTransaction + 28 TransactionIPowerManagerSetBatteryDischargePrediction = binder.FirstCallTransaction + 29 TransactionIPowerManagerGetBatteryDischargePrediction = binder.FirstCallTransaction + 30 TransactionIPowerManagerIsBatteryDischargePredictionPersonalized = binder.FirstCallTransaction + 31 TransactionIPowerManagerIsDeviceIdleMode = binder.FirstCallTransaction + 32 TransactionIPowerManagerIsLightDeviceIdleMode = binder.FirstCallTransaction + 33 TransactionIPowerManagerIsLowPowerStandbySupported = binder.FirstCallTransaction + 34 TransactionIPowerManagerIsLowPowerStandbyEnabled = binder.FirstCallTransaction + 35 TransactionIPowerManagerSetLowPowerStandbyEnabled = binder.FirstCallTransaction + 36 TransactionIPowerManagerSetLowPowerStandbyActiveDuringMaintenance = binder.FirstCallTransaction + 37 TransactionIPowerManagerForceLowPowerStandbyActive = binder.FirstCallTransaction + 38 TransactionIPowerManagerSetLowPowerStandbyPolicy = binder.FirstCallTransaction + 39 TransactionIPowerManagerGetLowPowerStandbyPolicy = binder.FirstCallTransaction + 40 TransactionIPowerManagerIsExemptFromLowPowerStandby = binder.FirstCallTransaction + 41 TransactionIPowerManagerIsReasonAllowedInLowPowerStandby = binder.FirstCallTransaction + 42 TransactionIPowerManagerIsFeatureAllowedInLowPowerStandby = binder.FirstCallTransaction + 43 TransactionIPowerManagerAcquireLowPowerStandbyPorts = binder.FirstCallTransaction + 44 TransactionIPowerManagerReleaseLowPowerStandbyPorts = binder.FirstCallTransaction + 45 TransactionIPowerManagerGetActiveLowPowerStandbyPorts = binder.FirstCallTransaction + 46 TransactionIPowerManagerReboot = binder.FirstCallTransaction + 47 TransactionIPowerManagerRebootSafeMode = binder.FirstCallTransaction + 48 TransactionIPowerManagerShutdown = binder.FirstCallTransaction + 49 TransactionIPowerManagerCrash = binder.FirstCallTransaction + 50 TransactionIPowerManagerGetLastShutdownReason = binder.FirstCallTransaction + 51 TransactionIPowerManagerGetLastSleepReason = binder.FirstCallTransaction + 52 TransactionIPowerManagerSetStayOnSetting = binder.FirstCallTransaction + 53 TransactionIPowerManagerBoostScreenBrightness = binder.FirstCallTransaction + 54 TransactionIPowerManagerAcquireWakeLockAsync = binder.FirstCallTransaction + 55 TransactionIPowerManagerReleaseWakeLockAsync = binder.FirstCallTransaction + 56 TransactionIPowerManagerUpdateWakeLockUidsAsync = binder.FirstCallTransaction + 57 TransactionIPowerManagerIsScreenBrightnessBoosted = binder.FirstCallTransaction + 58 TransactionIPowerManagerSetAttentionLight = binder.FirstCallTransaction + 59 TransactionIPowerManagerSetDozeAfterScreenOff = binder.FirstCallTransaction + 60 TransactionIPowerManagerIsAmbientDisplayAvailable = binder.FirstCallTransaction + 61 TransactionIPowerManagerSuppressAmbientDisplay = binder.FirstCallTransaction + 62 TransactionIPowerManagerIsAmbientDisplaySuppressedForToken = binder.FirstCallTransaction + 63 TransactionIPowerManagerIsAmbientDisplaySuppressed = binder.FirstCallTransaction + 64 TransactionIPowerManagerIsAmbientDisplaySuppressedForTokenByApp = binder.FirstCallTransaction + 65 TransactionIPowerManagerForceSuspend = binder.FirstCallTransaction + 66 )
const ( MethodIPowerManagerAcquireWakeLock = "acquireWakeLock" MethodIPowerManagerAcquireWakeLockWithUid = "acquireWakeLockWithUid" MethodIPowerManagerReleaseWakeLock = "releaseWakeLock" MethodIPowerManagerUpdateWakeLockUids = "updateWakeLockUids" MethodIPowerManagerSetPowerBoost = "setPowerBoost" MethodIPowerManagerSetPowerMode = "setPowerMode" MethodIPowerManagerSetPowerModeChecked = "setPowerModeChecked" MethodIPowerManagerUpdateWakeLockWorkSource = "updateWakeLockWorkSource" MethodIPowerManagerUpdateWakeLockCallback = "updateWakeLockCallback" MethodIPowerManagerIsWakeLockLevelSupported = "isWakeLockLevelSupported" MethodIPowerManagerUserActivity = "userActivity" MethodIPowerManagerWakeUp = "wakeUp" MethodIPowerManagerGoToSleep = "goToSleep" MethodIPowerManagerGoToSleepWithDisplayId = "goToSleepWithDisplayId" MethodIPowerManagerNap = "nap" MethodIPowerManagerGetBrightnessConstraint = "getBrightnessConstraint" MethodIPowerManagerIsInteractive = "isInteractive" MethodIPowerManagerIsDisplayInteractive = "isDisplayInteractive" MethodIPowerManagerAreAutoPowerSaveModesEnabled = "areAutoPowerSaveModesEnabled" MethodIPowerManagerIsPowerSaveMode = "isPowerSaveMode" MethodIPowerManagerGetPowerSaveState = "getPowerSaveState" MethodIPowerManagerSetPowerSaveModeEnabled = "setPowerSaveModeEnabled" MethodIPowerManagerIsBatterySaverSupported = "isBatterySaverSupported" MethodIPowerManagerGetFullPowerSavePolicy = "getFullPowerSavePolicy" MethodIPowerManagerSetFullPowerSavePolicy = "setFullPowerSavePolicy" MethodIPowerManagerSetDynamicPowerSaveHint = "setDynamicPowerSaveHint" MethodIPowerManagerSetAdaptivePowerSavePolicy = "setAdaptivePowerSavePolicy" MethodIPowerManagerSetAdaptivePowerSaveEnabled = "setAdaptivePowerSaveEnabled" MethodIPowerManagerGetPowerSaveModeTrigger = "getPowerSaveModeTrigger" MethodIPowerManagerSetBatteryDischargePrediction = "setBatteryDischargePrediction" MethodIPowerManagerGetBatteryDischargePrediction = "getBatteryDischargePrediction" MethodIPowerManagerIsBatteryDischargePredictionPersonalized = "isBatteryDischargePredictionPersonalized" MethodIPowerManagerIsDeviceIdleMode = "isDeviceIdleMode" MethodIPowerManagerIsLightDeviceIdleMode = "isLightDeviceIdleMode" MethodIPowerManagerIsLowPowerStandbySupported = "isLowPowerStandbySupported" MethodIPowerManagerIsLowPowerStandbyEnabled = "isLowPowerStandbyEnabled" MethodIPowerManagerSetLowPowerStandbyEnabled = "setLowPowerStandbyEnabled" MethodIPowerManagerSetLowPowerStandbyActiveDuringMaintenance = "setLowPowerStandbyActiveDuringMaintenance" MethodIPowerManagerForceLowPowerStandbyActive = "forceLowPowerStandbyActive" MethodIPowerManagerSetLowPowerStandbyPolicy = "setLowPowerStandbyPolicy" MethodIPowerManagerGetLowPowerStandbyPolicy = "getLowPowerStandbyPolicy" MethodIPowerManagerIsExemptFromLowPowerStandby = "isExemptFromLowPowerStandby" MethodIPowerManagerIsReasonAllowedInLowPowerStandby = "isReasonAllowedInLowPowerStandby" MethodIPowerManagerIsFeatureAllowedInLowPowerStandby = "isFeatureAllowedInLowPowerStandby" MethodIPowerManagerAcquireLowPowerStandbyPorts = "acquireLowPowerStandbyPorts" MethodIPowerManagerReleaseLowPowerStandbyPorts = "releaseLowPowerStandbyPorts" MethodIPowerManagerGetActiveLowPowerStandbyPorts = "getActiveLowPowerStandbyPorts" MethodIPowerManagerReboot = "reboot" MethodIPowerManagerRebootSafeMode = "rebootSafeMode" MethodIPowerManagerShutdown = "shutdown" MethodIPowerManagerCrash = "crash" MethodIPowerManagerGetLastShutdownReason = "getLastShutdownReason" MethodIPowerManagerGetLastSleepReason = "getLastSleepReason" MethodIPowerManagerSetStayOnSetting = "setStayOnSetting" MethodIPowerManagerBoostScreenBrightness = "boostScreenBrightness" MethodIPowerManagerAcquireWakeLockAsync = "acquireWakeLockAsync" MethodIPowerManagerReleaseWakeLockAsync = "releaseWakeLockAsync" MethodIPowerManagerUpdateWakeLockUidsAsync = "updateWakeLockUidsAsync" MethodIPowerManagerIsScreenBrightnessBoosted = "isScreenBrightnessBoosted" MethodIPowerManagerSetAttentionLight = "setAttentionLight" MethodIPowerManagerSetDozeAfterScreenOff = "setDozeAfterScreenOff" MethodIPowerManagerIsAmbientDisplayAvailable = "isAmbientDisplayAvailable" MethodIPowerManagerSuppressAmbientDisplay = "suppressAmbientDisplay" MethodIPowerManagerIsAmbientDisplaySuppressedForToken = "isAmbientDisplaySuppressedForToken" MethodIPowerManagerIsAmbientDisplaySuppressed = "isAmbientDisplaySuppressed" MethodIPowerManagerIsAmbientDisplaySuppressedForTokenByApp = "isAmbientDisplaySuppressedForTokenByApp" MethodIPowerManagerForceSuspend = "forceSuspend" )
const ( IPowerManagerLocationModeNoChange int32 = 0 IPowerManagerLocationModeGpsDisabledWhenScreenOff int32 = 1 IPowerManagerLocationModeAllDisabledWhenScreenOff int32 = 2 IPowerManagerLocationModeForegroundOnly int32 = 3 IPowerManagerLocationModeThrottleRequestsWhenScreenOff int32 = 4 IPowerManagerMinLocationMode int32 = 0 IPowerManagerMaxLocationMode int32 = 4 IPowerManagerGoToSleepReasonMin int32 = 0 IPowerManagerGoToSleepReasonApplication int32 = 0 IPowerManagerGoToSleepReasonTimeout int32 = 2 IPowerManagerGoToSleepReasonLidSwitch int32 = 3 IPowerManagerGoToSleepReasonPowerButton int32 = 4 IPowerManagerGoToSleepReasonHdmi int32 = 5 IPowerManagerGoToSleepReasonSleepButton int32 = 6 IPowerManagerGoToSleepReasonAccessibility int32 = 7 IPowerManagerGoToSleepReasonForceSuspend int32 = 8 IPowerManagerGoToSleepReasonInattentive int32 = 9 IPowerManagerGoToSleepReasonQuiescent int32 = 10 IPowerManagerGoToSleepReasonMax int32 = 10 IPowerManagerGoToSleepFlagNoDoze int32 = (1 << 0) )
const ( TransactionIPowerStatsServiceGetSupportedPowerMonitors = binder.FirstCallTransaction + 0 TransactionIPowerStatsServiceGetPowerMonitorReadings = binder.FirstCallTransaction + 1 )
const ( MethodIPowerStatsServiceGetSupportedPowerMonitors = "getSupportedPowerMonitors" MethodIPowerStatsServiceGetPowerMonitorReadings = "getPowerMonitorReadings" )
const ( IPowerStatsServiceKeyMonitors string = "monitors" IPowerStatsServiceKeyEnergy string = "energy" IPowerStatsServiceKeyTimestamps string = "timestamps" IPowerStatsServiceResultSuccess int32 = 0 IPowerStatsServiceResultUnsupportedPowerMonitor int32 = 1 )
const ( TransactionIProcessInfoServiceGetProcessStatesFromPids = binder.FirstCallTransaction + 0 TransactionIProcessInfoServiceGetProcessStatesAndOomScoresFromPids = binder.FirstCallTransaction + 1 )
const ( MethodIProcessInfoServiceGetProcessStatesFromPids = "getProcessStatesFromPids" MethodIProcessInfoServiceGetProcessStatesAndOomScoresFromPids = "getProcessStatesAndOomScoresFromPids" )
const ( TransactionIProgressListenerOnStarted = binder.FirstCallTransaction + 0 TransactionIProgressListenerOnProgress = binder.FirstCallTransaction + 1 TransactionIProgressListenerOnFinished = binder.FirstCallTransaction + 2 )
const ( MethodIProgressListenerOnStarted = "onStarted" MethodIProgressListenerOnProgress = "onProgress" MethodIProgressListenerOnFinished = "onFinished" )
const ( TransactionIRecoverySystemAllocateSpaceForUpdate = binder.FirstCallTransaction + 0 TransactionIRecoverySystemUncrypt = binder.FirstCallTransaction + 1 TransactionIRecoverySystemSetupBcb = binder.FirstCallTransaction + 2 TransactionIRecoverySystemClearBcb = binder.FirstCallTransaction + 3 TransactionIRecoverySystemRebootRecoveryWithCommand = binder.FirstCallTransaction + 4 TransactionIRecoverySystemRequestLskf = binder.FirstCallTransaction + 5 TransactionIRecoverySystemClearLskf = binder.FirstCallTransaction + 6 TransactionIRecoverySystemIsLskfCaptured = binder.FirstCallTransaction + 7 TransactionIRecoverySystemRebootWithLskfAssumeSlotSwitch = binder.FirstCallTransaction + 8 TransactionIRecoverySystemRebootWithLskf = binder.FirstCallTransaction + 9 )
const ( MethodIRecoverySystemAllocateSpaceForUpdate = "allocateSpaceForUpdate" MethodIRecoverySystemUncrypt = "uncrypt" MethodIRecoverySystemSetupBcb = "setupBcb" MethodIRecoverySystemClearBcb = "clearBcb" MethodIRecoverySystemRebootRecoveryWithCommand = "rebootRecoveryWithCommand" MethodIRecoverySystemRequestLskf = "requestLskf" MethodIRecoverySystemClearLskf = "clearLskf" MethodIRecoverySystemIsLskfCaptured = "isLskfCaptured" MethodIRecoverySystemRebootWithLskfAssumeSlotSwitch = "rebootWithLskfAssumeSlotSwitch" MethodIRecoverySystemRebootWithLskf = "rebootWithLskf" )
const ( TransactionISchedulingPolicyServiceRequestPriority = binder.FirstCallTransaction + 0 TransactionISchedulingPolicyServiceRequestCpusetBoost = binder.FirstCallTransaction + 1 )
const ( MethodISchedulingPolicyServiceRequestPriority = "requestPriority" MethodISchedulingPolicyServiceRequestCpusetBoost = "requestCpusetBoost" )
const ( TransactionIServiceManagerGetService = binder.FirstCallTransaction + 0 TransactionIServiceManagerCheckService = binder.FirstCallTransaction + 1 TransactionIServiceManagerAddService = binder.FirstCallTransaction + 2 TransactionIServiceManagerListServices = binder.FirstCallTransaction + 3 TransactionIServiceManagerRegisterForNotifications = binder.FirstCallTransaction + 4 TransactionIServiceManagerUnregisterForNotifications = binder.FirstCallTransaction + 5 TransactionIServiceManagerIsDeclared = binder.FirstCallTransaction + 6 TransactionIServiceManagerGetDeclaredInstances = binder.FirstCallTransaction + 7 TransactionIServiceManagerUpdatableViaApex = binder.FirstCallTransaction + 8 TransactionIServiceManagerGetUpdatableNames = binder.FirstCallTransaction + 9 TransactionIServiceManagerGetConnectionInfo = binder.FirstCallTransaction + 10 TransactionIServiceManagerRegisterClientCallback = binder.FirstCallTransaction + 11 TransactionIServiceManagerTryUnregisterService = binder.FirstCallTransaction + 12 TransactionIServiceManagerGetServiceDebugInfo = binder.FirstCallTransaction + 13 )
const ( MethodIServiceManagerGetService = "getService" MethodIServiceManagerCheckService = "checkService" MethodIServiceManagerAddService = "addService" MethodIServiceManagerListServices = "listServices" MethodIServiceManagerRegisterForNotifications = "registerForNotifications" MethodIServiceManagerUnregisterForNotifications = "unregisterForNotifications" MethodIServiceManagerIsDeclared = "isDeclared" MethodIServiceManagerGetDeclaredInstances = "getDeclaredInstances" MethodIServiceManagerUpdatableViaApex = "updatableViaApex" MethodIServiceManagerGetUpdatableNames = "getUpdatableNames" MethodIServiceManagerGetConnectionInfo = "getConnectionInfo" MethodIServiceManagerRegisterClientCallback = "registerClientCallback" MethodIServiceManagerTryUnregisterService = "tryUnregisterService" MethodIServiceManagerGetServiceDebugInfo = "getServiceDebugInfo" )
const ( IServiceManagerDumpFlagPriorityCritical int32 = (1 << 0) IServiceManagerDumpFlagPriorityHigh int32 = (1 << 1) IServiceManagerDumpFlagPriorityNormal int32 = (1 << 2) IServiceManagerDumpFlagPriorityDefault int32 = (1 << 3) IServiceManagerDumpFlagPriorityAll int32 = (((IServiceManagerDumpFlagPriorityCritical | IServiceManagerDumpFlagPriorityHigh) | IServiceManagerDumpFlagPriorityNormal) | IServiceManagerDumpFlagPriorityDefault) IServiceManagerDumpFlagProto int32 = (1 << 4) )
const ( TransactionISystemConfigGetDisabledUntilUsedPreinstalledCarrierApps = binder.FirstCallTransaction + 0 TransactionISystemConfigGetDisabledUntilUsedPreinstalledCarrierAssociatedApps = binder.FirstCallTransaction + 1 TransactionISystemConfigGetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries = binder.FirstCallTransaction + 2 TransactionISystemConfigGetSystemPermissionUids = binder.FirstCallTransaction + 3 TransactionISystemConfigGetEnabledComponentOverrides = binder.FirstCallTransaction + 4 TransactionISystemConfigGetDefaultVrComponents = binder.FirstCallTransaction + 5 TransactionISystemConfigGetPreventUserDisablePackages = binder.FirstCallTransaction + 6 TransactionISystemConfigGetEnhancedConfirmationTrustedPackages = binder.FirstCallTransaction + 7 TransactionISystemConfigGetEnhancedConfirmationTrustedInstallers = binder.FirstCallTransaction + 8 )
const ( MethodISystemConfigGetDisabledUntilUsedPreinstalledCarrierApps = "getDisabledUntilUsedPreinstalledCarrierApps" MethodISystemConfigGetDisabledUntilUsedPreinstalledCarrierAssociatedApps = "getDisabledUntilUsedPreinstalledCarrierAssociatedApps" MethodISystemConfigGetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries = "getDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries" MethodISystemConfigGetSystemPermissionUids = "getSystemPermissionUids" MethodISystemConfigGetEnabledComponentOverrides = "getEnabledComponentOverrides" MethodISystemConfigGetDefaultVrComponents = "getDefaultVrComponents" MethodISystemConfigGetPreventUserDisablePackages = "getPreventUserDisablePackages" MethodISystemConfigGetEnhancedConfirmationTrustedPackages = "getEnhancedConfirmationTrustedPackages" MethodISystemConfigGetEnhancedConfirmationTrustedInstallers = "getEnhancedConfirmationTrustedInstallers" )
const ( TransactionISystemUpdateManagerRetrieveSystemUpdateInfo = binder.FirstCallTransaction + 0 TransactionISystemUpdateManagerUpdateSystemUpdateInfo = binder.FirstCallTransaction + 1 )
const ( MethodISystemUpdateManagerRetrieveSystemUpdateInfo = "retrieveSystemUpdateInfo" MethodISystemUpdateManagerUpdateSystemUpdateInfo = "updateSystemUpdateInfo" )
const ( TransactionIThermalServiceRegisterThermalEventListener = binder.FirstCallTransaction + 0 TransactionIThermalServiceRegisterThermalEventListenerWithType = binder.FirstCallTransaction + 1 TransactionIThermalServiceUnregisterThermalEventListener = binder.FirstCallTransaction + 2 TransactionIThermalServiceGetCurrentTemperatures = binder.FirstCallTransaction + 3 TransactionIThermalServiceGetCurrentTemperaturesWithType = binder.FirstCallTransaction + 4 TransactionIThermalServiceRegisterThermalStatusListener = binder.FirstCallTransaction + 5 TransactionIThermalServiceUnregisterThermalStatusListener = binder.FirstCallTransaction + 6 TransactionIThermalServiceGetCurrentThermalStatus = binder.FirstCallTransaction + 7 TransactionIThermalServiceGetCurrentCoolingDevices = binder.FirstCallTransaction + 8 TransactionIThermalServiceGetCurrentCoolingDevicesWithType = binder.FirstCallTransaction + 9 TransactionIThermalServiceGetThermalHeadroom = binder.FirstCallTransaction + 10 TransactionIThermalServiceGetThermalHeadroomThresholds = binder.FirstCallTransaction + 11 )
const ( MethodIThermalServiceRegisterThermalEventListener = "registerThermalEventListener" MethodIThermalServiceRegisterThermalEventListenerWithType = "registerThermalEventListenerWithType" MethodIThermalServiceUnregisterThermalEventListener = "unregisterThermalEventListener" MethodIThermalServiceGetCurrentTemperatures = "getCurrentTemperatures" MethodIThermalServiceGetCurrentTemperaturesWithType = "getCurrentTemperaturesWithType" MethodIThermalServiceRegisterThermalStatusListener = "registerThermalStatusListener" MethodIThermalServiceUnregisterThermalStatusListener = "unregisterThermalStatusListener" MethodIThermalServiceGetCurrentThermalStatus = "getCurrentThermalStatus" MethodIThermalServiceGetCurrentCoolingDevices = "getCurrentCoolingDevices" MethodIThermalServiceGetCurrentCoolingDevicesWithType = "getCurrentCoolingDevicesWithType" MethodIThermalServiceGetThermalHeadroom = "getThermalHeadroom" MethodIThermalServiceGetThermalHeadroomThresholds = "getThermalHeadroomThresholds" )
const ( TransactionIUpdateLockAcquireUpdateLock = binder.FirstCallTransaction + 0 TransactionIUpdateLockReleaseUpdateLock = binder.FirstCallTransaction + 1 )
const ( MethodIUpdateLockAcquireUpdateLock = "acquireUpdateLock" MethodIUpdateLockReleaseUpdateLock = "releaseUpdateLock" )
const ( TransactionIUserManagerGetCredentialOwnerProfile = binder.FirstCallTransaction + 0 TransactionIUserManagerGetProfileParentId = binder.FirstCallTransaction + 1 TransactionIUserManagerCreateUserWithThrow = binder.FirstCallTransaction + 2 TransactionIUserManagerPreCreateUserWithThrow = binder.FirstCallTransaction + 3 TransactionIUserManagerCreateProfileForUserWithThrow = binder.FirstCallTransaction + 4 TransactionIUserManagerCreateRestrictedProfileWithThrow = binder.FirstCallTransaction + 5 TransactionIUserManagerGetPreInstallableSystemPackages = binder.FirstCallTransaction + 6 TransactionIUserManagerSetUserEnabled = binder.FirstCallTransaction + 7 TransactionIUserManagerSetUserAdmin = binder.FirstCallTransaction + 8 TransactionIUserManagerRevokeUserAdmin = binder.FirstCallTransaction + 9 TransactionIUserManagerEvictCredentialEncryptionKey = binder.FirstCallTransaction + 10 TransactionIUserManagerRemoveUser = binder.FirstCallTransaction + 11 TransactionIUserManagerRemoveUserEvenWhenDisallowed = binder.FirstCallTransaction + 12 TransactionIUserManagerSetUserName = binder.FirstCallTransaction + 13 TransactionIUserManagerSetUserIcon = binder.FirstCallTransaction + 14 TransactionIUserManagerGetUserIcon = binder.FirstCallTransaction + 15 TransactionIUserManagerGetPrimaryUser = binder.FirstCallTransaction + 16 TransactionIUserManagerGetMainUserId = binder.FirstCallTransaction + 17 TransactionIUserManagerGetCommunalProfileId = binder.FirstCallTransaction + 18 TransactionIUserManagerGetPreviousFullUserToEnterForeground = binder.FirstCallTransaction + 19 TransactionIUserManagerGetUsers = binder.FirstCallTransaction + 20 TransactionIUserManagerGetProfiles = binder.FirstCallTransaction + 21 TransactionIUserManagerGetProfileIds = binder.FirstCallTransaction + 22 TransactionIUserManagerIsUserTypeEnabled = binder.FirstCallTransaction + 23 TransactionIUserManagerCanAddMoreUsersOfType = binder.FirstCallTransaction + 24 TransactionIUserManagerGetRemainingCreatableUserCount = binder.FirstCallTransaction + 25 TransactionIUserManagerGetRemainingCreatableProfileCount = binder.FirstCallTransaction + 26 TransactionIUserManagerCanAddMoreProfilesToUser = binder.FirstCallTransaction + 27 TransactionIUserManagerCanAddMoreManagedProfiles = binder.FirstCallTransaction + 28 TransactionIUserManagerGetProfileParent = binder.FirstCallTransaction + 29 TransactionIUserManagerIsSameProfileGroup = binder.FirstCallTransaction + 30 TransactionIUserManagerIsHeadlessSystemUserMode = binder.FirstCallTransaction + 31 TransactionIUserManagerIsUserOfType = binder.FirstCallTransaction + 32 TransactionIUserManagerGetUserInfo = binder.FirstCallTransaction + 33 TransactionIUserManagerGetUserPropertiesCopy = binder.FirstCallTransaction + 34 TransactionIUserManagerGetUserAccount = binder.FirstCallTransaction + 35 TransactionIUserManagerSetUserAccount = binder.FirstCallTransaction + 36 TransactionIUserManagerGetUserCreationTime = binder.FirstCallTransaction + 37 TransactionIUserManagerGetUserSwitchability = binder.FirstCallTransaction + 38 TransactionIUserManagerIsUserSwitcherEnabled = binder.FirstCallTransaction + 39 TransactionIUserManagerIsRestricted = binder.FirstCallTransaction + 40 TransactionIUserManagerCanHaveRestrictedProfile = binder.FirstCallTransaction + 41 TransactionIUserManagerGetUserSerialNumber = binder.FirstCallTransaction + 42 TransactionIUserManagerGetUserHandle = binder.FirstCallTransaction + 43 TransactionIUserManagerGetUserRestrictionSource = binder.FirstCallTransaction + 44 TransactionIUserManagerGetUserRestrictionSources = binder.FirstCallTransaction + 45 TransactionIUserManagerGetUserRestrictions = binder.FirstCallTransaction + 46 TransactionIUserManagerHasBaseUserRestriction = binder.FirstCallTransaction + 47 TransactionIUserManagerHasUserRestriction = binder.FirstCallTransaction + 48 TransactionIUserManagerHasUserRestrictionOnAnyUser = binder.FirstCallTransaction + 49 TransactionIUserManagerIsSettingRestrictedForUser = binder.FirstCallTransaction + 50 TransactionIUserManagerAddUserRestrictionsListener = binder.FirstCallTransaction + 51 TransactionIUserManagerSetUserRestriction = binder.FirstCallTransaction + 52 TransactionIUserManagerSetApplicationRestrictions = binder.FirstCallTransaction + 53 TransactionIUserManagerGetApplicationRestrictions = binder.FirstCallTransaction + 54 TransactionIUserManagerGetApplicationRestrictionsForUser = binder.FirstCallTransaction + 55 TransactionIUserManagerSetDefaultGuestRestrictions = binder.FirstCallTransaction + 56 TransactionIUserManagerGetDefaultGuestRestrictions = binder.FirstCallTransaction + 57 TransactionIUserManagerRemoveUserWhenPossible = binder.FirstCallTransaction + 58 TransactionIUserManagerMarkGuestForDeletion = binder.FirstCallTransaction + 59 TransactionIUserManagerGetGuestUsers = binder.FirstCallTransaction + 60 TransactionIUserManagerIsQuietModeEnabled = binder.FirstCallTransaction + 61 TransactionIUserManagerCreateUserWithAttributes = binder.FirstCallTransaction + 62 TransactionIUserManagerSetSeedAccountData = binder.FirstCallTransaction + 63 TransactionIUserManagerGetSeedAccountName = binder.FirstCallTransaction + 64 TransactionIUserManagerGetSeedAccountType = binder.FirstCallTransaction + 65 TransactionIUserManagerGetSeedAccountOptions = binder.FirstCallTransaction + 66 TransactionIUserManagerClearSeedAccountData = binder.FirstCallTransaction + 67 TransactionIUserManagerSomeUserHasSeedAccount = binder.FirstCallTransaction + 68 TransactionIUserManagerSomeUserHasAccount = binder.FirstCallTransaction + 69 TransactionIUserManagerGetProfileType = binder.FirstCallTransaction + 70 TransactionIUserManagerIsDemoUser = binder.FirstCallTransaction + 71 TransactionIUserManagerIsAdminUser = binder.FirstCallTransaction + 72 TransactionIUserManagerIsPreCreated = binder.FirstCallTransaction + 73 TransactionIUserManagerCreateProfileForUserEvenWhenDisallowedWithThrow = binder.FirstCallTransaction + 74 TransactionIUserManagerIsUserUnlockingOrUnlocked = binder.FirstCallTransaction + 75 TransactionIUserManagerGetUserIconBadgeResId = binder.FirstCallTransaction + 76 TransactionIUserManagerGetUserBadgeResId = binder.FirstCallTransaction + 77 TransactionIUserManagerGetUserBadgeNoBackgroundResId = binder.FirstCallTransaction + 78 TransactionIUserManagerGetUserBadgeLabelResId = binder.FirstCallTransaction + 79 TransactionIUserManagerGetUserBadgeColorResId = binder.FirstCallTransaction + 80 TransactionIUserManagerGetUserBadgeDarkColorResId = binder.FirstCallTransaction + 81 TransactionIUserManagerGetUserStatusBarIconResId = binder.FirstCallTransaction + 82 TransactionIUserManagerHasBadge = binder.FirstCallTransaction + 83 TransactionIUserManagerGetProfileLabelResId = binder.FirstCallTransaction + 84 TransactionIUserManagerIsUserUnlocked = binder.FirstCallTransaction + 85 TransactionIUserManagerIsUserRunning = binder.FirstCallTransaction + 86 TransactionIUserManagerIsUserForeground = binder.FirstCallTransaction + 87 TransactionIUserManagerIsUserVisible = binder.FirstCallTransaction + 88 TransactionIUserManagerGetVisibleUsers = binder.FirstCallTransaction + 89 TransactionIUserManagerGetMainDisplayIdAssignedToUser = binder.FirstCallTransaction + 90 TransactionIUserManagerIsForegroundUserAdmin = binder.FirstCallTransaction + 91 TransactionIUserManagerIsUserNameSet = binder.FirstCallTransaction + 92 TransactionIUserManagerHasRestrictedProfiles = binder.FirstCallTransaction + 93 TransactionIUserManagerRequestQuietModeEnabled = binder.FirstCallTransaction + 94 TransactionIUserManagerGetUserName = binder.FirstCallTransaction + 95 TransactionIUserManagerGetUserStartRealtime = binder.FirstCallTransaction + 96 TransactionIUserManagerGetUserUnlockRealtime = binder.FirstCallTransaction + 97 TransactionIUserManagerSetUserEphemeral = binder.FirstCallTransaction + 98 TransactionIUserManagerSetBootUser = binder.FirstCallTransaction + 99 TransactionIUserManagerGetBootUser = binder.FirstCallTransaction + 100 TransactionIUserManagerGetProfileIdsExcludingHidden = binder.FirstCallTransaction + 101 )
const ( MethodIUserManagerGetCredentialOwnerProfile = "getCredentialOwnerProfile" MethodIUserManagerGetProfileParentId = "getProfileParentId" MethodIUserManagerCreateUserWithThrow = "createUserWithThrow" MethodIUserManagerPreCreateUserWithThrow = "preCreateUserWithThrow" MethodIUserManagerCreateProfileForUserWithThrow = "createProfileForUserWithThrow" MethodIUserManagerCreateRestrictedProfileWithThrow = "createRestrictedProfileWithThrow" MethodIUserManagerGetPreInstallableSystemPackages = "getPreInstallableSystemPackages" MethodIUserManagerSetUserEnabled = "setUserEnabled" MethodIUserManagerSetUserAdmin = "setUserAdmin" MethodIUserManagerRevokeUserAdmin = "revokeUserAdmin" MethodIUserManagerEvictCredentialEncryptionKey = "evictCredentialEncryptionKey" MethodIUserManagerRemoveUser = "removeUser" MethodIUserManagerRemoveUserEvenWhenDisallowed = "removeUserEvenWhenDisallowed" MethodIUserManagerSetUserName = "setUserName" MethodIUserManagerSetUserIcon = "setUserIcon" MethodIUserManagerGetUserIcon = "getUserIcon" MethodIUserManagerGetPrimaryUser = "getPrimaryUser" MethodIUserManagerGetMainUserId = "getMainUserId" MethodIUserManagerGetCommunalProfileId = "getCommunalProfileId" MethodIUserManagerGetPreviousFullUserToEnterForeground = "getPreviousFullUserToEnterForeground" MethodIUserManagerGetUsers = "getUsers" MethodIUserManagerGetProfiles = "getProfiles" MethodIUserManagerGetProfileIds = "getProfileIds" MethodIUserManagerIsUserTypeEnabled = "isUserTypeEnabled" MethodIUserManagerCanAddMoreUsersOfType = "canAddMoreUsersOfType" MethodIUserManagerGetRemainingCreatableUserCount = "getRemainingCreatableUserCount" MethodIUserManagerGetRemainingCreatableProfileCount = "getRemainingCreatableProfileCount" MethodIUserManagerCanAddMoreProfilesToUser = "canAddMoreProfilesToUser" MethodIUserManagerCanAddMoreManagedProfiles = "canAddMoreManagedProfiles" MethodIUserManagerGetProfileParent = "getProfileParent" MethodIUserManagerIsSameProfileGroup = "isSameProfileGroup" MethodIUserManagerIsHeadlessSystemUserMode = "isHeadlessSystemUserMode" MethodIUserManagerIsUserOfType = "isUserOfType" MethodIUserManagerGetUserInfo = "getUserInfo" MethodIUserManagerGetUserPropertiesCopy = "getUserPropertiesCopy" MethodIUserManagerGetUserAccount = "getUserAccount" MethodIUserManagerSetUserAccount = "setUserAccount" MethodIUserManagerGetUserCreationTime = "getUserCreationTime" MethodIUserManagerGetUserSwitchability = "getUserSwitchability" MethodIUserManagerIsUserSwitcherEnabled = "isUserSwitcherEnabled" MethodIUserManagerIsRestricted = "isRestricted" MethodIUserManagerCanHaveRestrictedProfile = "canHaveRestrictedProfile" MethodIUserManagerGetUserSerialNumber = "getUserSerialNumber" MethodIUserManagerGetUserHandle = "getUserHandle" MethodIUserManagerGetUserRestrictionSource = "getUserRestrictionSource" MethodIUserManagerGetUserRestrictionSources = "getUserRestrictionSources" MethodIUserManagerGetUserRestrictions = "getUserRestrictions" MethodIUserManagerHasBaseUserRestriction = "hasBaseUserRestriction" MethodIUserManagerHasUserRestriction = "hasUserRestriction" MethodIUserManagerHasUserRestrictionOnAnyUser = "hasUserRestrictionOnAnyUser" MethodIUserManagerIsSettingRestrictedForUser = "isSettingRestrictedForUser" MethodIUserManagerAddUserRestrictionsListener = "addUserRestrictionsListener" MethodIUserManagerSetUserRestriction = "setUserRestriction" MethodIUserManagerSetApplicationRestrictions = "setApplicationRestrictions" MethodIUserManagerGetApplicationRestrictions = "getApplicationRestrictions" MethodIUserManagerGetApplicationRestrictionsForUser = "getApplicationRestrictionsForUser" MethodIUserManagerSetDefaultGuestRestrictions = "setDefaultGuestRestrictions" MethodIUserManagerGetDefaultGuestRestrictions = "getDefaultGuestRestrictions" MethodIUserManagerRemoveUserWhenPossible = "removeUserWhenPossible" MethodIUserManagerMarkGuestForDeletion = "markGuestForDeletion" MethodIUserManagerGetGuestUsers = "getGuestUsers" MethodIUserManagerIsQuietModeEnabled = "isQuietModeEnabled" MethodIUserManagerCreateUserWithAttributes = "createUserWithAttributes" MethodIUserManagerSetSeedAccountData = "setSeedAccountData" MethodIUserManagerGetSeedAccountName = "getSeedAccountName" MethodIUserManagerGetSeedAccountType = "getSeedAccountType" MethodIUserManagerGetSeedAccountOptions = "getSeedAccountOptions" MethodIUserManagerClearSeedAccountData = "clearSeedAccountData" MethodIUserManagerSomeUserHasSeedAccount = "someUserHasSeedAccount" MethodIUserManagerSomeUserHasAccount = "someUserHasAccount" MethodIUserManagerGetProfileType = "getProfileType" MethodIUserManagerIsDemoUser = "isDemoUser" MethodIUserManagerIsAdminUser = "isAdminUser" MethodIUserManagerIsPreCreated = "isPreCreated" MethodIUserManagerCreateProfileForUserEvenWhenDisallowedWithThrow = "createProfileForUserEvenWhenDisallowedWithThrow" MethodIUserManagerIsUserUnlockingOrUnlocked = "isUserUnlockingOrUnlocked" MethodIUserManagerGetUserIconBadgeResId = "getUserIconBadgeResId" MethodIUserManagerGetUserBadgeResId = "getUserBadgeResId" MethodIUserManagerGetUserBadgeNoBackgroundResId = "getUserBadgeNoBackgroundResId" MethodIUserManagerGetUserBadgeLabelResId = "getUserBadgeLabelResId" MethodIUserManagerGetUserBadgeColorResId = "getUserBadgeColorResId" MethodIUserManagerGetUserBadgeDarkColorResId = "getUserBadgeDarkColorResId" MethodIUserManagerGetUserStatusBarIconResId = "getUserStatusBarIconResId" MethodIUserManagerHasBadge = "hasBadge" MethodIUserManagerGetProfileLabelResId = "getProfileLabelResId" MethodIUserManagerIsUserUnlocked = "isUserUnlocked" MethodIUserManagerIsUserRunning = "isUserRunning" MethodIUserManagerIsUserForeground = "isUserForeground" MethodIUserManagerIsUserVisible = "isUserVisible" MethodIUserManagerGetVisibleUsers = "getVisibleUsers" MethodIUserManagerGetMainDisplayIdAssignedToUser = "getMainDisplayIdAssignedToUser" MethodIUserManagerIsForegroundUserAdmin = "isForegroundUserAdmin" MethodIUserManagerIsUserNameSet = "isUserNameSet" MethodIUserManagerHasRestrictedProfiles = "hasRestrictedProfiles" MethodIUserManagerRequestQuietModeEnabled = "requestQuietModeEnabled" MethodIUserManagerGetUserName = "getUserName" MethodIUserManagerGetUserStartRealtime = "getUserStartRealtime" MethodIUserManagerGetUserUnlockRealtime = "getUserUnlockRealtime" MethodIUserManagerSetUserEphemeral = "setUserEphemeral" MethodIUserManagerSetBootUser = "setBootUser" MethodIUserManagerGetBootUser = "getBootUser" MethodIUserManagerGetProfileIdsExcludingHidden = "getProfileIdsExcludingHidden" )
const ( TransactionIVibratorManagerServiceGetVibratorIds = binder.FirstCallTransaction + 0 TransactionIVibratorManagerServiceGetVibratorInfo = binder.FirstCallTransaction + 1 TransactionIVibratorManagerServiceIsVibrating = binder.FirstCallTransaction + 2 TransactionIVibratorManagerServiceRegisterVibratorStateListener = binder.FirstCallTransaction + 3 TransactionIVibratorManagerServiceUnregisterVibratorStateListener = binder.FirstCallTransaction + 4 TransactionIVibratorManagerServiceSetAlwaysOnEffect = binder.FirstCallTransaction + 5 TransactionIVibratorManagerServiceVibrate = binder.FirstCallTransaction + 6 TransactionIVibratorManagerServiceCancelVibrate = binder.FirstCallTransaction + 7 TransactionIVibratorManagerServicePerformHapticFeedback = binder.FirstCallTransaction + 8 )
const ( MethodIVibratorManagerServiceGetVibratorIds = "getVibratorIds" MethodIVibratorManagerServiceGetVibratorInfo = "getVibratorInfo" MethodIVibratorManagerServiceIsVibrating = "isVibrating" MethodIVibratorManagerServiceRegisterVibratorStateListener = "registerVibratorStateListener" MethodIVibratorManagerServiceUnregisterVibratorStateListener = "unregisterVibratorStateListener" MethodIVibratorManagerServiceSetAlwaysOnEffect = "setAlwaysOnEffect" MethodIVibratorManagerServiceVibrate = "vibrate" MethodIVibratorManagerServiceCancelVibrate = "cancelVibrate" MethodIVibratorManagerServicePerformHapticFeedback = "performHapticFeedback" )
const ( StatsBootstrapAtomValueTagBoolValue int32 = 0 StatsBootstrapAtomValueTagIntValue int32 = 1 StatsBootstrapAtomValueTagLongValue int32 = 2 StatsBootstrapAtomValueTagFloatValue int32 = 3 StatsBootstrapAtomValueTagStringValue int32 = 4 StatsBootstrapAtomValueTagBytesValue int32 = 5 )
const DescriptorIAidlTest = "android.os.IAidlTest"
const DescriptorIBatteryPropertiesRegistrar = "android.os.IBatteryPropertiesRegistrar"
const DescriptorIBinderThreadPriorityService = "android.os.IBinderThreadPriorityService"
const DescriptorIBinderWorkSourceNestedService = "android.os.IBinderWorkSourceNestedService"
const DescriptorIBinderWorkSourceService = "android.os.IBinderWorkSourceService"
const DescriptorICancellationSignal = "android.os.ICancellationSignal"
const DescriptorIClientCallback = "android.os.IClientCallback"
const DescriptorIDeviceIdentifiersPolicyService = "android.os.IDeviceIdentifiersPolicyService"
const DescriptorIDeviceIdleController = "android.os.IDeviceIdleController"
const DescriptorIDumpstate = "android.os.IDumpstate"
const DescriptorIDumpstateListener = "android.os.IDumpstateListener"
const DescriptorIExternalVibrationController = "android.os.IExternalVibrationController"
const DescriptorIExternalVibratorService = "android.os.IExternalVibratorService"
const DescriptorIHardwarePropertiesManager = "android.os.IHardwarePropertiesManager"
const DescriptorIHintManager = "android.os.IHintManager"
const DescriptorIHintSession = "android.os.IHintSession"
const DescriptorIIdmap2 = "android.os.IIdmap2"
const DescriptorIIncidentAuthListener = "android.os.IIncidentAuthListener"
const DescriptorIIncidentCompanion = "android.os.IIncidentCompanion"
const DescriptorIIncidentDumpCallback = "android.os.IIncidentDumpCallback"
const DescriptorIIncidentManager = "android.os.IIncidentManager"
const DescriptorIIncidentReportStatusListener = "android.os.IIncidentReportStatusListener"
const DescriptorIInputConstants = "android.os.IInputConstants"
const DescriptorIInputFlinger = "android.os.IInputFlinger"
const DescriptorIInstalld = "android.os.IInstalld"
const DescriptorIInstalldIFsveritySetupAuthToken = "android.os.IInstalld.IFsveritySetupAuthToken"
const DescriptorIMessenger = "android.os.IMessenger"
const DescriptorINetworkManagementService = "android.os.INetworkManagementService"
const DescriptorIPermissionController = "android.os.IPermissionController"
const DescriptorIPowerManager = "android.os.IPowerManager"
const DescriptorIPowerStatsService = "android.os.IPowerStatsService"
const DescriptorIProcessInfoService = "android.os.IProcessInfoService"
const DescriptorIProgressListener = "android.os.IProgressListener"
const DescriptorIRecoverySystem = "android.os.IRecoverySystem"
const DescriptorIRecoverySystemProgressListener = "android.os.IRecoverySystemProgressListener"
const DescriptorIRemoteCallback = "android.os.IRemoteCallback"
const DescriptorISchedulingPolicyService = "android.os.ISchedulingPolicyService"
const DescriptorISecurityStateManager = "android.os.ISecurityStateManager"
const DescriptorIServiceCallback = "android.os.IServiceCallback"
const DescriptorIServiceManager = "android.os.IServiceManager"
const DescriptorISomeService = "android.os.ISomeService"
const DescriptorIStatsBootstrapAtomService = "android.os.IStatsBootstrapAtomService"
const DescriptorISystemConfig = "android.os.ISystemConfig"
const DescriptorISystemUpdateManager = "android.os.ISystemUpdateManager"
const DescriptorIThermalEventListener = "android.os.IThermalEventListener"
const DescriptorIThermalService = "android.os.IThermalService"
const DescriptorIThermalStatusListener = "android.os.IThermalStatusListener"
const DescriptorIUpdateLock = "android.os.IUpdateLock"
const DescriptorIUserManager = "android.os.IUserManager"
const DescriptorIUserRestrictionsListener = "android.os.IUserRestrictionsListener"
const DescriptorIVibratorManagerService = "android.os.IVibratorManagerService"
const DescriptorIVibratorStateListener = "android.os.IVibratorStateListener"
const DescriptorIWakeLockCallback = "android.os.IWakeLockCallback"
const (
MethodICancellationSignalCancel = "cancel"
)
const (
MethodIClientCallbackOnClients = "onClients"
)
const (
MethodIIncidentDumpCallbackOnDumpSection = "onDumpSection"
)
const (
MethodIMessengerSend = "send"
)
const (
MethodIRecoverySystemProgressListenerOnProgress = "onProgress"
)
const (
MethodIRemoteCallbackSendResult = "sendResult"
)
const (
MethodISecurityStateManagerGetGlobalSecurityState = "getGlobalSecurityState"
)
const (
MethodIServiceCallbackOnRegistration = "onRegistration"
)
const (
MethodISomeServiceReadDisk = "readDisk"
)
const (
MethodIStatsBootstrapAtomServiceReportBootstrapAtom = "reportBootstrapAtom"
)
const (
MethodIThermalEventListenerNotifyThrottling = "notifyThrottling"
)
const (
MethodIThermalStatusListenerOnStatusChange = "onStatusChange"
)
const (
MethodIUserRestrictionsListenerOnUserRestrictionsChanged = "onUserRestrictionsChanged"
)
const (
MethodIVibratorStateListenerOnVibrating = "onVibrating"
)
const (
MethodIWakeLockCallbackOnStateChanged = "onStateChanged"
)
const (
TransactionICancellationSignalCancel = binder.FirstCallTransaction + 0
)
const (
TransactionIClientCallbackOnClients = binder.FirstCallTransaction + 0
)
const (
TransactionIIncidentDumpCallbackOnDumpSection = binder.FirstCallTransaction + 0
)
const (
TransactionIMessengerSend = binder.FirstCallTransaction + 0
)
const (
TransactionIRecoverySystemProgressListenerOnProgress = binder.FirstCallTransaction + 0
)
const (
TransactionIRemoteCallbackSendResult = binder.FirstCallTransaction + 0
)
const (
TransactionISecurityStateManagerGetGlobalSecurityState = binder.FirstCallTransaction + 0
)
const (
TransactionIServiceCallbackOnRegistration = binder.FirstCallTransaction + 0
)
const (
TransactionISomeServiceReadDisk = binder.FirstCallTransaction + 0
)
const (
TransactionIStatsBootstrapAtomServiceReportBootstrapAtom = binder.FirstCallTransaction + 0
)
const (
TransactionIThermalEventListenerNotifyThrottling = binder.FirstCallTransaction + 0
)
const (
TransactionIThermalStatusListenerOnStatusChange = binder.FirstCallTransaction + 0
)
const (
TransactionIUserRestrictionsListenerOnUserRestrictionsChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIVibratorStateListenerOnVibrating = binder.FirstCallTransaction + 0
)
const (
TransactionIWakeLockCallbackOnStateChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AidlTestProxy ¶
func NewAidlTestProxy ¶
func NewAidlTestProxy( remote binder.IBinder, ) *AidlTestProxy
func (*AidlTestProxy) AsBinder ¶
func (p *AidlTestProxy) AsBinder() binder.IBinder
func (*AidlTestProxy) BooleanArray ¶
func (*AidlTestProxy) DoubleArray ¶
func (*AidlTestProxy) FloatArray ¶
func (*AidlTestProxy) IntSecurityException ¶
func (p *AidlTestProxy) IntSecurityException( ctx context.Context, ) (int32, error)
func (*AidlTestProxy) ListParcelableLonger ¶
func (p *AidlTestProxy) ListParcelableLonger( ctx context.Context, list []AidlTestTestParcelable, index int32, ) (AidlTestTestParcelable, error)
func (*AidlTestProxy) ListParcelableShorter ¶
func (p *AidlTestProxy) ListParcelableShorter( ctx context.Context, list []AidlTestTestParcelable, index int32, ) (int32, error)
func (*AidlTestProxy) ParcelableArray ¶
func (p *AidlTestProxy) ParcelableArray( ctx context.Context, a0 []AidlTestTestParcelable, a1 []AidlTestTestParcelable, a2 []AidlTestTestParcelable, ) ([]AidlTestTestParcelable, error)
func (*AidlTestProxy) ParcelableIn ¶
func (p *AidlTestProxy) ParcelableIn( ctx context.Context, p_ AidlTestTestParcelable, ) (AidlTestTestParcelable, error)
func (*AidlTestProxy) ParcelableInOut ¶
func (p *AidlTestProxy) ParcelableInOut( ctx context.Context, p_ AidlTestTestParcelable, ) (AidlTestTestParcelable, error)
func (*AidlTestProxy) ParcelableOut ¶
func (p *AidlTestProxy) ParcelableOut( ctx context.Context, p_ AidlTestTestParcelable, ) (AidlTestTestParcelable, error)
func (*AidlTestProxy) StringArray ¶
func (*AidlTestProxy) VoidSecurityException ¶
func (p *AidlTestProxy) VoidSecurityException( ctx context.Context, ) error
type AidlTestStub ¶
type AidlTestStub struct {
Impl IAidlTest
Transport binder.VersionAwareTransport
}
AidlTestStub dispatches incoming binder transactions to a typed IAidlTest implementation.
func (*AidlTestStub) Descriptor ¶
func (s *AidlTestStub) Descriptor() string
func (*AidlTestStub) OnTransaction ¶
func (s *AidlTestStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AidlTestTestParcelable ¶
type AidlTestTestParcelable struct {
}
func (*AidlTestTestParcelable) MarshalParcel ¶
func (s *AidlTestTestParcelable) MarshalParcel( p *parcel.Parcel, ) error
func (*AidlTestTestParcelable) UnmarshalParcel ¶
func (s *AidlTestTestParcelable) UnmarshalParcel( p *parcel.Parcel, ) error
type BatteryPropertiesRegistrarProxy ¶
func NewBatteryPropertiesRegistrarProxy ¶
func NewBatteryPropertiesRegistrarProxy( remote binder.IBinder, ) *BatteryPropertiesRegistrarProxy
func (*BatteryPropertiesRegistrarProxy) AsBinder ¶
func (p *BatteryPropertiesRegistrarProxy) AsBinder() binder.IBinder
func (*BatteryPropertiesRegistrarProxy) GetProperty ¶
func (p *BatteryPropertiesRegistrarProxy) GetProperty( ctx context.Context, id int32, prop BatteryProperty, ) (int32, error)
func (*BatteryPropertiesRegistrarProxy) ScheduleUpdate ¶
func (p *BatteryPropertiesRegistrarProxy) ScheduleUpdate( ctx context.Context, ) error
type BatteryPropertiesRegistrarStub ¶
type BatteryPropertiesRegistrarStub struct {
Impl IBatteryPropertiesRegistrar
Transport binder.VersionAwareTransport
}
BatteryPropertiesRegistrarStub dispatches incoming binder transactions to a typed IBatteryPropertiesRegistrar implementation.
func (*BatteryPropertiesRegistrarStub) Descriptor ¶
func (s *BatteryPropertiesRegistrarStub) Descriptor() string
func (*BatteryPropertiesRegistrarStub) OnTransaction ¶
func (s *BatteryPropertiesRegistrarStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BatteryProperty ¶
func (*BatteryProperty) MarshalParcel ¶
func (s *BatteryProperty) MarshalParcel( p *parcel.Parcel, ) error
func (*BatteryProperty) UnmarshalParcel ¶
func (s *BatteryProperty) UnmarshalParcel( p *parcel.Parcel, ) error
type BatterySaverPolicyConfig ¶
type BatterySaverPolicyConfig struct {
AdjustBrightnessFactor float32
AdvertiseIsEnabled bool
DeferFullBackup bool
DeferKeyValueBackup bool
Size int32
DisableAnimation bool
DisableAod bool
DisableLaunchBoost bool
DisableOptionalSensors bool
DisableVibration bool
EnableAdjustBrightness bool
EnableDataSaver bool
EnableFirewall bool
EnableNightMode bool
EnableQuickDoze bool
ForceAllAppsStandby bool
ForceBackgroundCheck bool
LocationMode int32
SoundTriggerMode int32
}
func (*BatterySaverPolicyConfig) MarshalParcel ¶
func (s *BatterySaverPolicyConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*BatterySaverPolicyConfig) UnmarshalParcel ¶
func (s *BatterySaverPolicyConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type BatteryUsageStats ¶
type BatteryUsageStats struct {
StatsStartTimestampMs int64
StatsEndTimestampMs int64
StatsDurationMs int64
BatteryCapacityMah float64
DischargePercentage int32
DischargedPowerLowerBound float64
DischargedPowerUpperBound float64
DischargeDurationMs int64
BatteryTimeRemainingMs int64
ChargeTimeRemainingMs int64
IncludesPowerModels bool
IncludesProcessStateData bool
}
func (*BatteryUsageStats) MarshalParcel ¶
func (s *BatteryUsageStats) MarshalParcel( p *parcel.Parcel, ) error
func (*BatteryUsageStats) UnmarshalParcel ¶
func (s *BatteryUsageStats) UnmarshalParcel( p *parcel.Parcel, ) error
type BatteryUsageStatsQuery ¶
type BatteryUsageStatsQuery struct {
Flags int32
MaxStatsAgeMs int64
MinConsumedPowerThreshold float64
FromTimestamp int64
ToTimestamp int64
}
func (*BatteryUsageStatsQuery) MarshalParcel ¶
func (s *BatteryUsageStatsQuery) MarshalParcel( p *parcel.Parcel, ) error
func (*BatteryUsageStatsQuery) UnmarshalParcel ¶
func (s *BatteryUsageStatsQuery) UnmarshalParcel( p *parcel.Parcel, ) error
type BinderThreadPriorityServiceProxy ¶
func NewBinderThreadPriorityServiceProxy ¶
func NewBinderThreadPriorityServiceProxy( remote binder.IBinder, ) *BinderThreadPriorityServiceProxy
func (*BinderThreadPriorityServiceProxy) AsBinder ¶
func (p *BinderThreadPriorityServiceProxy) AsBinder() binder.IBinder
func (*BinderThreadPriorityServiceProxy) CallBack ¶
func (p *BinderThreadPriorityServiceProxy) CallBack( ctx context.Context, recurse IBinderThreadPriorityService, ) error
func (*BinderThreadPriorityServiceProxy) GetThreadPriority ¶
func (p *BinderThreadPriorityServiceProxy) GetThreadPriority( ctx context.Context, ) (int32, error)
func (*BinderThreadPriorityServiceProxy) GetThreadSchedulerGroup ¶
func (p *BinderThreadPriorityServiceProxy) GetThreadSchedulerGroup( ctx context.Context, ) (string, error)
func (*BinderThreadPriorityServiceProxy) SetPriorityAndCallBack ¶
func (p *BinderThreadPriorityServiceProxy) SetPriorityAndCallBack( ctx context.Context, priority int32, recurse IBinderThreadPriorityService, ) error
type BinderThreadPriorityServiceStub ¶
type BinderThreadPriorityServiceStub struct {
Impl IBinderThreadPriorityService
Transport binder.VersionAwareTransport
}
BinderThreadPriorityServiceStub dispatches incoming binder transactions to a typed IBinderThreadPriorityService implementation.
func (*BinderThreadPriorityServiceStub) Descriptor ¶
func (s *BinderThreadPriorityServiceStub) Descriptor() string
func (*BinderThreadPriorityServiceStub) OnTransaction ¶
func (s *BinderThreadPriorityServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BinderWorkSourceNestedServiceProxy ¶
func NewBinderWorkSourceNestedServiceProxy ¶
func NewBinderWorkSourceNestedServiceProxy( remote binder.IBinder, ) *BinderWorkSourceNestedServiceProxy
func (*BinderWorkSourceNestedServiceProxy) AsBinder ¶
func (p *BinderWorkSourceNestedServiceProxy) AsBinder() binder.IBinder
func (*BinderWorkSourceNestedServiceProxy) NestedCall ¶
func (p *BinderWorkSourceNestedServiceProxy) NestedCall( ctx context.Context, ) ([]int32, error)
func (*BinderWorkSourceNestedServiceProxy) NestedCallWithWorkSourceToSet ¶
type BinderWorkSourceNestedServiceStub ¶
type BinderWorkSourceNestedServiceStub struct {
Impl IBinderWorkSourceNestedService
Transport binder.VersionAwareTransport
}
BinderWorkSourceNestedServiceStub dispatches incoming binder transactions to a typed IBinderWorkSourceNestedService implementation.
func (*BinderWorkSourceNestedServiceStub) Descriptor ¶
func (s *BinderWorkSourceNestedServiceStub) Descriptor() string
func (*BinderWorkSourceNestedServiceStub) OnTransaction ¶
func (s *BinderWorkSourceNestedServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BinderWorkSourceServiceProxy ¶
func NewBinderWorkSourceServiceProxy ¶
func NewBinderWorkSourceServiceProxy( remote binder.IBinder, ) *BinderWorkSourceServiceProxy
func (*BinderWorkSourceServiceProxy) AsBinder ¶
func (p *BinderWorkSourceServiceProxy) AsBinder() binder.IBinder
func (*BinderWorkSourceServiceProxy) ClearWorkSourceProvider ¶
func (p *BinderWorkSourceServiceProxy) ClearWorkSourceProvider( ctx context.Context, ) error
func (*BinderWorkSourceServiceProxy) GetBinderCallingUid ¶
func (p *BinderWorkSourceServiceProxy) GetBinderCallingUid( ctx context.Context, ) (int32, error)
func (*BinderWorkSourceServiceProxy) GetIncomingWorkSourceUid ¶
func (p *BinderWorkSourceServiceProxy) GetIncomingWorkSourceUid( ctx context.Context, ) (int32, error)
func (*BinderWorkSourceServiceProxy) GetThreadLocalWorkSourceUid ¶
func (p *BinderWorkSourceServiceProxy) GetThreadLocalWorkSourceUid( ctx context.Context, ) (int32, error)
func (*BinderWorkSourceServiceProxy) SetWorkSourceProvider ¶
func (p *BinderWorkSourceServiceProxy) SetWorkSourceProvider( ctx context.Context, uid int32, ) error
type BinderWorkSourceServiceStub ¶
type BinderWorkSourceServiceStub struct {
Impl IBinderWorkSourceService
Transport binder.VersionAwareTransport
}
BinderWorkSourceServiceStub dispatches incoming binder transactions to a typed IBinderWorkSourceService implementation.
func (*BinderWorkSourceServiceStub) Descriptor ¶
func (s *BinderWorkSourceServiceStub) Descriptor() string
func (*BinderWorkSourceServiceStub) OnTransaction ¶
func (s *BinderWorkSourceServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BluetoothBatteryStats ¶
type BluetoothBatteryStats struct {
Size int32
}
func (*BluetoothBatteryStats) MarshalParcel ¶
func (s *BluetoothBatteryStats) MarshalParcel( p *parcel.Parcel, ) error
func (*BluetoothBatteryStats) UnmarshalParcel ¶
func (s *BluetoothBatteryStats) UnmarshalParcel( p *parcel.Parcel, ) error
type CancellationSignalProxy ¶
func NewCancellationSignalProxy ¶
func NewCancellationSignalProxy( remote binder.IBinder, ) *CancellationSignalProxy
func (*CancellationSignalProxy) AsBinder ¶
func (p *CancellationSignalProxy) AsBinder() binder.IBinder
type CancellationSignalStub ¶
type CancellationSignalStub struct {
Impl ICancellationSignal
Transport binder.VersionAwareTransport
}
CancellationSignalStub dispatches incoming binder transactions to a typed ICancellationSignal implementation.
func (*CancellationSignalStub) Descriptor ¶
func (s *CancellationSignalStub) Descriptor() string
func (*CancellationSignalStub) OnTransaction ¶
func (s *CancellationSignalStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type CarrierAssociatedAppEntry ¶
func (*CarrierAssociatedAppEntry) MarshalParcel ¶
func (s *CarrierAssociatedAppEntry) MarshalParcel( p *parcel.Parcel, ) error
func (*CarrierAssociatedAppEntry) UnmarshalParcel ¶
func (s *CarrierAssociatedAppEntry) UnmarshalParcel( p *parcel.Parcel, ) error
type ClientCallbackProxy ¶
func NewClientCallbackProxy ¶
func NewClientCallbackProxy( remote binder.IBinder, ) *ClientCallbackProxy
func (*ClientCallbackProxy) AsBinder ¶
func (p *ClientCallbackProxy) AsBinder() binder.IBinder
type ClientCallbackStub ¶
type ClientCallbackStub struct {
Impl IClientCallback
Transport binder.VersionAwareTransport
}
ClientCallbackStub dispatches incoming binder transactions to a typed IClientCallback implementation.
func (*ClientCallbackStub) Descriptor ¶
func (s *ClientCallbackStub) Descriptor() string
func (*ClientCallbackStub) OnTransaction ¶
func (s *ClientCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type CombinedVibration ¶
type CombinedVibration struct {
}
func (*CombinedVibration) MarshalParcel ¶
func (s *CombinedVibration) MarshalParcel( p *parcel.Parcel, ) error
func (*CombinedVibration) UnmarshalParcel ¶
func (s *CombinedVibration) UnmarshalParcel( p *parcel.Parcel, ) error
type ConnectionInfo ¶
func (*ConnectionInfo) MarshalParcel ¶
func (s *ConnectionInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*ConnectionInfo) UnmarshalParcel ¶
func (s *ConnectionInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type CoolingDevice ¶
func (*CoolingDevice) MarshalParcel ¶
func (s *CoolingDevice) MarshalParcel( p *parcel.Parcel, ) error
func (*CoolingDevice) UnmarshalParcel ¶
func (s *CoolingDevice) UnmarshalParcel( p *parcel.Parcel, ) error
type CpuUsageInfo ¶
func (*CpuUsageInfo) MarshalParcel ¶
func (s *CpuUsageInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*CpuUsageInfo) UnmarshalParcel ¶
func (s *CpuUsageInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type CreateAppDataArgs ¶
type CreateAppDataArgs struct {
Uuid string
PackageName string
UserId int32
Flags int32
AppId int32
PreviousAppId int32
SeInfo string
TargetSdkVersion int32
}
func (*CreateAppDataArgs) MarshalParcel ¶
func (s *CreateAppDataArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*CreateAppDataArgs) UnmarshalParcel ¶
func (s *CreateAppDataArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type CreateAppDataResult ¶
type CreateAppDataResult struct {
CeDataInode int64
DeDataInode int64
ExceptionCode int32
ExceptionMessage string
}
func (*CreateAppDataResult) MarshalParcel ¶
func (s *CreateAppDataResult) MarshalParcel( p *parcel.Parcel, ) error
func (*CreateAppDataResult) UnmarshalParcel ¶
func (s *CreateAppDataResult) UnmarshalParcel( p *parcel.Parcel, ) error
type DebugMemoryInfo ¶
type DebugMemoryInfo struct {
}
func (*DebugMemoryInfo) MarshalParcel ¶
func (s *DebugMemoryInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DebugMemoryInfo) UnmarshalParcel ¶
func (s *DebugMemoryInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceIdentifiersPolicyServiceProxy ¶
func NewDeviceIdentifiersPolicyServiceProxy ¶
func NewDeviceIdentifiersPolicyServiceProxy( remote binder.IBinder, ) *DeviceIdentifiersPolicyServiceProxy
func (*DeviceIdentifiersPolicyServiceProxy) AsBinder ¶
func (p *DeviceIdentifiersPolicyServiceProxy) AsBinder() binder.IBinder
func (*DeviceIdentifiersPolicyServiceProxy) GetSerial ¶
func (p *DeviceIdentifiersPolicyServiceProxy) GetSerial( ctx context.Context, ) (string, error)
func (*DeviceIdentifiersPolicyServiceProxy) GetSerialForPackage ¶
func (p *DeviceIdentifiersPolicyServiceProxy) GetSerialForPackage( ctx context.Context, ) (string, error)
type DeviceIdentifiersPolicyServiceStub ¶
type DeviceIdentifiersPolicyServiceStub struct {
Impl IDeviceIdentifiersPolicyService
Transport binder.VersionAwareTransport
}
DeviceIdentifiersPolicyServiceStub dispatches incoming binder transactions to a typed IDeviceIdentifiersPolicyService implementation.
func (*DeviceIdentifiersPolicyServiceStub) Descriptor ¶
func (s *DeviceIdentifiersPolicyServiceStub) Descriptor() string
func (*DeviceIdentifiersPolicyServiceStub) OnTransaction ¶
func (s *DeviceIdentifiersPolicyServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DeviceIdleControllerProxy ¶
func NewDeviceIdleControllerProxy ¶
func NewDeviceIdleControllerProxy( remote binder.IBinder, ) *DeviceIdleControllerProxy
func (*DeviceIdleControllerProxy) AddPowerSaveTempWhitelistApp ¶
func (*DeviceIdleControllerProxy) AddPowerSaveTempWhitelistAppForMms ¶
func (*DeviceIdleControllerProxy) AddPowerSaveTempWhitelistAppForSms ¶
func (*DeviceIdleControllerProxy) AddPowerSaveWhitelistApp ¶
func (p *DeviceIdleControllerProxy) AddPowerSaveWhitelistApp( ctx context.Context, name string, ) error
func (*DeviceIdleControllerProxy) AddPowerSaveWhitelistApps ¶
func (*DeviceIdleControllerProxy) AsBinder ¶
func (p *DeviceIdleControllerProxy) AsBinder() binder.IBinder
func (*DeviceIdleControllerProxy) ExitIdle ¶
func (p *DeviceIdleControllerProxy) ExitIdle( ctx context.Context, reason string, ) error
func (*DeviceIdleControllerProxy) GetAppIdTempWhitelist ¶
func (p *DeviceIdleControllerProxy) GetAppIdTempWhitelist( ctx context.Context, ) ([]int32, error)
func (*DeviceIdleControllerProxy) GetAppIdUserWhitelist ¶
func (p *DeviceIdleControllerProxy) GetAppIdUserWhitelist( ctx context.Context, ) ([]int32, error)
func (*DeviceIdleControllerProxy) GetAppIdWhitelist ¶
func (p *DeviceIdleControllerProxy) GetAppIdWhitelist( ctx context.Context, ) ([]int32, error)
func (*DeviceIdleControllerProxy) GetAppIdWhitelistExceptIdle ¶
func (p *DeviceIdleControllerProxy) GetAppIdWhitelistExceptIdle( ctx context.Context, ) ([]int32, error)
func (*DeviceIdleControllerProxy) GetFullPowerWhitelist ¶
func (p *DeviceIdleControllerProxy) GetFullPowerWhitelist( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) GetFullPowerWhitelistExceptIdle ¶
func (p *DeviceIdleControllerProxy) GetFullPowerWhitelistExceptIdle( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) GetRemovedSystemPowerWhitelistApps ¶
func (p *DeviceIdleControllerProxy) GetRemovedSystemPowerWhitelistApps( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) GetSystemPowerWhitelist ¶
func (p *DeviceIdleControllerProxy) GetSystemPowerWhitelist( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) GetSystemPowerWhitelistExceptIdle ¶
func (p *DeviceIdleControllerProxy) GetSystemPowerWhitelistExceptIdle( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) GetUserPowerWhitelist ¶
func (p *DeviceIdleControllerProxy) GetUserPowerWhitelist( ctx context.Context, ) ([]string, error)
func (*DeviceIdleControllerProxy) IsPowerSaveWhitelistApp ¶
func (*DeviceIdleControllerProxy) IsPowerSaveWhitelistExceptIdleApp ¶
func (*DeviceIdleControllerProxy) RemovePowerSaveWhitelistApp ¶
func (p *DeviceIdleControllerProxy) RemovePowerSaveWhitelistApp( ctx context.Context, name string, ) error
func (*DeviceIdleControllerProxy) RemoveSystemPowerWhitelistApp ¶
func (p *DeviceIdleControllerProxy) RemoveSystemPowerWhitelistApp( ctx context.Context, name string, ) error
func (*DeviceIdleControllerProxy) RestoreSystemPowerWhitelistApp ¶
func (p *DeviceIdleControllerProxy) RestoreSystemPowerWhitelistApp( ctx context.Context, name string, ) error
func (*DeviceIdleControllerProxy) WhitelistAppTemporarily ¶
type DeviceIdleControllerStub ¶
type DeviceIdleControllerStub struct {
Impl IDeviceIdleController
Transport binder.VersionAwareTransport
}
DeviceIdleControllerStub dispatches incoming binder transactions to a typed IDeviceIdleController implementation.
func (*DeviceIdleControllerStub) Descriptor ¶
func (s *DeviceIdleControllerStub) Descriptor() string
func (*DeviceIdleControllerStub) OnTransaction ¶
func (s *DeviceIdleControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DropBoxManagerEntry ¶
type DropBoxManagerEntry struct {
}
func (*DropBoxManagerEntry) MarshalParcel ¶
func (s *DropBoxManagerEntry) MarshalParcel( p *parcel.Parcel, ) error
func (*DropBoxManagerEntry) UnmarshalParcel ¶
func (s *DropBoxManagerEntry) UnmarshalParcel( p *parcel.Parcel, ) error
type DumpstateListenerProxy ¶
func NewDumpstateListenerProxy ¶
func NewDumpstateListenerProxy( remote binder.IBinder, ) *DumpstateListenerProxy
func (*DumpstateListenerProxy) AsBinder ¶
func (p *DumpstateListenerProxy) AsBinder() binder.IBinder
func (*DumpstateListenerProxy) OnError ¶
func (p *DumpstateListenerProxy) OnError( ctx context.Context, errorCode int32, ) error
func (*DumpstateListenerProxy) OnFinished ¶
func (p *DumpstateListenerProxy) OnFinished( ctx context.Context, bugreportFile string, ) error
func (*DumpstateListenerProxy) OnProgress ¶
func (p *DumpstateListenerProxy) OnProgress( ctx context.Context, progress int32, ) error
func (*DumpstateListenerProxy) OnScreenshotTaken ¶
func (p *DumpstateListenerProxy) OnScreenshotTaken( ctx context.Context, success bool, ) error
func (*DumpstateListenerProxy) OnUiIntensiveBugreportDumpsFinished ¶
func (p *DumpstateListenerProxy) OnUiIntensiveBugreportDumpsFinished( ctx context.Context, ) error
type DumpstateListenerStub ¶
type DumpstateListenerStub struct {
Impl IDumpstateListener
Transport binder.VersionAwareTransport
}
DumpstateListenerStub dispatches incoming binder transactions to a typed IDumpstateListener implementation.
func (*DumpstateListenerStub) Descriptor ¶
func (s *DumpstateListenerStub) Descriptor() string
func (*DumpstateListenerStub) OnTransaction ¶
func (s *DumpstateListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DumpstateProxy ¶
func GetDumpstate ¶
func GetDumpstate( ctx context.Context, sm *servicemanager.ServiceManager, ) (*DumpstateProxy, error)
GetDumpstate retrieves the BugreportService service and returns a typed proxy.
func NewDumpstateProxy ¶
func NewDumpstateProxy( remote binder.IBinder, ) *DumpstateProxy
func (*DumpstateProxy) AsBinder ¶
func (p *DumpstateProxy) AsBinder() binder.IBinder
func (*DumpstateProxy) CancelBugreport ¶
func (p *DumpstateProxy) CancelBugreport( ctx context.Context, ) error
func (*DumpstateProxy) PreDumpUiData ¶
func (p *DumpstateProxy) PreDumpUiData( ctx context.Context, ) error
func (*DumpstateProxy) RetrieveBugreport ¶
func (p *DumpstateProxy) RetrieveBugreport( ctx context.Context, bugreportFd int32, bugreportFile string, keepBugreportOnRetrieval bool, listener IDumpstateListener, ) error
func (*DumpstateProxy) StartBugreport ¶
func (p *DumpstateProxy) StartBugreport( ctx context.Context, bugreportFd int32, screenshotFd int32, bugreportMode int32, bugreportFlags int32, listener IDumpstateListener, isScreenshotRequested bool, ) error
type DumpstateStub ¶
type DumpstateStub struct {
Impl IDumpstate
Transport binder.VersionAwareTransport
}
DumpstateStub dispatches incoming binder transactions to a typed IDumpstate implementation.
func (*DumpstateStub) Descriptor ¶
func (s *DumpstateStub) Descriptor() string
func (*DumpstateStub) OnTransaction ¶
func (s *DumpstateStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ExternalVibration ¶
func (*ExternalVibration) MarshalParcel ¶
func (s *ExternalVibration) MarshalParcel( p *parcel.Parcel, ) error
func (*ExternalVibration) UnmarshalParcel ¶
func (s *ExternalVibration) UnmarshalParcel( p *parcel.Parcel, ) error
type ExternalVibrationControllerProxy ¶
func NewExternalVibrationControllerProxy ¶
func NewExternalVibrationControllerProxy( remote binder.IBinder, ) *ExternalVibrationControllerProxy
func (*ExternalVibrationControllerProxy) AsBinder ¶
func (p *ExternalVibrationControllerProxy) AsBinder() binder.IBinder
type ExternalVibrationControllerStub ¶
type ExternalVibrationControllerStub struct {
Impl IExternalVibrationController
Transport binder.VersionAwareTransport
}
ExternalVibrationControllerStub dispatches incoming binder transactions to a typed IExternalVibrationController implementation.
func (*ExternalVibrationControllerStub) Descriptor ¶
func (s *ExternalVibrationControllerStub) Descriptor() string
func (*ExternalVibrationControllerStub) OnTransaction ¶
func (s *ExternalVibrationControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ExternalVibrationScale ¶
type ExternalVibrationScale struct {
ScaleLevel ExternalVibrationScaleScaleLevel
AdaptiveHapticsScale float32
}
func (*ExternalVibrationScale) MarshalParcel ¶
func (s *ExternalVibrationScale) MarshalParcel( p *parcel.Parcel, ) error
func (*ExternalVibrationScale) UnmarshalParcel ¶
func (s *ExternalVibrationScale) UnmarshalParcel( p *parcel.Parcel, ) error
type ExternalVibrationScaleScaleLevel ¶
type ExternalVibrationScaleScaleLevel int32
const ( ExternalVibrationScaleScaleLevelScaleMute ExternalVibrationScaleScaleLevel = -100 ExternalVibrationScaleScaleLevelScaleVeryLow ExternalVibrationScaleScaleLevel = -2 ExternalVibrationScaleScaleLevelScaleLow ExternalVibrationScaleScaleLevel = -1 ExternalVibrationScaleScaleLevelScaleNone ExternalVibrationScaleScaleLevel = 0 ExternalVibrationScaleScaleLevelScaleHigh ExternalVibrationScaleScaleLevel = 1 ExternalVibrationScaleScaleLevelScaleVeryHigh ExternalVibrationScaleScaleLevel = 2 )
type ExternalVibratorServiceProxy ¶
func NewExternalVibratorServiceProxy ¶
func NewExternalVibratorServiceProxy( remote binder.IBinder, ) *ExternalVibratorServiceProxy
func (*ExternalVibratorServiceProxy) AsBinder ¶
func (p *ExternalVibratorServiceProxy) AsBinder() binder.IBinder
func (*ExternalVibratorServiceProxy) OnExternalVibrationStart ¶
func (p *ExternalVibratorServiceProxy) OnExternalVibrationStart( ctx context.Context, vib ExternalVibration, ) (ExternalVibrationScale, error)
func (*ExternalVibratorServiceProxy) OnExternalVibrationStop ¶
func (p *ExternalVibratorServiceProxy) OnExternalVibrationStop( ctx context.Context, vib ExternalVibration, ) error
type ExternalVibratorServiceStub ¶
type ExternalVibratorServiceStub struct {
Impl IExternalVibratorService
Transport binder.VersionAwareTransport
}
ExternalVibratorServiceStub dispatches incoming binder transactions to a typed IExternalVibratorService implementation.
func (*ExternalVibratorServiceStub) Descriptor ¶
func (s *ExternalVibratorServiceStub) Descriptor() string
func (*ExternalVibratorServiceStub) OnTransaction ¶
func (s *ExternalVibratorServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type FabricatedOverlayInfo ¶
type FabricatedOverlayInfo struct {
Path string
PackageName string
OverlayName string
TargetPackageName string
TargetOverlayable string
}
func (*FabricatedOverlayInfo) MarshalParcel ¶
func (s *FabricatedOverlayInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*FabricatedOverlayInfo) UnmarshalParcel ¶
func (s *FabricatedOverlayInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type FabricatedOverlayInternal ¶
type FabricatedOverlayInternal struct {
PackageName string
OverlayName string
TargetPackageName string
TargetOverlayable string
Entries []FabricatedOverlayInternalEntry
}
func (*FabricatedOverlayInternal) MarshalParcel ¶
func (s *FabricatedOverlayInternal) MarshalParcel( p *parcel.Parcel, ) error
func (*FabricatedOverlayInternal) UnmarshalParcel ¶
func (s *FabricatedOverlayInternal) UnmarshalParcel( p *parcel.Parcel, ) error
type FabricatedOverlayInternalEntry ¶
type FabricatedOverlayInternalEntry struct {
ResourceName string
DataType int32
Data int32
StringData string
BinaryData int32
Configuration string
BinaryDataOffset int64
BinaryDataSize int64
IsNinePatch bool
}
func (*FabricatedOverlayInternalEntry) MarshalParcel ¶
func (s *FabricatedOverlayInternalEntry) MarshalParcel( p *parcel.Parcel, ) error
func (*FabricatedOverlayInternalEntry) UnmarshalParcel ¶
func (s *FabricatedOverlayInternalEntry) UnmarshalParcel( p *parcel.Parcel, ) error
type HardwarePropertiesManagerProxy ¶
func GetHardwarePropertiesManager ¶
func GetHardwarePropertiesManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*HardwarePropertiesManagerProxy, error)
GetHardwarePropertiesManager retrieves the HardwarePropertiesService service and returns a typed proxy.
func NewHardwarePropertiesManagerProxy ¶
func NewHardwarePropertiesManagerProxy( remote binder.IBinder, ) *HardwarePropertiesManagerProxy
func (*HardwarePropertiesManagerProxy) AsBinder ¶
func (p *HardwarePropertiesManagerProxy) AsBinder() binder.IBinder
func (*HardwarePropertiesManagerProxy) GetCpuUsages ¶
func (p *HardwarePropertiesManagerProxy) GetCpuUsages( ctx context.Context, ) ([]CpuUsageInfo, error)
func (*HardwarePropertiesManagerProxy) GetDeviceTemperatures ¶
func (*HardwarePropertiesManagerProxy) GetFanSpeeds ¶
func (p *HardwarePropertiesManagerProxy) GetFanSpeeds( ctx context.Context, ) ([]float32, error)
type HardwarePropertiesManagerStub ¶
type HardwarePropertiesManagerStub struct {
Impl IHardwarePropertiesManager
Transport binder.VersionAwareTransport
}
HardwarePropertiesManagerStub dispatches incoming binder transactions to a typed IHardwarePropertiesManager implementation.
func (*HardwarePropertiesManagerStub) Descriptor ¶
func (s *HardwarePropertiesManagerStub) Descriptor() string
func (*HardwarePropertiesManagerStub) OnTransaction ¶
func (s *HardwarePropertiesManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HintManagerProxy ¶
func NewHintManagerProxy ¶
func NewHintManagerProxy( remote binder.IBinder, ) *HintManagerProxy
func (*HintManagerProxy) AsBinder ¶
func (p *HintManagerProxy) AsBinder() binder.IBinder
func (*HintManagerProxy) CreateHintSession ¶
func (p *HintManagerProxy) CreateHintSession( ctx context.Context, token binder.IBinder, tids []int32, durationNanos int64, ) (IHintSession, error)
func (*HintManagerProxy) GetHintSessionPreferredRate ¶
func (p *HintManagerProxy) GetHintSessionPreferredRate( ctx context.Context, ) (int64, error)
func (*HintManagerProxy) GetHintSessionThreadIds ¶
func (p *HintManagerProxy) GetHintSessionThreadIds( ctx context.Context, hintSession IHintSession, ) ([]int32, error)
func (*HintManagerProxy) SetHintSessionThreads ¶
func (p *HintManagerProxy) SetHintSessionThreads( ctx context.Context, hintSession IHintSession, tids []int32, ) error
type HintManagerStub ¶
type HintManagerStub struct {
Impl IHintManager
Transport binder.VersionAwareTransport
}
HintManagerStub dispatches incoming binder transactions to a typed IHintManager implementation.
func (*HintManagerStub) Descriptor ¶
func (s *HintManagerStub) Descriptor() string
func (*HintManagerStub) OnTransaction ¶
func (s *HintManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HintSessionProxy ¶
func NewHintSessionProxy ¶
func NewHintSessionProxy( remote binder.IBinder, ) *HintSessionProxy
func (*HintSessionProxy) AsBinder ¶
func (p *HintSessionProxy) AsBinder() binder.IBinder
func (*HintSessionProxy) ReportActualWorkDuration ¶
func (*HintSessionProxy) ReportActualWorkDuration2 ¶
func (p *HintSessionProxy) ReportActualWorkDuration2( ctx context.Context, workDurations []WorkDuration, ) error
func (*HintSessionProxy) SendHint ¶
func (p *HintSessionProxy) SendHint( ctx context.Context, hint int32, ) error
func (*HintSessionProxy) UpdateTargetWorkDuration ¶
func (p *HintSessionProxy) UpdateTargetWorkDuration( ctx context.Context, targetDurationNanos int64, ) error
type HintSessionStub ¶
type HintSessionStub struct {
Impl IHintSession
Transport binder.VersionAwareTransport
}
HintSessionStub dispatches incoming binder transactions to a typed IHintSession implementation.
func (*HintSessionStub) Descriptor ¶
func (s *HintSessionStub) Descriptor() string
func (*HintSessionStub) OnTransaction ¶
func (s *HintSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IAidlTest ¶
type IAidlTest interface {
AsBinder() binder.IBinder
IntMethod(ctx context.Context, a int32) (int32, error)
ParcelableIn(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ParcelableOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ParcelableInOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ListParcelableLonger(ctx context.Context, list []AidlTestTestParcelable, index int32) (AidlTestTestParcelable, error)
ListParcelableShorter(ctx context.Context, list []AidlTestTestParcelable, index int32) (int32, error)
BooleanArray(ctx context.Context, a0 []bool, a1 []bool, a2 []bool) ([]bool, error)
CharArray(ctx context.Context, a0 []uint16, a1 []uint16, a2 []uint16) ([]uint16, error)
IntArray(ctx context.Context, a0 []int32, a1 []int32, a2 []int32) ([]int32, error)
LongArray(ctx context.Context, a0 []int64, a1 []int64, a2 []int64) ([]int64, error)
FloatArray(ctx context.Context, a0 []float32, a1 []float32, a2 []float32) ([]float32, error)
DoubleArray(ctx context.Context, a0 []float64, a1 []float64, a2 []float64) ([]float64, error)
StringArray(ctx context.Context, a0 []string, a1 []string, a2 []string) ([]string, error)
ParcelableArray(ctx context.Context, a0 []AidlTestTestParcelable, a1 []AidlTestTestParcelable, a2 []AidlTestTestParcelable) ([]AidlTestTestParcelable, error)
VoidSecurityException(ctx context.Context) error
IntSecurityException(ctx context.Context) (int32, error)
}
func NewAidlTestStub ¶
func NewAidlTestStub( impl IAidlTestServer, ) IAidlTest
NewAidlTestStub creates a server-side IAidlTest wrapping the given server implementation. The returned value satisfies IAidlTest and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IAidlTestServer ¶
type IAidlTestServer interface {
IntMethod(ctx context.Context, a int32) (int32, error)
ParcelableIn(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ParcelableOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ParcelableInOut(ctx context.Context, p_ AidlTestTestParcelable) (AidlTestTestParcelable, error)
ListParcelableLonger(ctx context.Context, list []AidlTestTestParcelable, index int32) (AidlTestTestParcelable, error)
ListParcelableShorter(ctx context.Context, list []AidlTestTestParcelable, index int32) (int32, error)
BooleanArray(ctx context.Context, a0 []bool, a1 []bool, a2 []bool) ([]bool, error)
CharArray(ctx context.Context, a0 []uint16, a1 []uint16, a2 []uint16) ([]uint16, error)
IntArray(ctx context.Context, a0 []int32, a1 []int32, a2 []int32) ([]int32, error)
LongArray(ctx context.Context, a0 []int64, a1 []int64, a2 []int64) ([]int64, error)
FloatArray(ctx context.Context, a0 []float32, a1 []float32, a2 []float32) ([]float32, error)
DoubleArray(ctx context.Context, a0 []float64, a1 []float64, a2 []float64) ([]float64, error)
StringArray(ctx context.Context, a0 []string, a1 []string, a2 []string) ([]string, error)
ParcelableArray(ctx context.Context, a0 []AidlTestTestParcelable, a1 []AidlTestTestParcelable, a2 []AidlTestTestParcelable) ([]AidlTestTestParcelable, error)
VoidSecurityException(ctx context.Context) error
IntSecurityException(ctx context.Context) (int32, error)
}
IAidlTestServer is the server-side interface that user implementations provide to NewAidlTestStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBatteryPropertiesRegistrar ¶
type IBatteryPropertiesRegistrar interface {
AsBinder() binder.IBinder
GetProperty(ctx context.Context, id int32, prop BatteryProperty) (int32, error)
ScheduleUpdate(ctx context.Context) error
}
func NewBatteryPropertiesRegistrarStub ¶
func NewBatteryPropertiesRegistrarStub( impl IBatteryPropertiesRegistrarServer, ) IBatteryPropertiesRegistrar
NewBatteryPropertiesRegistrarStub creates a server-side IBatteryPropertiesRegistrar wrapping the given server implementation. The returned value satisfies IBatteryPropertiesRegistrar and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBatteryPropertiesRegistrarServer ¶
type IBatteryPropertiesRegistrarServer interface {
GetProperty(ctx context.Context, id int32, prop BatteryProperty) (int32, error)
ScheduleUpdate(ctx context.Context) error
}
IBatteryPropertiesRegistrarServer is the server-side interface that user implementations provide to NewBatteryPropertiesRegistrarStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBinderThreadPriorityService ¶
type IBinderThreadPriorityService interface {
AsBinder() binder.IBinder
GetThreadPriority(ctx context.Context) (int32, error)
GetThreadSchedulerGroup(ctx context.Context) (string, error)
CallBack(ctx context.Context, recurse IBinderThreadPriorityService) error
SetPriorityAndCallBack(ctx context.Context, priority int32, recurse IBinderThreadPriorityService) error
}
func NewBinderThreadPriorityServiceStub ¶
func NewBinderThreadPriorityServiceStub( impl IBinderThreadPriorityServiceServer, ) IBinderThreadPriorityService
NewBinderThreadPriorityServiceStub creates a server-side IBinderThreadPriorityService wrapping the given server implementation. The returned value satisfies IBinderThreadPriorityService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBinderThreadPriorityServiceServer ¶
type IBinderThreadPriorityServiceServer interface {
GetThreadPriority(ctx context.Context) (int32, error)
GetThreadSchedulerGroup(ctx context.Context) (string, error)
CallBack(ctx context.Context, recurse IBinderThreadPriorityService) error
SetPriorityAndCallBack(ctx context.Context, priority int32, recurse IBinderThreadPriorityService) error
}
IBinderThreadPriorityServiceServer is the server-side interface that user implementations provide to NewBinderThreadPriorityServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBinderWorkSourceNestedService ¶
type IBinderWorkSourceNestedService interface {
AsBinder() binder.IBinder
NestedCallWithWorkSourceToSet(ctx context.Context, uidToBlame int32) ([]int32, error)
NestedCall(ctx context.Context) ([]int32, error)
}
func NewBinderWorkSourceNestedServiceStub ¶
func NewBinderWorkSourceNestedServiceStub( impl IBinderWorkSourceNestedServiceServer, ) IBinderWorkSourceNestedService
NewBinderWorkSourceNestedServiceStub creates a server-side IBinderWorkSourceNestedService wrapping the given server implementation. The returned value satisfies IBinderWorkSourceNestedService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBinderWorkSourceNestedServiceServer ¶
type IBinderWorkSourceNestedServiceServer interface {
NestedCallWithWorkSourceToSet(ctx context.Context, uidToBlame int32) ([]int32, error)
NestedCall(ctx context.Context) ([]int32, error)
}
IBinderWorkSourceNestedServiceServer is the server-side interface that user implementations provide to NewBinderWorkSourceNestedServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBinderWorkSourceService ¶
type IBinderWorkSourceService interface {
AsBinder() binder.IBinder
GetIncomingWorkSourceUid(ctx context.Context) (int32, error)
GetBinderCallingUid(ctx context.Context) (int32, error)
GetThreadLocalWorkSourceUid(ctx context.Context) (int32, error)
SetWorkSourceProvider(ctx context.Context, uid int32) error
ClearWorkSourceProvider(ctx context.Context) error
}
func NewBinderWorkSourceServiceStub ¶
func NewBinderWorkSourceServiceStub( impl IBinderWorkSourceServiceServer, ) IBinderWorkSourceService
NewBinderWorkSourceServiceStub creates a server-side IBinderWorkSourceService wrapping the given server implementation. The returned value satisfies IBinderWorkSourceService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IBinderWorkSourceServiceServer ¶
type IBinderWorkSourceServiceServer interface {
GetIncomingWorkSourceUid(ctx context.Context) (int32, error)
GetBinderCallingUid(ctx context.Context) (int32, error)
GetThreadLocalWorkSourceUid(ctx context.Context) (int32, error)
SetWorkSourceProvider(ctx context.Context, uid int32) error
ClearWorkSourceProvider(ctx context.Context) error
}
IBinderWorkSourceServiceServer is the server-side interface that user implementations provide to NewBinderWorkSourceServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ICancellationSignal ¶
func NewCancellationSignalStub ¶
func NewCancellationSignalStub( impl ICancellationSignalServer, ) ICancellationSignal
NewCancellationSignalStub creates a server-side ICancellationSignal wrapping the given server implementation. The returned value satisfies ICancellationSignal and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ICancellationSignalServer ¶
ICancellationSignalServer is the server-side interface that user implementations provide to NewCancellationSignalStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IClientCallback ¶
type IClientCallback interface {
AsBinder() binder.IBinder
OnClients(ctx context.Context, registered binder.IBinder, hasClients bool) error
}
func NewClientCallbackStub ¶
func NewClientCallbackStub( impl IClientCallbackServer, ) IClientCallback
NewClientCallbackStub creates a server-side IClientCallback wrapping the given server implementation. The returned value satisfies IClientCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IClientCallbackServer ¶
type IClientCallbackServer interface {
OnClients(ctx context.Context, registered binder.IBinder, hasClients bool) error
}
IClientCallbackServer is the server-side interface that user implementations provide to NewClientCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDeviceIdentifiersPolicyService ¶
type IDeviceIdentifiersPolicyService interface {
AsBinder() binder.IBinder
GetSerial(ctx context.Context) (string, error)
GetSerialForPackage(ctx context.Context) (string, error)
}
func NewDeviceIdentifiersPolicyServiceStub ¶
func NewDeviceIdentifiersPolicyServiceStub( impl IDeviceIdentifiersPolicyServiceServer, ) IDeviceIdentifiersPolicyService
NewDeviceIdentifiersPolicyServiceStub creates a server-side IDeviceIdentifiersPolicyService wrapping the given server implementation. The returned value satisfies IDeviceIdentifiersPolicyService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDeviceIdentifiersPolicyServiceServer ¶
type IDeviceIdentifiersPolicyServiceServer interface {
GetSerial(ctx context.Context) (string, error)
GetSerialForPackage(ctx context.Context) (string, error)
}
IDeviceIdentifiersPolicyServiceServer is the server-side interface that user implementations provide to NewDeviceIdentifiersPolicyServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDeviceIdleController ¶
type IDeviceIdleController interface {
AsBinder() binder.IBinder
AddPowerSaveWhitelistApp(ctx context.Context, name string) error
AddPowerSaveWhitelistApps(ctx context.Context, packageNames []string) (int32, error)
RemovePowerSaveWhitelistApp(ctx context.Context, name string) error
RemoveSystemPowerWhitelistApp(ctx context.Context, name string) error
RestoreSystemPowerWhitelistApp(ctx context.Context, name string) error
GetRemovedSystemPowerWhitelistApps(ctx context.Context) ([]string, error)
GetSystemPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
GetSystemPowerWhitelist(ctx context.Context) ([]string, error)
GetUserPowerWhitelist(ctx context.Context) ([]string, error)
GetFullPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
GetFullPowerWhitelist(ctx context.Context) ([]string, error)
GetAppIdWhitelistExceptIdle(ctx context.Context) ([]int32, error)
GetAppIdWhitelist(ctx context.Context) ([]int32, error)
GetAppIdUserWhitelist(ctx context.Context) ([]int32, error)
GetAppIdTempWhitelist(ctx context.Context) ([]int32, error)
IsPowerSaveWhitelistExceptIdleApp(ctx context.Context, name string) (bool, error)
IsPowerSaveWhitelistApp(ctx context.Context, name string) (bool, error)
AddPowerSaveTempWhitelistApp(ctx context.Context, name string, duration int64, reasonCode int32, reason string) error
AddPowerSaveTempWhitelistAppForMms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
AddPowerSaveTempWhitelistAppForSms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
WhitelistAppTemporarily(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
ExitIdle(ctx context.Context, reason string) error
}
func NewDeviceIdleControllerStub ¶
func NewDeviceIdleControllerStub( impl IDeviceIdleControllerServer, ) IDeviceIdleController
NewDeviceIdleControllerStub creates a server-side IDeviceIdleController wrapping the given server implementation. The returned value satisfies IDeviceIdleController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDeviceIdleControllerServer ¶
type IDeviceIdleControllerServer interface {
AddPowerSaveWhitelistApp(ctx context.Context, name string) error
AddPowerSaveWhitelistApps(ctx context.Context, packageNames []string) (int32, error)
RemovePowerSaveWhitelistApp(ctx context.Context, name string) error
RemoveSystemPowerWhitelistApp(ctx context.Context, name string) error
RestoreSystemPowerWhitelistApp(ctx context.Context, name string) error
GetRemovedSystemPowerWhitelistApps(ctx context.Context) ([]string, error)
GetSystemPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
GetSystemPowerWhitelist(ctx context.Context) ([]string, error)
GetUserPowerWhitelist(ctx context.Context) ([]string, error)
GetFullPowerWhitelistExceptIdle(ctx context.Context) ([]string, error)
GetFullPowerWhitelist(ctx context.Context) ([]string, error)
GetAppIdWhitelistExceptIdle(ctx context.Context) ([]int32, error)
GetAppIdWhitelist(ctx context.Context) ([]int32, error)
GetAppIdUserWhitelist(ctx context.Context) ([]int32, error)
GetAppIdTempWhitelist(ctx context.Context) ([]int32, error)
IsPowerSaveWhitelistExceptIdleApp(ctx context.Context, name string) (bool, error)
IsPowerSaveWhitelistApp(ctx context.Context, name string) (bool, error)
AddPowerSaveTempWhitelistApp(ctx context.Context, name string, duration int64, reasonCode int32, reason string) error
AddPowerSaveTempWhitelistAppForMms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
AddPowerSaveTempWhitelistAppForSms(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
WhitelistAppTemporarily(ctx context.Context, name string, reasonCode int32, reason string) (int64, error)
ExitIdle(ctx context.Context, reason string) error
}
IDeviceIdleControllerServer is the server-side interface that user implementations provide to NewDeviceIdleControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDumpstate ¶
type IDumpstate interface {
AsBinder() binder.IBinder
PreDumpUiData(ctx context.Context) error
StartBugreport(ctx context.Context, bugreportFd int32, screenshotFd int32, bugreportMode int32, bugreportFlags int32, listener IDumpstateListener, isScreenshotRequested bool) error
CancelBugreport(ctx context.Context) error
RetrieveBugreport(ctx context.Context, bugreportFd int32, bugreportFile string, keepBugreportOnRetrieval bool, listener IDumpstateListener) error
}
func NewDumpstateStub ¶
func NewDumpstateStub( impl IDumpstateServer, ) IDumpstate
NewDumpstateStub creates a server-side IDumpstate wrapping the given server implementation. The returned value satisfies IDumpstate and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDumpstateListener ¶
type IDumpstateListener interface {
AsBinder() binder.IBinder
OnProgress(ctx context.Context, progress int32) error
OnError(ctx context.Context, errorCode int32) error
OnFinished(ctx context.Context, bugreportFile string) error
OnScreenshotTaken(ctx context.Context, success bool) error
OnUiIntensiveBugreportDumpsFinished(ctx context.Context) error
}
func NewDumpstateListenerStub ¶
func NewDumpstateListenerStub( impl IDumpstateListenerServer, ) IDumpstateListener
NewDumpstateListenerStub creates a server-side IDumpstateListener wrapping the given server implementation. The returned value satisfies IDumpstateListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDumpstateListenerServer ¶
type IDumpstateListenerServer interface {
OnProgress(ctx context.Context, progress int32) error
OnError(ctx context.Context, errorCode int32) error
OnFinished(ctx context.Context, bugreportFile string) error
OnScreenshotTaken(ctx context.Context, success bool) error
OnUiIntensiveBugreportDumpsFinished(ctx context.Context) error
}
IDumpstateListenerServer is the server-side interface that user implementations provide to NewDumpstateListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDumpstateServer ¶
type IDumpstateServer interface {
PreDumpUiData(ctx context.Context) error
StartBugreport(ctx context.Context, bugreportFd int32, screenshotFd int32, bugreportMode int32, bugreportFlags int32, listener IDumpstateListener, isScreenshotRequested bool) error
CancelBugreport(ctx context.Context) error
RetrieveBugreport(ctx context.Context, bugreportFd int32, bugreportFile string, keepBugreportOnRetrieval bool, listener IDumpstateListener) error
}
IDumpstateServer is the server-side interface that user implementations provide to NewDumpstateStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IExternalVibrationController ¶
type IExternalVibrationController interface {
AsBinder() binder.IBinder
Mute(ctx context.Context) (bool, error)
Unmute(ctx context.Context) (bool, error)
}
func NewExternalVibrationControllerStub ¶
func NewExternalVibrationControllerStub( impl IExternalVibrationControllerServer, ) IExternalVibrationController
NewExternalVibrationControllerStub creates a server-side IExternalVibrationController wrapping the given server implementation. The returned value satisfies IExternalVibrationController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IExternalVibrationControllerServer ¶
type IExternalVibrationControllerServer interface {
Mute(ctx context.Context) (bool, error)
Unmute(ctx context.Context) (bool, error)
}
IExternalVibrationControllerServer is the server-side interface that user implementations provide to NewExternalVibrationControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IExternalVibratorService ¶
type IExternalVibratorService interface {
AsBinder() binder.IBinder
OnExternalVibrationStart(ctx context.Context, vib ExternalVibration) (ExternalVibrationScale, error)
OnExternalVibrationStop(ctx context.Context, vib ExternalVibration) error
}
func NewExternalVibratorServiceStub ¶
func NewExternalVibratorServiceStub( impl IExternalVibratorServiceServer, ) IExternalVibratorService
NewExternalVibratorServiceStub creates a server-side IExternalVibratorService wrapping the given server implementation. The returned value satisfies IExternalVibratorService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IExternalVibratorServiceServer ¶
type IExternalVibratorServiceServer interface {
OnExternalVibrationStart(ctx context.Context, vib ExternalVibration) (ExternalVibrationScale, error)
OnExternalVibrationStop(ctx context.Context, vib ExternalVibration) error
}
IExternalVibratorServiceServer is the server-side interface that user implementations provide to NewExternalVibratorServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHardwarePropertiesManager ¶
type IHardwarePropertiesManager interface {
AsBinder() binder.IBinder
GetDeviceTemperatures(ctx context.Context, type_ int32, source int32) ([]float32, error)
GetCpuUsages(ctx context.Context) ([]CpuUsageInfo, error)
GetFanSpeeds(ctx context.Context) ([]float32, error)
}
func NewHardwarePropertiesManagerStub ¶
func NewHardwarePropertiesManagerStub( impl IHardwarePropertiesManagerServer, ) IHardwarePropertiesManager
NewHardwarePropertiesManagerStub creates a server-side IHardwarePropertiesManager wrapping the given server implementation. The returned value satisfies IHardwarePropertiesManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IHardwarePropertiesManagerServer ¶
type IHardwarePropertiesManagerServer interface {
GetDeviceTemperatures(ctx context.Context, type_ int32, source int32) ([]float32, error)
GetCpuUsages(ctx context.Context) ([]CpuUsageInfo, error)
GetFanSpeeds(ctx context.Context) ([]float32, error)
}
IHardwarePropertiesManagerServer is the server-side interface that user implementations provide to NewHardwarePropertiesManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHintManager ¶
type IHintManager interface {
AsBinder() binder.IBinder
CreateHintSession(ctx context.Context, token binder.IBinder, tids []int32, durationNanos int64) (IHintSession, error)
GetHintSessionPreferredRate(ctx context.Context) (int64, error)
SetHintSessionThreads(ctx context.Context, hintSession IHintSession, tids []int32) error
GetHintSessionThreadIds(ctx context.Context, hintSession IHintSession) ([]int32, error)
}
func NewHintManagerStub ¶
func NewHintManagerStub( impl IHintManagerServer, ) IHintManager
NewHintManagerStub creates a server-side IHintManager wrapping the given server implementation. The returned value satisfies IHintManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IHintManagerServer ¶
type IHintManagerServer interface {
CreateHintSession(ctx context.Context, token binder.IBinder, tids []int32, durationNanos int64) (IHintSession, error)
GetHintSessionPreferredRate(ctx context.Context) (int64, error)
SetHintSessionThreads(ctx context.Context, hintSession IHintSession, tids []int32) error
GetHintSessionThreadIds(ctx context.Context, hintSession IHintSession) ([]int32, error)
}
IHintManagerServer is the server-side interface that user implementations provide to NewHintManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHintSession ¶
type IHintSession interface {
AsBinder() binder.IBinder
UpdateTargetWorkDuration(ctx context.Context, targetDurationNanos int64) error
ReportActualWorkDuration(ctx context.Context, actualDurationNanos []int64, timeStampNanos []int64) error
Close(ctx context.Context) error
SendHint(ctx context.Context, hint int32) error
SetMode(ctx context.Context, mode int32, enabled bool) error
ReportActualWorkDuration2(ctx context.Context, workDurations []WorkDuration) error
}
func NewHintSessionStub ¶
func NewHintSessionStub( impl IHintSessionServer, ) IHintSession
NewHintSessionStub creates a server-side IHintSession wrapping the given server implementation. The returned value satisfies IHintSession and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IHintSessionServer ¶
type IHintSessionServer interface {
UpdateTargetWorkDuration(ctx context.Context, targetDurationNanos int64) error
ReportActualWorkDuration(ctx context.Context, actualDurationNanos []int64, timeStampNanos []int64) error
Close(ctx context.Context) error
SendHint(ctx context.Context, hint int32) error
SetMode(ctx context.Context, mode int32, enabled bool) error
ReportActualWorkDuration2(ctx context.Context, workDurations []WorkDuration) error
}
IHintSessionServer is the server-side interface that user implementations provide to NewHintSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIdmap2 ¶
type IIdmap2 interface {
AsBinder() binder.IBinder
GetIdmapPath(ctx context.Context, overlayApkPath string) (string, error)
RemoveIdmap(ctx context.Context, overlayApkPath string) (bool, error)
VerifyIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, overlayName string, fulfilledPolicies int32, enforceOverlayable bool) (bool, error)
CreateIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, overlayName string, fulfilledPolicies int32, enforceOverlayable bool) (string, error)
CreateFabricatedOverlay(ctx context.Context, overlay FabricatedOverlayInternal) (FabricatedOverlayInfo, error)
DeleteFabricatedOverlay(ctx context.Context, path string) (bool, error)
AcquireFabricatedOverlayIterator(ctx context.Context) (int32, error)
ReleaseFabricatedOverlayIterator(ctx context.Context, iteratorId int32) error
NextFabricatedOverlayInfos(ctx context.Context, iteratorId int32) ([]FabricatedOverlayInfo, error)
DumpIdmap(ctx context.Context, overlayApkPath string) (string, error)
}
func NewIdmap2Stub ¶
func NewIdmap2Stub( impl IIdmap2Server, ) IIdmap2
NewIdmap2Stub creates a server-side IIdmap2 wrapping the given server implementation. The returned value satisfies IIdmap2 and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIdmap2Server ¶
type IIdmap2Server interface {
GetIdmapPath(ctx context.Context, overlayApkPath string) (string, error)
RemoveIdmap(ctx context.Context, overlayApkPath string) (bool, error)
VerifyIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, overlayName string, fulfilledPolicies int32, enforceOverlayable bool) (bool, error)
CreateIdmap(ctx context.Context, targetApkPath string, overlayApkPath string, overlayName string, fulfilledPolicies int32, enforceOverlayable bool) (string, error)
CreateFabricatedOverlay(ctx context.Context, overlay FabricatedOverlayInternal) (FabricatedOverlayInfo, error)
DeleteFabricatedOverlay(ctx context.Context, path string) (bool, error)
AcquireFabricatedOverlayIterator(ctx context.Context) (int32, error)
ReleaseFabricatedOverlayIterator(ctx context.Context, iteratorId int32) error
NextFabricatedOverlayInfos(ctx context.Context, iteratorId int32) ([]FabricatedOverlayInfo, error)
DumpIdmap(ctx context.Context, overlayApkPath string) (string, error)
}
IIdmap2Server is the server-side interface that user implementations provide to NewIdmap2Stub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIncidentAuthListener ¶
type IIncidentAuthListener interface {
AsBinder() binder.IBinder
OnReportApproved(ctx context.Context) error
OnReportDenied(ctx context.Context) error
}
func NewIncidentAuthListenerStub ¶
func NewIncidentAuthListenerStub( impl IIncidentAuthListenerServer, ) IIncidentAuthListener
NewIncidentAuthListenerStub creates a server-side IIncidentAuthListener wrapping the given server implementation. The returned value satisfies IIncidentAuthListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIncidentAuthListenerServer ¶
type IIncidentAuthListenerServer interface {
OnReportApproved(ctx context.Context) error
OnReportDenied(ctx context.Context) error
}
IIncidentAuthListenerServer is the server-side interface that user implementations provide to NewIncidentAuthListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIncidentCompanion ¶
type IIncidentCompanion interface {
AsBinder() binder.IBinder
AuthorizeReport(ctx context.Context, receiverClass string, reportId string, flags int32, callback IIncidentAuthListener) error
CancelAuthorization(ctx context.Context, callback IIncidentAuthListener) error
SendReportReadyBroadcast(ctx context.Context, pkg string, cls string) error
GetPendingReports(ctx context.Context) ([]string, error)
ApproveReport(ctx context.Context, uri string) error
DenyReport(ctx context.Context, uri string) error
GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
DeleteAllIncidentReports(ctx context.Context, pkg string) error
}
func NewIncidentCompanionStub ¶
func NewIncidentCompanionStub( impl IIncidentCompanionServer, ) IIncidentCompanion
NewIncidentCompanionStub creates a server-side IIncidentCompanion wrapping the given server implementation. The returned value satisfies IIncidentCompanion and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIncidentCompanionServer ¶
type IIncidentCompanionServer interface {
AuthorizeReport(ctx context.Context, receiverClass string, reportId string, flags int32, callback IIncidentAuthListener) error
CancelAuthorization(ctx context.Context, callback IIncidentAuthListener) error
SendReportReadyBroadcast(ctx context.Context, pkg string, cls string) error
GetPendingReports(ctx context.Context) ([]string, error)
ApproveReport(ctx context.Context, uri string) error
DenyReport(ctx context.Context, uri string) error
GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
DeleteAllIncidentReports(ctx context.Context, pkg string) error
}
IIncidentCompanionServer is the server-side interface that user implementations provide to NewIncidentCompanionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIncidentDumpCallback ¶
type IIncidentDumpCallback interface {
AsBinder() binder.IBinder
OnDumpSection(ctx context.Context, fd int32) error
}
func NewIncidentDumpCallbackStub ¶
func NewIncidentDumpCallbackStub( impl IIncidentDumpCallbackServer, ) IIncidentDumpCallback
NewIncidentDumpCallbackStub creates a server-side IIncidentDumpCallback wrapping the given server implementation. The returned value satisfies IIncidentDumpCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIncidentDumpCallbackServer ¶
IIncidentDumpCallbackServer is the server-side interface that user implementations provide to NewIncidentDumpCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIncidentManager ¶
type IIncidentManager interface {
AsBinder() binder.IBinder
ReportIncident(ctx context.Context, args IncidentReportArgs) error
ReportIncidentToStream(ctx context.Context, args IncidentReportArgs, listener IIncidentReportStatusListener, stream int32) error
ReportIncidentToDumpstate(ctx context.Context, stream int32, listener IIncidentReportStatusListener) error
RegisterSection(ctx context.Context, id int32, name string, callback IIncidentDumpCallback) error
UnregisterSection(ctx context.Context, id int32) error
SystemRunning(ctx context.Context) error
GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
DeleteAllIncidentReports(ctx context.Context, pkg string) error
}
func NewIncidentManagerStub ¶
func NewIncidentManagerStub( impl IIncidentManagerServer, ) IIncidentManager
NewIncidentManagerStub creates a server-side IIncidentManager wrapping the given server implementation. The returned value satisfies IIncidentManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIncidentManagerServer ¶
type IIncidentManagerServer interface {
ReportIncident(ctx context.Context, args IncidentReportArgs) error
ReportIncidentToStream(ctx context.Context, args IncidentReportArgs, listener IIncidentReportStatusListener, stream int32) error
ReportIncidentToDumpstate(ctx context.Context, stream int32, listener IIncidentReportStatusListener) error
RegisterSection(ctx context.Context, id int32, name string, callback IIncidentDumpCallback) error
UnregisterSection(ctx context.Context, id int32) error
SystemRunning(ctx context.Context) error
GetIncidentReportList(ctx context.Context, pkg string, cls string) ([]string, error)
GetIncidentReport(ctx context.Context, pkg string, cls string, id string) (IncidentManagerIncidentReport, error)
DeleteIncidentReports(ctx context.Context, pkg string, cls string, id string) error
DeleteAllIncidentReports(ctx context.Context, pkg string) error
}
IIncidentManagerServer is the server-side interface that user implementations provide to NewIncidentManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IIncidentReportStatusListener ¶
type IIncidentReportStatusListener interface {
AsBinder() binder.IBinder
OnReportStarted(ctx context.Context) error
OnReportSectionStatus(ctx context.Context, section int32, status int32) error
OnReportFinished(ctx context.Context) error
OnReportFailed(ctx context.Context) error
}
func NewIncidentReportStatusListenerStub ¶
func NewIncidentReportStatusListenerStub( impl IIncidentReportStatusListenerServer, ) IIncidentReportStatusListener
NewIncidentReportStatusListenerStub creates a server-side IIncidentReportStatusListener wrapping the given server implementation. The returned value satisfies IIncidentReportStatusListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IIncidentReportStatusListenerServer ¶
type IIncidentReportStatusListenerServer interface {
OnReportStarted(ctx context.Context) error
OnReportSectionStatus(ctx context.Context, section int32, status int32) error
OnReportFinished(ctx context.Context) error
OnReportFailed(ctx context.Context) error
}
IIncidentReportStatusListenerServer is the server-side interface that user implementations provide to NewIncidentReportStatusListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputConstants ¶
func NewInputConstantsStub ¶
func NewInputConstantsStub( impl IInputConstantsServer, ) IInputConstants
NewInputConstantsStub creates a server-side IInputConstants wrapping the given server implementation. The returned value satisfies IInputConstants and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputConstantsServer ¶
type IInputConstantsServer interface {
}
IInputConstantsServer is the server-side interface that user implementations provide to NewInputConstantsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputFlinger ¶
type IInputFlinger interface {
AsBinder() binder.IBinder
CreateInputChannel(ctx context.Context, name string) (InputChannelCore, error)
RemoveInputChannel(ctx context.Context, connectionToken binder.IBinder) error
SetFocusedWindow(ctx context.Context, request gui.FocusRequest) error
}
func NewInputFlingerStub ¶
func NewInputFlingerStub( impl IInputFlingerServer, ) IInputFlinger
NewInputFlingerStub creates a server-side IInputFlinger wrapping the given server implementation. The returned value satisfies IInputFlinger and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputFlingerServer ¶
type IInputFlingerServer interface {
CreateInputChannel(ctx context.Context, name string) (InputChannelCore, error)
RemoveInputChannel(ctx context.Context, connectionToken binder.IBinder) error
SetFocusedWindow(ctx context.Context, request gui.FocusRequest) error
}
IInputFlingerServer is the server-side interface that user implementations provide to NewInputFlingerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInstalld ¶
type IInstalld interface {
AsBinder() binder.IBinder
CreateUserData(ctx context.Context, uuid string, userSerial int32, flags int32) error
DestroyUserData(ctx context.Context, uuid string, flags int32) error
SetFirstBoot(ctx context.Context) error
CreateAppData(ctx context.Context, args CreateAppDataArgs) (CreateAppDataResult, error)
CreateAppDataBatched(ctx context.Context, args []CreateAppDataArgs) ([]CreateAppDataResult, error)
ReconcileSdkData(ctx context.Context, args ReconcileSdkDataArgs) error
RestoreconAppData(ctx context.Context, uuid string, packageName string, flags int32, appId int32, seInfo string) error
MigrateAppData(ctx context.Context, uuid string, packageName string, flags int32) error
ClearAppData(ctx context.Context, uuid string, packageName string, flags int32, ceDataInode int64) error
DestroyAppData(ctx context.Context, uuid string, packageName string, flags int32, ceDataInode int64) error
FixupAppData(ctx context.Context, uuid string, flags int32) error
GetAppSize(ctx context.Context, uuid string, packageNames []string, flags int32, appId int32, ceDataInodes []int64, codePaths []string) ([]int64, error)
GetUserSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
GetExternalSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
GetAppCrates(ctx context.Context, uuid string, packageNames []string) ([]storage.CrateMetadata, error)
GetUserCrates(ctx context.Context, uuid string) ([]storage.CrateMetadata, error)
SetAppQuota(ctx context.Context, uuid string, appId int32, cacheQuota int64) error
MoveCompleteApp(ctx context.Context, fromUuid string, toUuid string, packageName string, appId int32, seInfo string, targetSdkVersion int32, fromCodePath string) error
Dexopt(ctx context.Context, apkPath string, uid int32, packageName string, instructionSet string, dexoptNeeded int32, outputPath string, dexFlags int32, compilerFilter string, uuid string, sharedLibraries string, seInfo string, downgrade bool, targetSdkVersion int32, profileName string, dexMetadataPath string, compilationReason string) (bool, error)
ControlDexOptBlocking(ctx context.Context, block bool) error
Rmdex(ctx context.Context, codePath string, instructionSet string) error
MergeProfiles(ctx context.Context, uid int32, packageName string, profileName string) (int32, error)
DumpProfiles(ctx context.Context, uid int32, packageName string, profileName string, codePath string, dumpClassesAndMethods bool) (bool, error)
CopySystemProfile(ctx context.Context, systemProfile string, uid int32, packageName string, profileName string) (bool, error)
ClearAppProfiles(ctx context.Context, packageName string, profileName string) error
DestroyAppProfiles(ctx context.Context, packageName string) error
DeleteReferenceProfile(ctx context.Context, packageName string, profileName string) error
CreateProfileSnapshot(ctx context.Context, appId int32, packageName string, profileName string, classpath string) (bool, error)
DestroyProfileSnapshot(ctx context.Context, packageName string, profileName string) error
RmPackageDir(ctx context.Context, packageName string, packageDir string) error
FreeCache(ctx context.Context, uuid string, targetFreeBytes int64, flags int32) error
LinkNativeLibraryDirectory(ctx context.Context, uuid string, packageName string, nativeLibPath32 string) error
CreateOatDir(ctx context.Context, packageName string, oatDir string, instructionSet string) error
LinkFile(ctx context.Context, packageName string, relativePath string, fromBase string, toBase string) error
MoveAb(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) error
DeleteOdex(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) (int64, error)
ReconcileSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, isas []string, volume_uuid string, storage_flag int32) (bool, error)
HashSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, volumeUuid string, storageFlag int32) ([]byte, error)
InvalidateMounts(ctx context.Context) error
IsQuotaSupported(ctx context.Context, uuid string) (bool, error)
PrepareAppProfile(ctx context.Context, packageName string, appId int32, profileName string, codePath string, dexMetadata string) (bool, error)
SnapshotAppData(ctx context.Context, uuid string, packageName string, snapshotId int32, storageFlags int32) (int64, error)
RestoreAppDataSnapshot(ctx context.Context, uuid string, packageName string, appId int32, seInfo string, user int32, snapshotId int32, storageflags int32) error
DestroyAppDataSnapshot(ctx context.Context, uuid string, packageName string, ceSnapshotInode int64, snapshotId int32, storageFlags int32) error
DestroyCeSnapshotsNotSpecified(ctx context.Context, uuid string, retainSnapshotIds []int32) error
TryMountDataMirror(ctx context.Context, volumeUuid string) error
OnPrivateVolumeRemoved(ctx context.Context, volumeUuid string) error
MigrateLegacyObbData(ctx context.Context) error
CleanupInvalidPackageDirs(ctx context.Context, uuid string, flags int32) error
GetOdexVisibility(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) (int32, error)
CreateFsveritySetupAuthToken(ctx context.Context, authFd int32, uid int32) (IInstalldIFsveritySetupAuthToken, error)
EnableFsverity(ctx context.Context, authToken IInstalldIFsveritySetupAuthToken, filePath string, packageName string) (int32, error)
}
func NewInstalldStub ¶
func NewInstalldStub( impl IInstalldServer, ) IInstalld
NewInstalldStub creates a server-side IInstalld wrapping the given server implementation. The returned value satisfies IInstalld and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInstalldIFsveritySetupAuthToken ¶
func NewInstalldIFsveritySetupAuthTokenStub ¶
func NewInstalldIFsveritySetupAuthTokenStub( impl IInstalldIFsveritySetupAuthTokenServer, ) IInstalldIFsveritySetupAuthToken
NewInstalldIFsveritySetupAuthTokenStub creates a server-side IInstalldIFsveritySetupAuthToken wrapping the given server implementation. The returned value satisfies IInstalldIFsveritySetupAuthToken and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInstalldIFsveritySetupAuthTokenServer ¶
type IInstalldIFsveritySetupAuthTokenServer interface {
}
IInstalldIFsveritySetupAuthTokenServer is the server-side interface that user implementations provide to NewInstalldIFsveritySetupAuthTokenStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInstalldServer ¶
type IInstalldServer interface {
CreateUserData(ctx context.Context, uuid string, userSerial int32, flags int32) error
DestroyUserData(ctx context.Context, uuid string, flags int32) error
SetFirstBoot(ctx context.Context) error
CreateAppData(ctx context.Context, args CreateAppDataArgs) (CreateAppDataResult, error)
CreateAppDataBatched(ctx context.Context, args []CreateAppDataArgs) ([]CreateAppDataResult, error)
ReconcileSdkData(ctx context.Context, args ReconcileSdkDataArgs) error
RestoreconAppData(ctx context.Context, uuid string, packageName string, flags int32, appId int32, seInfo string) error
MigrateAppData(ctx context.Context, uuid string, packageName string, flags int32) error
ClearAppData(ctx context.Context, uuid string, packageName string, flags int32, ceDataInode int64) error
DestroyAppData(ctx context.Context, uuid string, packageName string, flags int32, ceDataInode int64) error
FixupAppData(ctx context.Context, uuid string, flags int32) error
GetAppSize(ctx context.Context, uuid string, packageNames []string, flags int32, appId int32, ceDataInodes []int64, codePaths []string) ([]int64, error)
GetUserSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
GetExternalSize(ctx context.Context, uuid string, flags int32, appIds []int32) ([]int64, error)
GetAppCrates(ctx context.Context, uuid string, packageNames []string) ([]storage.CrateMetadata, error)
GetUserCrates(ctx context.Context, uuid string) ([]storage.CrateMetadata, error)
SetAppQuota(ctx context.Context, uuid string, appId int32, cacheQuota int64) error
MoveCompleteApp(ctx context.Context, fromUuid string, toUuid string, packageName string, appId int32, seInfo string, targetSdkVersion int32, fromCodePath string) error
Dexopt(ctx context.Context, apkPath string, uid int32, packageName string, instructionSet string, dexoptNeeded int32, outputPath string, dexFlags int32, compilerFilter string, uuid string, sharedLibraries string, seInfo string, downgrade bool, targetSdkVersion int32, profileName string, dexMetadataPath string, compilationReason string) (bool, error)
ControlDexOptBlocking(ctx context.Context, block bool) error
Rmdex(ctx context.Context, codePath string, instructionSet string) error
MergeProfiles(ctx context.Context, uid int32, packageName string, profileName string) (int32, error)
DumpProfiles(ctx context.Context, uid int32, packageName string, profileName string, codePath string, dumpClassesAndMethods bool) (bool, error)
CopySystemProfile(ctx context.Context, systemProfile string, uid int32, packageName string, profileName string) (bool, error)
ClearAppProfiles(ctx context.Context, packageName string, profileName string) error
DestroyAppProfiles(ctx context.Context, packageName string) error
DeleteReferenceProfile(ctx context.Context, packageName string, profileName string) error
CreateProfileSnapshot(ctx context.Context, appId int32, packageName string, profileName string, classpath string) (bool, error)
DestroyProfileSnapshot(ctx context.Context, packageName string, profileName string) error
RmPackageDir(ctx context.Context, packageName string, packageDir string) error
FreeCache(ctx context.Context, uuid string, targetFreeBytes int64, flags int32) error
LinkNativeLibraryDirectory(ctx context.Context, uuid string, packageName string, nativeLibPath32 string) error
CreateOatDir(ctx context.Context, packageName string, oatDir string, instructionSet string) error
LinkFile(ctx context.Context, packageName string, relativePath string, fromBase string, toBase string) error
MoveAb(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) error
DeleteOdex(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) (int64, error)
ReconcileSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, isas []string, volume_uuid string, storage_flag int32) (bool, error)
HashSecondaryDexFile(ctx context.Context, dexPath string, pkgName string, uid int32, volumeUuid string, storageFlag int32) ([]byte, error)
InvalidateMounts(ctx context.Context) error
IsQuotaSupported(ctx context.Context, uuid string) (bool, error)
PrepareAppProfile(ctx context.Context, packageName string, appId int32, profileName string, codePath string, dexMetadata string) (bool, error)
SnapshotAppData(ctx context.Context, uuid string, packageName string, snapshotId int32, storageFlags int32) (int64, error)
RestoreAppDataSnapshot(ctx context.Context, uuid string, packageName string, appId int32, seInfo string, user int32, snapshotId int32, storageflags int32) error
DestroyAppDataSnapshot(ctx context.Context, uuid string, packageName string, ceSnapshotInode int64, snapshotId int32, storageFlags int32) error
DestroyCeSnapshotsNotSpecified(ctx context.Context, uuid string, retainSnapshotIds []int32) error
TryMountDataMirror(ctx context.Context, volumeUuid string) error
OnPrivateVolumeRemoved(ctx context.Context, volumeUuid string) error
MigrateLegacyObbData(ctx context.Context) error
CleanupInvalidPackageDirs(ctx context.Context, uuid string, flags int32) error
GetOdexVisibility(ctx context.Context, packageName string, apkPath string, instructionSet string, outputPath string) (int32, error)
CreateFsveritySetupAuthToken(ctx context.Context, authFd int32, uid int32) (IInstalldIFsveritySetupAuthToken, error)
EnableFsverity(ctx context.Context, authToken IInstalldIFsveritySetupAuthToken, filePath string, packageName string) (int32, error)
}
IInstalldServer is the server-side interface that user implementations provide to NewInstalldStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IMessenger ¶
type IMessenger interface {
AsBinder() binder.IBinder
Send(ctx context.Context, msg Message) error
}
func NewMessengerStub ¶
func NewMessengerStub( impl IMessengerServer, ) IMessenger
NewMessengerStub creates a server-side IMessenger wrapping the given server implementation. The returned value satisfies IMessenger and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IMessengerServer ¶
IMessengerServer is the server-side interface that user implementations provide to NewMessengerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type INetworkManagementService ¶
type INetworkManagementService interface {
AsBinder() binder.IBinder
RegisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
UnregisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
ListInterfaces(ctx context.Context) ([]string, error)
GetInterfaceConfig(ctx context.Context, iface string) (net.InterfaceConfiguration, error)
SetInterfaceConfig(ctx context.Context, iface string, cfg net.InterfaceConfiguration) error
ClearInterfaceAddresses(ctx context.Context, iface string) error
SetInterfaceDown(ctx context.Context, iface string) error
SetInterfaceUp(ctx context.Context, iface string) error
SetInterfaceIpv6PrivacyExtensions(ctx context.Context, iface string, enable bool) error
DisableIpv6(ctx context.Context, iface string) error
EnableIpv6(ctx context.Context, iface string) error
SetIPv6AddrGenMode(ctx context.Context, iface string, mode int32) error
Shutdown(ctx context.Context) error
GetIpForwardingEnabled(ctx context.Context) (bool, error)
SetIpForwardingEnabled(ctx context.Context, enabled bool) error
StartTethering(ctx context.Context, dhcpRanges []string) error
StopTethering(ctx context.Context) error
IsTetheringStarted(ctx context.Context) (bool, error)
TetherInterface(ctx context.Context, iface string) error
UntetherInterface(ctx context.Context, iface string) error
ListTetheredInterfaces(ctx context.Context) ([]string, error)
EnableNat(ctx context.Context, internalInterface string, externalInterface string) error
DisableNat(ctx context.Context, internalInterface string, externalInterface string) error
SetInterfaceQuota(ctx context.Context, iface string, quotaBytes int64) error
RemoveInterfaceQuota(ctx context.Context, iface string) error
SetInterfaceAlert(ctx context.Context, iface string, alertBytes int64) error
RemoveInterfaceAlert(ctx context.Context, iface string) error
SetUidOnMeteredNetworkDenylist(ctx context.Context, uid int32, enable bool) error
SetUidOnMeteredNetworkAllowlist(ctx context.Context, uid int32, enable bool) error
SetDataSaverModeEnabled(ctx context.Context, enable bool) (bool, error)
SetUidCleartextNetworkPolicy(ctx context.Context, uid int32, policy int32) error
IsBandwidthControlEnabled(ctx context.Context) (bool, error)
SetFirewallEnabled(ctx context.Context, enabled bool) error
IsFirewallEnabled(ctx context.Context) (bool, error)
SetFirewallUidRule(ctx context.Context, chain int32, uid int32, rule int32) error
SetFirewallUidRules(ctx context.Context, chain int32, uids []int32, rules []int32) error
SetFirewallChainEnabled(ctx context.Context, chain int32, enable bool) error
AllowProtect(ctx context.Context, uid int32) error
DenyProtect(ctx context.Context, uid int32) error
IsNetworkRestricted(ctx context.Context, uid int32) (bool, error)
}
func NewNetworkManagementServiceStub ¶
func NewNetworkManagementServiceStub( impl INetworkManagementServiceServer, ) INetworkManagementService
NewNetworkManagementServiceStub creates a server-side INetworkManagementService wrapping the given server implementation. The returned value satisfies INetworkManagementService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type INetworkManagementServiceServer ¶
type INetworkManagementServiceServer interface {
RegisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
UnregisterObserver(ctx context.Context, obs net.INetworkManagementEventObserver) error
ListInterfaces(ctx context.Context) ([]string, error)
GetInterfaceConfig(ctx context.Context, iface string) (net.InterfaceConfiguration, error)
SetInterfaceConfig(ctx context.Context, iface string, cfg net.InterfaceConfiguration) error
ClearInterfaceAddresses(ctx context.Context, iface string) error
SetInterfaceDown(ctx context.Context, iface string) error
SetInterfaceUp(ctx context.Context, iface string) error
SetInterfaceIpv6PrivacyExtensions(ctx context.Context, iface string, enable bool) error
DisableIpv6(ctx context.Context, iface string) error
EnableIpv6(ctx context.Context, iface string) error
SetIPv6AddrGenMode(ctx context.Context, iface string, mode int32) error
Shutdown(ctx context.Context) error
GetIpForwardingEnabled(ctx context.Context) (bool, error)
SetIpForwardingEnabled(ctx context.Context, enabled bool) error
StartTethering(ctx context.Context, dhcpRanges []string) error
StopTethering(ctx context.Context) error
IsTetheringStarted(ctx context.Context) (bool, error)
TetherInterface(ctx context.Context, iface string) error
UntetherInterface(ctx context.Context, iface string) error
ListTetheredInterfaces(ctx context.Context) ([]string, error)
EnableNat(ctx context.Context, internalInterface string, externalInterface string) error
DisableNat(ctx context.Context, internalInterface string, externalInterface string) error
SetInterfaceQuota(ctx context.Context, iface string, quotaBytes int64) error
RemoveInterfaceQuota(ctx context.Context, iface string) error
SetInterfaceAlert(ctx context.Context, iface string, alertBytes int64) error
RemoveInterfaceAlert(ctx context.Context, iface string) error
SetUidOnMeteredNetworkDenylist(ctx context.Context, uid int32, enable bool) error
SetUidOnMeteredNetworkAllowlist(ctx context.Context, uid int32, enable bool) error
SetDataSaverModeEnabled(ctx context.Context, enable bool) (bool, error)
SetUidCleartextNetworkPolicy(ctx context.Context, uid int32, policy int32) error
IsBandwidthControlEnabled(ctx context.Context) (bool, error)
SetFirewallEnabled(ctx context.Context, enabled bool) error
IsFirewallEnabled(ctx context.Context) (bool, error)
SetFirewallUidRule(ctx context.Context, chain int32, uid int32, rule int32) error
SetFirewallUidRules(ctx context.Context, chain int32, uids []int32, rules []int32) error
SetFirewallChainEnabled(ctx context.Context, chain int32, enable bool) error
AllowProtect(ctx context.Context, uid int32) error
DenyProtect(ctx context.Context, uid int32) error
IsNetworkRestricted(ctx context.Context, uid int32) (bool, error)
}
INetworkManagementServiceServer is the server-side interface that user implementations provide to NewNetworkManagementServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IPermissionController ¶
type IPermissionController interface {
AsBinder() binder.IBinder
CheckPermission(ctx context.Context, permission string, pid int32, uid int32) (bool, error)
NoteOp(ctx context.Context, op string, uid int32, packageName string) (int32, error)
GetPackagesForUid(ctx context.Context, uid int32) ([]string, error)
IsRuntimePermission(ctx context.Context, permission string) (bool, error)
GetPackageUid(ctx context.Context, packageName string, flags int32) (int32, error)
}
func NewPermissionControllerStub ¶
func NewPermissionControllerStub( impl IPermissionControllerServer, ) IPermissionController
NewPermissionControllerStub creates a server-side IPermissionController wrapping the given server implementation. The returned value satisfies IPermissionController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IPermissionControllerServer ¶
type IPermissionControllerServer interface {
CheckPermission(ctx context.Context, permission string, pid int32, uid int32) (bool, error)
NoteOp(ctx context.Context, op string, uid int32, packageName string) (int32, error)
GetPackagesForUid(ctx context.Context, uid int32) ([]string, error)
IsRuntimePermission(ctx context.Context, permission string) (bool, error)
GetPackageUid(ctx context.Context, packageName string, flags int32) (int32, error)
}
IPermissionControllerServer is the server-side interface that user implementations provide to NewPermissionControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IPowerManager ¶
type IPowerManager interface {
AsBinder() binder.IBinder
AcquireWakeLock(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, ws WorkSource, historyTag string, displayId int32, callback IWakeLockCallback) error
AcquireWakeLockWithUid(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, uidtoblame int32, displayId int32, callback IWakeLockCallback) error
ReleaseWakeLock(ctx context.Context, lock binder.IBinder, flags int32) error
UpdateWakeLockUids(ctx context.Context, lock binder.IBinder, uids []int32) error
SetPowerBoost(ctx context.Context, boost int32, durationMs int32) error
SetPowerMode(ctx context.Context, mode int32, enabled bool) error
SetPowerModeChecked(ctx context.Context, mode int32, enabled bool) (bool, error)
UpdateWakeLockWorkSource(ctx context.Context, lock binder.IBinder, ws WorkSource, historyTag string) error
UpdateWakeLockCallback(ctx context.Context, lock binder.IBinder, callback IWakeLockCallback) error
IsWakeLockLevelSupported(ctx context.Context, level int32) (bool, error)
UserActivity(ctx context.Context, displayId int32, time int64, event int32, flags int32) error
WakeUp(ctx context.Context, time int64, reason int32, details string) error
GoToSleep(ctx context.Context, time int64, reason int32, flags int32) error
GoToSleepWithDisplayId(ctx context.Context, displayId int32, time int64, reason int32, flags int32) error
Nap(ctx context.Context, time int64) error
GetBrightnessConstraint(ctx context.Context, constraint int32) (float32, error)
IsInteractive(ctx context.Context) (bool, error)
IsDisplayInteractive(ctx context.Context, displayId int32) (bool, error)
AreAutoPowerSaveModesEnabled(ctx context.Context) (bool, error)
IsPowerSaveMode(ctx context.Context) (bool, error)
GetPowerSaveState(ctx context.Context, serviceType int32) (PowerSaveState, error)
SetPowerSaveModeEnabled(ctx context.Context, mode bool) (bool, error)
IsBatterySaverSupported(ctx context.Context) (bool, error)
GetFullPowerSavePolicy(ctx context.Context) (BatterySaverPolicyConfig, error)
SetFullPowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
SetDynamicPowerSaveHint(ctx context.Context, powerSaveHint bool, disableThreshold int32) (bool, error)
SetAdaptivePowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
SetAdaptivePowerSaveEnabled(ctx context.Context, enabled bool) (bool, error)
GetPowerSaveModeTrigger(ctx context.Context) (int32, error)
SetBatteryDischargePrediction(ctx context.Context, timeRemaining ParcelDuration, isCustomized bool) error
GetBatteryDischargePrediction(ctx context.Context) (ParcelDuration, error)
IsBatteryDischargePredictionPersonalized(ctx context.Context) (bool, error)
IsDeviceIdleMode(ctx context.Context) (bool, error)
IsLightDeviceIdleMode(ctx context.Context) (bool, error)
IsLowPowerStandbySupported(ctx context.Context) (bool, error)
IsLowPowerStandbyEnabled(ctx context.Context) (bool, error)
SetLowPowerStandbyEnabled(ctx context.Context, enabled bool) error
SetLowPowerStandbyActiveDuringMaintenance(ctx context.Context, activeDuringMaintenance bool) error
ForceLowPowerStandbyActive(ctx context.Context, active bool) error
SetLowPowerStandbyPolicy(ctx context.Context, policy *IPowerManagerLowPowerStandbyPolicy) error
GetLowPowerStandbyPolicy(ctx context.Context) (IPowerManagerLowPowerStandbyPolicy, error)
IsExemptFromLowPowerStandby(ctx context.Context) (bool, error)
IsReasonAllowedInLowPowerStandby(ctx context.Context, reason int32) (bool, error)
IsFeatureAllowedInLowPowerStandby(ctx context.Context, feature string) (bool, error)
AcquireLowPowerStandbyPorts(ctx context.Context, token binder.IBinder, ports []IPowerManagerLowPowerStandbyPortDescription) error
ReleaseLowPowerStandbyPorts(ctx context.Context, token binder.IBinder) error
GetActiveLowPowerStandbyPorts(ctx context.Context) ([]IPowerManagerLowPowerStandbyPortDescription, error)
Reboot(ctx context.Context, confirm bool, reason string, wait bool) error
RebootSafeMode(ctx context.Context, confirm bool, wait bool) error
Shutdown(ctx context.Context, confirm bool, reason string, wait bool) error
Crash(ctx context.Context, message string) error
GetLastShutdownReason(ctx context.Context) (int32, error)
GetLastSleepReason(ctx context.Context) (int32, error)
SetStayOnSetting(ctx context.Context, val int32) error
BoostScreenBrightness(ctx context.Context, time int64) error
AcquireWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, ws WorkSource, historyTag string) error
ReleaseWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32) error
UpdateWakeLockUidsAsync(ctx context.Context, lock binder.IBinder, uids []int32) error
IsScreenBrightnessBoosted(ctx context.Context) (bool, error)
SetAttentionLight(ctx context.Context, on bool, color int32) error
SetDozeAfterScreenOff(ctx context.Context, on bool) error
IsAmbientDisplayAvailable(ctx context.Context) (bool, error)
SuppressAmbientDisplay(ctx context.Context, token string, suppress bool) error
IsAmbientDisplaySuppressedForToken(ctx context.Context, token string) (bool, error)
IsAmbientDisplaySuppressed(ctx context.Context) (bool, error)
IsAmbientDisplaySuppressedForTokenByApp(ctx context.Context, token string) (bool, error)
ForceSuspend(ctx context.Context) (bool, error)
}
func NewPowerManagerStub ¶
func NewPowerManagerStub( impl IPowerManagerServer, ) IPowerManager
NewPowerManagerStub creates a server-side IPowerManager wrapping the given server implementation. The returned value satisfies IPowerManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IPowerManagerLowPowerStandbyPolicy ¶
type IPowerManagerLowPowerStandbyPolicy struct {
Identifier string
ExemptPackages []string
AllowedReasons int32
AllowedFeatures []string
}
func (*IPowerManagerLowPowerStandbyPolicy) MarshalParcel ¶
func (s *IPowerManagerLowPowerStandbyPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*IPowerManagerLowPowerStandbyPolicy) UnmarshalParcel ¶
func (s *IPowerManagerLowPowerStandbyPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type IPowerManagerLowPowerStandbyPortDescription ¶
type IPowerManagerLowPowerStandbyPortDescription struct {
Protocol int32
PortMatcher int32
PortNumber int32
LocalAddress []byte
}
func (*IPowerManagerLowPowerStandbyPortDescription) MarshalParcel ¶
func (s *IPowerManagerLowPowerStandbyPortDescription) MarshalParcel( p *parcel.Parcel, ) error
func (*IPowerManagerLowPowerStandbyPortDescription) UnmarshalParcel ¶
func (s *IPowerManagerLowPowerStandbyPortDescription) UnmarshalParcel( p *parcel.Parcel, ) error
type IPowerManagerServer ¶
type IPowerManagerServer interface {
AcquireWakeLock(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, ws WorkSource, historyTag string, displayId int32, callback IWakeLockCallback) error
AcquireWakeLockWithUid(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, uidtoblame int32, displayId int32, callback IWakeLockCallback) error
ReleaseWakeLock(ctx context.Context, lock binder.IBinder, flags int32) error
UpdateWakeLockUids(ctx context.Context, lock binder.IBinder, uids []int32) error
SetPowerBoost(ctx context.Context, boost int32, durationMs int32) error
SetPowerMode(ctx context.Context, mode int32, enabled bool) error
SetPowerModeChecked(ctx context.Context, mode int32, enabled bool) (bool, error)
UpdateWakeLockWorkSource(ctx context.Context, lock binder.IBinder, ws WorkSource, historyTag string) error
UpdateWakeLockCallback(ctx context.Context, lock binder.IBinder, callback IWakeLockCallback) error
IsWakeLockLevelSupported(ctx context.Context, level int32) (bool, error)
UserActivity(ctx context.Context, displayId int32, time int64, event int32, flags int32) error
WakeUp(ctx context.Context, time int64, reason int32, details string) error
GoToSleep(ctx context.Context, time int64, reason int32, flags int32) error
GoToSleepWithDisplayId(ctx context.Context, displayId int32, time int64, reason int32, flags int32) error
Nap(ctx context.Context, time int64) error
GetBrightnessConstraint(ctx context.Context, constraint int32) (float32, error)
IsInteractive(ctx context.Context) (bool, error)
IsDisplayInteractive(ctx context.Context, displayId int32) (bool, error)
AreAutoPowerSaveModesEnabled(ctx context.Context) (bool, error)
IsPowerSaveMode(ctx context.Context) (bool, error)
GetPowerSaveState(ctx context.Context, serviceType int32) (PowerSaveState, error)
SetPowerSaveModeEnabled(ctx context.Context, mode bool) (bool, error)
IsBatterySaverSupported(ctx context.Context) (bool, error)
GetFullPowerSavePolicy(ctx context.Context) (BatterySaverPolicyConfig, error)
SetFullPowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
SetDynamicPowerSaveHint(ctx context.Context, powerSaveHint bool, disableThreshold int32) (bool, error)
SetAdaptivePowerSavePolicy(ctx context.Context, config BatterySaverPolicyConfig) (bool, error)
SetAdaptivePowerSaveEnabled(ctx context.Context, enabled bool) (bool, error)
GetPowerSaveModeTrigger(ctx context.Context) (int32, error)
SetBatteryDischargePrediction(ctx context.Context, timeRemaining ParcelDuration, isCustomized bool) error
GetBatteryDischargePrediction(ctx context.Context) (ParcelDuration, error)
IsBatteryDischargePredictionPersonalized(ctx context.Context) (bool, error)
IsDeviceIdleMode(ctx context.Context) (bool, error)
IsLightDeviceIdleMode(ctx context.Context) (bool, error)
IsLowPowerStandbySupported(ctx context.Context) (bool, error)
IsLowPowerStandbyEnabled(ctx context.Context) (bool, error)
SetLowPowerStandbyEnabled(ctx context.Context, enabled bool) error
SetLowPowerStandbyActiveDuringMaintenance(ctx context.Context, activeDuringMaintenance bool) error
ForceLowPowerStandbyActive(ctx context.Context, active bool) error
SetLowPowerStandbyPolicy(ctx context.Context, policy *IPowerManagerLowPowerStandbyPolicy) error
GetLowPowerStandbyPolicy(ctx context.Context) (IPowerManagerLowPowerStandbyPolicy, error)
IsExemptFromLowPowerStandby(ctx context.Context) (bool, error)
IsReasonAllowedInLowPowerStandby(ctx context.Context, reason int32) (bool, error)
IsFeatureAllowedInLowPowerStandby(ctx context.Context, feature string) (bool, error)
AcquireLowPowerStandbyPorts(ctx context.Context, token binder.IBinder, ports []IPowerManagerLowPowerStandbyPortDescription) error
ReleaseLowPowerStandbyPorts(ctx context.Context, token binder.IBinder) error
GetActiveLowPowerStandbyPorts(ctx context.Context) ([]IPowerManagerLowPowerStandbyPortDescription, error)
Reboot(ctx context.Context, confirm bool, reason string, wait bool) error
RebootSafeMode(ctx context.Context, confirm bool, wait bool) error
Shutdown(ctx context.Context, confirm bool, reason string, wait bool) error
Crash(ctx context.Context, message string) error
GetLastShutdownReason(ctx context.Context) (int32, error)
GetLastSleepReason(ctx context.Context) (int32, error)
SetStayOnSetting(ctx context.Context, val int32) error
BoostScreenBrightness(ctx context.Context, time int64) error
AcquireWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, ws WorkSource, historyTag string) error
ReleaseWakeLockAsync(ctx context.Context, lock binder.IBinder, flags int32) error
UpdateWakeLockUidsAsync(ctx context.Context, lock binder.IBinder, uids []int32) error
IsScreenBrightnessBoosted(ctx context.Context) (bool, error)
SetAttentionLight(ctx context.Context, on bool, color int32) error
SetDozeAfterScreenOff(ctx context.Context, on bool) error
IsAmbientDisplayAvailable(ctx context.Context) (bool, error)
SuppressAmbientDisplay(ctx context.Context, token string, suppress bool) error
IsAmbientDisplaySuppressedForToken(ctx context.Context, token string) (bool, error)
IsAmbientDisplaySuppressed(ctx context.Context) (bool, error)
IsAmbientDisplaySuppressedForTokenByApp(ctx context.Context, token string) (bool, error)
ForceSuspend(ctx context.Context) (bool, error)
}
IPowerManagerServer is the server-side interface that user implementations provide to NewPowerManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IPowerStatsService ¶
type IPowerStatsService interface {
AsBinder() binder.IBinder
GetSupportedPowerMonitors(ctx context.Context, resultReceiver ResultReceiver) error
GetPowerMonitorReadings(ctx context.Context, powerMonitorIndices []int32, resultReceiver ResultReceiver) error
}
func NewPowerStatsServiceStub ¶
func NewPowerStatsServiceStub( impl IPowerStatsServiceServer, ) IPowerStatsService
NewPowerStatsServiceStub creates a server-side IPowerStatsService wrapping the given server implementation. The returned value satisfies IPowerStatsService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IPowerStatsServiceServer ¶
type IPowerStatsServiceServer interface {
GetSupportedPowerMonitors(ctx context.Context, resultReceiver ResultReceiver) error
GetPowerMonitorReadings(ctx context.Context, powerMonitorIndices []int32, resultReceiver ResultReceiver) error
}
IPowerStatsServiceServer is the server-side interface that user implementations provide to NewPowerStatsServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IProcessInfoService ¶
type IProcessInfoService interface {
AsBinder() binder.IBinder
GetProcessStatesFromPids(ctx context.Context, pids []int32, states []int32) error
GetProcessStatesAndOomScoresFromPids(ctx context.Context, pids []int32, states []int32, scores []int32) error
}
func NewProcessInfoServiceStub ¶
func NewProcessInfoServiceStub( impl IProcessInfoServiceServer, ) IProcessInfoService
NewProcessInfoServiceStub creates a server-side IProcessInfoService wrapping the given server implementation. The returned value satisfies IProcessInfoService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IProcessInfoServiceServer ¶
type IProcessInfoServiceServer interface {
GetProcessStatesFromPids(ctx context.Context, pids []int32, states []int32) error
GetProcessStatesAndOomScoresFromPids(ctx context.Context, pids []int32, states []int32, scores []int32) error
}
IProcessInfoServiceServer is the server-side interface that user implementations provide to NewProcessInfoServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IProgressListener ¶
type IProgressListener interface {
AsBinder() binder.IBinder
OnStarted(ctx context.Context, id int32, extras Bundle) error
OnProgress(ctx context.Context, id int32, progress int32, extras Bundle) error
OnFinished(ctx context.Context, id int32, extras Bundle) error
}
func NewProgressListenerStub ¶
func NewProgressListenerStub( impl IProgressListenerServer, ) IProgressListener
NewProgressListenerStub creates a server-side IProgressListener wrapping the given server implementation. The returned value satisfies IProgressListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IProgressListenerServer ¶
type IProgressListenerServer interface {
OnStarted(ctx context.Context, id int32, extras Bundle) error
OnProgress(ctx context.Context, id int32, progress int32, extras Bundle) error
OnFinished(ctx context.Context, id int32, extras Bundle) error
}
IProgressListenerServer is the server-side interface that user implementations provide to NewProgressListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRecoverySystem ¶
type IRecoverySystem interface {
AsBinder() binder.IBinder
AllocateSpaceForUpdate(ctx context.Context, packageFilePath string) (bool, error)
Uncrypt(ctx context.Context, packageFile string, listener IRecoverySystemProgressListener) (bool, error)
SetupBcb(ctx context.Context, command string) (bool, error)
ClearBcb(ctx context.Context) (bool, error)
RebootRecoveryWithCommand(ctx context.Context, command string) error
RequestLskf(ctx context.Context, packageName string, sender types.IntentSender) (bool, error)
ClearLskf(ctx context.Context, packageName string) (bool, error)
IsLskfCaptured(ctx context.Context, packageName string) (bool, error)
RebootWithLskfAssumeSlotSwitch(ctx context.Context, packageName string, reason string) (int32, error)
RebootWithLskf(ctx context.Context, packageName string, reason string, slotSwitch bool) (int32, error)
}
func NewRecoverySystemStub ¶
func NewRecoverySystemStub( impl IRecoverySystemServer, ) IRecoverySystem
NewRecoverySystemStub creates a server-side IRecoverySystem wrapping the given server implementation. The returned value satisfies IRecoverySystem and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRecoverySystemProgressListener ¶
type IRecoverySystemProgressListener interface {
AsBinder() binder.IBinder
OnProgress(ctx context.Context, progress int32) error
}
func NewRecoverySystemProgressListenerStub ¶
func NewRecoverySystemProgressListenerStub( impl IRecoverySystemProgressListenerServer, ) IRecoverySystemProgressListener
NewRecoverySystemProgressListenerStub creates a server-side IRecoverySystemProgressListener wrapping the given server implementation. The returned value satisfies IRecoverySystemProgressListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRecoverySystemProgressListenerServer ¶
type IRecoverySystemProgressListenerServer interface {
OnProgress(ctx context.Context, progress int32) error
}
IRecoverySystemProgressListenerServer is the server-side interface that user implementations provide to NewRecoverySystemProgressListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRecoverySystemServer ¶
type IRecoverySystemServer interface {
AllocateSpaceForUpdate(ctx context.Context, packageFilePath string) (bool, error)
Uncrypt(ctx context.Context, packageFile string, listener IRecoverySystemProgressListener) (bool, error)
SetupBcb(ctx context.Context, command string) (bool, error)
ClearBcb(ctx context.Context) (bool, error)
RebootRecoveryWithCommand(ctx context.Context, command string) error
RequestLskf(ctx context.Context, packageName string, sender types.IntentSender) (bool, error)
ClearLskf(ctx context.Context, packageName string) (bool, error)
IsLskfCaptured(ctx context.Context, packageName string) (bool, error)
RebootWithLskfAssumeSlotSwitch(ctx context.Context, packageName string, reason string) (int32, error)
RebootWithLskf(ctx context.Context, packageName string, reason string, slotSwitch bool) (int32, error)
}
IRecoverySystemServer is the server-side interface that user implementations provide to NewRecoverySystemStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRemoteCallback ¶
type IRemoteCallback interface {
AsBinder() binder.IBinder
SendResult(ctx context.Context, data Bundle) error
}
func NewRemoteCallbackStub ¶
func NewRemoteCallbackStub( impl IRemoteCallbackServer, ) IRemoteCallback
NewRemoteCallbackStub creates a server-side IRemoteCallback wrapping the given server implementation. The returned value satisfies IRemoteCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRemoteCallbackServer ¶
IRemoteCallbackServer is the server-side interface that user implementations provide to NewRemoteCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISchedulingPolicyService ¶
type ISchedulingPolicyService interface {
AsBinder() binder.IBinder
RequestPriority(ctx context.Context, pid int32, tid int32, prio int32, isForApp bool) (int32, error)
RequestCpusetBoost(ctx context.Context, enable bool, client binder.IBinder) (int32, error)
}
func NewSchedulingPolicyServiceStub ¶
func NewSchedulingPolicyServiceStub( impl ISchedulingPolicyServiceServer, ) ISchedulingPolicyService
NewSchedulingPolicyServiceStub creates a server-side ISchedulingPolicyService wrapping the given server implementation. The returned value satisfies ISchedulingPolicyService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISchedulingPolicyServiceServer ¶
type ISchedulingPolicyServiceServer interface {
RequestPriority(ctx context.Context, pid int32, tid int32, prio int32, isForApp bool) (int32, error)
RequestCpusetBoost(ctx context.Context, enable bool, client binder.IBinder) (int32, error)
}
ISchedulingPolicyServiceServer is the server-side interface that user implementations provide to NewSchedulingPolicyServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISecurityStateManager ¶
type ISecurityStateManager interface {
AsBinder() binder.IBinder
GetGlobalSecurityState(ctx context.Context) (Bundle, error)
}
func NewSecurityStateManagerStub ¶
func NewSecurityStateManagerStub( impl ISecurityStateManagerServer, ) ISecurityStateManager
NewSecurityStateManagerStub creates a server-side ISecurityStateManager wrapping the given server implementation. The returned value satisfies ISecurityStateManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISecurityStateManagerServer ¶
type ISecurityStateManagerServer interface {
GetGlobalSecurityState(ctx context.Context) (Bundle, error)
}
ISecurityStateManagerServer is the server-side interface that user implementations provide to NewSecurityStateManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IServiceCallback ¶
type IServiceCallback interface {
AsBinder() binder.IBinder
OnRegistration(ctx context.Context, name string, binder_ binder.IBinder) error
}
func NewServiceCallbackStub ¶
func NewServiceCallbackStub( impl IServiceCallbackServer, ) IServiceCallback
NewServiceCallbackStub creates a server-side IServiceCallback wrapping the given server implementation. The returned value satisfies IServiceCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IServiceCallbackServer ¶
type IServiceCallbackServer interface {
OnRegistration(ctx context.Context, name string, binder_ binder.IBinder) error
}
IServiceCallbackServer is the server-side interface that user implementations provide to NewServiceCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IServiceManager ¶
type IServiceManager interface {
AsBinder() binder.IBinder
GetService(ctx context.Context, name string) (binder.IBinder, error)
CheckService(ctx context.Context, name string) (binder.IBinder, error)
AddService(ctx context.Context, name string, service binder.IBinder, allowIsolated bool, dumpPriority int32) error
ListServices(ctx context.Context, dumpPriority int32) ([]string, error)
RegisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
UnregisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
IsDeclared(ctx context.Context, name string) (bool, error)
GetDeclaredInstances(ctx context.Context, iface string) ([]string, error)
UpdatableViaApex(ctx context.Context, name string) (string, error)
GetUpdatableNames(ctx context.Context, apexName string) ([]string, error)
GetConnectionInfo(ctx context.Context, name string) (ConnectionInfo, error)
RegisterClientCallback(ctx context.Context, name string, service binder.IBinder, callback IClientCallback) error
TryUnregisterService(ctx context.Context, name string, service binder.IBinder) error
GetServiceDebugInfo(ctx context.Context) ([]ServiceDebugInfo, error)
}
func NewServiceManagerStub ¶
func NewServiceManagerStub( impl IServiceManagerServer, ) IServiceManager
NewServiceManagerStub creates a server-side IServiceManager wrapping the given server implementation. The returned value satisfies IServiceManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IServiceManagerServer ¶
type IServiceManagerServer interface {
GetService(ctx context.Context, name string) (binder.IBinder, error)
CheckService(ctx context.Context, name string) (binder.IBinder, error)
AddService(ctx context.Context, name string, service binder.IBinder, allowIsolated bool, dumpPriority int32) error
ListServices(ctx context.Context, dumpPriority int32) ([]string, error)
RegisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
UnregisterForNotifications(ctx context.Context, name string, callback IServiceCallback) error
IsDeclared(ctx context.Context, name string) (bool, error)
GetDeclaredInstances(ctx context.Context, iface string) ([]string, error)
UpdatableViaApex(ctx context.Context, name string) (string, error)
GetUpdatableNames(ctx context.Context, apexName string) ([]string, error)
GetConnectionInfo(ctx context.Context, name string) (ConnectionInfo, error)
RegisterClientCallback(ctx context.Context, name string, service binder.IBinder, callback IClientCallback) error
TryUnregisterService(ctx context.Context, name string, service binder.IBinder) error
GetServiceDebugInfo(ctx context.Context) ([]ServiceDebugInfo, error)
}
IServiceManagerServer is the server-side interface that user implementations provide to NewServiceManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISomeService ¶
type ISomeService interface {
AsBinder() binder.IBinder
ReadDisk(ctx context.Context, times int32) error
}
func NewSomeServiceStub ¶
func NewSomeServiceStub( impl ISomeServiceServer, ) ISomeService
NewSomeServiceStub creates a server-side ISomeService wrapping the given server implementation. The returned value satisfies ISomeService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISomeServiceServer ¶
ISomeServiceServer is the server-side interface that user implementations provide to NewSomeServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IStatsBootstrapAtomService ¶
type IStatsBootstrapAtomService interface {
AsBinder() binder.IBinder
ReportBootstrapAtom(ctx context.Context, atom StatsBootstrapAtom) error
}
func NewStatsBootstrapAtomServiceStub ¶
func NewStatsBootstrapAtomServiceStub( impl IStatsBootstrapAtomServiceServer, ) IStatsBootstrapAtomService
NewStatsBootstrapAtomServiceStub creates a server-side IStatsBootstrapAtomService wrapping the given server implementation. The returned value satisfies IStatsBootstrapAtomService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IStatsBootstrapAtomServiceServer ¶
type IStatsBootstrapAtomServiceServer interface {
ReportBootstrapAtom(ctx context.Context, atom StatsBootstrapAtom) error
}
IStatsBootstrapAtomServiceServer is the server-side interface that user implementations provide to NewStatsBootstrapAtomServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISystemConfig ¶
type ISystemConfig interface {
AsBinder() binder.IBinder
GetDisabledUntilUsedPreinstalledCarrierApps(ctx context.Context) ([]string, error)
GetDisabledUntilUsedPreinstalledCarrierAssociatedApps(ctx context.Context) (map[any]any, error)
GetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries(ctx context.Context) (map[any]any, error)
GetSystemPermissionUids(ctx context.Context, permissionName string) ([]int32, error)
GetEnabledComponentOverrides(ctx context.Context, packageName string) ([]types.ComponentName, error)
GetDefaultVrComponents(ctx context.Context) ([]types.ComponentName, error)
GetPreventUserDisablePackages(ctx context.Context) ([]string, error)
GetEnhancedConfirmationTrustedPackages(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
GetEnhancedConfirmationTrustedInstallers(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
}
func NewSystemConfigStub ¶
func NewSystemConfigStub( impl ISystemConfigServer, ) ISystemConfig
NewSystemConfigStub creates a server-side ISystemConfig wrapping the given server implementation. The returned value satisfies ISystemConfig and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISystemConfigServer ¶
type ISystemConfigServer interface {
GetDisabledUntilUsedPreinstalledCarrierApps(ctx context.Context) ([]string, error)
GetDisabledUntilUsedPreinstalledCarrierAssociatedApps(ctx context.Context) (map[any]any, error)
GetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries(ctx context.Context) (map[any]any, error)
GetSystemPermissionUids(ctx context.Context, permissionName string) ([]int32, error)
GetEnabledComponentOverrides(ctx context.Context, packageName string) ([]types.ComponentName, error)
GetDefaultVrComponents(ctx context.Context) ([]types.ComponentName, error)
GetPreventUserDisablePackages(ctx context.Context) ([]string, error)
GetEnhancedConfirmationTrustedPackages(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
GetEnhancedConfirmationTrustedInstallers(ctx context.Context) ([]pmTypes.SignedPackageParcel, error)
}
ISystemConfigServer is the server-side interface that user implementations provide to NewSystemConfigStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISystemUpdateManager ¶
type ISystemUpdateManager interface {
AsBinder() binder.IBinder
RetrieveSystemUpdateInfo(ctx context.Context) (Bundle, error)
UpdateSystemUpdateInfo(ctx context.Context, data PersistableBundle) error
}
func NewSystemUpdateManagerStub ¶
func NewSystemUpdateManagerStub( impl ISystemUpdateManagerServer, ) ISystemUpdateManager
NewSystemUpdateManagerStub creates a server-side ISystemUpdateManager wrapping the given server implementation. The returned value satisfies ISystemUpdateManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISystemUpdateManagerServer ¶
type ISystemUpdateManagerServer interface {
RetrieveSystemUpdateInfo(ctx context.Context) (Bundle, error)
UpdateSystemUpdateInfo(ctx context.Context, data PersistableBundle) error
}
ISystemUpdateManagerServer is the server-side interface that user implementations provide to NewSystemUpdateManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IThermalEventListener ¶
type IThermalEventListener interface {
AsBinder() binder.IBinder
NotifyThrottling(ctx context.Context, temperature Temperature) error
}
func NewThermalEventListenerStub ¶
func NewThermalEventListenerStub( impl IThermalEventListenerServer, ) IThermalEventListener
NewThermalEventListenerStub creates a server-side IThermalEventListener wrapping the given server implementation. The returned value satisfies IThermalEventListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IThermalEventListenerServer ¶
type IThermalEventListenerServer interface {
NotifyThrottling(ctx context.Context, temperature Temperature) error
}
IThermalEventListenerServer is the server-side interface that user implementations provide to NewThermalEventListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IThermalService ¶
type IThermalService interface {
AsBinder() binder.IBinder
RegisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
RegisterThermalEventListenerWithType(ctx context.Context, listener IThermalEventListener, type_ int32) (bool, error)
UnregisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
GetCurrentTemperatures(ctx context.Context) ([]Temperature, error)
GetCurrentTemperaturesWithType(ctx context.Context, type_ int32) ([]Temperature, error)
RegisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
UnregisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
GetCurrentThermalStatus(ctx context.Context) (int32, error)
GetCurrentCoolingDevices(ctx context.Context) ([]CoolingDevice, error)
GetCurrentCoolingDevicesWithType(ctx context.Context, type_ int32) ([]CoolingDevice, error)
GetThermalHeadroom(ctx context.Context, forecastSeconds int32) (float32, error)
GetThermalHeadroomThresholds(ctx context.Context) ([]float32, error)
}
func NewThermalServiceStub ¶
func NewThermalServiceStub( impl IThermalServiceServer, ) IThermalService
NewThermalServiceStub creates a server-side IThermalService wrapping the given server implementation. The returned value satisfies IThermalService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IThermalServiceServer ¶
type IThermalServiceServer interface {
RegisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
RegisterThermalEventListenerWithType(ctx context.Context, listener IThermalEventListener, type_ int32) (bool, error)
UnregisterThermalEventListener(ctx context.Context, listener IThermalEventListener) (bool, error)
GetCurrentTemperatures(ctx context.Context) ([]Temperature, error)
GetCurrentTemperaturesWithType(ctx context.Context, type_ int32) ([]Temperature, error)
RegisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
UnregisterThermalStatusListener(ctx context.Context, listener IThermalStatusListener) (bool, error)
GetCurrentThermalStatus(ctx context.Context) (int32, error)
GetCurrentCoolingDevices(ctx context.Context) ([]CoolingDevice, error)
GetCurrentCoolingDevicesWithType(ctx context.Context, type_ int32) ([]CoolingDevice, error)
GetThermalHeadroom(ctx context.Context, forecastSeconds int32) (float32, error)
GetThermalHeadroomThresholds(ctx context.Context) ([]float32, error)
}
IThermalServiceServer is the server-side interface that user implementations provide to NewThermalServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IThermalStatusListener ¶
type IThermalStatusListener interface {
AsBinder() binder.IBinder
OnStatusChange(ctx context.Context, status int32) error
}
func NewThermalStatusListenerStub ¶
func NewThermalStatusListenerStub( impl IThermalStatusListenerServer, ) IThermalStatusListener
NewThermalStatusListenerStub creates a server-side IThermalStatusListener wrapping the given server implementation. The returned value satisfies IThermalStatusListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IThermalStatusListenerServer ¶
type IThermalStatusListenerServer interface {
OnStatusChange(ctx context.Context, status int32) error
}
IThermalStatusListenerServer is the server-side interface that user implementations provide to NewThermalStatusListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IUpdateLock ¶
type IUpdateLock interface {
AsBinder() binder.IBinder
AcquireUpdateLock(ctx context.Context, token binder.IBinder, tag string) error
ReleaseUpdateLock(ctx context.Context, token binder.IBinder) error
}
func NewUpdateLockStub ¶
func NewUpdateLockStub( impl IUpdateLockServer, ) IUpdateLock
NewUpdateLockStub creates a server-side IUpdateLock wrapping the given server implementation. The returned value satisfies IUpdateLock and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IUpdateLockServer ¶
type IUpdateLockServer interface {
AcquireUpdateLock(ctx context.Context, token binder.IBinder, tag string) error
ReleaseUpdateLock(ctx context.Context, token binder.IBinder) error
}
IUpdateLockServer is the server-side interface that user implementations provide to NewUpdateLockStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IUserManager ¶
type IUserManager interface {
AsBinder() binder.IBinder
GetCredentialOwnerProfile(ctx context.Context) (int32, error)
GetProfileParentId(ctx context.Context) (int32, error)
CreateUserWithThrow(ctx context.Context, name string, userType string, flags int32) (types.UserInfo, error)
PreCreateUserWithThrow(ctx context.Context, userType string) (types.UserInfo, error)
CreateProfileForUserWithThrow(ctx context.Context, name string, userType string, flags int32, disallowedPackages []string) (types.UserInfo, error)
CreateRestrictedProfileWithThrow(ctx context.Context, name string, parentUserHandle int32) (types.UserInfo, error)
GetPreInstallableSystemPackages(ctx context.Context, userType string) ([]string, error)
SetUserEnabled(ctx context.Context) error
SetUserAdmin(ctx context.Context) error
RevokeUserAdmin(ctx context.Context) error
EvictCredentialEncryptionKey(ctx context.Context) error
RemoveUser(ctx context.Context) (bool, error)
RemoveUserEvenWhenDisallowed(ctx context.Context) (bool, error)
SetUserName(ctx context.Context, name string) error
SetUserIcon(ctx context.Context, icon graphics.Bitmap) error
GetUserIcon(ctx context.Context) (int32, error)
GetPrimaryUser(ctx context.Context) (types.UserInfo, error)
GetMainUserId(ctx context.Context) (int32, error)
GetCommunalProfileId(ctx context.Context) (int32, error)
GetPreviousFullUserToEnterForeground(ctx context.Context) (int32, error)
GetUsers(ctx context.Context, excludePartial bool, excludeDying bool, excludePreCreated bool) ([]types.UserInfo, error)
GetProfiles(ctx context.Context, enabledOnly bool) ([]types.UserInfo, error)
GetProfileIds(ctx context.Context, enabledOnly bool) ([]int32, error)
IsUserTypeEnabled(ctx context.Context, userType string) (bool, error)
CanAddMoreUsersOfType(ctx context.Context, userType string) (bool, error)
GetRemainingCreatableUserCount(ctx context.Context, userType string) (int32, error)
GetRemainingCreatableProfileCount(ctx context.Context, userType string) (int32, error)
CanAddMoreProfilesToUser(ctx context.Context, userType string, allowedToRemoveOne bool) (bool, error)
CanAddMoreManagedProfiles(ctx context.Context, allowedToRemoveOne bool) (bool, error)
GetProfileParent(ctx context.Context) (types.UserInfo, error)
IsSameProfileGroup(ctx context.Context, otherUserHandle int32) (bool, error)
IsHeadlessSystemUserMode(ctx context.Context) (bool, error)
IsUserOfType(ctx context.Context, userType string) (bool, error)
GetUserInfo(ctx context.Context) (types.UserInfo, error)
GetUserPropertiesCopy(ctx context.Context) (types.UserProperties, error)
GetUserAccount(ctx context.Context) (string, error)
SetUserAccount(ctx context.Context, accountName string) error
GetUserCreationTime(ctx context.Context) (int64, error)
GetUserSwitchability(ctx context.Context) (int32, error)
IsUserSwitcherEnabled(ctx context.Context, showEvenIfNotActionable bool, mUserId int32) (bool, error)
IsRestricted(ctx context.Context) (bool, error)
CanHaveRestrictedProfile(ctx context.Context) (bool, error)
GetUserSerialNumber(ctx context.Context) (int32, error)
GetUserHandle(ctx context.Context, userSerialNumber int32) (int32, error)
GetUserRestrictionSource(ctx context.Context, restrictionKey string) (int32, error)
GetUserRestrictionSources(ctx context.Context, restrictionKey string) ([]UserManagerEnforcingUser, error)
GetUserRestrictions(ctx context.Context) (Bundle, error)
HasBaseUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
HasUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
HasUserRestrictionOnAnyUser(ctx context.Context, restrictionKey string) (bool, error)
IsSettingRestrictedForUser(ctx context.Context, setting string, value string) (bool, error)
AddUserRestrictionsListener(ctx context.Context, listener IUserRestrictionsListener) error
SetUserRestriction(ctx context.Context, key string, value bool) error
SetApplicationRestrictions(ctx context.Context, packageName string, restrictions Bundle) error
GetApplicationRestrictions(ctx context.Context, packageName string) (Bundle, error)
GetApplicationRestrictionsForUser(ctx context.Context, packageName string) (Bundle, error)
SetDefaultGuestRestrictions(ctx context.Context, restrictions Bundle) error
GetDefaultGuestRestrictions(ctx context.Context) (Bundle, error)
RemoveUserWhenPossible(ctx context.Context, overrideDevicePolicy bool) (int32, error)
MarkGuestForDeletion(ctx context.Context) (bool, error)
GetGuestUsers(ctx context.Context) ([]types.UserInfo, error)
IsQuietModeEnabled(ctx context.Context) (bool, error)
CreateUserWithAttributes(ctx context.Context, userName string, userType string, flags int32, userIcon graphics.Bitmap, accountName string, accountType string, accountOptions PersistableBundle) (UserHandle, error)
SetSeedAccountData(ctx context.Context, accountName string, accountType string, accountOptions PersistableBundle, persist bool) error
GetSeedAccountName(ctx context.Context) (string, error)
GetSeedAccountType(ctx context.Context) (string, error)
GetSeedAccountOptions(ctx context.Context) (PersistableBundle, error)
ClearSeedAccountData(ctx context.Context) error
SomeUserHasSeedAccount(ctx context.Context, accountName string, accountType string) (bool, error)
SomeUserHasAccount(ctx context.Context, accountName string, accountType string) (bool, error)
GetProfileType(ctx context.Context) (string, error)
IsDemoUser(ctx context.Context) (bool, error)
IsAdminUser(ctx context.Context) (bool, error)
IsPreCreated(ctx context.Context) (bool, error)
CreateProfileForUserEvenWhenDisallowedWithThrow(ctx context.Context, name string, userType string, flags int32, disallowedPackages []string) (types.UserInfo, error)
IsUserUnlockingOrUnlocked(ctx context.Context) (bool, error)
GetUserIconBadgeResId(ctx context.Context) (int32, error)
GetUserBadgeResId(ctx context.Context) (int32, error)
GetUserBadgeNoBackgroundResId(ctx context.Context) (int32, error)
GetUserBadgeLabelResId(ctx context.Context) (int32, error)
GetUserBadgeColorResId(ctx context.Context) (int32, error)
GetUserBadgeDarkColorResId(ctx context.Context) (int32, error)
GetUserStatusBarIconResId(ctx context.Context) (int32, error)
HasBadge(ctx context.Context) (bool, error)
GetProfileLabelResId(ctx context.Context) (int32, error)
IsUserUnlocked(ctx context.Context) (bool, error)
IsUserRunning(ctx context.Context) (bool, error)
IsUserForeground(ctx context.Context) (bool, error)
IsUserVisible(ctx context.Context) (bool, error)
GetVisibleUsers(ctx context.Context) ([]int32, error)
GetMainDisplayIdAssignedToUser(ctx context.Context) (int32, error)
IsForegroundUserAdmin(ctx context.Context) (bool, error)
IsUserNameSet(ctx context.Context) (bool, error)
HasRestrictedProfiles(ctx context.Context) (bool, error)
RequestQuietModeEnabled(ctx context.Context, enableQuietMode bool, target contentTypes.IntentSender, flags int32) (bool, error)
GetUserName(ctx context.Context) (string, error)
GetUserStartRealtime(ctx context.Context) (int64, error)
GetUserUnlockRealtime(ctx context.Context) (int64, error)
SetUserEphemeral(ctx context.Context, enableEphemeral bool) (bool, error)
SetBootUser(ctx context.Context) error
GetBootUser(ctx context.Context) (int32, error)
GetProfileIdsExcludingHidden(ctx context.Context, enabledOnly bool) ([]int32, error)
}
func NewUserManagerStub ¶
func NewUserManagerStub( impl IUserManagerServer, ) IUserManager
NewUserManagerStub creates a server-side IUserManager wrapping the given server implementation. The returned value satisfies IUserManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IUserManagerServer ¶
type IUserManagerServer interface {
GetCredentialOwnerProfile(ctx context.Context) (int32, error)
GetProfileParentId(ctx context.Context) (int32, error)
CreateUserWithThrow(ctx context.Context, name string, userType string, flags int32) (types.UserInfo, error)
PreCreateUserWithThrow(ctx context.Context, userType string) (types.UserInfo, error)
CreateProfileForUserWithThrow(ctx context.Context, name string, userType string, flags int32, disallowedPackages []string) (types.UserInfo, error)
CreateRestrictedProfileWithThrow(ctx context.Context, name string, parentUserHandle int32) (types.UserInfo, error)
GetPreInstallableSystemPackages(ctx context.Context, userType string) ([]string, error)
SetUserEnabled(ctx context.Context) error
SetUserAdmin(ctx context.Context) error
RevokeUserAdmin(ctx context.Context) error
EvictCredentialEncryptionKey(ctx context.Context) error
RemoveUser(ctx context.Context) (bool, error)
RemoveUserEvenWhenDisallowed(ctx context.Context) (bool, error)
SetUserName(ctx context.Context, name string) error
SetUserIcon(ctx context.Context, icon graphics.Bitmap) error
GetUserIcon(ctx context.Context) (int32, error)
GetPrimaryUser(ctx context.Context) (types.UserInfo, error)
GetMainUserId(ctx context.Context) (int32, error)
GetCommunalProfileId(ctx context.Context) (int32, error)
GetPreviousFullUserToEnterForeground(ctx context.Context) (int32, error)
GetUsers(ctx context.Context, excludePartial bool, excludeDying bool, excludePreCreated bool) ([]types.UserInfo, error)
GetProfiles(ctx context.Context, enabledOnly bool) ([]types.UserInfo, error)
GetProfileIds(ctx context.Context, enabledOnly bool) ([]int32, error)
IsUserTypeEnabled(ctx context.Context, userType string) (bool, error)
CanAddMoreUsersOfType(ctx context.Context, userType string) (bool, error)
GetRemainingCreatableUserCount(ctx context.Context, userType string) (int32, error)
GetRemainingCreatableProfileCount(ctx context.Context, userType string) (int32, error)
CanAddMoreProfilesToUser(ctx context.Context, userType string, allowedToRemoveOne bool) (bool, error)
CanAddMoreManagedProfiles(ctx context.Context, allowedToRemoveOne bool) (bool, error)
GetProfileParent(ctx context.Context) (types.UserInfo, error)
IsSameProfileGroup(ctx context.Context, otherUserHandle int32) (bool, error)
IsHeadlessSystemUserMode(ctx context.Context) (bool, error)
IsUserOfType(ctx context.Context, userType string) (bool, error)
GetUserInfo(ctx context.Context) (types.UserInfo, error)
GetUserPropertiesCopy(ctx context.Context) (types.UserProperties, error)
GetUserAccount(ctx context.Context) (string, error)
SetUserAccount(ctx context.Context, accountName string) error
GetUserCreationTime(ctx context.Context) (int64, error)
GetUserSwitchability(ctx context.Context) (int32, error)
IsUserSwitcherEnabled(ctx context.Context, showEvenIfNotActionable bool, mUserId int32) (bool, error)
IsRestricted(ctx context.Context) (bool, error)
CanHaveRestrictedProfile(ctx context.Context) (bool, error)
GetUserSerialNumber(ctx context.Context) (int32, error)
GetUserHandle(ctx context.Context, userSerialNumber int32) (int32, error)
GetUserRestrictionSource(ctx context.Context, restrictionKey string) (int32, error)
GetUserRestrictionSources(ctx context.Context, restrictionKey string) ([]UserManagerEnforcingUser, error)
GetUserRestrictions(ctx context.Context) (Bundle, error)
HasBaseUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
HasUserRestriction(ctx context.Context, restrictionKey string) (bool, error)
HasUserRestrictionOnAnyUser(ctx context.Context, restrictionKey string) (bool, error)
IsSettingRestrictedForUser(ctx context.Context, setting string, value string) (bool, error)
AddUserRestrictionsListener(ctx context.Context, listener IUserRestrictionsListener) error
SetUserRestriction(ctx context.Context, key string, value bool) error
SetApplicationRestrictions(ctx context.Context, packageName string, restrictions Bundle) error
GetApplicationRestrictions(ctx context.Context, packageName string) (Bundle, error)
GetApplicationRestrictionsForUser(ctx context.Context, packageName string) (Bundle, error)
SetDefaultGuestRestrictions(ctx context.Context, restrictions Bundle) error
GetDefaultGuestRestrictions(ctx context.Context) (Bundle, error)
RemoveUserWhenPossible(ctx context.Context, overrideDevicePolicy bool) (int32, error)
MarkGuestForDeletion(ctx context.Context) (bool, error)
GetGuestUsers(ctx context.Context) ([]types.UserInfo, error)
IsQuietModeEnabled(ctx context.Context) (bool, error)
CreateUserWithAttributes(ctx context.Context, userName string, userType string, flags int32, userIcon graphics.Bitmap, accountName string, accountType string, accountOptions PersistableBundle) (UserHandle, error)
SetSeedAccountData(ctx context.Context, accountName string, accountType string, accountOptions PersistableBundle, persist bool) error
GetSeedAccountName(ctx context.Context) (string, error)
GetSeedAccountType(ctx context.Context) (string, error)
GetSeedAccountOptions(ctx context.Context) (PersistableBundle, error)
ClearSeedAccountData(ctx context.Context) error
SomeUserHasSeedAccount(ctx context.Context, accountName string, accountType string) (bool, error)
SomeUserHasAccount(ctx context.Context, accountName string, accountType string) (bool, error)
GetProfileType(ctx context.Context) (string, error)
IsDemoUser(ctx context.Context) (bool, error)
IsAdminUser(ctx context.Context) (bool, error)
IsPreCreated(ctx context.Context) (bool, error)
CreateProfileForUserEvenWhenDisallowedWithThrow(ctx context.Context, name string, userType string, flags int32, disallowedPackages []string) (types.UserInfo, error)
IsUserUnlockingOrUnlocked(ctx context.Context) (bool, error)
GetUserIconBadgeResId(ctx context.Context) (int32, error)
GetUserBadgeResId(ctx context.Context) (int32, error)
GetUserBadgeNoBackgroundResId(ctx context.Context) (int32, error)
GetUserBadgeLabelResId(ctx context.Context) (int32, error)
GetUserBadgeColorResId(ctx context.Context) (int32, error)
GetUserBadgeDarkColorResId(ctx context.Context) (int32, error)
GetUserStatusBarIconResId(ctx context.Context) (int32, error)
HasBadge(ctx context.Context) (bool, error)
GetProfileLabelResId(ctx context.Context) (int32, error)
IsUserUnlocked(ctx context.Context) (bool, error)
IsUserRunning(ctx context.Context) (bool, error)
IsUserForeground(ctx context.Context) (bool, error)
IsUserVisible(ctx context.Context) (bool, error)
GetVisibleUsers(ctx context.Context) ([]int32, error)
GetMainDisplayIdAssignedToUser(ctx context.Context) (int32, error)
IsForegroundUserAdmin(ctx context.Context) (bool, error)
IsUserNameSet(ctx context.Context) (bool, error)
HasRestrictedProfiles(ctx context.Context) (bool, error)
RequestQuietModeEnabled(ctx context.Context, enableQuietMode bool, target contentTypes.IntentSender, flags int32) (bool, error)
GetUserName(ctx context.Context) (string, error)
GetUserStartRealtime(ctx context.Context) (int64, error)
GetUserUnlockRealtime(ctx context.Context) (int64, error)
SetUserEphemeral(ctx context.Context, enableEphemeral bool) (bool, error)
SetBootUser(ctx context.Context) error
GetBootUser(ctx context.Context) (int32, error)
GetProfileIdsExcludingHidden(ctx context.Context, enabledOnly bool) ([]int32, error)
}
IUserManagerServer is the server-side interface that user implementations provide to NewUserManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IUserRestrictionsListener ¶
type IUserRestrictionsListener interface {
AsBinder() binder.IBinder
OnUserRestrictionsChanged(ctx context.Context, newRestrictions Bundle, prevRestrictions Bundle) error
}
func NewUserRestrictionsListenerStub ¶
func NewUserRestrictionsListenerStub( impl IUserRestrictionsListenerServer, ) IUserRestrictionsListener
NewUserRestrictionsListenerStub creates a server-side IUserRestrictionsListener wrapping the given server implementation. The returned value satisfies IUserRestrictionsListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IUserRestrictionsListenerServer ¶
type IUserRestrictionsListenerServer interface {
OnUserRestrictionsChanged(ctx context.Context, newRestrictions Bundle, prevRestrictions Bundle) error
}
IUserRestrictionsListenerServer is the server-side interface that user implementations provide to NewUserRestrictionsListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVibratorManagerService ¶
type IVibratorManagerService interface {
AsBinder() binder.IBinder
GetVibratorIds(ctx context.Context) ([]int32, error)
GetVibratorInfo(ctx context.Context, vibratorId int32) (VibratorInfo, error)
IsVibrating(ctx context.Context, vibratorId int32) (bool, error)
RegisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
UnregisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
SetAlwaysOnEffect(ctx context.Context, uid int32, opPkg string, alwaysOnId int32, vibration CombinedVibration, attributes VibrationAttributes) (bool, error)
Vibrate(ctx context.Context, uid int32, deviceId int32, opPkg string, vibration CombinedVibration, attributes VibrationAttributes, reason string, token binder.IBinder) error
CancelVibrate(ctx context.Context, usageFilter int32, token binder.IBinder) error
PerformHapticFeedback(ctx context.Context, uid int32, deviceId int32, opPkg string, constant int32, always bool, reason string, fromIme bool) error
}
func NewVibratorManagerServiceStub ¶
func NewVibratorManagerServiceStub( impl IVibratorManagerServiceServer, ) IVibratorManagerService
NewVibratorManagerServiceStub creates a server-side IVibratorManagerService wrapping the given server implementation. The returned value satisfies IVibratorManagerService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IVibratorManagerServiceServer ¶
type IVibratorManagerServiceServer interface {
GetVibratorIds(ctx context.Context) ([]int32, error)
GetVibratorInfo(ctx context.Context, vibratorId int32) (VibratorInfo, error)
IsVibrating(ctx context.Context, vibratorId int32) (bool, error)
RegisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
UnregisterVibratorStateListener(ctx context.Context, vibratorId int32, listener IVibratorStateListener) (bool, error)
SetAlwaysOnEffect(ctx context.Context, uid int32, opPkg string, alwaysOnId int32, vibration CombinedVibration, attributes VibrationAttributes) (bool, error)
Vibrate(ctx context.Context, uid int32, deviceId int32, opPkg string, vibration CombinedVibration, attributes VibrationAttributes, reason string, token binder.IBinder) error
CancelVibrate(ctx context.Context, usageFilter int32, token binder.IBinder) error
PerformHapticFeedback(ctx context.Context, uid int32, deviceId int32, opPkg string, constant int32, always bool, reason string, fromIme bool) error
}
IVibratorManagerServiceServer is the server-side interface that user implementations provide to NewVibratorManagerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVibratorStateListener ¶
type IVibratorStateListener interface {
AsBinder() binder.IBinder
OnVibrating(ctx context.Context, vibrating bool) error
}
func NewVibratorStateListenerStub ¶
func NewVibratorStateListenerStub( impl IVibratorStateListenerServer, ) IVibratorStateListener
NewVibratorStateListenerStub creates a server-side IVibratorStateListener wrapping the given server implementation. The returned value satisfies IVibratorStateListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IVibratorStateListenerServer ¶
type IVibratorStateListenerServer interface {
OnVibrating(ctx context.Context, vibrating bool) error
}
IVibratorStateListenerServer is the server-side interface that user implementations provide to NewVibratorStateListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWakeLockCallback ¶
type IWakeLockCallback interface {
AsBinder() binder.IBinder
OnStateChanged(ctx context.Context, enabled bool) error
}
func NewWakeLockCallbackStub ¶
func NewWakeLockCallbackStub( impl IWakeLockCallbackServer, ) IWakeLockCallback
NewWakeLockCallbackStub creates a server-side IWakeLockCallback wrapping the given server implementation. The returned value satisfies IWakeLockCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWakeLockCallbackServer ¶
IWakeLockCallbackServer is the server-side interface that user implementations provide to NewWakeLockCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type Idmap2Proxy ¶
func NewIdmap2Proxy ¶
func NewIdmap2Proxy( remote binder.IBinder, ) *Idmap2Proxy
func (*Idmap2Proxy) AcquireFabricatedOverlayIterator ¶
func (p *Idmap2Proxy) AcquireFabricatedOverlayIterator( ctx context.Context, ) (int32, error)
func (*Idmap2Proxy) AsBinder ¶
func (p *Idmap2Proxy) AsBinder() binder.IBinder
func (*Idmap2Proxy) CreateFabricatedOverlay ¶
func (p *Idmap2Proxy) CreateFabricatedOverlay( ctx context.Context, overlay FabricatedOverlayInternal, ) (FabricatedOverlayInfo, error)
func (*Idmap2Proxy) CreateIdmap ¶
func (*Idmap2Proxy) DeleteFabricatedOverlay ¶
func (*Idmap2Proxy) GetIdmapPath ¶
func (*Idmap2Proxy) NextFabricatedOverlayInfos ¶
func (p *Idmap2Proxy) NextFabricatedOverlayInfos( ctx context.Context, iteratorId int32, ) ([]FabricatedOverlayInfo, error)
func (*Idmap2Proxy) ReleaseFabricatedOverlayIterator ¶
func (p *Idmap2Proxy) ReleaseFabricatedOverlayIterator( ctx context.Context, iteratorId int32, ) error
func (*Idmap2Proxy) RemoveIdmap ¶
type Idmap2Stub ¶
type Idmap2Stub struct {
Impl IIdmap2
Transport binder.VersionAwareTransport
}
Idmap2Stub dispatches incoming binder transactions to a typed IIdmap2 implementation.
func (*Idmap2Stub) Descriptor ¶
func (s *Idmap2Stub) Descriptor() string
func (*Idmap2Stub) OnTransaction ¶
func (s *Idmap2Stub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IncidentAuthListenerProxy ¶
func NewIncidentAuthListenerProxy ¶
func NewIncidentAuthListenerProxy( remote binder.IBinder, ) *IncidentAuthListenerProxy
func (*IncidentAuthListenerProxy) AsBinder ¶
func (p *IncidentAuthListenerProxy) AsBinder() binder.IBinder
func (*IncidentAuthListenerProxy) OnReportApproved ¶
func (p *IncidentAuthListenerProxy) OnReportApproved( ctx context.Context, ) error
func (*IncidentAuthListenerProxy) OnReportDenied ¶
func (p *IncidentAuthListenerProxy) OnReportDenied( ctx context.Context, ) error
type IncidentAuthListenerStub ¶
type IncidentAuthListenerStub struct {
Impl IIncidentAuthListener
Transport binder.VersionAwareTransport
}
IncidentAuthListenerStub dispatches incoming binder transactions to a typed IIncidentAuthListener implementation.
func (*IncidentAuthListenerStub) Descriptor ¶
func (s *IncidentAuthListenerStub) Descriptor() string
func (*IncidentAuthListenerStub) OnTransaction ¶
func (s *IncidentAuthListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IncidentCompanionProxy ¶
func NewIncidentCompanionProxy ¶
func NewIncidentCompanionProxy( remote binder.IBinder, ) *IncidentCompanionProxy
func (*IncidentCompanionProxy) ApproveReport ¶
func (p *IncidentCompanionProxy) ApproveReport( ctx context.Context, uri string, ) error
func (*IncidentCompanionProxy) AsBinder ¶
func (p *IncidentCompanionProxy) AsBinder() binder.IBinder
func (*IncidentCompanionProxy) AuthorizeReport ¶
func (p *IncidentCompanionProxy) AuthorizeReport( ctx context.Context, receiverClass string, reportId string, flags int32, callback IIncidentAuthListener, ) error
func (*IncidentCompanionProxy) CancelAuthorization ¶
func (p *IncidentCompanionProxy) CancelAuthorization( ctx context.Context, callback IIncidentAuthListener, ) error
func (*IncidentCompanionProxy) DeleteAllIncidentReports ¶
func (p *IncidentCompanionProxy) DeleteAllIncidentReports( ctx context.Context, pkg string, ) error
func (*IncidentCompanionProxy) DeleteIncidentReports ¶
func (*IncidentCompanionProxy) DenyReport ¶
func (p *IncidentCompanionProxy) DenyReport( ctx context.Context, uri string, ) error
func (*IncidentCompanionProxy) GetIncidentReport ¶
func (p *IncidentCompanionProxy) GetIncidentReport( ctx context.Context, pkg string, cls string, id string, ) (IncidentManagerIncidentReport, error)
func (*IncidentCompanionProxy) GetIncidentReportList ¶
func (*IncidentCompanionProxy) GetPendingReports ¶
func (p *IncidentCompanionProxy) GetPendingReports( ctx context.Context, ) ([]string, error)
func (*IncidentCompanionProxy) SendReportReadyBroadcast ¶
type IncidentCompanionStub ¶
type IncidentCompanionStub struct {
Impl IIncidentCompanion
Transport binder.VersionAwareTransport
}
IncidentCompanionStub dispatches incoming binder transactions to a typed IIncidentCompanion implementation.
func (*IncidentCompanionStub) Descriptor ¶
func (s *IncidentCompanionStub) Descriptor() string
func (*IncidentCompanionStub) OnTransaction ¶
func (s *IncidentCompanionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IncidentDumpCallbackProxy ¶
func NewIncidentDumpCallbackProxy ¶
func NewIncidentDumpCallbackProxy( remote binder.IBinder, ) *IncidentDumpCallbackProxy
func (*IncidentDumpCallbackProxy) AsBinder ¶
func (p *IncidentDumpCallbackProxy) AsBinder() binder.IBinder
func (*IncidentDumpCallbackProxy) OnDumpSection ¶
func (p *IncidentDumpCallbackProxy) OnDumpSection( ctx context.Context, fd int32, ) error
type IncidentDumpCallbackStub ¶
type IncidentDumpCallbackStub struct {
Impl IIncidentDumpCallback
Transport binder.VersionAwareTransport
}
IncidentDumpCallbackStub dispatches incoming binder transactions to a typed IIncidentDumpCallback implementation.
func (*IncidentDumpCallbackStub) Descriptor ¶
func (s *IncidentDumpCallbackStub) Descriptor() string
func (*IncidentDumpCallbackStub) OnTransaction ¶
func (s *IncidentDumpCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IncidentManagerIncidentReport ¶
type IncidentManagerIncidentReport struct {
}
func (*IncidentManagerIncidentReport) MarshalParcel ¶
func (s *IncidentManagerIncidentReport) MarshalParcel( p *parcel.Parcel, ) error
func (*IncidentManagerIncidentReport) UnmarshalParcel ¶
func (s *IncidentManagerIncidentReport) UnmarshalParcel( p *parcel.Parcel, ) error
type IncidentManagerProxy ¶
func NewIncidentManagerProxy ¶
func NewIncidentManagerProxy( remote binder.IBinder, ) *IncidentManagerProxy
func (*IncidentManagerProxy) AsBinder ¶
func (p *IncidentManagerProxy) AsBinder() binder.IBinder
func (*IncidentManagerProxy) DeleteAllIncidentReports ¶
func (p *IncidentManagerProxy) DeleteAllIncidentReports( ctx context.Context, pkg string, ) error
func (*IncidentManagerProxy) DeleteIncidentReports ¶
func (*IncidentManagerProxy) GetIncidentReport ¶
func (p *IncidentManagerProxy) GetIncidentReport( ctx context.Context, pkg string, cls string, id string, ) (IncidentManagerIncidentReport, error)
func (*IncidentManagerProxy) GetIncidentReportList ¶
func (*IncidentManagerProxy) RegisterSection ¶
func (p *IncidentManagerProxy) RegisterSection( ctx context.Context, id int32, name string, callback IIncidentDumpCallback, ) error
func (*IncidentManagerProxy) ReportIncident ¶
func (p *IncidentManagerProxy) ReportIncident( ctx context.Context, args IncidentReportArgs, ) error
func (*IncidentManagerProxy) ReportIncidentToDumpstate ¶
func (p *IncidentManagerProxy) ReportIncidentToDumpstate( ctx context.Context, stream int32, listener IIncidentReportStatusListener, ) error
func (*IncidentManagerProxy) ReportIncidentToStream ¶
func (p *IncidentManagerProxy) ReportIncidentToStream( ctx context.Context, args IncidentReportArgs, listener IIncidentReportStatusListener, stream int32, ) error
func (*IncidentManagerProxy) SystemRunning ¶
func (p *IncidentManagerProxy) SystemRunning( ctx context.Context, ) error
func (*IncidentManagerProxy) UnregisterSection ¶
func (p *IncidentManagerProxy) UnregisterSection( ctx context.Context, id int32, ) error
type IncidentManagerStub ¶
type IncidentManagerStub struct {
Impl IIncidentManager
Transport binder.VersionAwareTransport
}
IncidentManagerStub dispatches incoming binder transactions to a typed IIncidentManager implementation.
func (*IncidentManagerStub) Descriptor ¶
func (s *IncidentManagerStub) Descriptor() string
func (*IncidentManagerStub) OnTransaction ¶
func (s *IncidentManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IncidentReportArgs ¶
type IncidentReportArgs struct {
N int32
N2 int32
PrivacyPolicy int32
ReceiverPkg string
ReceiverCls string
}
func (*IncidentReportArgs) MarshalParcel ¶
func (s *IncidentReportArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*IncidentReportArgs) UnmarshalParcel ¶
func (s *IncidentReportArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type IncidentReportStatusListenerProxy ¶
func NewIncidentReportStatusListenerProxy ¶
func NewIncidentReportStatusListenerProxy( remote binder.IBinder, ) *IncidentReportStatusListenerProxy
func (*IncidentReportStatusListenerProxy) AsBinder ¶
func (p *IncidentReportStatusListenerProxy) AsBinder() binder.IBinder
func (*IncidentReportStatusListenerProxy) OnReportFailed ¶
func (p *IncidentReportStatusListenerProxy) OnReportFailed( ctx context.Context, ) error
func (*IncidentReportStatusListenerProxy) OnReportFinished ¶
func (p *IncidentReportStatusListenerProxy) OnReportFinished( ctx context.Context, ) error
func (*IncidentReportStatusListenerProxy) OnReportSectionStatus ¶
func (*IncidentReportStatusListenerProxy) OnReportStarted ¶
func (p *IncidentReportStatusListenerProxy) OnReportStarted( ctx context.Context, ) error
type IncidentReportStatusListenerStub ¶
type IncidentReportStatusListenerStub struct {
Impl IIncidentReportStatusListener
Transport binder.VersionAwareTransport
}
IncidentReportStatusListenerStub dispatches incoming binder transactions to a typed IIncidentReportStatusListener implementation.
func (*IncidentReportStatusListenerStub) Descriptor ¶
func (s *IncidentReportStatusListenerStub) Descriptor() string
func (*IncidentReportStatusListenerStub) OnTransaction ¶
func (s *IncidentReportStatusListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputChannelCore ¶
func (*InputChannelCore) MarshalParcel ¶
func (s *InputChannelCore) MarshalParcel( p *parcel.Parcel, ) error
func (*InputChannelCore) UnmarshalParcel ¶
func (s *InputChannelCore) UnmarshalParcel( p *parcel.Parcel, ) error
type InputConfig ¶
type InputConfig int32
const ( InputConfigDEFAULT InputConfig = 0 InputConfigNoInputChannel InputConfig = (1 << 0) InputConfigNotVisible InputConfig = (1 << 1) InputConfigNotFocusable InputConfig = (1 << 2) InputConfigNotTouchable InputConfig = (1 << 3) InputConfigPreventSplitting InputConfig = (1 << 4) InputConfigDuplicateTouchToWallpaper InputConfig = (1 << 5) InputConfigIsWallpaper InputConfig = (1 << 6) InputConfigPauseDispatching InputConfig = (1 << 7) InputConfigTrustedOverlay InputConfig = (1 << 8) InputConfigWatchOutsideTouch InputConfig = (1 << 9) InputConfigSLIPPERY InputConfig = (1 << 10) InputConfigDisableUserActivity InputConfig = (1 << 11) InputConfigDropInput InputConfig = (1 << 12) InputConfigDropInputIfObscured InputConfig = (1 << 13) InputConfigSPY InputConfig = (1 << 14) InputConfigInterceptsStylus InputConfig = (1 << 15) InputConfigCLONE InputConfig = (1 << 16) InputConfigGlobalStylusBlocksTouch InputConfig = (1 << 17) )
type InputConstantsProxy ¶
func NewInputConstantsProxy ¶
func NewInputConstantsProxy( remote binder.IBinder, ) *InputConstantsProxy
func (*InputConstantsProxy) AsBinder ¶
func (p *InputConstantsProxy) AsBinder() binder.IBinder
type InputConstantsStub ¶
type InputConstantsStub struct {
Impl IInputConstants
Transport binder.VersionAwareTransport
}
InputConstantsStub dispatches incoming binder transactions to a typed IInputConstants implementation.
func (*InputConstantsStub) Descriptor ¶
func (s *InputConstantsStub) Descriptor() string
func (*InputConstantsStub) OnTransaction ¶
func (s *InputConstantsStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputEventInjectionResult ¶
type InputEventInjectionResult int32
const ( InputEventInjectionResultPENDING InputEventInjectionResult = -1 InputEventInjectionResultSUCCEEDED InputEventInjectionResult = 0 InputEventInjectionResultTargetMismatch InputEventInjectionResult = 1 InputEventInjectionResultFAILED InputEventInjectionResult = 2 InputEventInjectionResultTimedOut InputEventInjectionResult = 3 InputEventInjectionResultFtl_first InputEventInjectionResult = InputEventInjectionResultPENDING InputEventInjectionResultFtl_last InputEventInjectionResult = InputEventInjectionResultTimedOut )
type InputEventInjectionSync ¶
type InputEventInjectionSync int32
const ( InputEventInjectionSyncNONE InputEventInjectionSync = 0 InputEventInjectionSyncWaitForResult InputEventInjectionSync = 1 InputEventInjectionSyncWaitForFinished InputEventInjectionSync = 2 InputEventInjectionSyncFtl_first InputEventInjectionSync = InputEventInjectionSyncNONE InputEventInjectionSyncFtl_last InputEventInjectionSync = InputEventInjectionSyncWaitForFinished )
type InputFlingerProxy ¶
func NewInputFlingerProxy ¶
func NewInputFlingerProxy( remote binder.IBinder, ) *InputFlingerProxy
func (*InputFlingerProxy) AsBinder ¶
func (p *InputFlingerProxy) AsBinder() binder.IBinder
func (*InputFlingerProxy) CreateInputChannel ¶
func (p *InputFlingerProxy) CreateInputChannel( ctx context.Context, name string, ) (InputChannelCore, error)
func (*InputFlingerProxy) RemoveInputChannel ¶
func (*InputFlingerProxy) SetFocusedWindow ¶
func (p *InputFlingerProxy) SetFocusedWindow( ctx context.Context, request gui.FocusRequest, ) error
type InputFlingerStub ¶
type InputFlingerStub struct {
Impl IInputFlinger
Transport binder.VersionAwareTransport
}
InputFlingerStub dispatches incoming binder transactions to a typed IInputFlinger implementation.
func (*InputFlingerStub) Descriptor ¶
func (s *InputFlingerStub) Descriptor() string
func (*InputFlingerStub) OnTransaction ¶
func (s *InputFlingerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InstalldIFsveritySetupAuthTokenProxy ¶
func NewInstalldIFsveritySetupAuthTokenProxy ¶
func NewInstalldIFsveritySetupAuthTokenProxy( remote binder.IBinder, ) *InstalldIFsveritySetupAuthTokenProxy
func (*InstalldIFsveritySetupAuthTokenProxy) AsBinder ¶
func (p *InstalldIFsveritySetupAuthTokenProxy) AsBinder() binder.IBinder
type InstalldIFsveritySetupAuthTokenStub ¶
type InstalldIFsveritySetupAuthTokenStub struct {
Impl IInstalldIFsveritySetupAuthToken
Transport binder.VersionAwareTransport
}
InstalldIFsveritySetupAuthTokenStub dispatches incoming binder transactions to a typed IInstalldIFsveritySetupAuthToken implementation.
func (*InstalldIFsveritySetupAuthTokenStub) Descriptor ¶
func (s *InstalldIFsveritySetupAuthTokenStub) Descriptor() string
func (*InstalldIFsveritySetupAuthTokenStub) OnTransaction ¶
func (s *InstalldIFsveritySetupAuthTokenStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InstalldProxy ¶
func NewInstalldProxy ¶
func NewInstalldProxy( remote binder.IBinder, ) *InstalldProxy
func (*InstalldProxy) AsBinder ¶
func (p *InstalldProxy) AsBinder() binder.IBinder
func (*InstalldProxy) CleanupInvalidPackageDirs ¶
func (*InstalldProxy) ClearAppData ¶
func (*InstalldProxy) ClearAppProfiles ¶
func (*InstalldProxy) ControlDexOptBlocking ¶
func (p *InstalldProxy) ControlDexOptBlocking( ctx context.Context, block bool, ) error
func (*InstalldProxy) CopySystemProfile ¶
func (*InstalldProxy) CreateAppData ¶
func (p *InstalldProxy) CreateAppData( ctx context.Context, args CreateAppDataArgs, ) (CreateAppDataResult, error)
func (*InstalldProxy) CreateAppDataBatched ¶
func (p *InstalldProxy) CreateAppDataBatched( ctx context.Context, args []CreateAppDataArgs, ) ([]CreateAppDataResult, error)
func (*InstalldProxy) CreateFsveritySetupAuthToken ¶
func (p *InstalldProxy) CreateFsveritySetupAuthToken( ctx context.Context, authFd int32, uid int32, ) (IInstalldIFsveritySetupAuthToken, error)
func (*InstalldProxy) CreateOatDir ¶
func (*InstalldProxy) CreateProfileSnapshot ¶
func (*InstalldProxy) CreateUserData ¶
func (*InstalldProxy) DeleteOdex ¶
func (*InstalldProxy) DeleteReferenceProfile ¶
func (*InstalldProxy) DestroyAppData ¶
func (*InstalldProxy) DestroyAppDataSnapshot ¶
func (*InstalldProxy) DestroyAppProfiles ¶
func (p *InstalldProxy) DestroyAppProfiles( ctx context.Context, packageName string, ) error
func (*InstalldProxy) DestroyCeSnapshotsNotSpecified ¶
func (*InstalldProxy) DestroyProfileSnapshot ¶
func (*InstalldProxy) DestroyUserData ¶
func (*InstalldProxy) Dexopt ¶
func (p *InstalldProxy) Dexopt( ctx context.Context, apkPath string, uid int32, packageName string, instructionSet string, dexoptNeeded int32, outputPath string, dexFlags int32, compilerFilter string, uuid string, sharedLibraries string, seInfo string, downgrade bool, targetSdkVersion int32, profileName string, dexMetadataPath string, compilationReason string, ) (bool, error)
func (*InstalldProxy) DumpProfiles ¶
func (*InstalldProxy) EnableFsverity ¶
func (p *InstalldProxy) EnableFsverity( ctx context.Context, authToken IInstalldIFsveritySetupAuthToken, filePath string, packageName string, ) (int32, error)
func (*InstalldProxy) FixupAppData ¶
func (*InstalldProxy) GetAppCrates ¶
func (p *InstalldProxy) GetAppCrates( ctx context.Context, uuid string, packageNames []string, ) ([]storage.CrateMetadata, error)
func (*InstalldProxy) GetAppSize ¶
func (*InstalldProxy) GetExternalSize ¶
func (*InstalldProxy) GetOdexVisibility ¶
func (*InstalldProxy) GetUserCrates ¶
func (p *InstalldProxy) GetUserCrates( ctx context.Context, uuid string, ) ([]storage.CrateMetadata, error)
func (*InstalldProxy) GetUserSize ¶
func (*InstalldProxy) HashSecondaryDexFile ¶
func (*InstalldProxy) InvalidateMounts ¶
func (p *InstalldProxy) InvalidateMounts( ctx context.Context, ) error
func (*InstalldProxy) IsQuotaSupported ¶
func (*InstalldProxy) LinkNativeLibraryDirectory ¶
func (*InstalldProxy) MergeProfiles ¶
func (*InstalldProxy) MigrateAppData ¶
func (*InstalldProxy) MigrateLegacyObbData ¶
func (p *InstalldProxy) MigrateLegacyObbData( ctx context.Context, ) error
func (*InstalldProxy) MoveCompleteApp ¶
func (*InstalldProxy) OnPrivateVolumeRemoved ¶
func (p *InstalldProxy) OnPrivateVolumeRemoved( ctx context.Context, volumeUuid string, ) error
func (*InstalldProxy) PrepareAppProfile ¶
func (*InstalldProxy) ReconcileSdkData ¶
func (p *InstalldProxy) ReconcileSdkData( ctx context.Context, args ReconcileSdkDataArgs, ) error
func (*InstalldProxy) ReconcileSecondaryDexFile ¶
func (*InstalldProxy) RestoreAppDataSnapshot ¶
func (*InstalldProxy) RestoreconAppData ¶
func (*InstalldProxy) RmPackageDir ¶
func (*InstalldProxy) SetAppQuota ¶
func (*InstalldProxy) SetFirstBoot ¶
func (p *InstalldProxy) SetFirstBoot( ctx context.Context, ) error
func (*InstalldProxy) SnapshotAppData ¶
func (*InstalldProxy) TryMountDataMirror ¶
func (p *InstalldProxy) TryMountDataMirror( ctx context.Context, volumeUuid string, ) error
type InstalldStub ¶
type InstalldStub struct {
Impl IInstalld
Transport binder.VersionAwareTransport
}
InstalldStub dispatches incoming binder transactions to a typed IInstalld implementation.
func (*InstalldStub) Descriptor ¶
func (s *InstalldStub) Descriptor() string
func (*InstalldStub) OnTransaction ¶
func (s *InstalldStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type LocaleList ¶
type LocaleList struct {
StringRepresentation string
}
func (*LocaleList) MarshalParcel ¶
func (s *LocaleList) MarshalParcel( p *parcel.Parcel, ) error
func (*LocaleList) UnmarshalParcel ¶
func (s *LocaleList) UnmarshalParcel( p *parcel.Parcel, ) error
type Message ¶
type MessengerProxy ¶
func NewMessengerProxy ¶
func NewMessengerProxy( remote binder.IBinder, ) *MessengerProxy
func (*MessengerProxy) AsBinder ¶
func (p *MessengerProxy) AsBinder() binder.IBinder
type MessengerStub ¶
type MessengerStub struct {
Impl IMessenger
Transport binder.VersionAwareTransport
}
MessengerStub dispatches incoming binder transactions to a typed IMessenger implementation.
func (*MessengerStub) Descriptor ¶
func (s *MessengerStub) Descriptor() string
func (*MessengerStub) OnTransaction ¶
func (s *MessengerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type NetworkManagementServiceProxy ¶
func NewNetworkManagementServiceProxy ¶
func NewNetworkManagementServiceProxy( remote binder.IBinder, ) *NetworkManagementServiceProxy
func (*NetworkManagementServiceProxy) AllowProtect ¶
func (p *NetworkManagementServiceProxy) AllowProtect( ctx context.Context, uid int32, ) error
func (*NetworkManagementServiceProxy) AsBinder ¶
func (p *NetworkManagementServiceProxy) AsBinder() binder.IBinder
func (*NetworkManagementServiceProxy) ClearInterfaceAddresses ¶
func (p *NetworkManagementServiceProxy) ClearInterfaceAddresses( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) DenyProtect ¶
func (p *NetworkManagementServiceProxy) DenyProtect( ctx context.Context, uid int32, ) error
func (*NetworkManagementServiceProxy) DisableIpv6 ¶
func (p *NetworkManagementServiceProxy) DisableIpv6( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) DisableNat ¶
func (*NetworkManagementServiceProxy) EnableIpv6 ¶
func (p *NetworkManagementServiceProxy) EnableIpv6( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) GetInterfaceConfig ¶
func (p *NetworkManagementServiceProxy) GetInterfaceConfig( ctx context.Context, iface string, ) (net.InterfaceConfiguration, error)
func (*NetworkManagementServiceProxy) GetIpForwardingEnabled ¶
func (p *NetworkManagementServiceProxy) GetIpForwardingEnabled( ctx context.Context, ) (bool, error)
func (*NetworkManagementServiceProxy) IsBandwidthControlEnabled ¶
func (p *NetworkManagementServiceProxy) IsBandwidthControlEnabled( ctx context.Context, ) (bool, error)
func (*NetworkManagementServiceProxy) IsFirewallEnabled ¶
func (p *NetworkManagementServiceProxy) IsFirewallEnabled( ctx context.Context, ) (bool, error)
func (*NetworkManagementServiceProxy) IsNetworkRestricted ¶
func (*NetworkManagementServiceProxy) IsTetheringStarted ¶
func (p *NetworkManagementServiceProxy) IsTetheringStarted( ctx context.Context, ) (bool, error)
func (*NetworkManagementServiceProxy) ListInterfaces ¶
func (p *NetworkManagementServiceProxy) ListInterfaces( ctx context.Context, ) ([]string, error)
func (*NetworkManagementServiceProxy) ListTetheredInterfaces ¶
func (p *NetworkManagementServiceProxy) ListTetheredInterfaces( ctx context.Context, ) ([]string, error)
func (*NetworkManagementServiceProxy) RegisterObserver ¶
func (p *NetworkManagementServiceProxy) RegisterObserver( ctx context.Context, obs net.INetworkManagementEventObserver, ) error
func (*NetworkManagementServiceProxy) RemoveInterfaceAlert ¶
func (p *NetworkManagementServiceProxy) RemoveInterfaceAlert( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) RemoveInterfaceQuota ¶
func (p *NetworkManagementServiceProxy) RemoveInterfaceQuota( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) SetDataSaverModeEnabled ¶
func (*NetworkManagementServiceProxy) SetFirewallChainEnabled ¶
func (*NetworkManagementServiceProxy) SetFirewallEnabled ¶
func (p *NetworkManagementServiceProxy) SetFirewallEnabled( ctx context.Context, enabled bool, ) error
func (*NetworkManagementServiceProxy) SetFirewallUidRule ¶
func (*NetworkManagementServiceProxy) SetFirewallUidRules ¶
func (*NetworkManagementServiceProxy) SetIPv6AddrGenMode ¶
func (*NetworkManagementServiceProxy) SetInterfaceAlert ¶
func (*NetworkManagementServiceProxy) SetInterfaceConfig ¶
func (p *NetworkManagementServiceProxy) SetInterfaceConfig( ctx context.Context, iface string, cfg net.InterfaceConfiguration, ) error
func (*NetworkManagementServiceProxy) SetInterfaceDown ¶
func (p *NetworkManagementServiceProxy) SetInterfaceDown( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) SetInterfaceIpv6PrivacyExtensions ¶
func (*NetworkManagementServiceProxy) SetInterfaceQuota ¶
func (*NetworkManagementServiceProxy) SetInterfaceUp ¶
func (p *NetworkManagementServiceProxy) SetInterfaceUp( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) SetIpForwardingEnabled ¶
func (p *NetworkManagementServiceProxy) SetIpForwardingEnabled( ctx context.Context, enabled bool, ) error
func (*NetworkManagementServiceProxy) SetUidCleartextNetworkPolicy ¶
func (*NetworkManagementServiceProxy) SetUidOnMeteredNetworkAllowlist ¶
func (*NetworkManagementServiceProxy) SetUidOnMeteredNetworkDenylist ¶
func (*NetworkManagementServiceProxy) Shutdown ¶
func (p *NetworkManagementServiceProxy) Shutdown( ctx context.Context, ) error
func (*NetworkManagementServiceProxy) StartTethering ¶
func (p *NetworkManagementServiceProxy) StartTethering( ctx context.Context, dhcpRanges []string, ) error
func (*NetworkManagementServiceProxy) StopTethering ¶
func (p *NetworkManagementServiceProxy) StopTethering( ctx context.Context, ) error
func (*NetworkManagementServiceProxy) TetherInterface ¶
func (p *NetworkManagementServiceProxy) TetherInterface( ctx context.Context, iface string, ) error
func (*NetworkManagementServiceProxy) UnregisterObserver ¶
func (p *NetworkManagementServiceProxy) UnregisterObserver( ctx context.Context, obs net.INetworkManagementEventObserver, ) error
func (*NetworkManagementServiceProxy) UntetherInterface ¶
func (p *NetworkManagementServiceProxy) UntetherInterface( ctx context.Context, iface string, ) error
type NetworkManagementServiceStub ¶
type NetworkManagementServiceStub struct {
Impl INetworkManagementService
Transport binder.VersionAwareTransport
}
NetworkManagementServiceStub dispatches incoming binder transactions to a typed INetworkManagementService implementation.
func (*NetworkManagementServiceStub) Descriptor ¶
func (s *NetworkManagementServiceStub) Descriptor() string
func (*NetworkManagementServiceStub) OnTransaction ¶
func (s *NetworkManagementServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type OverlayablePolicy ¶
type OverlayablePolicy int32
const ( OverlayablePolicyNONE OverlayablePolicy = 0 OverlayablePolicyPUBLIC OverlayablePolicy = 1 OverlayablePolicySystemPartition OverlayablePolicy = 2 OverlayablePolicyVendorPartition OverlayablePolicy = 4 OverlayablePolicyProductPartition OverlayablePolicy = 8 OverlayablePolicySIGNATURE OverlayablePolicy = 16 OverlayablePolicyOdmPartition OverlayablePolicy = 32 OverlayablePolicyOemPartition OverlayablePolicy = 64 OverlayablePolicyActorSignature OverlayablePolicy = 128 OverlayablePolicyConfigSignature OverlayablePolicy = 256 )
type PackageTagsList ¶
type PackageTagsList struct {
Count int32
}
func (*PackageTagsList) MarshalParcel ¶
func (s *PackageTagsList) MarshalParcel( p *parcel.Parcel, ) error
func (*PackageTagsList) UnmarshalParcel ¶
func (s *PackageTagsList) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelDuration ¶
func (*ParcelDuration) MarshalParcel ¶
func (s *ParcelDuration) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelDuration) UnmarshalParcel ¶
func (s *ParcelDuration) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelUuid ¶
type ParcelUuid struct {
}
func (*ParcelUuid) MarshalParcel ¶
func (s *ParcelUuid) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelUuid) UnmarshalParcel ¶
func (s *ParcelUuid) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelableException ¶
type ParcelableException struct {
}
func (*ParcelableException) MarshalParcel ¶
func (s *ParcelableException) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelableException) UnmarshalParcel ¶
func (s *ParcelableException) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelableParcel ¶
type ParcelableParcel struct {
}
func (*ParcelableParcel) MarshalParcel ¶
func (s *ParcelableParcel) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelableParcel) UnmarshalParcel ¶
func (s *ParcelableParcel) UnmarshalParcel( p *parcel.Parcel, ) error
type PatternMatcher ¶
func (*PatternMatcher) MarshalParcel ¶
func (s *PatternMatcher) MarshalParcel( p *parcel.Parcel, ) error
func (*PatternMatcher) UnmarshalParcel ¶
func (s *PatternMatcher) UnmarshalParcel( p *parcel.Parcel, ) error
type PermissionControllerProxy ¶
func NewPermissionControllerProxy ¶
func NewPermissionControllerProxy( remote binder.IBinder, ) *PermissionControllerProxy
func (*PermissionControllerProxy) AsBinder ¶
func (p *PermissionControllerProxy) AsBinder() binder.IBinder
func (*PermissionControllerProxy) CheckPermission ¶
func (*PermissionControllerProxy) GetPackageUid ¶
func (*PermissionControllerProxy) GetPackagesForUid ¶
func (*PermissionControllerProxy) IsRuntimePermission ¶
type PermissionControllerStub ¶
type PermissionControllerStub struct {
Impl IPermissionController
Transport binder.VersionAwareTransport
}
PermissionControllerStub dispatches incoming binder transactions to a typed IPermissionController implementation.
func (*PermissionControllerStub) Descriptor ¶
func (s *PermissionControllerStub) Descriptor() string
func (*PermissionControllerStub) OnTransaction ¶
func (s *PermissionControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type PersistableBundle ¶
type PersistableBundle struct {
}
func (*PersistableBundle) MarshalParcel ¶
func (s *PersistableBundle) MarshalParcel( p *parcel.Parcel, ) error
func (*PersistableBundle) UnmarshalParcel ¶
func (s *PersistableBundle) UnmarshalParcel( p *parcel.Parcel, ) error
type PowerManagerProxy ¶
func GetPowerManager ¶
func GetPowerManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*PowerManagerProxy, error)
GetPowerManager retrieves the PowerService service and returns a typed proxy.
func NewPowerManagerProxy ¶
func NewPowerManagerProxy( remote binder.IBinder, ) *PowerManagerProxy
func (*PowerManagerProxy) AcquireLowPowerStandbyPorts ¶
func (p *PowerManagerProxy) AcquireLowPowerStandbyPorts( ctx context.Context, token binder.IBinder, ports []IPowerManagerLowPowerStandbyPortDescription, ) error
func (*PowerManagerProxy) AcquireWakeLock ¶
func (p *PowerManagerProxy) AcquireWakeLock( ctx context.Context, lock binder.IBinder, flags int32, tag string, packageName string, ws WorkSource, historyTag string, displayId int32, callback IWakeLockCallback, ) error
func (*PowerManagerProxy) AcquireWakeLockAsync ¶
func (*PowerManagerProxy) AcquireWakeLockWithUid ¶
func (*PowerManagerProxy) AreAutoPowerSaveModesEnabled ¶
func (p *PowerManagerProxy) AreAutoPowerSaveModesEnabled( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) AsBinder ¶
func (p *PowerManagerProxy) AsBinder() binder.IBinder
func (*PowerManagerProxy) BoostScreenBrightness ¶
func (p *PowerManagerProxy) BoostScreenBrightness( ctx context.Context, time int64, ) error
func (*PowerManagerProxy) Crash ¶
func (p *PowerManagerProxy) Crash( ctx context.Context, message string, ) error
func (*PowerManagerProxy) ForceLowPowerStandbyActive ¶
func (p *PowerManagerProxy) ForceLowPowerStandbyActive( ctx context.Context, active bool, ) error
func (*PowerManagerProxy) ForceSuspend ¶
func (p *PowerManagerProxy) ForceSuspend( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) GetActiveLowPowerStandbyPorts ¶
func (p *PowerManagerProxy) GetActiveLowPowerStandbyPorts( ctx context.Context, ) ([]IPowerManagerLowPowerStandbyPortDescription, error)
func (*PowerManagerProxy) GetBatteryDischargePrediction ¶
func (p *PowerManagerProxy) GetBatteryDischargePrediction( ctx context.Context, ) (ParcelDuration, error)
func (*PowerManagerProxy) GetBrightnessConstraint ¶
func (*PowerManagerProxy) GetFullPowerSavePolicy ¶
func (p *PowerManagerProxy) GetFullPowerSavePolicy( ctx context.Context, ) (BatterySaverPolicyConfig, error)
func (*PowerManagerProxy) GetLastShutdownReason ¶
func (p *PowerManagerProxy) GetLastShutdownReason( ctx context.Context, ) (int32, error)
func (*PowerManagerProxy) GetLastSleepReason ¶
func (p *PowerManagerProxy) GetLastSleepReason( ctx context.Context, ) (int32, error)
func (*PowerManagerProxy) GetLowPowerStandbyPolicy ¶
func (p *PowerManagerProxy) GetLowPowerStandbyPolicy( ctx context.Context, ) (IPowerManagerLowPowerStandbyPolicy, error)
func (*PowerManagerProxy) GetPowerSaveModeTrigger ¶
func (p *PowerManagerProxy) GetPowerSaveModeTrigger( ctx context.Context, ) (int32, error)
func (*PowerManagerProxy) GetPowerSaveState ¶
func (p *PowerManagerProxy) GetPowerSaveState( ctx context.Context, serviceType int32, ) (PowerSaveState, error)
func (*PowerManagerProxy) GoToSleepWithDisplayId ¶
func (*PowerManagerProxy) IsAmbientDisplayAvailable ¶
func (p *PowerManagerProxy) IsAmbientDisplayAvailable( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsAmbientDisplaySuppressed ¶
func (p *PowerManagerProxy) IsAmbientDisplaySuppressed( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsAmbientDisplaySuppressedForToken ¶
func (*PowerManagerProxy) IsAmbientDisplaySuppressedForTokenByApp ¶
func (*PowerManagerProxy) IsBatteryDischargePredictionPersonalized ¶
func (p *PowerManagerProxy) IsBatteryDischargePredictionPersonalized( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsBatterySaverSupported ¶
func (p *PowerManagerProxy) IsBatterySaverSupported( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsDeviceIdleMode ¶
func (p *PowerManagerProxy) IsDeviceIdleMode( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsDisplayInteractive ¶
func (*PowerManagerProxy) IsExemptFromLowPowerStandby ¶
func (p *PowerManagerProxy) IsExemptFromLowPowerStandby( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsFeatureAllowedInLowPowerStandby ¶
func (*PowerManagerProxy) IsInteractive ¶
func (p *PowerManagerProxy) IsInteractive( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsLightDeviceIdleMode ¶
func (p *PowerManagerProxy) IsLightDeviceIdleMode( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsLowPowerStandbyEnabled ¶
func (p *PowerManagerProxy) IsLowPowerStandbyEnabled( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsLowPowerStandbySupported ¶
func (p *PowerManagerProxy) IsLowPowerStandbySupported( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsPowerSaveMode ¶
func (p *PowerManagerProxy) IsPowerSaveMode( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsReasonAllowedInLowPowerStandby ¶
func (*PowerManagerProxy) IsScreenBrightnessBoosted ¶
func (p *PowerManagerProxy) IsScreenBrightnessBoosted( ctx context.Context, ) (bool, error)
func (*PowerManagerProxy) IsWakeLockLevelSupported ¶
func (*PowerManagerProxy) Nap ¶
func (p *PowerManagerProxy) Nap( ctx context.Context, time int64, ) error
func (*PowerManagerProxy) RebootSafeMode ¶
func (*PowerManagerProxy) ReleaseLowPowerStandbyPorts ¶
func (*PowerManagerProxy) ReleaseWakeLock ¶
func (*PowerManagerProxy) ReleaseWakeLockAsync ¶
func (*PowerManagerProxy) SetAdaptivePowerSaveEnabled ¶
func (*PowerManagerProxy) SetAdaptivePowerSavePolicy ¶
func (p *PowerManagerProxy) SetAdaptivePowerSavePolicy( ctx context.Context, config BatterySaverPolicyConfig, ) (bool, error)
func (*PowerManagerProxy) SetAttentionLight ¶
func (*PowerManagerProxy) SetBatteryDischargePrediction ¶
func (p *PowerManagerProxy) SetBatteryDischargePrediction( ctx context.Context, timeRemaining ParcelDuration, isCustomized bool, ) error
func (*PowerManagerProxy) SetDozeAfterScreenOff ¶
func (p *PowerManagerProxy) SetDozeAfterScreenOff( ctx context.Context, on bool, ) error
func (*PowerManagerProxy) SetDynamicPowerSaveHint ¶
func (*PowerManagerProxy) SetFullPowerSavePolicy ¶
func (p *PowerManagerProxy) SetFullPowerSavePolicy( ctx context.Context, config BatterySaverPolicyConfig, ) (bool, error)
func (*PowerManagerProxy) SetLowPowerStandbyActiveDuringMaintenance ¶
func (p *PowerManagerProxy) SetLowPowerStandbyActiveDuringMaintenance( ctx context.Context, activeDuringMaintenance bool, ) error
func (*PowerManagerProxy) SetLowPowerStandbyEnabled ¶
func (p *PowerManagerProxy) SetLowPowerStandbyEnabled( ctx context.Context, enabled bool, ) error
func (*PowerManagerProxy) SetLowPowerStandbyPolicy ¶
func (p *PowerManagerProxy) SetLowPowerStandbyPolicy( ctx context.Context, policy *IPowerManagerLowPowerStandbyPolicy, ) error
func (*PowerManagerProxy) SetPowerBoost ¶
func (*PowerManagerProxy) SetPowerMode ¶
func (*PowerManagerProxy) SetPowerModeChecked ¶
func (*PowerManagerProxy) SetPowerSaveModeEnabled ¶
func (*PowerManagerProxy) SetStayOnSetting ¶
func (p *PowerManagerProxy) SetStayOnSetting( ctx context.Context, val int32, ) error
func (*PowerManagerProxy) SuppressAmbientDisplay ¶
func (*PowerManagerProxy) UpdateWakeLockCallback ¶
func (p *PowerManagerProxy) UpdateWakeLockCallback( ctx context.Context, lock binder.IBinder, callback IWakeLockCallback, ) error
func (*PowerManagerProxy) UpdateWakeLockUids ¶
func (*PowerManagerProxy) UpdateWakeLockUidsAsync ¶
func (*PowerManagerProxy) UpdateWakeLockWorkSource ¶
func (p *PowerManagerProxy) UpdateWakeLockWorkSource( ctx context.Context, lock binder.IBinder, ws WorkSource, historyTag string, ) error
func (*PowerManagerProxy) UserActivity ¶
type PowerManagerStub ¶
type PowerManagerStub struct {
Impl IPowerManager
Transport binder.VersionAwareTransport
}
PowerManagerStub dispatches incoming binder transactions to a typed IPowerManager implementation.
func (*PowerManagerStub) Descriptor ¶
func (s *PowerManagerStub) Descriptor() string
func (*PowerManagerStub) OnTransaction ¶
func (s *PowerManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type PowerMonitor ¶
func (*PowerMonitor) MarshalParcel ¶
func (s *PowerMonitor) MarshalParcel( p *parcel.Parcel, ) error
func (*PowerMonitor) UnmarshalParcel ¶
func (s *PowerMonitor) UnmarshalParcel( p *parcel.Parcel, ) error
type PowerSaveState ¶
func (*PowerSaveState) MarshalParcel ¶
func (s *PowerSaveState) MarshalParcel( p *parcel.Parcel, ) error
func (*PowerSaveState) UnmarshalParcel ¶
func (s *PowerSaveState) UnmarshalParcel( p *parcel.Parcel, ) error
type PowerStatsServiceProxy ¶
func NewPowerStatsServiceProxy ¶
func NewPowerStatsServiceProxy( remote binder.IBinder, ) *PowerStatsServiceProxy
func (*PowerStatsServiceProxy) AsBinder ¶
func (p *PowerStatsServiceProxy) AsBinder() binder.IBinder
func (*PowerStatsServiceProxy) GetPowerMonitorReadings ¶
func (p *PowerStatsServiceProxy) GetPowerMonitorReadings( ctx context.Context, powerMonitorIndices []int32, resultReceiver ResultReceiver, ) error
func (*PowerStatsServiceProxy) GetSupportedPowerMonitors ¶
func (p *PowerStatsServiceProxy) GetSupportedPowerMonitors( ctx context.Context, resultReceiver ResultReceiver, ) error
type PowerStatsServiceStub ¶
type PowerStatsServiceStub struct {
Impl IPowerStatsService
Transport binder.VersionAwareTransport
}
PowerStatsServiceStub dispatches incoming binder transactions to a typed IPowerStatsService implementation.
func (*PowerStatsServiceStub) Descriptor ¶
func (s *PowerStatsServiceStub) Descriptor() string
func (*PowerStatsServiceStub) OnTransaction ¶
func (s *PowerStatsServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ProcessInfoServiceProxy ¶
func NewProcessInfoServiceProxy ¶
func NewProcessInfoServiceProxy( remote binder.IBinder, ) *ProcessInfoServiceProxy
func (*ProcessInfoServiceProxy) AsBinder ¶
func (p *ProcessInfoServiceProxy) AsBinder() binder.IBinder
func (*ProcessInfoServiceProxy) GetProcessStatesAndOomScoresFromPids ¶
func (*ProcessInfoServiceProxy) GetProcessStatesFromPids ¶
type ProcessInfoServiceStub ¶
type ProcessInfoServiceStub struct {
Impl IProcessInfoService
Transport binder.VersionAwareTransport
}
ProcessInfoServiceStub dispatches incoming binder transactions to a typed IProcessInfoService implementation.
func (*ProcessInfoServiceStub) Descriptor ¶
func (s *ProcessInfoServiceStub) Descriptor() string
func (*ProcessInfoServiceStub) OnTransaction ¶
func (s *ProcessInfoServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ProgressListenerProxy ¶
func NewProgressListenerProxy ¶
func NewProgressListenerProxy( remote binder.IBinder, ) *ProgressListenerProxy
func (*ProgressListenerProxy) AsBinder ¶
func (p *ProgressListenerProxy) AsBinder() binder.IBinder
func (*ProgressListenerProxy) OnFinished ¶
func (*ProgressListenerProxy) OnProgress ¶
type ProgressListenerStub ¶
type ProgressListenerStub struct {
Impl IProgressListener
Transport binder.VersionAwareTransport
}
ProgressListenerStub dispatches incoming binder transactions to a typed IProgressListener implementation.
func (*ProgressListenerStub) Descriptor ¶
func (s *ProgressListenerStub) Descriptor() string
func (*ProgressListenerStub) OnTransaction ¶
func (s *ProgressListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ReconcileSdkDataArgs ¶
type ReconcileSdkDataArgs struct {
Uuid string
PackageName string
SubDirNames []string
UserId int32
AppId int32
PreviousAppId int32
SeInfo string
Flags int32
}
func (*ReconcileSdkDataArgs) MarshalParcel ¶
func (s *ReconcileSdkDataArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*ReconcileSdkDataArgs) UnmarshalParcel ¶
func (s *ReconcileSdkDataArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type RecoverySystemProgressListenerProxy ¶
func NewRecoverySystemProgressListenerProxy ¶
func NewRecoverySystemProgressListenerProxy( remote binder.IBinder, ) *RecoverySystemProgressListenerProxy
func (*RecoverySystemProgressListenerProxy) AsBinder ¶
func (p *RecoverySystemProgressListenerProxy) AsBinder() binder.IBinder
func (*RecoverySystemProgressListenerProxy) OnProgress ¶
func (p *RecoverySystemProgressListenerProxy) OnProgress( ctx context.Context, progress int32, ) error
type RecoverySystemProgressListenerStub ¶
type RecoverySystemProgressListenerStub struct {
Impl IRecoverySystemProgressListener
Transport binder.VersionAwareTransport
}
RecoverySystemProgressListenerStub dispatches incoming binder transactions to a typed IRecoverySystemProgressListener implementation.
func (*RecoverySystemProgressListenerStub) Descriptor ¶
func (s *RecoverySystemProgressListenerStub) Descriptor() string
func (*RecoverySystemProgressListenerStub) OnTransaction ¶
func (s *RecoverySystemProgressListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RecoverySystemProxy ¶
func GetRecoverySystem ¶
func GetRecoverySystem( ctx context.Context, sm *servicemanager.ServiceManager, ) (*RecoverySystemProxy, error)
GetRecoverySystem retrieves the RecoveryService service and returns a typed proxy.
func NewRecoverySystemProxy ¶
func NewRecoverySystemProxy( remote binder.IBinder, ) *RecoverySystemProxy
func (*RecoverySystemProxy) AllocateSpaceForUpdate ¶
func (*RecoverySystemProxy) AsBinder ¶
func (p *RecoverySystemProxy) AsBinder() binder.IBinder
func (*RecoverySystemProxy) ClearBcb ¶
func (p *RecoverySystemProxy) ClearBcb( ctx context.Context, ) (bool, error)
func (*RecoverySystemProxy) IsLskfCaptured ¶
func (*RecoverySystemProxy) RebootRecoveryWithCommand ¶
func (p *RecoverySystemProxy) RebootRecoveryWithCommand( ctx context.Context, command string, ) error
func (*RecoverySystemProxy) RebootWithLskf ¶
func (*RecoverySystemProxy) RebootWithLskfAssumeSlotSwitch ¶
func (*RecoverySystemProxy) RequestLskf ¶
func (p *RecoverySystemProxy) RequestLskf( ctx context.Context, packageName string, sender types.IntentSender, ) (bool, error)
func (*RecoverySystemProxy) Uncrypt ¶
func (p *RecoverySystemProxy) Uncrypt( ctx context.Context, packageFile string, listener IRecoverySystemProgressListener, ) (bool, error)
type RecoverySystemStub ¶
type RecoverySystemStub struct {
Impl IRecoverySystem
Transport binder.VersionAwareTransport
}
RecoverySystemStub dispatches incoming binder transactions to a typed IRecoverySystem implementation.
func (*RecoverySystemStub) Descriptor ¶
func (s *RecoverySystemStub) Descriptor() string
func (*RecoverySystemStub) OnTransaction ¶
func (s *RecoverySystemStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteCallback ¶
type RemoteCallback struct {
}
func (*RemoteCallback) MarshalParcel ¶
func (s *RemoteCallback) MarshalParcel( p *parcel.Parcel, ) error
func (*RemoteCallback) UnmarshalParcel ¶
func (s *RemoteCallback) UnmarshalParcel( p *parcel.Parcel, ) error
type RemoteCallbackProxy ¶
func NewRemoteCallbackProxy ¶
func NewRemoteCallbackProxy( remote binder.IBinder, ) *RemoteCallbackProxy
func (*RemoteCallbackProxy) AsBinder ¶
func (p *RemoteCallbackProxy) AsBinder() binder.IBinder
func (*RemoteCallbackProxy) SendResult ¶
func (p *RemoteCallbackProxy) SendResult( ctx context.Context, data Bundle, ) error
type RemoteCallbackStub ¶
type RemoteCallbackStub struct {
Impl IRemoteCallback
Transport binder.VersionAwareTransport
}
RemoteCallbackStub dispatches incoming binder transactions to a typed IRemoteCallback implementation.
func (*RemoteCallbackStub) Descriptor ¶
func (s *RemoteCallbackStub) Descriptor() string
func (*RemoteCallbackStub) OnTransaction ¶
func (s *RemoteCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ResultReceiver ¶
type ResultReceiver struct {
}
func (*ResultReceiver) MarshalParcel ¶
func (s *ResultReceiver) MarshalParcel( p *parcel.Parcel, ) error
func (*ResultReceiver) UnmarshalParcel ¶
func (s *ResultReceiver) UnmarshalParcel( p *parcel.Parcel, ) error
type SchedulingPolicyServiceProxy ¶
func NewSchedulingPolicyServiceProxy ¶
func NewSchedulingPolicyServiceProxy( remote binder.IBinder, ) *SchedulingPolicyServiceProxy
func (*SchedulingPolicyServiceProxy) AsBinder ¶
func (p *SchedulingPolicyServiceProxy) AsBinder() binder.IBinder
func (*SchedulingPolicyServiceProxy) RequestCpusetBoost ¶
type SchedulingPolicyServiceStub ¶
type SchedulingPolicyServiceStub struct {
Impl ISchedulingPolicyService
Transport binder.VersionAwareTransport
}
SchedulingPolicyServiceStub dispatches incoming binder transactions to a typed ISchedulingPolicyService implementation.
func (*SchedulingPolicyServiceStub) Descriptor ¶
func (s *SchedulingPolicyServiceStub) Descriptor() string
func (*SchedulingPolicyServiceStub) OnTransaction ¶
func (s *SchedulingPolicyServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SecurityStateManagerProxy ¶
func GetSecurityStateManager ¶
func GetSecurityStateManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*SecurityStateManagerProxy, error)
GetSecurityStateManager retrieves the SecurityStateService service and returns a typed proxy.
func NewSecurityStateManagerProxy ¶
func NewSecurityStateManagerProxy( remote binder.IBinder, ) *SecurityStateManagerProxy
func (*SecurityStateManagerProxy) AsBinder ¶
func (p *SecurityStateManagerProxy) AsBinder() binder.IBinder
func (*SecurityStateManagerProxy) GetGlobalSecurityState ¶
func (p *SecurityStateManagerProxy) GetGlobalSecurityState( ctx context.Context, ) (Bundle, error)
type SecurityStateManagerStub ¶
type SecurityStateManagerStub struct {
Impl ISecurityStateManager
Transport binder.VersionAwareTransport
}
SecurityStateManagerStub dispatches incoming binder transactions to a typed ISecurityStateManager implementation.
func (*SecurityStateManagerStub) Descriptor ¶
func (s *SecurityStateManagerStub) Descriptor() string
func (*SecurityStateManagerStub) OnTransaction ¶
func (s *SecurityStateManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ServiceCallbackProxy ¶
func NewServiceCallbackProxy ¶
func NewServiceCallbackProxy( remote binder.IBinder, ) *ServiceCallbackProxy
func (*ServiceCallbackProxy) AsBinder ¶
func (p *ServiceCallbackProxy) AsBinder() binder.IBinder
func (*ServiceCallbackProxy) OnRegistration ¶
type ServiceCallbackStub ¶
type ServiceCallbackStub struct {
Impl IServiceCallback
Transport binder.VersionAwareTransport
}
ServiceCallbackStub dispatches incoming binder transactions to a typed IServiceCallback implementation.
func (*ServiceCallbackStub) Descriptor ¶
func (s *ServiceCallbackStub) Descriptor() string
func (*ServiceCallbackStub) OnTransaction ¶
func (s *ServiceCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ServiceDebugInfo ¶
func (*ServiceDebugInfo) MarshalParcel ¶
func (s *ServiceDebugInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*ServiceDebugInfo) UnmarshalParcel ¶
func (s *ServiceDebugInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type ServiceManagerProxy ¶
func NewServiceManagerProxy ¶
func NewServiceManagerProxy( remote binder.IBinder, ) *ServiceManagerProxy
func (*ServiceManagerProxy) AddService ¶
func (*ServiceManagerProxy) AsBinder ¶
func (p *ServiceManagerProxy) AsBinder() binder.IBinder
func (*ServiceManagerProxy) CheckService ¶
func (*ServiceManagerProxy) GetConnectionInfo ¶
func (p *ServiceManagerProxy) GetConnectionInfo( ctx context.Context, name string, ) (ConnectionInfo, error)
func (*ServiceManagerProxy) GetDeclaredInstances ¶
func (*ServiceManagerProxy) GetService ¶
func (*ServiceManagerProxy) GetServiceDebugInfo ¶
func (p *ServiceManagerProxy) GetServiceDebugInfo( ctx context.Context, ) ([]ServiceDebugInfo, error)
func (*ServiceManagerProxy) GetUpdatableNames ¶
func (*ServiceManagerProxy) IsDeclared ¶
func (*ServiceManagerProxy) ListServices ¶
func (*ServiceManagerProxy) RegisterClientCallback ¶
func (p *ServiceManagerProxy) RegisterClientCallback( ctx context.Context, name string, service binder.IBinder, callback IClientCallback, ) error
func (*ServiceManagerProxy) RegisterForNotifications ¶
func (p *ServiceManagerProxy) RegisterForNotifications( ctx context.Context, name string, callback IServiceCallback, ) error
func (*ServiceManagerProxy) TryUnregisterService ¶
func (*ServiceManagerProxy) UnregisterForNotifications ¶
func (p *ServiceManagerProxy) UnregisterForNotifications( ctx context.Context, name string, callback IServiceCallback, ) error
func (*ServiceManagerProxy) UpdatableViaApex ¶
type ServiceManagerStub ¶
type ServiceManagerStub struct {
Impl IServiceManager
Transport binder.VersionAwareTransport
}
ServiceManagerStub dispatches incoming binder transactions to a typed IServiceManager implementation.
func (*ServiceManagerStub) Descriptor ¶
func (s *ServiceManagerStub) Descriptor() string
func (*ServiceManagerStub) OnTransaction ¶
func (s *ServiceManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SharedMemory ¶
type SharedMemory struct {
}
func (*SharedMemory) MarshalParcel ¶
func (s *SharedMemory) MarshalParcel( p *parcel.Parcel, ) error
func (*SharedMemory) UnmarshalParcel ¶
func (s *SharedMemory) UnmarshalParcel( p *parcel.Parcel, ) error
type SomeServiceProxy ¶
func NewSomeServiceProxy ¶
func NewSomeServiceProxy( remote binder.IBinder, ) *SomeServiceProxy
func (*SomeServiceProxy) AsBinder ¶
func (p *SomeServiceProxy) AsBinder() binder.IBinder
type SomeServiceStub ¶
type SomeServiceStub struct {
Impl ISomeService
Transport binder.VersionAwareTransport
}
SomeServiceStub dispatches incoming binder transactions to a typed ISomeService implementation.
func (*SomeServiceStub) Descriptor ¶
func (s *SomeServiceStub) Descriptor() string
func (*SomeServiceStub) OnTransaction ¶
func (s *SomeServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type StatsBootstrapAtom ¶
type StatsBootstrapAtom struct {
AtomId int32
Values []StatsBootstrapAtomValue
}
func (*StatsBootstrapAtom) MarshalParcel ¶
func (s *StatsBootstrapAtom) MarshalParcel( p *parcel.Parcel, ) error
func (*StatsBootstrapAtom) UnmarshalParcel ¶
func (s *StatsBootstrapAtom) UnmarshalParcel( p *parcel.Parcel, ) error
type StatsBootstrapAtomServiceProxy ¶
func NewStatsBootstrapAtomServiceProxy ¶
func NewStatsBootstrapAtomServiceProxy( remote binder.IBinder, ) *StatsBootstrapAtomServiceProxy
func (*StatsBootstrapAtomServiceProxy) AsBinder ¶
func (p *StatsBootstrapAtomServiceProxy) AsBinder() binder.IBinder
func (*StatsBootstrapAtomServiceProxy) ReportBootstrapAtom ¶
func (p *StatsBootstrapAtomServiceProxy) ReportBootstrapAtom( ctx context.Context, atom StatsBootstrapAtom, ) error
type StatsBootstrapAtomServiceStub ¶
type StatsBootstrapAtomServiceStub struct {
Impl IStatsBootstrapAtomService
Transport binder.VersionAwareTransport
}
StatsBootstrapAtomServiceStub dispatches incoming binder transactions to a typed IStatsBootstrapAtomService implementation.
func (*StatsBootstrapAtomServiceStub) Descriptor ¶
func (s *StatsBootstrapAtomServiceStub) Descriptor() string
func (*StatsBootstrapAtomServiceStub) OnTransaction ¶
func (s *StatsBootstrapAtomServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type StatsBootstrapAtomValue ¶
type StatsBootstrapAtomValue struct {
Tag int32
BoolValue bool
IntValue int32
LongValue int64
FloatValue float32
StringValue string
BytesValue []byte
}
func (*StatsBootstrapAtomValue) GetBoolValue ¶
func (u *StatsBootstrapAtomValue) GetBoolValue() (bool, bool)
func (*StatsBootstrapAtomValue) GetBytesValue ¶
func (u *StatsBootstrapAtomValue) GetBytesValue() ([]byte, bool)
func (*StatsBootstrapAtomValue) GetFloatValue ¶
func (u *StatsBootstrapAtomValue) GetFloatValue() (float32, bool)
func (*StatsBootstrapAtomValue) GetIntValue ¶
func (u *StatsBootstrapAtomValue) GetIntValue() (int32, bool)
func (*StatsBootstrapAtomValue) GetLongValue ¶
func (u *StatsBootstrapAtomValue) GetLongValue() (int64, bool)
func (*StatsBootstrapAtomValue) GetStringValue ¶
func (u *StatsBootstrapAtomValue) GetStringValue() (string, bool)
func (*StatsBootstrapAtomValue) MarshalParcel ¶
func (u *StatsBootstrapAtomValue) MarshalParcel( p *parcel.Parcel, ) error
func (*StatsBootstrapAtomValue) SetBoolValue ¶
func (u *StatsBootstrapAtomValue) SetBoolValue( v bool, )
func (*StatsBootstrapAtomValue) SetBytesValue ¶
func (u *StatsBootstrapAtomValue) SetBytesValue( v []byte, )
func (*StatsBootstrapAtomValue) SetFloatValue ¶
func (u *StatsBootstrapAtomValue) SetFloatValue( v float32, )
func (*StatsBootstrapAtomValue) SetIntValue ¶
func (u *StatsBootstrapAtomValue) SetIntValue( v int32, )
func (*StatsBootstrapAtomValue) SetLongValue ¶
func (u *StatsBootstrapAtomValue) SetLongValue( v int64, )
func (*StatsBootstrapAtomValue) SetStringValue ¶
func (u *StatsBootstrapAtomValue) SetStringValue( v string, )
func (*StatsBootstrapAtomValue) UnmarshalParcel ¶
func (u *StatsBootstrapAtomValue) UnmarshalParcel( p *parcel.Parcel, ) error
type StrictModeViolationInfo ¶
type StrictModeViolationInfo struct {
}
func (*StrictModeViolationInfo) MarshalParcel ¶
func (s *StrictModeViolationInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*StrictModeViolationInfo) UnmarshalParcel ¶
func (s *StrictModeViolationInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type SystemConfigProxy ¶
func NewSystemConfigProxy ¶
func NewSystemConfigProxy( remote binder.IBinder, ) *SystemConfigProxy
func (*SystemConfigProxy) AsBinder ¶
func (p *SystemConfigProxy) AsBinder() binder.IBinder
func (*SystemConfigProxy) GetDefaultVrComponents ¶
func (p *SystemConfigProxy) GetDefaultVrComponents( ctx context.Context, ) ([]types.ComponentName, error)
func (*SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierApps ¶
func (p *SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierApps( ctx context.Context, ) ([]string, error)
func (*SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries ¶
func (*SystemConfigProxy) GetDisabledUntilUsedPreinstalledCarrierAssociatedApps ¶
func (*SystemConfigProxy) GetEnabledComponentOverrides ¶
func (p *SystemConfigProxy) GetEnabledComponentOverrides( ctx context.Context, packageName string, ) ([]types.ComponentName, error)
func (*SystemConfigProxy) GetEnhancedConfirmationTrustedInstallers ¶
func (p *SystemConfigProxy) GetEnhancedConfirmationTrustedInstallers( ctx context.Context, ) ([]pmTypes.SignedPackageParcel, error)
func (*SystemConfigProxy) GetEnhancedConfirmationTrustedPackages ¶
func (p *SystemConfigProxy) GetEnhancedConfirmationTrustedPackages( ctx context.Context, ) ([]pmTypes.SignedPackageParcel, error)
func (*SystemConfigProxy) GetPreventUserDisablePackages ¶
func (p *SystemConfigProxy) GetPreventUserDisablePackages( ctx context.Context, ) ([]string, error)
func (*SystemConfigProxy) GetSystemPermissionUids ¶
type SystemConfigStub ¶
type SystemConfigStub struct {
Impl ISystemConfig
Transport binder.VersionAwareTransport
}
SystemConfigStub dispatches incoming binder transactions to a typed ISystemConfig implementation.
func (*SystemConfigStub) Descriptor ¶
func (s *SystemConfigStub) Descriptor() string
func (*SystemConfigStub) OnTransaction ¶
func (s *SystemConfigStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SystemUpdateManagerProxy ¶
func GetSystemUpdateManager ¶
func GetSystemUpdateManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*SystemUpdateManagerProxy, error)
GetSystemUpdateManager retrieves the SystemUpdateService service and returns a typed proxy.
func NewSystemUpdateManagerProxy ¶
func NewSystemUpdateManagerProxy( remote binder.IBinder, ) *SystemUpdateManagerProxy
func (*SystemUpdateManagerProxy) AsBinder ¶
func (p *SystemUpdateManagerProxy) AsBinder() binder.IBinder
func (*SystemUpdateManagerProxy) RetrieveSystemUpdateInfo ¶
func (p *SystemUpdateManagerProxy) RetrieveSystemUpdateInfo( ctx context.Context, ) (Bundle, error)
func (*SystemUpdateManagerProxy) UpdateSystemUpdateInfo ¶
func (p *SystemUpdateManagerProxy) UpdateSystemUpdateInfo( ctx context.Context, data PersistableBundle, ) error
type SystemUpdateManagerStub ¶
type SystemUpdateManagerStub struct {
Impl ISystemUpdateManager
Transport binder.VersionAwareTransport
}
SystemUpdateManagerStub dispatches incoming binder transactions to a typed ISystemUpdateManager implementation.
func (*SystemUpdateManagerStub) Descriptor ¶
func (s *SystemUpdateManagerStub) Descriptor() string
func (*SystemUpdateManagerStub) OnTransaction ¶
func (s *SystemUpdateManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type Temperature ¶
func (*Temperature) MarshalParcel ¶
func (s *Temperature) MarshalParcel( p *parcel.Parcel, ) error
func (*Temperature) UnmarshalParcel ¶
func (s *Temperature) UnmarshalParcel( p *parcel.Parcel, ) error
type ThermalEventListenerProxy ¶
func NewThermalEventListenerProxy ¶
func NewThermalEventListenerProxy( remote binder.IBinder, ) *ThermalEventListenerProxy
func (*ThermalEventListenerProxy) AsBinder ¶
func (p *ThermalEventListenerProxy) AsBinder() binder.IBinder
func (*ThermalEventListenerProxy) NotifyThrottling ¶
func (p *ThermalEventListenerProxy) NotifyThrottling( ctx context.Context, temperature Temperature, ) error
type ThermalEventListenerStub ¶
type ThermalEventListenerStub struct {
Impl IThermalEventListener
Transport binder.VersionAwareTransport
}
ThermalEventListenerStub dispatches incoming binder transactions to a typed IThermalEventListener implementation.
func (*ThermalEventListenerStub) Descriptor ¶
func (s *ThermalEventListenerStub) Descriptor() string
func (*ThermalEventListenerStub) OnTransaction ¶
func (s *ThermalEventListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ThermalServiceProxy ¶
func NewThermalServiceProxy ¶
func NewThermalServiceProxy( remote binder.IBinder, ) *ThermalServiceProxy
func (*ThermalServiceProxy) AsBinder ¶
func (p *ThermalServiceProxy) AsBinder() binder.IBinder
func (*ThermalServiceProxy) GetCurrentCoolingDevices ¶
func (p *ThermalServiceProxy) GetCurrentCoolingDevices( ctx context.Context, ) ([]CoolingDevice, error)
func (*ThermalServiceProxy) GetCurrentCoolingDevicesWithType ¶
func (p *ThermalServiceProxy) GetCurrentCoolingDevicesWithType( ctx context.Context, type_ int32, ) ([]CoolingDevice, error)
func (*ThermalServiceProxy) GetCurrentTemperatures ¶
func (p *ThermalServiceProxy) GetCurrentTemperatures( ctx context.Context, ) ([]Temperature, error)
func (*ThermalServiceProxy) GetCurrentTemperaturesWithType ¶
func (p *ThermalServiceProxy) GetCurrentTemperaturesWithType( ctx context.Context, type_ int32, ) ([]Temperature, error)
func (*ThermalServiceProxy) GetCurrentThermalStatus ¶
func (p *ThermalServiceProxy) GetCurrentThermalStatus( ctx context.Context, ) (int32, error)
func (*ThermalServiceProxy) GetThermalHeadroom ¶
func (*ThermalServiceProxy) GetThermalHeadroomThresholds ¶
func (p *ThermalServiceProxy) GetThermalHeadroomThresholds( ctx context.Context, ) ([]float32, error)
func (*ThermalServiceProxy) RegisterThermalEventListener ¶
func (p *ThermalServiceProxy) RegisterThermalEventListener( ctx context.Context, listener IThermalEventListener, ) (bool, error)
func (*ThermalServiceProxy) RegisterThermalEventListenerWithType ¶
func (p *ThermalServiceProxy) RegisterThermalEventListenerWithType( ctx context.Context, listener IThermalEventListener, type_ int32, ) (bool, error)
func (*ThermalServiceProxy) RegisterThermalStatusListener ¶
func (p *ThermalServiceProxy) RegisterThermalStatusListener( ctx context.Context, listener IThermalStatusListener, ) (bool, error)
func (*ThermalServiceProxy) UnregisterThermalEventListener ¶
func (p *ThermalServiceProxy) UnregisterThermalEventListener( ctx context.Context, listener IThermalEventListener, ) (bool, error)
func (*ThermalServiceProxy) UnregisterThermalStatusListener ¶
func (p *ThermalServiceProxy) UnregisterThermalStatusListener( ctx context.Context, listener IThermalStatusListener, ) (bool, error)
type ThermalServiceStub ¶
type ThermalServiceStub struct {
Impl IThermalService
Transport binder.VersionAwareTransport
}
ThermalServiceStub dispatches incoming binder transactions to a typed IThermalService implementation.
func (*ThermalServiceStub) Descriptor ¶
func (s *ThermalServiceStub) Descriptor() string
func (*ThermalServiceStub) OnTransaction ¶
func (s *ThermalServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ThermalStatusListenerProxy ¶
func NewThermalStatusListenerProxy ¶
func NewThermalStatusListenerProxy( remote binder.IBinder, ) *ThermalStatusListenerProxy
func (*ThermalStatusListenerProxy) AsBinder ¶
func (p *ThermalStatusListenerProxy) AsBinder() binder.IBinder
func (*ThermalStatusListenerProxy) OnStatusChange ¶
func (p *ThermalStatusListenerProxy) OnStatusChange( ctx context.Context, status int32, ) error
type ThermalStatusListenerStub ¶
type ThermalStatusListenerStub struct {
Impl IThermalStatusListener
Transport binder.VersionAwareTransport
}
ThermalStatusListenerStub dispatches incoming binder transactions to a typed IThermalStatusListener implementation.
func (*ThermalStatusListenerStub) Descriptor ¶
func (s *ThermalStatusListenerStub) Descriptor() string
func (*ThermalStatusListenerStub) OnTransaction ¶
func (s *ThermalStatusListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type UpdateLockProxy ¶
func NewUpdateLockProxy ¶
func NewUpdateLockProxy( remote binder.IBinder, ) *UpdateLockProxy
func (*UpdateLockProxy) AcquireUpdateLock ¶
func (*UpdateLockProxy) AsBinder ¶
func (p *UpdateLockProxy) AsBinder() binder.IBinder
func (*UpdateLockProxy) ReleaseUpdateLock ¶
type UpdateLockStub ¶
type UpdateLockStub struct {
Impl IUpdateLock
Transport binder.VersionAwareTransport
}
UpdateLockStub dispatches incoming binder transactions to a typed IUpdateLock implementation.
func (*UpdateLockStub) Descriptor ¶
func (s *UpdateLockStub) Descriptor() string
func (*UpdateLockStub) OnTransaction ¶
func (s *UpdateLockStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type UserHandle ¶
type UserHandle struct {
}
func (*UserHandle) MarshalParcel ¶
func (s *UserHandle) MarshalParcel( p *parcel.Parcel, ) error
func (*UserHandle) UnmarshalParcel ¶
func (s *UserHandle) UnmarshalParcel( p *parcel.Parcel, ) error
type UserManagerEnforcingUser ¶
type UserManagerEnforcingUser struct {
}
func (*UserManagerEnforcingUser) MarshalParcel ¶
func (s *UserManagerEnforcingUser) MarshalParcel( p *parcel.Parcel, ) error
func (*UserManagerEnforcingUser) UnmarshalParcel ¶
func (s *UserManagerEnforcingUser) UnmarshalParcel( p *parcel.Parcel, ) error
type UserManagerProxy ¶
func GetUserManager ¶
func GetUserManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*UserManagerProxy, error)
GetUserManager retrieves the UserService service and returns a typed proxy.
func NewUserManagerProxy ¶
func NewUserManagerProxy( remote binder.IBinder, ) *UserManagerProxy
func (*UserManagerProxy) AddUserRestrictionsListener ¶
func (p *UserManagerProxy) AddUserRestrictionsListener( ctx context.Context, listener IUserRestrictionsListener, ) error
func (*UserManagerProxy) AsBinder ¶
func (p *UserManagerProxy) AsBinder() binder.IBinder
func (*UserManagerProxy) CanAddMoreManagedProfiles ¶
func (*UserManagerProxy) CanAddMoreProfilesToUser ¶
func (*UserManagerProxy) CanAddMoreUsersOfType ¶
func (*UserManagerProxy) CanHaveRestrictedProfile ¶
func (p *UserManagerProxy) CanHaveRestrictedProfile( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) ClearSeedAccountData ¶
func (p *UserManagerProxy) ClearSeedAccountData( ctx context.Context, ) error
func (*UserManagerProxy) CreateProfileForUserEvenWhenDisallowedWithThrow ¶
func (*UserManagerProxy) CreateProfileForUserWithThrow ¶
func (*UserManagerProxy) CreateRestrictedProfileWithThrow ¶
func (*UserManagerProxy) CreateUserWithAttributes ¶
func (p *UserManagerProxy) CreateUserWithAttributes( ctx context.Context, userName string, userType string, flags int32, userIcon graphics.Bitmap, accountName string, accountType string, accountOptions PersistableBundle, ) (UserHandle, error)
func (*UserManagerProxy) CreateUserWithThrow ¶
func (*UserManagerProxy) EvictCredentialEncryptionKey ¶
func (p *UserManagerProxy) EvictCredentialEncryptionKey( ctx context.Context, ) error
func (*UserManagerProxy) GetApplicationRestrictions ¶
func (*UserManagerProxy) GetApplicationRestrictionsForUser ¶
func (*UserManagerProxy) GetBootUser ¶
func (p *UserManagerProxy) GetBootUser( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetCommunalProfileId ¶
func (p *UserManagerProxy) GetCommunalProfileId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetCredentialOwnerProfile ¶
func (p *UserManagerProxy) GetCredentialOwnerProfile( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetDefaultGuestRestrictions ¶
func (p *UserManagerProxy) GetDefaultGuestRestrictions( ctx context.Context, ) (Bundle, error)
func (*UserManagerProxy) GetGuestUsers ¶
func (*UserManagerProxy) GetMainDisplayIdAssignedToUser ¶
func (p *UserManagerProxy) GetMainDisplayIdAssignedToUser( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetMainUserId ¶
func (p *UserManagerProxy) GetMainUserId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetPreInstallableSystemPackages ¶
func (*UserManagerProxy) GetPreviousFullUserToEnterForeground ¶
func (p *UserManagerProxy) GetPreviousFullUserToEnterForeground( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetPrimaryUser ¶
func (*UserManagerProxy) GetProfileIds ¶
func (*UserManagerProxy) GetProfileIdsExcludingHidden ¶
func (*UserManagerProxy) GetProfileLabelResId ¶
func (p *UserManagerProxy) GetProfileLabelResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetProfileParent ¶
func (*UserManagerProxy) GetProfileParentId ¶
func (p *UserManagerProxy) GetProfileParentId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetProfileType ¶
func (p *UserManagerProxy) GetProfileType( ctx context.Context, ) (string, error)
func (*UserManagerProxy) GetProfiles ¶
func (*UserManagerProxy) GetRemainingCreatableProfileCount ¶
func (*UserManagerProxy) GetRemainingCreatableUserCount ¶
func (*UserManagerProxy) GetSeedAccountName ¶
func (p *UserManagerProxy) GetSeedAccountName( ctx context.Context, ) (string, error)
func (*UserManagerProxy) GetSeedAccountOptions ¶
func (p *UserManagerProxy) GetSeedAccountOptions( ctx context.Context, ) (PersistableBundle, error)
func (*UserManagerProxy) GetSeedAccountType ¶
func (p *UserManagerProxy) GetSeedAccountType( ctx context.Context, ) (string, error)
func (*UserManagerProxy) GetUserAccount ¶
func (p *UserManagerProxy) GetUserAccount( ctx context.Context, ) (string, error)
func (*UserManagerProxy) GetUserBadgeColorResId ¶
func (p *UserManagerProxy) GetUserBadgeColorResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserBadgeDarkColorResId ¶
func (p *UserManagerProxy) GetUserBadgeDarkColorResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserBadgeLabelResId ¶
func (p *UserManagerProxy) GetUserBadgeLabelResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserBadgeNoBackgroundResId ¶
func (p *UserManagerProxy) GetUserBadgeNoBackgroundResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserBadgeResId ¶
func (p *UserManagerProxy) GetUserBadgeResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserCreationTime ¶
func (p *UserManagerProxy) GetUserCreationTime( ctx context.Context, ) (int64, error)
func (*UserManagerProxy) GetUserHandle ¶
func (*UserManagerProxy) GetUserIcon ¶
func (p *UserManagerProxy) GetUserIcon( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserIconBadgeResId ¶
func (p *UserManagerProxy) GetUserIconBadgeResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserInfo ¶
func (*UserManagerProxy) GetUserName ¶
func (p *UserManagerProxy) GetUserName( ctx context.Context, ) (string, error)
func (*UserManagerProxy) GetUserPropertiesCopy ¶
func (p *UserManagerProxy) GetUserPropertiesCopy( ctx context.Context, ) (types.UserProperties, error)
func (*UserManagerProxy) GetUserRestrictionSource ¶
func (*UserManagerProxy) GetUserRestrictionSources ¶
func (p *UserManagerProxy) GetUserRestrictionSources( ctx context.Context, restrictionKey string, ) ([]UserManagerEnforcingUser, error)
func (*UserManagerProxy) GetUserRestrictions ¶
func (p *UserManagerProxy) GetUserRestrictions( ctx context.Context, ) (Bundle, error)
func (*UserManagerProxy) GetUserSerialNumber ¶
func (p *UserManagerProxy) GetUserSerialNumber( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserStartRealtime ¶
func (p *UserManagerProxy) GetUserStartRealtime( ctx context.Context, ) (int64, error)
func (*UserManagerProxy) GetUserStatusBarIconResId ¶
func (p *UserManagerProxy) GetUserStatusBarIconResId( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserSwitchability ¶
func (p *UserManagerProxy) GetUserSwitchability( ctx context.Context, ) (int32, error)
func (*UserManagerProxy) GetUserUnlockRealtime ¶
func (p *UserManagerProxy) GetUserUnlockRealtime( ctx context.Context, ) (int64, error)
func (*UserManagerProxy) GetVisibleUsers ¶
func (p *UserManagerProxy) GetVisibleUsers( ctx context.Context, ) ([]int32, error)
func (*UserManagerProxy) HasBadge ¶
func (p *UserManagerProxy) HasBadge( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) HasBaseUserRestriction ¶
func (*UserManagerProxy) HasRestrictedProfiles ¶
func (p *UserManagerProxy) HasRestrictedProfiles( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) HasUserRestriction ¶
func (*UserManagerProxy) HasUserRestrictionOnAnyUser ¶
func (*UserManagerProxy) IsAdminUser ¶
func (p *UserManagerProxy) IsAdminUser( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsDemoUser ¶
func (p *UserManagerProxy) IsDemoUser( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsForegroundUserAdmin ¶
func (p *UserManagerProxy) IsForegroundUserAdmin( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsHeadlessSystemUserMode ¶
func (p *UserManagerProxy) IsHeadlessSystemUserMode( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsPreCreated ¶
func (p *UserManagerProxy) IsPreCreated( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsQuietModeEnabled ¶
func (p *UserManagerProxy) IsQuietModeEnabled( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsRestricted ¶
func (p *UserManagerProxy) IsRestricted( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsSameProfileGroup ¶
func (*UserManagerProxy) IsSettingRestrictedForUser ¶
func (*UserManagerProxy) IsUserForeground ¶
func (p *UserManagerProxy) IsUserForeground( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsUserNameSet ¶
func (p *UserManagerProxy) IsUserNameSet( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsUserOfType ¶
func (*UserManagerProxy) IsUserRunning ¶
func (p *UserManagerProxy) IsUserRunning( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsUserSwitcherEnabled ¶
func (*UserManagerProxy) IsUserTypeEnabled ¶
func (*UserManagerProxy) IsUserUnlocked ¶
func (p *UserManagerProxy) IsUserUnlocked( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsUserUnlockingOrUnlocked ¶
func (p *UserManagerProxy) IsUserUnlockingOrUnlocked( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) IsUserVisible ¶
func (p *UserManagerProxy) IsUserVisible( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) MarkGuestForDeletion ¶
func (p *UserManagerProxy) MarkGuestForDeletion( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) PreCreateUserWithThrow ¶
func (*UserManagerProxy) RemoveUser ¶
func (p *UserManagerProxy) RemoveUser( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) RemoveUserEvenWhenDisallowed ¶
func (p *UserManagerProxy) RemoveUserEvenWhenDisallowed( ctx context.Context, ) (bool, error)
func (*UserManagerProxy) RemoveUserWhenPossible ¶
func (*UserManagerProxy) RequestQuietModeEnabled ¶
func (p *UserManagerProxy) RequestQuietModeEnabled( ctx context.Context, enableQuietMode bool, target contentTypes.IntentSender, flags int32, ) (bool, error)
func (*UserManagerProxy) RevokeUserAdmin ¶
func (p *UserManagerProxy) RevokeUserAdmin( ctx context.Context, ) error
func (*UserManagerProxy) SetApplicationRestrictions ¶
func (*UserManagerProxy) SetBootUser ¶
func (p *UserManagerProxy) SetBootUser( ctx context.Context, ) error
func (*UserManagerProxy) SetDefaultGuestRestrictions ¶
func (p *UserManagerProxy) SetDefaultGuestRestrictions( ctx context.Context, restrictions Bundle, ) error
func (*UserManagerProxy) SetSeedAccountData ¶
func (p *UserManagerProxy) SetSeedAccountData( ctx context.Context, accountName string, accountType string, accountOptions PersistableBundle, persist bool, ) error
func (*UserManagerProxy) SetUserAccount ¶
func (p *UserManagerProxy) SetUserAccount( ctx context.Context, accountName string, ) error
func (*UserManagerProxy) SetUserAdmin ¶
func (p *UserManagerProxy) SetUserAdmin( ctx context.Context, ) error
func (*UserManagerProxy) SetUserEnabled ¶
func (p *UserManagerProxy) SetUserEnabled( ctx context.Context, ) error
func (*UserManagerProxy) SetUserEphemeral ¶
func (*UserManagerProxy) SetUserIcon ¶
func (*UserManagerProxy) SetUserName ¶
func (p *UserManagerProxy) SetUserName( ctx context.Context, name string, ) error
func (*UserManagerProxy) SetUserRestriction ¶
func (*UserManagerProxy) SomeUserHasAccount ¶
func (*UserManagerProxy) SomeUserHasSeedAccount ¶
type UserManagerStub ¶
type UserManagerStub struct {
Impl IUserManager
Transport binder.VersionAwareTransport
}
UserManagerStub dispatches incoming binder transactions to a typed IUserManager implementation.
func (*UserManagerStub) Descriptor ¶
func (s *UserManagerStub) Descriptor() string
func (*UserManagerStub) OnTransaction ¶
func (s *UserManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type UserRestrictionsListenerProxy ¶
func NewUserRestrictionsListenerProxy ¶
func NewUserRestrictionsListenerProxy( remote binder.IBinder, ) *UserRestrictionsListenerProxy
func (*UserRestrictionsListenerProxy) AsBinder ¶
func (p *UserRestrictionsListenerProxy) AsBinder() binder.IBinder
func (*UserRestrictionsListenerProxy) OnUserRestrictionsChanged ¶
type UserRestrictionsListenerStub ¶
type UserRestrictionsListenerStub struct {
Impl IUserRestrictionsListener
Transport binder.VersionAwareTransport
}
UserRestrictionsListenerStub dispatches incoming binder transactions to a typed IUserRestrictionsListener implementation.
func (*UserRestrictionsListenerStub) Descriptor ¶
func (s *UserRestrictionsListenerStub) Descriptor() string
func (*UserRestrictionsListenerStub) OnTransaction ¶
func (s *UserRestrictionsListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VibrationAttributes ¶
func (*VibrationAttributes) MarshalParcel ¶
func (s *VibrationAttributes) MarshalParcel( p *parcel.Parcel, ) error
func (*VibrationAttributes) UnmarshalParcel ¶
func (s *VibrationAttributes) UnmarshalParcel( p *parcel.Parcel, ) error
type VibrationEffect ¶
type VibrationEffect struct {
}
func (*VibrationEffect) MarshalParcel ¶
func (s *VibrationEffect) MarshalParcel( p *parcel.Parcel, ) error
func (*VibrationEffect) UnmarshalParcel ¶
func (s *VibrationEffect) UnmarshalParcel( p *parcel.Parcel, ) error
type VibratorInfo ¶
type VibratorInfo struct {
Id int32
Capabilities int64
PrimitiveDelayMax int32
CompositionSizeMax int32
PwlePrimitiveDurationMax int32
PwleSizeMax int32
QFactor float32
}
func (*VibratorInfo) MarshalParcel ¶
func (s *VibratorInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*VibratorInfo) UnmarshalParcel ¶
func (s *VibratorInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type VibratorManagerServiceProxy ¶
func NewVibratorManagerServiceProxy ¶
func NewVibratorManagerServiceProxy( remote binder.IBinder, ) *VibratorManagerServiceProxy
func (*VibratorManagerServiceProxy) AsBinder ¶
func (p *VibratorManagerServiceProxy) AsBinder() binder.IBinder
func (*VibratorManagerServiceProxy) CancelVibrate ¶
func (*VibratorManagerServiceProxy) GetVibratorIds ¶
func (p *VibratorManagerServiceProxy) GetVibratorIds( ctx context.Context, ) ([]int32, error)
func (*VibratorManagerServiceProxy) GetVibratorInfo ¶
func (p *VibratorManagerServiceProxy) GetVibratorInfo( ctx context.Context, vibratorId int32, ) (VibratorInfo, error)
func (*VibratorManagerServiceProxy) IsVibrating ¶
func (*VibratorManagerServiceProxy) PerformHapticFeedback ¶
func (*VibratorManagerServiceProxy) RegisterVibratorStateListener ¶
func (p *VibratorManagerServiceProxy) RegisterVibratorStateListener( ctx context.Context, vibratorId int32, listener IVibratorStateListener, ) (bool, error)
func (*VibratorManagerServiceProxy) SetAlwaysOnEffect ¶
func (p *VibratorManagerServiceProxy) SetAlwaysOnEffect( ctx context.Context, uid int32, opPkg string, alwaysOnId int32, vibration CombinedVibration, attributes VibrationAttributes, ) (bool, error)
func (*VibratorManagerServiceProxy) UnregisterVibratorStateListener ¶
func (p *VibratorManagerServiceProxy) UnregisterVibratorStateListener( ctx context.Context, vibratorId int32, listener IVibratorStateListener, ) (bool, error)
func (*VibratorManagerServiceProxy) Vibrate ¶
func (p *VibratorManagerServiceProxy) Vibrate( ctx context.Context, uid int32, deviceId int32, opPkg string, vibration CombinedVibration, attributes VibrationAttributes, reason string, token binder.IBinder, ) error
type VibratorManagerServiceStub ¶
type VibratorManagerServiceStub struct {
Impl IVibratorManagerService
Transport binder.VersionAwareTransport
}
VibratorManagerServiceStub dispatches incoming binder transactions to a typed IVibratorManagerService implementation.
func (*VibratorManagerServiceStub) Descriptor ¶
func (s *VibratorManagerServiceStub) Descriptor() string
func (*VibratorManagerServiceStub) OnTransaction ¶
func (s *VibratorManagerServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VibratorStateListenerProxy ¶
func NewVibratorStateListenerProxy ¶
func NewVibratorStateListenerProxy( remote binder.IBinder, ) *VibratorStateListenerProxy
func (*VibratorStateListenerProxy) AsBinder ¶
func (p *VibratorStateListenerProxy) AsBinder() binder.IBinder
func (*VibratorStateListenerProxy) OnVibrating ¶
func (p *VibratorStateListenerProxy) OnVibrating( ctx context.Context, vibrating bool, ) error
type VibratorStateListenerStub ¶
type VibratorStateListenerStub struct {
Impl IVibratorStateListener
Transport binder.VersionAwareTransport
}
VibratorStateListenerStub dispatches incoming binder transactions to a typed IVibratorStateListener implementation.
func (*VibratorStateListenerStub) Descriptor ¶
func (s *VibratorStateListenerStub) Descriptor() string
func (*VibratorStateListenerStub) OnTransaction ¶
func (s *VibratorStateListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WakeLockCallbackProxy ¶
func NewWakeLockCallbackProxy ¶
func NewWakeLockCallbackProxy( remote binder.IBinder, ) *WakeLockCallbackProxy
func (*WakeLockCallbackProxy) AsBinder ¶
func (p *WakeLockCallbackProxy) AsBinder() binder.IBinder
func (*WakeLockCallbackProxy) OnStateChanged ¶
func (p *WakeLockCallbackProxy) OnStateChanged( ctx context.Context, enabled bool, ) error
type WakeLockCallbackStub ¶
type WakeLockCallbackStub struct {
Impl IWakeLockCallback
Transport binder.VersionAwareTransport
}
WakeLockCallbackStub dispatches incoming binder transactions to a typed IWakeLockCallback implementation.
func (*WakeLockCallbackStub) Descriptor ¶
func (s *WakeLockCallbackStub) Descriptor() string
func (*WakeLockCallbackStub) OnTransaction ¶
func (s *WakeLockCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WakeLockStats ¶
func (*WakeLockStats) MarshalParcel ¶
func (s *WakeLockStats) MarshalParcel( p *parcel.Parcel, ) error
func (*WakeLockStats) UnmarshalParcel ¶
func (s *WakeLockStats) UnmarshalParcel( p *parcel.Parcel, ) error
type WorkDuration ¶
type WorkDuration struct {
WorkPeriodStartTimestampNanos int64
ActualTotalDurationNanos int64
ActualCpuDurationNanos int64
ActualGpuDurationNanos int64
TimestampNanos int64
}
func (*WorkDuration) MarshalParcel ¶
func (s *WorkDuration) MarshalParcel( p *parcel.Parcel, ) error
func (*WorkDuration) UnmarshalParcel ¶
func (s *WorkDuration) UnmarshalParcel( p *parcel.Parcel, ) error
type WorkSource ¶
type WorkSource struct {
Num int32
}
func (*WorkSource) MarshalParcel ¶
func (s *WorkSource) MarshalParcel( p *parcel.Parcel, ) error
func (*WorkSource) UnmarshalParcel ¶
func (s *WorkSource) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- aidltest.testparcelable.go
- batteryproperty.go
- batterysaverpolicyconfig.go
- batteryusagestats.go
- batteryusagestatsquery.go
- bluetoothbatterystats.go
- bundle.go
- carrierassociatedappentry.go
- combinedvibration.go
- connectioninfo.go
- coolingdevice.go
- cpuusageinfo.go
- createappdataargs.go
- createappdataresult.go
- debug.memoryinfo.go
- dropboxmanager.entry.go
- externalvibration.go
- externalvibrationscale.go
- externalvibrationscale.scalelevel.go
- fabricatedoverlayinfo.go
- fabricatedoverlayinternal.go
- fabricatedoverlayinternalentry.go
- get_bugreport.go
- get_hardware_properties.go
- get_power.go
- get_recovery.go
- get_security_state.go
- get_system_update.go
- get_user.go
- iaidltest.go
- ibatterypropertiesregistrar.go
- ibinderthreadpriorityservice.go
- ibinderworksourcenestedservice.go
- ibinderworksourceservice.go
- icancellationsignal.go
- iclientcallback.go
- ideviceidentifierspolicyservice.go
- ideviceidlecontroller.go
- idumpstate.go
- idumpstatelistener.go
- iexternalvibrationcontroller.go
- iexternalvibratorservice.go
- ihardwarepropertiesmanager.go
- ihintmanager.go
- ihintsession.go
- iidmap2.go
- iincidentauthlistener.go
- iincidentcompanion.go
- iincidentdumpcallback.go
- iincidentmanager.go
- iincidentreportstatuslistener.go
- iinputconstants.go
- iinputflinger.go
- iinstalld.go
- iinstalld.ifsveritysetupauthtoken.go
- imessenger.go
- incidentmanager.incidentreport.go
- incidentreportargs.go
- inetworkmanagementservice.go
- inputchannelcore.go
- inputconfig.go
- inputeventinjectionresult.go
- inputeventinjectionsync.go
- ipermissioncontroller.go
- ipowermanager.go
- ipowermanager.lowpowerstandbypolicy.go
- ipowermanager.lowpowerstandbyportdescription.go
- ipowerstatsservice.go
- iprocessinfoservice.go
- iprogresslistener.go
- irecoverysystem.go
- irecoverysystemprogresslistener.go
- iremotecallback.go
- ischedulingpolicyservice.go
- isecuritystatemanager.go
- iservicecallback.go
- iservicemanager.go
- isomeservice.go
- istatsbootstrapatomservice.go
- isystemconfig.go
- isystemupdatemanager.go
- ithermaleventlistener.go
- ithermalservice.go
- ithermalstatuslistener.go
- iupdatelock.go
- iusermanager.go
- iuserrestrictionslistener.go
- ivibratormanagerservice.go
- ivibratorstatelistener.go
- iwakelockcallback.go
- localelist.go
- message.go
- messenger.go
- overlayablepolicy.go
- packagetagslist.go
- parcelableexception.go
- parcelableparcel.go
- parcelduration.go
- parceluuid.go
- patternmatcher.go
- persistablebundle.go
- powermonitor.go
- powersavestate.go
- reconcilesdkdataargs.go
- remotecallback.go
- resultreceiver.go
- servicedebuginfo.go
- sharedmemory.go
- statsbootstrapatom.go
- statsbootstrapatomvalue.go
- strictmode.violationinfo.go
- temperature.go
- userhandle.go
- usermanager.enforcinguser.go
- vibrationattributes.go
- vibrationeffect.go
- vibratorinfo.go
- wakelockstats.go
- workduration.go
- worksource.go