Documentation
¶
Index ¶
- Constants
- type AppOpsActiveCallbackProxy
- type AppOpsActiveCallbackStub
- type AppOpsAsyncNotedCallbackProxy
- type AppOpsAsyncNotedCallbackStub
- type AppOpsCallbackProxy
- type AppOpsCallbackStub
- type AppOpsNotedCallbackProxy
- type AppOpsNotedCallbackStub
- type AppOpsServiceProxy
- func (p *AppOpsServiceProxy) AddHistoricalOps(ctx context.Context, ops types.AppOpsManagerHistoricalOps) error
- func (p *AppOpsServiceProxy) AsBinder() binder.IBinder
- func (p *AppOpsServiceProxy) CheckAudioOperation(ctx context.Context, code int32, usage int32, uid int32, packageName string) (int32, error)
- func (p *AppOpsServiceProxy) CheckOperation(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
- func (p *AppOpsServiceProxy) CheckOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, ...) (int32, error)
- func (p *AppOpsServiceProxy) CheckOperationRaw(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
- func (p *AppOpsServiceProxy) CheckOperationRawForDevice(ctx context.Context, code int32, uid int32, packageName string, ...) (int32, error)
- func (p *AppOpsServiceProxy) CheckPackage(ctx context.Context, uid int32, packageName string) (int32, error)
- func (p *AppOpsServiceProxy) ClearHistory(ctx context.Context) error
- func (p *AppOpsServiceProxy) CollectNoteOpCallsForValidation(ctx context.Context, stackTrace string, op int32, packageName string, ...) error
- func (p *AppOpsServiceProxy) CollectRuntimeAppOpAccessMessage(ctx context.Context) (types.RuntimeAppOpAccessMessage, error)
- func (p *AppOpsServiceProxy) ExtractAsyncOps(ctx context.Context, packageName string) ([]types.AsyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) FinishOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, ...) error
- func (p *AppOpsServiceProxy) FinishOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, ...) error
- func (p *AppOpsServiceProxy) FinishProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, ...) error
- func (p *AppOpsServiceProxy) FinishProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, ...) error
- func (p *AppOpsServiceProxy) GetHistoricalOps(ctx context.Context, uid int32, packageName string, ops []string, ...) error
- func (p *AppOpsServiceProxy) GetHistoricalOpsFromDiskRaw(ctx context.Context, uid int32, packageName string, ops []string, ...) error
- func (p *AppOpsServiceProxy) GetOpsForPackage(ctx context.Context, uid int32, packageName string, ops []int32) ([]types.AppOpsManagerPackageOps, error)
- func (p *AppOpsServiceProxy) GetPackagesForOps(ctx context.Context, ops []int32) ([]types.AppOpsManagerPackageOps, error)
- func (p *AppOpsServiceProxy) GetPackagesForOpsForDevice(ctx context.Context, ops []int32, persistentDeviceId string) ([]types.AppOpsManagerPackageOps, error)
- func (p *AppOpsServiceProxy) GetUidOps(ctx context.Context, uid int32, ops []int32) ([]types.AppOpsManagerPackageOps, error)
- func (p *AppOpsServiceProxy) IsOperationActive(ctx context.Context, code int32, uid int32, packageName string) (bool, error)
- func (p *AppOpsServiceProxy) IsProxying(ctx context.Context, op int32, proxyPackageName string, ...) (bool, error)
- func (p *AppOpsServiceProxy) NoteOperation(ctx context.Context, code int32, uid int32, packageName string, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) NoteOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) NoteProxyOperation(ctx context.Context, code int32, attributionSource content.AttributionSource, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) NoteProxyOperationWithState(ctx context.Context, code int32, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) OffsetHistory(ctx context.Context, duration int64) error
- func (p *AppOpsServiceProxy) PermissionToOpCode(ctx context.Context, permission string) (int32, error)
- func (p *AppOpsServiceProxy) RebootHistory(ctx context.Context, offlineDurationMillis int64) error
- func (p *AppOpsServiceProxy) ReloadNonHistoricalState(ctx context.Context) error
- func (p *AppOpsServiceProxy) RemoveUser(ctx context.Context) error
- func (p *AppOpsServiceProxy) ReportRuntimeAppOpAccessMessageAndGetConfig(ctx context.Context, packageName string, appOp types.SyncNotedAppOp, ...) (MessageSamplingConfig, error)
- func (p *AppOpsServiceProxy) ResetAllModes(ctx context.Context, reqUserId int32, reqPackageName string) error
- func (p *AppOpsServiceProxy) ResetHistoryParameters(ctx context.Context) error
- func (p *AppOpsServiceProxy) ResetPackageOpsNoHistory(ctx context.Context, packageName string) error
- func (p *AppOpsServiceProxy) SetAudioRestriction(ctx context.Context, code int32, usage int32, uid int32, mode int32, ...) error
- func (p *AppOpsServiceProxy) SetCameraAudioRestriction(ctx context.Context, mode int32) error
- func (p *AppOpsServiceProxy) SetHistoryParameters(ctx context.Context, mode int32, baseSnapshotInterval int64, ...) error
- func (p *AppOpsServiceProxy) SetMode(ctx context.Context, code int32, uid int32, packageName string, mode int32) error
- func (p *AppOpsServiceProxy) SetUidMode(ctx context.Context, code int32, uid int32, mode int32) error
- func (p *AppOpsServiceProxy) SetUserRestriction(ctx context.Context, code int32, restricted bool, token binder.IBinder, ...) error
- func (p *AppOpsServiceProxy) SetUserRestrictions(ctx context.Context, restrictions os.Bundle, token binder.IBinder) error
- func (p *AppOpsServiceProxy) ShouldCollectNotes(ctx context.Context, opCode int32) (bool, error)
- func (p *AppOpsServiceProxy) StartOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) StartOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) StartProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) StartProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, ...) (types.SyncNotedAppOp, error)
- func (p *AppOpsServiceProxy) StartWatchingActive(ctx context.Context, ops []int32, callback IAppOpsActiveCallback) error
- func (p *AppOpsServiceProxy) StartWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
- func (p *AppOpsServiceProxy) StartWatchingMode(ctx context.Context, op int32, packageName string, callback IAppOpsCallback) error
- func (p *AppOpsServiceProxy) StartWatchingModeWithFlags(ctx context.Context, op int32, packageName string, flags int32, ...) error
- func (p *AppOpsServiceProxy) StartWatchingNoted(ctx context.Context, ops []int32, callback IAppOpsNotedCallback) error
- func (p *AppOpsServiceProxy) StartWatchingStarted(ctx context.Context, ops []int32, callback IAppOpsStartedCallback) error
- func (p *AppOpsServiceProxy) StopWatchingActive(ctx context.Context, callback IAppOpsActiveCallback) error
- func (p *AppOpsServiceProxy) StopWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
- func (p *AppOpsServiceProxy) StopWatchingMode(ctx context.Context, callback IAppOpsCallback) error
- func (p *AppOpsServiceProxy) StopWatchingNoted(ctx context.Context, callback IAppOpsNotedCallback) error
- func (p *AppOpsServiceProxy) StopWatchingStarted(ctx context.Context, callback IAppOpsStartedCallback) error
- type AppOpsServiceStub
- type AppOpsStartedCallbackProxy
- type AppOpsStartedCallbackStub
- type BatteryStatsProxy
- func GetBatteryStats(ctx context.Context, sm *servicemanager.ServiceManager) (*BatteryStatsProxy, error)
- func GetBatteryStatsService(ctx context.Context, sm *servicemanager.ServiceManager) (*BatteryStatsProxy, error)
- func GetSystemHealthService(ctx context.Context, sm *servicemanager.ServiceManager) (*BatteryStatsProxy, error)
- func NewBatteryStatsProxy(remote binder.IBinder) *BatteryStatsProxy
- func (p *BatteryStatsProxy) AsBinder() binder.IBinder
- func (p *BatteryStatsProxy) ComputeBatteryScreenOffRealtimeMs(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) ComputeBatteryTimeRemaining(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) ComputeChargeTimeRemaining(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) GetAwakeTimeBattery(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) GetAwakeTimePlugged(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) GetBatteryUsageStats(ctx context.Context, queries []os.BatteryUsageStatsQuery) ([]os.BatteryUsageStats, error)
- func (p *BatteryStatsProxy) GetBluetoothBatteryStats(ctx context.Context) (os.BluetoothBatteryStats, error)
- func (p *BatteryStatsProxy) GetCellularBatteryStats(ctx context.Context) (connectivity.CellularBatteryStats, error)
- func (p *BatteryStatsProxy) GetGpsBatteryStats(ctx context.Context) (connectivity.GpsBatteryStats, error)
- func (p *BatteryStatsProxy) GetScreenOffDischargeMah(ctx context.Context) (int64, error)
- func (p *BatteryStatsProxy) GetWakeLockStats(ctx context.Context) (os.WakeLockStats, error)
- func (p *BatteryStatsProxy) GetWifiBatteryStats(ctx context.Context) (connectivity.WifiBatteryStats, error)
- func (p *BatteryStatsProxy) IsCharging(ctx context.Context) (bool, error)
- func (p *BatteryStatsProxy) NoteBleScanReset(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteBleScanResults(ctx context.Context, ws os.WorkSource, numNewResults int32) error
- func (p *BatteryStatsProxy) NoteBleScanStarted(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
- func (p *BatteryStatsProxy) NoteBleScanStopped(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
- func (p *BatteryStatsProxy) NoteBluetoothControllerActivity(ctx context.Context, info bluetooth.BluetoothActivityEnergyInfo) error
- func (p *BatteryStatsProxy) NoteChangeWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, ...) error
- func (p *BatteryStatsProxy) NoteConnectivityChanged(ctx context.Context, type_ int32, extra string) error
- func (p *BatteryStatsProxy) NoteDeviceIdleMode(ctx context.Context, mode int32, activeReason string, activeUid int32) error
- func (p *BatteryStatsProxy) NoteEvent(ctx context.Context, code int32, name string, uid int32) error
- func (p *BatteryStatsProxy) NoteFlashlightOff(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteFlashlightOn(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteFullWifiLockAcquired(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteFullWifiLockAcquiredFromSource(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteFullWifiLockReleased(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteFullWifiLockReleasedFromSource(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteGpsChanged(ctx context.Context, oldSource os.WorkSource, newSource os.WorkSource) error
- func (p *BatteryStatsProxy) NoteGpsSignalQuality(ctx context.Context, signalLevel int32) error
- func (p *BatteryStatsProxy) NoteInteractive(ctx context.Context, interactive bool) error
- func (p *BatteryStatsProxy) NoteJobFinish(ctx context.Context, name string, uid int32, stopReason int32) error
- func (p *BatteryStatsProxy) NoteJobStart(ctx context.Context, name string, uid int32) error
- func (p *BatteryStatsProxy) NoteLongPartialWakelockFinish(ctx context.Context, name string, historyName string, uid int32) error
- func (p *BatteryStatsProxy) NoteLongPartialWakelockFinishFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
- func (p *BatteryStatsProxy) NoteLongPartialWakelockStart(ctx context.Context, name string, historyName string, uid int32) error
- func (p *BatteryStatsProxy) NoteLongPartialWakelockStartFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
- func (p *BatteryStatsProxy) NoteMobileRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
- func (p *BatteryStatsProxy) NoteModemControllerActivity(ctx context.Context, info telephony.ModemActivityInfo) error
- func (p *BatteryStatsProxy) NoteNetworkInterfaceForTransports(ctx context.Context, iface string, transportTypes []int32) error
- func (p *BatteryStatsProxy) NoteNetworkStatsEnabled(ctx context.Context) error
- func (p *BatteryStatsProxy) NotePhoneDataConnectionState(ctx context.Context, dataType int32, hasData bool, serviceType int32, ...) error
- func (p *BatteryStatsProxy) NotePhoneOff(ctx context.Context) error
- func (p *BatteryStatsProxy) NotePhoneOn(ctx context.Context) error
- func (p *BatteryStatsProxy) NotePhoneSignalStrength(ctx context.Context, signalStrength telephony.SignalStrength) error
- func (p *BatteryStatsProxy) NotePhoneState(ctx context.Context, phoneState int32) error
- func (p *BatteryStatsProxy) NoteResetAudio(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteResetCamera(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteResetFlashlight(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteResetVideo(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteScreenBrightness(ctx context.Context, brightness int32) error
- func (p *BatteryStatsProxy) NoteScreenState(ctx context.Context, state int32) error
- func (p *BatteryStatsProxy) NoteStartAudio(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStartCamera(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStartSensor(ctx context.Context, uid int32, sensor int32) error
- func (p *BatteryStatsProxy) NoteStartVideo(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStartWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, ...) error
- func (p *BatteryStatsProxy) NoteStartWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, ...) error
- func (p *BatteryStatsProxy) NoteStopAudio(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStopCamera(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStopSensor(ctx context.Context, uid int32, sensor int32) error
- func (p *BatteryStatsProxy) NoteStopVideo(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteStopWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, ...) error
- func (p *BatteryStatsProxy) NoteStopWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, ...) error
- func (p *BatteryStatsProxy) NoteSyncFinish(ctx context.Context, name string, uid int32) error
- func (p *BatteryStatsProxy) NoteSyncStart(ctx context.Context, name string, uid int32) error
- func (p *BatteryStatsProxy) NoteUserActivity(ctx context.Context, uid int32, event int32) error
- func (p *BatteryStatsProxy) NoteVibratorOff(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteVibratorOn(ctx context.Context, uid int32, durationMillis int64) error
- func (p *BatteryStatsProxy) NoteWakeUp(ctx context.Context, reason string, reasonUid int32) error
- func (p *BatteryStatsProxy) NoteWakeupSensorEvent(ctx context.Context, elapsedNanos int64, uid int32, handle int32) error
- func (p *BatteryStatsProxy) NoteWifiBatchedScanStartedFromSource(ctx context.Context, ws os.WorkSource, csph int32) error
- func (p *BatteryStatsProxy) NoteWifiBatchedScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiControllerActivity(ctx context.Context, info connectivity.WifiActivityEnergyInfo) error
- func (p *BatteryStatsProxy) NoteWifiMulticastDisabled(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteWifiMulticastEnabled(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteWifiOff(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteWifiOn(ctx context.Context) error
- func (p *BatteryStatsProxy) NoteWifiRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
- func (p *BatteryStatsProxy) NoteWifiRssiChanged(ctx context.Context, newRssi int32) error
- func (p *BatteryStatsProxy) NoteWifiRunning(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiRunningChanged(ctx context.Context, oldWs os.WorkSource, newWs os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiScanStarted(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteWifiScanStartedFromSource(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiScanStopped(ctx context.Context, uid int32) error
- func (p *BatteryStatsProxy) NoteWifiScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiState(ctx context.Context, wifiState int32, accessPoint string) error
- func (p *BatteryStatsProxy) NoteWifiStopped(ctx context.Context, ws os.WorkSource) error
- func (p *BatteryStatsProxy) NoteWifiSupplicantStateChanged(ctx context.Context, supplState int32, failedAuth bool) error
- func (p *BatteryStatsProxy) ResetBattery(ctx context.Context, forceUpdate bool) error
- func (p *BatteryStatsProxy) SetBatteryLevel(ctx context.Context, level int32, forceUpdate bool) error
- func (p *BatteryStatsProxy) SetBatteryState(ctx context.Context, status int32, health int32, plugType int32, level int32, ...) error
- func (p *BatteryStatsProxy) SetChargerAcOnline(ctx context.Context, online bool, forceUpdate bool) error
- func (p *BatteryStatsProxy) SetChargingStateUpdateDelayMillis(ctx context.Context, delay int32) (bool, error)
- func (p *BatteryStatsProxy) SuspendBatteryInput(ctx context.Context) error
- func (p *BatteryStatsProxy) TakeUidSnapshot(ctx context.Context, uid int32) (osHealth.HealthStatsParceler, error)
- func (p *BatteryStatsProxy) TakeUidSnapshots(ctx context.Context, uid []int32) ([]osHealth.HealthStatsParceler, error)
- func (p *BatteryStatsProxy) UnplugBattery(ctx context.Context, forceUpdate bool) error
- type BatteryStatsStub
- type HotwordRecognitionStatusCallbackProxy
- func (p *HotwordRecognitionStatusCallbackProxy) AsBinder() binder.IBinder
- func (p *HotwordRecognitionStatusCallbackProxy) OnGenericSoundTriggerDetected(ctx context.Context, ...) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnHotwordDetectionServiceFailure(ctx context.Context, ...) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetected(ctx context.Context, ...) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetectedFromExternalSource(ctx context.Context, result types.HotwordDetectedResult) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnOpenFile(ctx context.Context, filename string, future infra.AndroidFuture) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnProcessRestarted(ctx context.Context) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnRecognitionPaused(ctx context.Context) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnRecognitionResumed(ctx context.Context) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnRejected(ctx context.Context, result types.HotwordRejectedResult) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnSoundTriggerFailure(ctx context.Context, soundTriggerFailure types.SoundTriggerFailure) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnStatusReported(ctx context.Context, status int32) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnUnknownFailure(ctx context.Context, errorMessage string) error
- func (p *HotwordRecognitionStatusCallbackProxy) OnVisualQueryDetectionServiceFailure(ctx context.Context, ...) error
- type HotwordRecognitionStatusCallbackStub
- type IAppOpsActiveCallback
- type IAppOpsActiveCallbackServer
- type IAppOpsAsyncNotedCallback
- type IAppOpsAsyncNotedCallbackServer
- type IAppOpsCallback
- type IAppOpsCallbackServer
- type IAppOpsNotedCallback
- type IAppOpsNotedCallbackServer
- type IAppOpsService
- type IAppOpsServiceServer
- type IAppOpsStartedCallback
- type IAppOpsStartedCallbackServer
- type IBatteryStats
- type IBatteryStatsServer
- type IHotwordRecognitionStatusCallback
- type IHotwordRecognitionStatusCallbackServer
- type ILogAccessDialogCallback
- type ILogAccessDialogCallbackServer
- type IMediaContainerService
- type IMediaContainerServiceServer
- type ISoundTriggerService
- type ISoundTriggerServiceServer
- type ISoundTriggerSession
- type ISoundTriggerSessionServer
- type IVisualQueryDetectionAttentionListener
- type IVisualQueryDetectionAttentionListenerServer
- type IVisualQueryRecognitionStatusListener
- type IVisualQueryRecognitionStatusListenerServer
- type IVoiceActionCheckCallback
- type IVoiceActionCheckCallbackServer
- type IVoiceInteractionAccessibilitySettingsListener
- type IVoiceInteractionAccessibilitySettingsListenerServer
- type IVoiceInteractionManagerService
- type IVoiceInteractionManagerServiceServer
- type IVoiceInteractionSessionListener
- type IVoiceInteractionSessionListenerServer
- type IVoiceInteractionSessionShowCallback
- type IVoiceInteractionSessionShowCallbackServer
- type IVoiceInteractionSoundTriggerSession
- type IVoiceInteractionSoundTriggerSessionServer
- type IVoiceInteractor
- type IVoiceInteractorCallback
- type IVoiceInteractorCallbackServer
- type IVoiceInteractorRequest
- type IVoiceInteractorRequestServer
- type IVoiceInteractorServer
- type LogAccessDialogCallbackProxy
- func (p *LogAccessDialogCallbackProxy) ApproveAccessForClient(ctx context.Context, uid int32, packageName string) error
- func (p *LogAccessDialogCallbackProxy) AsBinder() binder.IBinder
- func (p *LogAccessDialogCallbackProxy) DeclineAccessForClient(ctx context.Context, uid int32, packageName string) error
- type LogAccessDialogCallbackStub
- type MediaContainerServiceProxy
- func (p *MediaContainerServiceProxy) AsBinder() binder.IBinder
- func (p *MediaContainerServiceProxy) CalculateInstalledSize(ctx context.Context, packagePath string, abiOverride string) (int64, error)
- func (p *MediaContainerServiceProxy) CopyPackage(ctx context.Context, packagePath string, ...) (int32, error)
- func (p *MediaContainerServiceProxy) GetMinimalPackageInfo(ctx context.Context, packagePath string, flags int32, abiOverride string) (types.PackageInfoLite, error)
- func (p *MediaContainerServiceProxy) GetObbInfo(ctx context.Context, filename string) (res.ObbInfo, error)
- type MediaContainerServiceStub
- type MessageSamplingConfig
- type SoundTriggerServiceProxy
- func (p *SoundTriggerServiceProxy) AsBinder() binder.IBinder
- func (p *SoundTriggerServiceProxy) AttachAsMiddleman(ctx context.Context, middlemanIdentity permission.Identity, ...) (ISoundTriggerSession, error)
- func (p *SoundTriggerServiceProxy) AttachAsOriginator(ctx context.Context, originatorIdentity permission.Identity, ...) (ISoundTriggerSession, error)
- func (p *SoundTriggerServiceProxy) AttachInjection(ctx context.Context, injection soundtrigger_middleware.ISoundTriggerInjection) error
- func (p *SoundTriggerServiceProxy) ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
- func (p *SoundTriggerServiceProxy) SetInPhoneCallState(ctx context.Context, isInPhoneCall bool) error
- type SoundTriggerServiceStub
- type SoundTriggerSessionProxy
- func (p *SoundTriggerSessionProxy) AsBinder() binder.IBinder
- func (p *SoundTriggerSessionProxy) DeleteSoundModel(ctx context.Context, soundModelId os.ParcelUuid) error
- func (p *SoundTriggerSessionProxy) GetModelState(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
- func (p *SoundTriggerSessionProxy) GetModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
- func (p *SoundTriggerSessionProxy) GetParameter(ctx context.Context, soundModelId os.ParcelUuid, ...) (int32, error)
- func (p *SoundTriggerSessionProxy) GetSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (soundtrigger.SoundTriggerGenericSoundModel, error)
- func (p *SoundTriggerSessionProxy) IsRecognitionActive(ctx context.Context, parcelUuid os.ParcelUuid) (bool, error)
- func (p *SoundTriggerSessionProxy) LoadGenericSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) (int32, error)
- func (p *SoundTriggerSessionProxy) LoadKeyphraseSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
- func (p *SoundTriggerSessionProxy) QueryParameter(ctx context.Context, soundModelId os.ParcelUuid, ...) (soundtrigger.SoundTriggerModelParamRange, error)
- func (p *SoundTriggerSessionProxy) SetParameter(ctx context.Context, soundModelId os.ParcelUuid, ...) (int32, error)
- func (p *SoundTriggerSessionProxy) StartRecognition(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, ...) (int32, error)
- func (p *SoundTriggerSessionProxy) StartRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid, params os.Bundle, ...) (int32, error)
- func (p *SoundTriggerSessionProxy) StopRecognition(ctx context.Context, soundModelId os.ParcelUuid, ...) (int32, error)
- func (p *SoundTriggerSessionProxy) StopRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
- func (p *SoundTriggerSessionProxy) UnloadSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
- func (p *SoundTriggerSessionProxy) UpdateSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) error
- type SoundTriggerSessionStub
- type VisualQueryDetectionAttentionListenerProxy
- func (p *VisualQueryDetectionAttentionListenerProxy) AsBinder() binder.IBinder
- func (p *VisualQueryDetectionAttentionListenerProxy) OnAttentionGained(ctx context.Context, attentionResult types.VisualQueryAttentionResult) error
- func (p *VisualQueryDetectionAttentionListenerProxy) OnAttentionLost(ctx context.Context, interactionIntention int32) error
- type VisualQueryDetectionAttentionListenerStub
- type VisualQueryRecognitionStatusListenerProxy
- type VisualQueryRecognitionStatusListenerStub
- type VoiceActionCheckCallbackProxy
- type VoiceActionCheckCallbackStub
- type VoiceInteractionAccessibilitySettingsListenerProxy
- type VoiceInteractionAccessibilitySettingsListenerStub
- type VoiceInteractionManagerServiceProxy
- func (p *VoiceInteractionManagerServiceProxy) ActiveServiceSupportsAssist(ctx context.Context) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) ActiveServiceSupportsLaunchFromKeyguard(ctx context.Context) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) AsBinder() binder.IBinder
- func (p *VoiceInteractionManagerServiceProxy) CloseSystemDialogs(ctx context.Context, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) CreateSoundTriggerSessionAsOriginator(ctx context.Context, originatorIdentity permission.Identity, ...) (IVoiceInteractionSoundTriggerSession, error)
- func (p *VoiceInteractionManagerServiceProxy) DeleteKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) DeliverNewSession(ctx context.Context, token binder.IBinder, ...) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) DestroyDetector(ctx context.Context, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) DisableVisualQueryDetection(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) EnableVisualQueryDetection(ctx context.Context, Listener IVisualQueryDetectionAttentionListener) error
- func (p *VoiceInteractionManagerServiceProxy) Finish(ctx context.Context, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) GetAccessibilityDetectionEnabled(ctx context.Context) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) GetActiveServiceComponentName(ctx context.Context) (content.ComponentName, error)
- func (p *VoiceInteractionManagerServiceProxy) GetActiveServiceSupportedActions(ctx context.Context, voiceActions []string, callback IVoiceActionCheckCallback) error
- func (p *VoiceInteractionManagerServiceProxy) GetDisabledShowContext(ctx context.Context) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) GetEnrolledKeyphraseMetadata(ctx context.Context, keyphrase string, bcp47Locale string) (soundtrigger.KeyphraseMetadata, error)
- func (p *VoiceInteractionManagerServiceProxy) GetKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (soundtrigger.SoundTriggerKeyphraseSoundModel, error)
- func (p *VoiceInteractionManagerServiceProxy) GetUserDisabledShowContext(ctx context.Context) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) HideCurrentSession(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) HideSessionFromSession(ctx context.Context, token binder.IBinder) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) InitAndVerifyDetector(ctx context.Context, originatorIdentity permission.Identity, ...) error
- func (p *VoiceInteractionManagerServiceProxy) IsEnrolledForKeyphrase(ctx context.Context, keyphraseId int32, bcp47Locale string) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) IsSessionRunning(ctx context.Context) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) LaunchVoiceAssistFromKeyguard(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
- func (p *VoiceInteractionManagerServiceProxy) NotifyActivityEventChanged(ctx context.Context, activityToken binder.IBinder, type_ int32) error
- func (p *VoiceInteractionManagerServiceProxy) OnLockscreenShown(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) PerformDirectAction(ctx context.Context, token binder.IBinder, actionId string, ...) error
- func (p *VoiceInteractionManagerServiceProxy) RegisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
- func (p *VoiceInteractionManagerServiceProxy) RegisterVoiceInteractionSessionListener(ctx context.Context, listener IVoiceInteractionSessionListener) error
- func (p *VoiceInteractionManagerServiceProxy) RequestDirectActions(ctx context.Context, token binder.IBinder, taskId int32, ...) error
- func (p *VoiceInteractionManagerServiceProxy) SetDisabled(ctx context.Context, disabled bool) error
- func (p *VoiceInteractionManagerServiceProxy) SetDisabledShowContext(ctx context.Context, flags int32) error
- func (p *VoiceInteractionManagerServiceProxy) SetKeepAwake(ctx context.Context, token binder.IBinder, keepAwake bool) error
- func (p *VoiceInteractionManagerServiceProxy) SetModelDatabaseForTestEnabled(ctx context.Context, enabled bool, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) SetSessionWindowVisible(ctx context.Context, token binder.IBinder, visible bool) error
- func (p *VoiceInteractionManagerServiceProxy) SetUiHints(ctx context.Context, hints os.Bundle) error
- func (p *VoiceInteractionManagerServiceProxy) ShowSession(ctx context.Context, sessionArgs os.Bundle, flags int32) error
- func (p *VoiceInteractionManagerServiceProxy) ShowSessionForActiveService(ctx context.Context, args os.Bundle, sourceFlags int32, ...) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) ShowSessionFromSession(ctx context.Context, token binder.IBinder, sessionArgs os.Bundle, flags int32) (bool, error)
- func (p *VoiceInteractionManagerServiceProxy) ShutdownHotwordDetectionService(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) StartAssistantActivity(ctx context.Context, token binder.IBinder, intent content.Intent, ...) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) StartListeningFromExternalSource(ctx context.Context, audioStream int32, audioFormat media.AudioFormat, ...) error
- func (p *VoiceInteractionManagerServiceProxy) StartListeningFromMic(ctx context.Context, audioFormat media.AudioFormat, ...) error
- func (p *VoiceInteractionManagerServiceProxy) StartListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) StartPerceiving(ctx context.Context, ...) error
- func (p *VoiceInteractionManagerServiceProxy) StartVoiceActivity(ctx context.Context, token binder.IBinder, intent content.Intent, ...) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) StopListeningFromMic(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) StopListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
- func (p *VoiceInteractionManagerServiceProxy) StopPerceiving(ctx context.Context) error
- func (p *VoiceInteractionManagerServiceProxy) SubscribeVisualQueryRecognitionStatus(ctx context.Context, listener IVisualQueryRecognitionStatusListener) error
- func (p *VoiceInteractionManagerServiceProxy) TriggerHardwareRecognitionEventForTest(ctx context.Context, event soundtrigger.SoundTriggerKeyphraseRecognitionEvent, ...) error
- func (p *VoiceInteractionManagerServiceProxy) UnregisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
- func (p *VoiceInteractionManagerServiceProxy) UpdateKeyphraseSoundModel(ctx context.Context, model soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
- func (p *VoiceInteractionManagerServiceProxy) UpdateState(ctx context.Context, options os.PersistableBundle, ...) error
- type VoiceInteractionManagerServiceStub
- type VoiceInteractionSessionListenerProxy
- func (p *VoiceInteractionSessionListenerProxy) AsBinder() binder.IBinder
- func (p *VoiceInteractionSessionListenerProxy) OnSetUiHints(ctx context.Context, args os.Bundle) error
- func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionHidden(ctx context.Context) error
- func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionShown(ctx context.Context) error
- func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionWindowVisibilityChanged(ctx context.Context, visible bool) error
- type VoiceInteractionSessionListenerStub
- type VoiceInteractionSessionShowCallbackProxy
- type VoiceInteractionSessionShowCallbackStub
- type VoiceInteractionSoundTriggerSessionProxy
- func (p *VoiceInteractionSoundTriggerSessionProxy) AsBinder() binder.IBinder
- func (p *VoiceInteractionSoundTriggerSessionProxy) Detach(ctx context.Context) error
- func (p *VoiceInteractionSoundTriggerSessionProxy) GetDspModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
- func (p *VoiceInteractionSoundTriggerSessionProxy) GetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (int32, error)
- func (p *VoiceInteractionSoundTriggerSessionProxy) QueryParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (soundtrigger.SoundTriggerModelParamRange, error)
- func (p *VoiceInteractionSoundTriggerSessionProxy) SetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, ...) (int32, error)
- func (p *VoiceInteractionSoundTriggerSessionProxy) StartRecognition(ctx context.Context, keyphraseId int32, bcp47Locale string, ...) (int32, error)
- func (p *VoiceInteractionSoundTriggerSessionProxy) StopRecognition(ctx context.Context, keyphraseId int32, ...) (int32, error)
- type VoiceInteractionSoundTriggerSessionStub
- type VoiceInteractorCallbackProxy
- func (p *VoiceInteractorCallbackProxy) AsBinder() binder.IBinder
- func (p *VoiceInteractorCallbackProxy) DeliverAbortVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
- func (p *VoiceInteractorCallbackProxy) DeliverCancel(ctx context.Context, request IVoiceInteractorRequest) error
- func (p *VoiceInteractorCallbackProxy) DeliverCommandResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, ...) error
- func (p *VoiceInteractorCallbackProxy) DeliverCompleteVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
- func (p *VoiceInteractorCallbackProxy) DeliverConfirmationResult(ctx context.Context, request IVoiceInteractorRequest, confirmed bool, ...) error
- func (p *VoiceInteractorCallbackProxy) DeliverPickOptionResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, ...) error
- func (p *VoiceInteractorCallbackProxy) Destroy(ctx context.Context) error
- type VoiceInteractorCallbackStub
- type VoiceInteractorProxy
- func (p *VoiceInteractorProxy) AsBinder() binder.IBinder
- func (p *VoiceInteractorProxy) NotifyDirectActionsChanged(ctx context.Context, taskId int32, assistToken binder.IBinder) error
- func (p *VoiceInteractorProxy) SetKillCallback(ctx context.Context, callback os.ICancellationSignal) error
- func (p *VoiceInteractorProxy) StartAbortVoice(ctx context.Context, callback IVoiceInteractorCallback, ...) (IVoiceInteractorRequest, error)
- func (p *VoiceInteractorProxy) StartCommand(ctx context.Context, callback IVoiceInteractorCallback, command string, ...) (IVoiceInteractorRequest, error)
- func (p *VoiceInteractorProxy) StartCompleteVoice(ctx context.Context, callback IVoiceInteractorCallback, ...) (IVoiceInteractorRequest, error)
- func (p *VoiceInteractorProxy) StartConfirmation(ctx context.Context, callback IVoiceInteractorCallback, ...) (IVoiceInteractorRequest, error)
- func (p *VoiceInteractorProxy) StartPickOption(ctx context.Context, callback IVoiceInteractorCallback, ...) (IVoiceInteractorRequest, error)
- func (p *VoiceInteractorProxy) SupportsCommands(ctx context.Context, commands []string) ([]bool, error)
- type VoiceInteractorRequestProxy
- type VoiceInteractorRequestStub
- type VoiceInteractorStub
Constants ¶
const ( TransactionIAppOpsServiceCheckOperation = binder.FirstCallTransaction + 0 TransactionIAppOpsServiceNoteOperation = binder.FirstCallTransaction + 1 TransactionIAppOpsServiceStartOperation = binder.FirstCallTransaction + 2 TransactionIAppOpsServiceFinishOperation = binder.FirstCallTransaction + 3 TransactionIAppOpsServiceStartWatchingMode = binder.FirstCallTransaction + 4 TransactionIAppOpsServiceStopWatchingMode = binder.FirstCallTransaction + 5 TransactionIAppOpsServicePermissionToOpCode = binder.FirstCallTransaction + 6 TransactionIAppOpsServiceCheckAudioOperation = binder.FirstCallTransaction + 7 TransactionIAppOpsServiceShouldCollectNotes = binder.FirstCallTransaction + 8 TransactionIAppOpsServiceSetCameraAudioRestriction = binder.FirstCallTransaction + 9 TransactionIAppOpsServiceStartWatchingModeWithFlags = binder.FirstCallTransaction + 10 TransactionIAppOpsServiceNoteProxyOperation = binder.FirstCallTransaction + 11 TransactionIAppOpsServiceStartProxyOperation = binder.FirstCallTransaction + 12 TransactionIAppOpsServiceFinishProxyOperation = binder.FirstCallTransaction + 13 TransactionIAppOpsServiceCheckPackage = binder.FirstCallTransaction + 14 TransactionIAppOpsServiceCollectRuntimeAppOpAccessMessage = binder.FirstCallTransaction + 15 TransactionIAppOpsServiceReportRuntimeAppOpAccessMessageAndGetConfig = binder.FirstCallTransaction + 16 TransactionIAppOpsServiceGetPackagesForOps = binder.FirstCallTransaction + 17 TransactionIAppOpsServiceGetOpsForPackage = binder.FirstCallTransaction + 18 TransactionIAppOpsServiceGetHistoricalOps = binder.FirstCallTransaction + 19 TransactionIAppOpsServiceGetHistoricalOpsFromDiskRaw = binder.FirstCallTransaction + 20 TransactionIAppOpsServiceOffsetHistory = binder.FirstCallTransaction + 21 TransactionIAppOpsServiceSetHistoryParameters = binder.FirstCallTransaction + 22 TransactionIAppOpsServiceAddHistoricalOps = binder.FirstCallTransaction + 23 TransactionIAppOpsServiceResetHistoryParameters = binder.FirstCallTransaction + 24 TransactionIAppOpsServiceResetPackageOpsNoHistory = binder.FirstCallTransaction + 25 TransactionIAppOpsServiceClearHistory = binder.FirstCallTransaction + 26 TransactionIAppOpsServiceRebootHistory = binder.FirstCallTransaction + 27 TransactionIAppOpsServiceGetUidOps = binder.FirstCallTransaction + 28 TransactionIAppOpsServiceSetUidMode = binder.FirstCallTransaction + 29 TransactionIAppOpsServiceSetMode = binder.FirstCallTransaction + 30 TransactionIAppOpsServiceResetAllModes = binder.FirstCallTransaction + 31 TransactionIAppOpsServiceSetAudioRestriction = binder.FirstCallTransaction + 32 TransactionIAppOpsServiceSetUserRestrictions = binder.FirstCallTransaction + 33 TransactionIAppOpsServiceSetUserRestriction = binder.FirstCallTransaction + 34 TransactionIAppOpsServiceRemoveUser = binder.FirstCallTransaction + 35 TransactionIAppOpsServiceStartWatchingActive = binder.FirstCallTransaction + 36 TransactionIAppOpsServiceStopWatchingActive = binder.FirstCallTransaction + 37 TransactionIAppOpsServiceIsOperationActive = binder.FirstCallTransaction + 38 TransactionIAppOpsServiceIsProxying = binder.FirstCallTransaction + 39 TransactionIAppOpsServiceStartWatchingStarted = binder.FirstCallTransaction + 40 TransactionIAppOpsServiceStopWatchingStarted = binder.FirstCallTransaction + 41 TransactionIAppOpsServiceStartWatchingNoted = binder.FirstCallTransaction + 42 TransactionIAppOpsServiceStopWatchingNoted = binder.FirstCallTransaction + 43 TransactionIAppOpsServiceStartWatchingAsyncNoted = binder.FirstCallTransaction + 44 TransactionIAppOpsServiceStopWatchingAsyncNoted = binder.FirstCallTransaction + 45 TransactionIAppOpsServiceExtractAsyncOps = binder.FirstCallTransaction + 46 TransactionIAppOpsServiceCheckOperationRaw = binder.FirstCallTransaction + 47 TransactionIAppOpsServiceReloadNonHistoricalState = binder.FirstCallTransaction + 48 TransactionIAppOpsServiceCollectNoteOpCallsForValidation = binder.FirstCallTransaction + 49 TransactionIAppOpsServiceNoteProxyOperationWithState = binder.FirstCallTransaction + 50 TransactionIAppOpsServiceStartProxyOperationWithState = binder.FirstCallTransaction + 51 TransactionIAppOpsServiceFinishProxyOperationWithState = binder.FirstCallTransaction + 52 TransactionIAppOpsServiceCheckOperationRawForDevice = binder.FirstCallTransaction + 53 TransactionIAppOpsServiceCheckOperationForDevice = binder.FirstCallTransaction + 54 TransactionIAppOpsServiceNoteOperationForDevice = binder.FirstCallTransaction + 55 TransactionIAppOpsServiceStartOperationForDevice = binder.FirstCallTransaction + 56 TransactionIAppOpsServiceFinishOperationForDevice = binder.FirstCallTransaction + 57 TransactionIAppOpsServiceGetPackagesForOpsForDevice = binder.FirstCallTransaction + 58 )
const ( MethodIAppOpsServiceCheckOperation = "checkOperation" MethodIAppOpsServiceNoteOperation = "noteOperation" MethodIAppOpsServiceStartOperation = "startOperation" MethodIAppOpsServiceFinishOperation = "finishOperation" MethodIAppOpsServiceStartWatchingMode = "startWatchingMode" MethodIAppOpsServiceStopWatchingMode = "stopWatchingMode" MethodIAppOpsServicePermissionToOpCode = "permissionToOpCode" MethodIAppOpsServiceCheckAudioOperation = "checkAudioOperation" MethodIAppOpsServiceShouldCollectNotes = "shouldCollectNotes" MethodIAppOpsServiceSetCameraAudioRestriction = "setCameraAudioRestriction" MethodIAppOpsServiceStartWatchingModeWithFlags = "startWatchingModeWithFlags" MethodIAppOpsServiceNoteProxyOperation = "noteProxyOperation" MethodIAppOpsServiceStartProxyOperation = "startProxyOperation" MethodIAppOpsServiceFinishProxyOperation = "finishProxyOperation" MethodIAppOpsServiceCheckPackage = "checkPackage" MethodIAppOpsServiceCollectRuntimeAppOpAccessMessage = "collectRuntimeAppOpAccessMessage" MethodIAppOpsServiceReportRuntimeAppOpAccessMessageAndGetConfig = "reportRuntimeAppOpAccessMessageAndGetConfig" MethodIAppOpsServiceGetPackagesForOps = "getPackagesForOps" MethodIAppOpsServiceGetOpsForPackage = "getOpsForPackage" MethodIAppOpsServiceGetHistoricalOps = "getHistoricalOps" MethodIAppOpsServiceGetHistoricalOpsFromDiskRaw = "getHistoricalOpsFromDiskRaw" MethodIAppOpsServiceOffsetHistory = "offsetHistory" MethodIAppOpsServiceSetHistoryParameters = "setHistoryParameters" MethodIAppOpsServiceAddHistoricalOps = "addHistoricalOps" MethodIAppOpsServiceResetHistoryParameters = "resetHistoryParameters" MethodIAppOpsServiceResetPackageOpsNoHistory = "resetPackageOpsNoHistory" MethodIAppOpsServiceClearHistory = "clearHistory" MethodIAppOpsServiceRebootHistory = "rebootHistory" MethodIAppOpsServiceGetUidOps = "getUidOps" MethodIAppOpsServiceSetUidMode = "setUidMode" MethodIAppOpsServiceSetMode = "setMode" MethodIAppOpsServiceResetAllModes = "resetAllModes" MethodIAppOpsServiceSetAudioRestriction = "setAudioRestriction" MethodIAppOpsServiceSetUserRestrictions = "setUserRestrictions" MethodIAppOpsServiceSetUserRestriction = "setUserRestriction" MethodIAppOpsServiceRemoveUser = "removeUser" MethodIAppOpsServiceStartWatchingActive = "startWatchingActive" MethodIAppOpsServiceStopWatchingActive = "stopWatchingActive" MethodIAppOpsServiceIsOperationActive = "isOperationActive" MethodIAppOpsServiceIsProxying = "isProxying" MethodIAppOpsServiceStartWatchingStarted = "startWatchingStarted" MethodIAppOpsServiceStopWatchingStarted = "stopWatchingStarted" MethodIAppOpsServiceStartWatchingNoted = "startWatchingNoted" MethodIAppOpsServiceStopWatchingNoted = "stopWatchingNoted" MethodIAppOpsServiceStartWatchingAsyncNoted = "startWatchingAsyncNoted" MethodIAppOpsServiceStopWatchingAsyncNoted = "stopWatchingAsyncNoted" MethodIAppOpsServiceExtractAsyncOps = "extractAsyncOps" MethodIAppOpsServiceCheckOperationRaw = "checkOperationRaw" MethodIAppOpsServiceReloadNonHistoricalState = "reloadNonHistoricalState" MethodIAppOpsServiceCollectNoteOpCallsForValidation = "collectNoteOpCallsForValidation" MethodIAppOpsServiceNoteProxyOperationWithState = "noteProxyOperationWithState" MethodIAppOpsServiceStartProxyOperationWithState = "startProxyOperationWithState" MethodIAppOpsServiceFinishProxyOperationWithState = "finishProxyOperationWithState" MethodIAppOpsServiceCheckOperationRawForDevice = "checkOperationRawForDevice" MethodIAppOpsServiceCheckOperationForDevice = "checkOperationForDevice" MethodIAppOpsServiceNoteOperationForDevice = "noteOperationForDevice" MethodIAppOpsServiceStartOperationForDevice = "startOperationForDevice" MethodIAppOpsServiceFinishOperationForDevice = "finishOperationForDevice" MethodIAppOpsServiceGetPackagesForOpsForDevice = "getPackagesForOpsForDevice" )
const ( TransactionIBatteryStatsNoteStartSensor = binder.FirstCallTransaction + 0 TransactionIBatteryStatsNoteStopSensor = binder.FirstCallTransaction + 1 TransactionIBatteryStatsNoteStartVideo = binder.FirstCallTransaction + 2 TransactionIBatteryStatsNoteStopVideo = binder.FirstCallTransaction + 3 TransactionIBatteryStatsNoteStartAudio = binder.FirstCallTransaction + 4 TransactionIBatteryStatsNoteStopAudio = binder.FirstCallTransaction + 5 TransactionIBatteryStatsNoteResetVideo = binder.FirstCallTransaction + 6 TransactionIBatteryStatsNoteResetAudio = binder.FirstCallTransaction + 7 TransactionIBatteryStatsNoteFlashlightOn = binder.FirstCallTransaction + 8 TransactionIBatteryStatsNoteFlashlightOff = binder.FirstCallTransaction + 9 TransactionIBatteryStatsNoteStartCamera = binder.FirstCallTransaction + 10 TransactionIBatteryStatsNoteStopCamera = binder.FirstCallTransaction + 11 TransactionIBatteryStatsNoteResetCamera = binder.FirstCallTransaction + 12 TransactionIBatteryStatsNoteResetFlashlight = binder.FirstCallTransaction + 13 TransactionIBatteryStatsNoteWakeupSensorEvent = binder.FirstCallTransaction + 14 TransactionIBatteryStatsGetBatteryUsageStats = binder.FirstCallTransaction + 15 TransactionIBatteryStatsIsCharging = binder.FirstCallTransaction + 16 TransactionIBatteryStatsComputeBatteryTimeRemaining = binder.FirstCallTransaction + 17 TransactionIBatteryStatsComputeChargeTimeRemaining = binder.FirstCallTransaction + 18 TransactionIBatteryStatsComputeBatteryScreenOffRealtimeMs = binder.FirstCallTransaction + 19 TransactionIBatteryStatsGetScreenOffDischargeMah = binder.FirstCallTransaction + 20 TransactionIBatteryStatsNoteEvent = binder.FirstCallTransaction + 21 TransactionIBatteryStatsNoteSyncStart = binder.FirstCallTransaction + 22 TransactionIBatteryStatsNoteSyncFinish = binder.FirstCallTransaction + 23 TransactionIBatteryStatsNoteJobStart = binder.FirstCallTransaction + 24 TransactionIBatteryStatsNoteJobFinish = binder.FirstCallTransaction + 25 TransactionIBatteryStatsNoteStartWakelock = binder.FirstCallTransaction + 26 TransactionIBatteryStatsNoteStopWakelock = binder.FirstCallTransaction + 27 TransactionIBatteryStatsNoteStartWakelockFromSource = binder.FirstCallTransaction + 28 TransactionIBatteryStatsNoteChangeWakelockFromSource = binder.FirstCallTransaction + 29 TransactionIBatteryStatsNoteStopWakelockFromSource = binder.FirstCallTransaction + 30 TransactionIBatteryStatsNoteLongPartialWakelockStart = binder.FirstCallTransaction + 31 TransactionIBatteryStatsNoteLongPartialWakelockStartFromSource = binder.FirstCallTransaction + 32 TransactionIBatteryStatsNoteLongPartialWakelockFinish = binder.FirstCallTransaction + 33 TransactionIBatteryStatsNoteLongPartialWakelockFinishFromSource = binder.FirstCallTransaction + 34 TransactionIBatteryStatsNoteVibratorOn = binder.FirstCallTransaction + 35 TransactionIBatteryStatsNoteVibratorOff = binder.FirstCallTransaction + 36 TransactionIBatteryStatsNoteGpsChanged = binder.FirstCallTransaction + 37 TransactionIBatteryStatsNoteGpsSignalQuality = binder.FirstCallTransaction + 38 TransactionIBatteryStatsNoteScreenState = binder.FirstCallTransaction + 39 TransactionIBatteryStatsNoteScreenBrightness = binder.FirstCallTransaction + 40 TransactionIBatteryStatsNoteUserActivity = binder.FirstCallTransaction + 41 TransactionIBatteryStatsNoteWakeUp = binder.FirstCallTransaction + 42 TransactionIBatteryStatsNoteInteractive = binder.FirstCallTransaction + 43 TransactionIBatteryStatsNoteConnectivityChanged = binder.FirstCallTransaction + 44 TransactionIBatteryStatsNoteMobileRadioPowerState = binder.FirstCallTransaction + 45 TransactionIBatteryStatsNotePhoneOn = binder.FirstCallTransaction + 46 TransactionIBatteryStatsNotePhoneOff = binder.FirstCallTransaction + 47 TransactionIBatteryStatsNotePhoneSignalStrength = binder.FirstCallTransaction + 48 TransactionIBatteryStatsNotePhoneDataConnectionState = binder.FirstCallTransaction + 49 TransactionIBatteryStatsNotePhoneState = binder.FirstCallTransaction + 50 TransactionIBatteryStatsNoteWifiOn = binder.FirstCallTransaction + 51 TransactionIBatteryStatsNoteWifiOff = binder.FirstCallTransaction + 52 TransactionIBatteryStatsNoteWifiRunning = binder.FirstCallTransaction + 53 TransactionIBatteryStatsNoteWifiRunningChanged = binder.FirstCallTransaction + 54 TransactionIBatteryStatsNoteWifiStopped = binder.FirstCallTransaction + 55 TransactionIBatteryStatsNoteWifiState = binder.FirstCallTransaction + 56 TransactionIBatteryStatsNoteWifiSupplicantStateChanged = binder.FirstCallTransaction + 57 TransactionIBatteryStatsNoteWifiRssiChanged = binder.FirstCallTransaction + 58 TransactionIBatteryStatsNoteFullWifiLockAcquired = binder.FirstCallTransaction + 59 TransactionIBatteryStatsNoteFullWifiLockReleased = binder.FirstCallTransaction + 60 TransactionIBatteryStatsNoteWifiScanStarted = binder.FirstCallTransaction + 61 TransactionIBatteryStatsNoteWifiScanStopped = binder.FirstCallTransaction + 62 TransactionIBatteryStatsNoteWifiMulticastEnabled = binder.FirstCallTransaction + 63 TransactionIBatteryStatsNoteWifiMulticastDisabled = binder.FirstCallTransaction + 64 TransactionIBatteryStatsNoteFullWifiLockAcquiredFromSource = binder.FirstCallTransaction + 65 TransactionIBatteryStatsNoteFullWifiLockReleasedFromSource = binder.FirstCallTransaction + 66 TransactionIBatteryStatsNoteWifiScanStartedFromSource = binder.FirstCallTransaction + 67 TransactionIBatteryStatsNoteWifiScanStoppedFromSource = binder.FirstCallTransaction + 68 TransactionIBatteryStatsNoteWifiBatchedScanStartedFromSource = binder.FirstCallTransaction + 69 TransactionIBatteryStatsNoteWifiBatchedScanStoppedFromSource = binder.FirstCallTransaction + 70 TransactionIBatteryStatsNoteWifiRadioPowerState = binder.FirstCallTransaction + 71 TransactionIBatteryStatsNoteNetworkInterfaceForTransports = binder.FirstCallTransaction + 72 TransactionIBatteryStatsNoteNetworkStatsEnabled = binder.FirstCallTransaction + 73 TransactionIBatteryStatsNoteDeviceIdleMode = binder.FirstCallTransaction + 74 TransactionIBatteryStatsSetBatteryState = binder.FirstCallTransaction + 75 TransactionIBatteryStatsGetAwakeTimeBattery = binder.FirstCallTransaction + 76 TransactionIBatteryStatsGetAwakeTimePlugged = binder.FirstCallTransaction + 77 TransactionIBatteryStatsNoteBleScanStarted = binder.FirstCallTransaction + 78 TransactionIBatteryStatsNoteBleScanStopped = binder.FirstCallTransaction + 79 TransactionIBatteryStatsNoteBleScanReset = binder.FirstCallTransaction + 80 TransactionIBatteryStatsNoteBleScanResults = binder.FirstCallTransaction + 81 TransactionIBatteryStatsGetCellularBatteryStats = binder.FirstCallTransaction + 82 TransactionIBatteryStatsGetWifiBatteryStats = binder.FirstCallTransaction + 83 TransactionIBatteryStatsGetGpsBatteryStats = binder.FirstCallTransaction + 84 TransactionIBatteryStatsGetWakeLockStats = binder.FirstCallTransaction + 85 TransactionIBatteryStatsGetBluetoothBatteryStats = binder.FirstCallTransaction + 86 TransactionIBatteryStatsTakeUidSnapshot = binder.FirstCallTransaction + 87 TransactionIBatteryStatsTakeUidSnapshots = binder.FirstCallTransaction + 88 TransactionIBatteryStatsNoteBluetoothControllerActivity = binder.FirstCallTransaction + 89 TransactionIBatteryStatsNoteModemControllerActivity = binder.FirstCallTransaction + 90 TransactionIBatteryStatsNoteWifiControllerActivity = binder.FirstCallTransaction + 91 TransactionIBatteryStatsSetChargingStateUpdateDelayMillis = binder.FirstCallTransaction + 92 TransactionIBatteryStatsSetChargerAcOnline = binder.FirstCallTransaction + 93 TransactionIBatteryStatsSetBatteryLevel = binder.FirstCallTransaction + 94 TransactionIBatteryStatsUnplugBattery = binder.FirstCallTransaction + 95 TransactionIBatteryStatsResetBattery = binder.FirstCallTransaction + 96 TransactionIBatteryStatsSuspendBatteryInput = binder.FirstCallTransaction + 97 )
const ( MethodIBatteryStatsNoteStartSensor = "noteStartSensor" MethodIBatteryStatsNoteStopSensor = "noteStopSensor" MethodIBatteryStatsNoteStartVideo = "noteStartVideo" MethodIBatteryStatsNoteStopVideo = "noteStopVideo" MethodIBatteryStatsNoteStartAudio = "noteStartAudio" MethodIBatteryStatsNoteStopAudio = "noteStopAudio" MethodIBatteryStatsNoteResetVideo = "noteResetVideo" MethodIBatteryStatsNoteResetAudio = "noteResetAudio" MethodIBatteryStatsNoteFlashlightOn = "noteFlashlightOn" MethodIBatteryStatsNoteFlashlightOff = "noteFlashlightOff" MethodIBatteryStatsNoteStartCamera = "noteStartCamera" MethodIBatteryStatsNoteStopCamera = "noteStopCamera" MethodIBatteryStatsNoteResetCamera = "noteResetCamera" MethodIBatteryStatsNoteResetFlashlight = "noteResetFlashlight" MethodIBatteryStatsNoteWakeupSensorEvent = "noteWakeupSensorEvent" MethodIBatteryStatsGetBatteryUsageStats = "getBatteryUsageStats" MethodIBatteryStatsIsCharging = "isCharging" MethodIBatteryStatsComputeBatteryTimeRemaining = "computeBatteryTimeRemaining" MethodIBatteryStatsComputeChargeTimeRemaining = "computeChargeTimeRemaining" MethodIBatteryStatsComputeBatteryScreenOffRealtimeMs = "computeBatteryScreenOffRealtimeMs" MethodIBatteryStatsGetScreenOffDischargeMah = "getScreenOffDischargeMah" MethodIBatteryStatsNoteEvent = "noteEvent" MethodIBatteryStatsNoteSyncStart = "noteSyncStart" MethodIBatteryStatsNoteSyncFinish = "noteSyncFinish" MethodIBatteryStatsNoteJobStart = "noteJobStart" MethodIBatteryStatsNoteJobFinish = "noteJobFinish" MethodIBatteryStatsNoteStartWakelock = "noteStartWakelock" MethodIBatteryStatsNoteStopWakelock = "noteStopWakelock" MethodIBatteryStatsNoteStartWakelockFromSource = "noteStartWakelockFromSource" MethodIBatteryStatsNoteChangeWakelockFromSource = "noteChangeWakelockFromSource" MethodIBatteryStatsNoteStopWakelockFromSource = "noteStopWakelockFromSource" MethodIBatteryStatsNoteLongPartialWakelockStart = "noteLongPartialWakelockStart" MethodIBatteryStatsNoteLongPartialWakelockStartFromSource = "noteLongPartialWakelockStartFromSource" MethodIBatteryStatsNoteLongPartialWakelockFinish = "noteLongPartialWakelockFinish" MethodIBatteryStatsNoteLongPartialWakelockFinishFromSource = "noteLongPartialWakelockFinishFromSource" MethodIBatteryStatsNoteVibratorOn = "noteVibratorOn" MethodIBatteryStatsNoteVibratorOff = "noteVibratorOff" MethodIBatteryStatsNoteGpsChanged = "noteGpsChanged" MethodIBatteryStatsNoteGpsSignalQuality = "noteGpsSignalQuality" MethodIBatteryStatsNoteScreenState = "noteScreenState" MethodIBatteryStatsNoteScreenBrightness = "noteScreenBrightness" MethodIBatteryStatsNoteUserActivity = "noteUserActivity" MethodIBatteryStatsNoteWakeUp = "noteWakeUp" MethodIBatteryStatsNoteInteractive = "noteInteractive" MethodIBatteryStatsNoteConnectivityChanged = "noteConnectivityChanged" MethodIBatteryStatsNoteMobileRadioPowerState = "noteMobileRadioPowerState" MethodIBatteryStatsNotePhoneOn = "notePhoneOn" MethodIBatteryStatsNotePhoneOff = "notePhoneOff" MethodIBatteryStatsNotePhoneSignalStrength = "notePhoneSignalStrength" MethodIBatteryStatsNotePhoneDataConnectionState = "notePhoneDataConnectionState" MethodIBatteryStatsNotePhoneState = "notePhoneState" MethodIBatteryStatsNoteWifiOn = "noteWifiOn" MethodIBatteryStatsNoteWifiOff = "noteWifiOff" MethodIBatteryStatsNoteWifiRunning = "noteWifiRunning" MethodIBatteryStatsNoteWifiRunningChanged = "noteWifiRunningChanged" MethodIBatteryStatsNoteWifiStopped = "noteWifiStopped" MethodIBatteryStatsNoteWifiState = "noteWifiState" MethodIBatteryStatsNoteWifiSupplicantStateChanged = "noteWifiSupplicantStateChanged" MethodIBatteryStatsNoteWifiRssiChanged = "noteWifiRssiChanged" MethodIBatteryStatsNoteFullWifiLockAcquired = "noteFullWifiLockAcquired" MethodIBatteryStatsNoteFullWifiLockReleased = "noteFullWifiLockReleased" MethodIBatteryStatsNoteWifiScanStarted = "noteWifiScanStarted" MethodIBatteryStatsNoteWifiScanStopped = "noteWifiScanStopped" MethodIBatteryStatsNoteWifiMulticastEnabled = "noteWifiMulticastEnabled" MethodIBatteryStatsNoteWifiMulticastDisabled = "noteWifiMulticastDisabled" MethodIBatteryStatsNoteFullWifiLockAcquiredFromSource = "noteFullWifiLockAcquiredFromSource" MethodIBatteryStatsNoteFullWifiLockReleasedFromSource = "noteFullWifiLockReleasedFromSource" MethodIBatteryStatsNoteWifiScanStartedFromSource = "noteWifiScanStartedFromSource" MethodIBatteryStatsNoteWifiScanStoppedFromSource = "noteWifiScanStoppedFromSource" MethodIBatteryStatsNoteWifiBatchedScanStartedFromSource = "noteWifiBatchedScanStartedFromSource" MethodIBatteryStatsNoteWifiBatchedScanStoppedFromSource = "noteWifiBatchedScanStoppedFromSource" MethodIBatteryStatsNoteWifiRadioPowerState = "noteWifiRadioPowerState" MethodIBatteryStatsNoteNetworkInterfaceForTransports = "noteNetworkInterfaceForTransports" MethodIBatteryStatsNoteNetworkStatsEnabled = "noteNetworkStatsEnabled" MethodIBatteryStatsNoteDeviceIdleMode = "noteDeviceIdleMode" MethodIBatteryStatsSetBatteryState = "setBatteryState" MethodIBatteryStatsGetAwakeTimeBattery = "getAwakeTimeBattery" MethodIBatteryStatsGetAwakeTimePlugged = "getAwakeTimePlugged" MethodIBatteryStatsNoteBleScanStarted = "noteBleScanStarted" MethodIBatteryStatsNoteBleScanStopped = "noteBleScanStopped" MethodIBatteryStatsNoteBleScanReset = "noteBleScanReset" MethodIBatteryStatsNoteBleScanResults = "noteBleScanResults" MethodIBatteryStatsGetCellularBatteryStats = "getCellularBatteryStats" MethodIBatteryStatsGetWifiBatteryStats = "getWifiBatteryStats" MethodIBatteryStatsGetGpsBatteryStats = "getGpsBatteryStats" MethodIBatteryStatsGetWakeLockStats = "getWakeLockStats" MethodIBatteryStatsGetBluetoothBatteryStats = "getBluetoothBatteryStats" MethodIBatteryStatsTakeUidSnapshot = "takeUidSnapshot" MethodIBatteryStatsTakeUidSnapshots = "takeUidSnapshots" MethodIBatteryStatsNoteBluetoothControllerActivity = "noteBluetoothControllerActivity" MethodIBatteryStatsNoteModemControllerActivity = "noteModemControllerActivity" MethodIBatteryStatsNoteWifiControllerActivity = "noteWifiControllerActivity" MethodIBatteryStatsSetChargingStateUpdateDelayMillis = "setChargingStateUpdateDelayMillis" MethodIBatteryStatsSetChargerAcOnline = "setChargerAcOnline" MethodIBatteryStatsSetBatteryLevel = "setBatteryLevel" MethodIBatteryStatsUnplugBattery = "unplugBattery" MethodIBatteryStatsResetBattery = "resetBattery" MethodIBatteryStatsSuspendBatteryInput = "suspendBatteryInput" )
const ( TransactionIHotwordRecognitionStatusCallbackOnKeyphraseDetected = binder.FirstCallTransaction + 0 TransactionIHotwordRecognitionStatusCallbackOnKeyphraseDetectedFromExternalSource = binder.FirstCallTransaction + 1 TransactionIHotwordRecognitionStatusCallbackOnGenericSoundTriggerDetected = binder.FirstCallTransaction + 2 TransactionIHotwordRecognitionStatusCallbackOnRejected = binder.FirstCallTransaction + 3 TransactionIHotwordRecognitionStatusCallbackOnHotwordDetectionServiceFailure = binder.FirstCallTransaction + 4 TransactionIHotwordRecognitionStatusCallbackOnVisualQueryDetectionServiceFailure = binder.FirstCallTransaction + 5 TransactionIHotwordRecognitionStatusCallbackOnSoundTriggerFailure = binder.FirstCallTransaction + 6 TransactionIHotwordRecognitionStatusCallbackOnUnknownFailure = binder.FirstCallTransaction + 7 TransactionIHotwordRecognitionStatusCallbackOnRecognitionPaused = binder.FirstCallTransaction + 8 TransactionIHotwordRecognitionStatusCallbackOnRecognitionResumed = binder.FirstCallTransaction + 9 TransactionIHotwordRecognitionStatusCallbackOnStatusReported = binder.FirstCallTransaction + 10 TransactionIHotwordRecognitionStatusCallbackOnProcessRestarted = binder.FirstCallTransaction + 11 TransactionIHotwordRecognitionStatusCallbackOnOpenFile = binder.FirstCallTransaction + 12 )
const ( MethodIHotwordRecognitionStatusCallbackOnKeyphraseDetected = "onKeyphraseDetected" MethodIHotwordRecognitionStatusCallbackOnKeyphraseDetectedFromExternalSource = "onKeyphraseDetectedFromExternalSource" MethodIHotwordRecognitionStatusCallbackOnGenericSoundTriggerDetected = "onGenericSoundTriggerDetected" MethodIHotwordRecognitionStatusCallbackOnRejected = "onRejected" MethodIHotwordRecognitionStatusCallbackOnHotwordDetectionServiceFailure = "onHotwordDetectionServiceFailure" MethodIHotwordRecognitionStatusCallbackOnVisualQueryDetectionServiceFailure = "onVisualQueryDetectionServiceFailure" MethodIHotwordRecognitionStatusCallbackOnSoundTriggerFailure = "onSoundTriggerFailure" MethodIHotwordRecognitionStatusCallbackOnUnknownFailure = "onUnknownFailure" MethodIHotwordRecognitionStatusCallbackOnRecognitionPaused = "onRecognitionPaused" MethodIHotwordRecognitionStatusCallbackOnRecognitionResumed = "onRecognitionResumed" MethodIHotwordRecognitionStatusCallbackOnStatusReported = "onStatusReported" MethodIHotwordRecognitionStatusCallbackOnProcessRestarted = "onProcessRestarted" MethodIHotwordRecognitionStatusCallbackOnOpenFile = "onOpenFile" )
const ( TransactionILogAccessDialogCallbackApproveAccessForClient = binder.FirstCallTransaction + 0 TransactionILogAccessDialogCallbackDeclineAccessForClient = binder.FirstCallTransaction + 1 )
const ( MethodILogAccessDialogCallbackApproveAccessForClient = "approveAccessForClient" MethodILogAccessDialogCallbackDeclineAccessForClient = "declineAccessForClient" )
const ( TransactionIMediaContainerServiceCopyPackage = binder.FirstCallTransaction + 0 TransactionIMediaContainerServiceGetMinimalPackageInfo = binder.FirstCallTransaction + 1 TransactionIMediaContainerServiceGetObbInfo = binder.FirstCallTransaction + 2 TransactionIMediaContainerServiceCalculateInstalledSize = binder.FirstCallTransaction + 3 )
const ( MethodIMediaContainerServiceCopyPackage = "copyPackage" MethodIMediaContainerServiceGetMinimalPackageInfo = "getMinimalPackageInfo" MethodIMediaContainerServiceGetObbInfo = "getObbInfo" MethodIMediaContainerServiceCalculateInstalledSize = "calculateInstalledSize" )
const ( TransactionISoundTriggerServiceAttachAsOriginator = binder.FirstCallTransaction + 0 TransactionISoundTriggerServiceAttachAsMiddleman = binder.FirstCallTransaction + 1 TransactionISoundTriggerServiceListModuleProperties = binder.FirstCallTransaction + 2 TransactionISoundTriggerServiceAttachInjection = binder.FirstCallTransaction + 3 TransactionISoundTriggerServiceSetInPhoneCallState = binder.FirstCallTransaction + 4 )
const ( MethodISoundTriggerServiceAttachAsOriginator = "attachAsOriginator" MethodISoundTriggerServiceAttachAsMiddleman = "attachAsMiddleman" MethodISoundTriggerServiceListModuleProperties = "listModuleProperties" MethodISoundTriggerServiceAttachInjection = "attachInjection" MethodISoundTriggerServiceSetInPhoneCallState = "setInPhoneCallState" )
const ( TransactionISoundTriggerSessionGetSoundModel = binder.FirstCallTransaction + 0 TransactionISoundTriggerSessionUpdateSoundModel = binder.FirstCallTransaction + 1 TransactionISoundTriggerSessionDeleteSoundModel = binder.FirstCallTransaction + 2 TransactionISoundTriggerSessionStartRecognition = binder.FirstCallTransaction + 3 TransactionISoundTriggerSessionStopRecognition = binder.FirstCallTransaction + 4 TransactionISoundTriggerSessionLoadGenericSoundModel = binder.FirstCallTransaction + 5 TransactionISoundTriggerSessionLoadKeyphraseSoundModel = binder.FirstCallTransaction + 6 TransactionISoundTriggerSessionStartRecognitionForService = binder.FirstCallTransaction + 7 TransactionISoundTriggerSessionStopRecognitionForService = binder.FirstCallTransaction + 8 TransactionISoundTriggerSessionUnloadSoundModel = binder.FirstCallTransaction + 9 TransactionISoundTriggerSessionIsRecognitionActive = binder.FirstCallTransaction + 10 TransactionISoundTriggerSessionGetModelState = binder.FirstCallTransaction + 11 TransactionISoundTriggerSessionGetModuleProperties = binder.FirstCallTransaction + 12 TransactionISoundTriggerSessionSetParameter = binder.FirstCallTransaction + 13 TransactionISoundTriggerSessionGetParameter = binder.FirstCallTransaction + 14 TransactionISoundTriggerSessionQueryParameter = binder.FirstCallTransaction + 15 )
const ( MethodISoundTriggerSessionGetSoundModel = "getSoundModel" MethodISoundTriggerSessionUpdateSoundModel = "updateSoundModel" MethodISoundTriggerSessionDeleteSoundModel = "deleteSoundModel" MethodISoundTriggerSessionStartRecognition = "startRecognition" MethodISoundTriggerSessionStopRecognition = "stopRecognition" MethodISoundTriggerSessionLoadGenericSoundModel = "loadGenericSoundModel" MethodISoundTriggerSessionLoadKeyphraseSoundModel = "loadKeyphraseSoundModel" MethodISoundTriggerSessionStartRecognitionForService = "startRecognitionForService" MethodISoundTriggerSessionStopRecognitionForService = "stopRecognitionForService" MethodISoundTriggerSessionUnloadSoundModel = "unloadSoundModel" MethodISoundTriggerSessionIsRecognitionActive = "isRecognitionActive" MethodISoundTriggerSessionGetModelState = "getModelState" MethodISoundTriggerSessionGetModuleProperties = "getModuleProperties" MethodISoundTriggerSessionSetParameter = "setParameter" MethodISoundTriggerSessionGetParameter = "getParameter" MethodISoundTriggerSessionQueryParameter = "queryParameter" )
const ( TransactionIVisualQueryDetectionAttentionListenerOnAttentionGained = binder.FirstCallTransaction + 0 TransactionIVisualQueryDetectionAttentionListenerOnAttentionLost = binder.FirstCallTransaction + 1 )
const ( MethodIVisualQueryDetectionAttentionListenerOnAttentionGained = "onAttentionGained" MethodIVisualQueryDetectionAttentionListenerOnAttentionLost = "onAttentionLost" )
const ( TransactionIVisualQueryRecognitionStatusListenerOnStartPerceiving = binder.FirstCallTransaction + 0 TransactionIVisualQueryRecognitionStatusListenerOnStopPerceiving = binder.FirstCallTransaction + 1 )
const ( MethodIVisualQueryRecognitionStatusListenerOnStartPerceiving = "onStartPerceiving" MethodIVisualQueryRecognitionStatusListenerOnStopPerceiving = "onStopPerceiving" )
const ( TransactionIVoiceInteractionManagerServiceShowSession = binder.FirstCallTransaction + 0 TransactionIVoiceInteractionManagerServiceDeliverNewSession = binder.FirstCallTransaction + 1 TransactionIVoiceInteractionManagerServiceShowSessionFromSession = binder.FirstCallTransaction + 2 TransactionIVoiceInteractionManagerServiceHideSessionFromSession = binder.FirstCallTransaction + 3 TransactionIVoiceInteractionManagerServiceStartVoiceActivity = binder.FirstCallTransaction + 4 TransactionIVoiceInteractionManagerServiceStartAssistantActivity = binder.FirstCallTransaction + 5 TransactionIVoiceInteractionManagerServiceSetKeepAwake = binder.FirstCallTransaction + 6 TransactionIVoiceInteractionManagerServiceCloseSystemDialogs = binder.FirstCallTransaction + 7 TransactionIVoiceInteractionManagerServiceFinish = binder.FirstCallTransaction + 8 TransactionIVoiceInteractionManagerServiceSetDisabledShowContext = binder.FirstCallTransaction + 9 TransactionIVoiceInteractionManagerServiceGetDisabledShowContext = binder.FirstCallTransaction + 10 TransactionIVoiceInteractionManagerServiceGetUserDisabledShowContext = binder.FirstCallTransaction + 11 TransactionIVoiceInteractionManagerServiceGetKeyphraseSoundModel = binder.FirstCallTransaction + 12 TransactionIVoiceInteractionManagerServiceUpdateKeyphraseSoundModel = binder.FirstCallTransaction + 13 TransactionIVoiceInteractionManagerServiceDeleteKeyphraseSoundModel = binder.FirstCallTransaction + 14 TransactionIVoiceInteractionManagerServiceSetModelDatabaseForTestEnabled = binder.FirstCallTransaction + 15 TransactionIVoiceInteractionManagerServiceIsEnrolledForKeyphrase = binder.FirstCallTransaction + 16 TransactionIVoiceInteractionManagerServiceGetEnrolledKeyphraseMetadata = binder.FirstCallTransaction + 17 TransactionIVoiceInteractionManagerServiceGetActiveServiceComponentName = binder.FirstCallTransaction + 18 TransactionIVoiceInteractionManagerServiceShowSessionForActiveService = binder.FirstCallTransaction + 19 TransactionIVoiceInteractionManagerServiceHideCurrentSession = binder.FirstCallTransaction + 20 TransactionIVoiceInteractionManagerServiceLaunchVoiceAssistFromKeyguard = binder.FirstCallTransaction + 21 TransactionIVoiceInteractionManagerServiceIsSessionRunning = binder.FirstCallTransaction + 22 TransactionIVoiceInteractionManagerServiceActiveServiceSupportsAssist = binder.FirstCallTransaction + 23 TransactionIVoiceInteractionManagerServiceActiveServiceSupportsLaunchFromKeyguard = binder.FirstCallTransaction + 24 TransactionIVoiceInteractionManagerServiceOnLockscreenShown = binder.FirstCallTransaction + 25 TransactionIVoiceInteractionManagerServiceRegisterVoiceInteractionSessionListener = binder.FirstCallTransaction + 26 TransactionIVoiceInteractionManagerServiceGetActiveServiceSupportedActions = binder.FirstCallTransaction + 27 TransactionIVoiceInteractionManagerServiceSetUiHints = binder.FirstCallTransaction + 28 TransactionIVoiceInteractionManagerServiceRequestDirectActions = binder.FirstCallTransaction + 29 TransactionIVoiceInteractionManagerServicePerformDirectAction = binder.FirstCallTransaction + 30 TransactionIVoiceInteractionManagerServiceSetDisabled = binder.FirstCallTransaction + 31 TransactionIVoiceInteractionManagerServiceCreateSoundTriggerSessionAsOriginator = binder.FirstCallTransaction + 32 TransactionIVoiceInteractionManagerServiceListModuleProperties = binder.FirstCallTransaction + 33 TransactionIVoiceInteractionManagerServiceUpdateState = binder.FirstCallTransaction + 34 TransactionIVoiceInteractionManagerServiceInitAndVerifyDetector = binder.FirstCallTransaction + 35 TransactionIVoiceInteractionManagerServiceDestroyDetector = binder.FirstCallTransaction + 36 TransactionIVoiceInteractionManagerServiceShutdownHotwordDetectionService = binder.FirstCallTransaction + 37 TransactionIVoiceInteractionManagerServiceSubscribeVisualQueryRecognitionStatus = binder.FirstCallTransaction + 38 TransactionIVoiceInteractionManagerServiceEnableVisualQueryDetection = binder.FirstCallTransaction + 39 TransactionIVoiceInteractionManagerServiceDisableVisualQueryDetection = binder.FirstCallTransaction + 40 TransactionIVoiceInteractionManagerServiceStartPerceiving = binder.FirstCallTransaction + 41 TransactionIVoiceInteractionManagerServiceStopPerceiving = binder.FirstCallTransaction + 42 TransactionIVoiceInteractionManagerServiceStartListeningFromMic = binder.FirstCallTransaction + 43 TransactionIVoiceInteractionManagerServiceStopListeningFromMic = binder.FirstCallTransaction + 44 TransactionIVoiceInteractionManagerServiceStartListeningFromExternalSource = binder.FirstCallTransaction + 45 TransactionIVoiceInteractionManagerServiceTriggerHardwareRecognitionEventForTest = binder.FirstCallTransaction + 46 TransactionIVoiceInteractionManagerServiceStartListeningVisibleActivityChanged = binder.FirstCallTransaction + 47 TransactionIVoiceInteractionManagerServiceStopListeningVisibleActivityChanged = binder.FirstCallTransaction + 48 TransactionIVoiceInteractionManagerServiceSetSessionWindowVisible = binder.FirstCallTransaction + 49 TransactionIVoiceInteractionManagerServiceNotifyActivityEventChanged = binder.FirstCallTransaction + 50 TransactionIVoiceInteractionManagerServiceGetAccessibilityDetectionEnabled = binder.FirstCallTransaction + 51 TransactionIVoiceInteractionManagerServiceRegisterAccessibilityDetectionSettingsListener = binder.FirstCallTransaction + 52 TransactionIVoiceInteractionManagerServiceUnregisterAccessibilityDetectionSettingsListener = binder.FirstCallTransaction + 53 )
const ( MethodIVoiceInteractionManagerServiceShowSession = "showSession" MethodIVoiceInteractionManagerServiceDeliverNewSession = "deliverNewSession" MethodIVoiceInteractionManagerServiceShowSessionFromSession = "showSessionFromSession" MethodIVoiceInteractionManagerServiceHideSessionFromSession = "hideSessionFromSession" MethodIVoiceInteractionManagerServiceStartVoiceActivity = "startVoiceActivity" MethodIVoiceInteractionManagerServiceStartAssistantActivity = "startAssistantActivity" MethodIVoiceInteractionManagerServiceSetKeepAwake = "setKeepAwake" MethodIVoiceInteractionManagerServiceCloseSystemDialogs = "closeSystemDialogs" MethodIVoiceInteractionManagerServiceFinish = "finish" MethodIVoiceInteractionManagerServiceSetDisabledShowContext = "setDisabledShowContext" MethodIVoiceInteractionManagerServiceGetDisabledShowContext = "getDisabledShowContext" MethodIVoiceInteractionManagerServiceGetUserDisabledShowContext = "getUserDisabledShowContext" MethodIVoiceInteractionManagerServiceGetKeyphraseSoundModel = "getKeyphraseSoundModel" MethodIVoiceInteractionManagerServiceUpdateKeyphraseSoundModel = "updateKeyphraseSoundModel" MethodIVoiceInteractionManagerServiceDeleteKeyphraseSoundModel = "deleteKeyphraseSoundModel" MethodIVoiceInteractionManagerServiceSetModelDatabaseForTestEnabled = "setModelDatabaseForTestEnabled" MethodIVoiceInteractionManagerServiceIsEnrolledForKeyphrase = "isEnrolledForKeyphrase" MethodIVoiceInteractionManagerServiceGetEnrolledKeyphraseMetadata = "getEnrolledKeyphraseMetadata" MethodIVoiceInteractionManagerServiceGetActiveServiceComponentName = "getActiveServiceComponentName" MethodIVoiceInteractionManagerServiceShowSessionForActiveService = "showSessionForActiveService" MethodIVoiceInteractionManagerServiceHideCurrentSession = "hideCurrentSession" MethodIVoiceInteractionManagerServiceLaunchVoiceAssistFromKeyguard = "launchVoiceAssistFromKeyguard" MethodIVoiceInteractionManagerServiceIsSessionRunning = "isSessionRunning" MethodIVoiceInteractionManagerServiceActiveServiceSupportsAssist = "activeServiceSupportsAssist" MethodIVoiceInteractionManagerServiceActiveServiceSupportsLaunchFromKeyguard = "activeServiceSupportsLaunchFromKeyguard" MethodIVoiceInteractionManagerServiceOnLockscreenShown = "onLockscreenShown" MethodIVoiceInteractionManagerServiceRegisterVoiceInteractionSessionListener = "registerVoiceInteractionSessionListener" MethodIVoiceInteractionManagerServiceGetActiveServiceSupportedActions = "getActiveServiceSupportedActions" MethodIVoiceInteractionManagerServiceSetUiHints = "setUiHints" MethodIVoiceInteractionManagerServiceRequestDirectActions = "requestDirectActions" MethodIVoiceInteractionManagerServicePerformDirectAction = "performDirectAction" MethodIVoiceInteractionManagerServiceSetDisabled = "setDisabled" MethodIVoiceInteractionManagerServiceCreateSoundTriggerSessionAsOriginator = "createSoundTriggerSessionAsOriginator" MethodIVoiceInteractionManagerServiceListModuleProperties = "listModuleProperties" MethodIVoiceInteractionManagerServiceUpdateState = "updateState" MethodIVoiceInteractionManagerServiceInitAndVerifyDetector = "initAndVerifyDetector" MethodIVoiceInteractionManagerServiceDestroyDetector = "destroyDetector" MethodIVoiceInteractionManagerServiceShutdownHotwordDetectionService = "shutdownHotwordDetectionService" MethodIVoiceInteractionManagerServiceSubscribeVisualQueryRecognitionStatus = "subscribeVisualQueryRecognitionStatus" MethodIVoiceInteractionManagerServiceEnableVisualQueryDetection = "enableVisualQueryDetection" MethodIVoiceInteractionManagerServiceDisableVisualQueryDetection = "disableVisualQueryDetection" MethodIVoiceInteractionManagerServiceStartPerceiving = "startPerceiving" MethodIVoiceInteractionManagerServiceStopPerceiving = "stopPerceiving" MethodIVoiceInteractionManagerServiceStartListeningFromMic = "startListeningFromMic" MethodIVoiceInteractionManagerServiceStopListeningFromMic = "stopListeningFromMic" MethodIVoiceInteractionManagerServiceStartListeningFromExternalSource = "startListeningFromExternalSource" MethodIVoiceInteractionManagerServiceTriggerHardwareRecognitionEventForTest = "triggerHardwareRecognitionEventForTest" MethodIVoiceInteractionManagerServiceStartListeningVisibleActivityChanged = "startListeningVisibleActivityChanged" MethodIVoiceInteractionManagerServiceStopListeningVisibleActivityChanged = "stopListeningVisibleActivityChanged" MethodIVoiceInteractionManagerServiceSetSessionWindowVisible = "setSessionWindowVisible" MethodIVoiceInteractionManagerServiceNotifyActivityEventChanged = "notifyActivityEventChanged" MethodIVoiceInteractionManagerServiceGetAccessibilityDetectionEnabled = "getAccessibilityDetectionEnabled" MethodIVoiceInteractionManagerServiceRegisterAccessibilityDetectionSettingsListener = "registerAccessibilityDetectionSettingsListener" MethodIVoiceInteractionManagerServiceUnregisterAccessibilityDetectionSettingsListener = "unregisterAccessibilityDetectionSettingsListener" )
const ( TransactionIVoiceInteractionSessionListenerOnVoiceSessionShown = binder.FirstCallTransaction + 0 TransactionIVoiceInteractionSessionListenerOnVoiceSessionHidden = binder.FirstCallTransaction + 1 TransactionIVoiceInteractionSessionListenerOnVoiceSessionWindowVisibilityChanged = binder.FirstCallTransaction + 2 TransactionIVoiceInteractionSessionListenerOnSetUiHints = binder.FirstCallTransaction + 3 )
const ( MethodIVoiceInteractionSessionListenerOnVoiceSessionShown = "onVoiceSessionShown" MethodIVoiceInteractionSessionListenerOnVoiceSessionHidden = "onVoiceSessionHidden" MethodIVoiceInteractionSessionListenerOnVoiceSessionWindowVisibilityChanged = "onVoiceSessionWindowVisibilityChanged" MethodIVoiceInteractionSessionListenerOnSetUiHints = "onSetUiHints" )
const ( TransactionIVoiceInteractionSessionShowCallbackOnFailed = binder.FirstCallTransaction + 0 TransactionIVoiceInteractionSessionShowCallbackOnShown = binder.FirstCallTransaction + 1 )
const ( MethodIVoiceInteractionSessionShowCallbackOnFailed = "onFailed" MethodIVoiceInteractionSessionShowCallbackOnShown = "onShown" )
const ( TransactionIVoiceInteractionSoundTriggerSessionGetDspModuleProperties = binder.FirstCallTransaction + 0 TransactionIVoiceInteractionSoundTriggerSessionStartRecognition = binder.FirstCallTransaction + 1 TransactionIVoiceInteractionSoundTriggerSessionStopRecognition = binder.FirstCallTransaction + 2 TransactionIVoiceInteractionSoundTriggerSessionSetParameter = binder.FirstCallTransaction + 3 TransactionIVoiceInteractionSoundTriggerSessionGetParameter = binder.FirstCallTransaction + 4 TransactionIVoiceInteractionSoundTriggerSessionQueryParameter = binder.FirstCallTransaction + 5 TransactionIVoiceInteractionSoundTriggerSessionDetach = binder.FirstCallTransaction + 6 )
const ( MethodIVoiceInteractionSoundTriggerSessionGetDspModuleProperties = "getDspModuleProperties" MethodIVoiceInteractionSoundTriggerSessionStartRecognition = "startRecognition" MethodIVoiceInteractionSoundTriggerSessionStopRecognition = "stopRecognition" MethodIVoiceInteractionSoundTriggerSessionSetParameter = "setParameter" MethodIVoiceInteractionSoundTriggerSessionGetParameter = "getParameter" MethodIVoiceInteractionSoundTriggerSessionQueryParameter = "queryParameter" MethodIVoiceInteractionSoundTriggerSessionDetach = "detach" )
const ( TransactionIVoiceInteractorStartConfirmation = binder.FirstCallTransaction + 0 TransactionIVoiceInteractorStartPickOption = binder.FirstCallTransaction + 1 TransactionIVoiceInteractorStartCompleteVoice = binder.FirstCallTransaction + 2 TransactionIVoiceInteractorStartAbortVoice = binder.FirstCallTransaction + 3 TransactionIVoiceInteractorStartCommand = binder.FirstCallTransaction + 4 TransactionIVoiceInteractorSupportsCommands = binder.FirstCallTransaction + 5 TransactionIVoiceInteractorNotifyDirectActionsChanged = binder.FirstCallTransaction + 6 TransactionIVoiceInteractorSetKillCallback = binder.FirstCallTransaction + 7 )
const ( MethodIVoiceInteractorStartConfirmation = "startConfirmation" MethodIVoiceInteractorStartPickOption = "startPickOption" MethodIVoiceInteractorStartCompleteVoice = "startCompleteVoice" MethodIVoiceInteractorStartAbortVoice = "startAbortVoice" MethodIVoiceInteractorStartCommand = "startCommand" MethodIVoiceInteractorSupportsCommands = "supportsCommands" MethodIVoiceInteractorNotifyDirectActionsChanged = "notifyDirectActionsChanged" MethodIVoiceInteractorSetKillCallback = "setKillCallback" )
const ( TransactionIVoiceInteractorCallbackDeliverConfirmationResult = binder.FirstCallTransaction + 0 TransactionIVoiceInteractorCallbackDeliverPickOptionResult = binder.FirstCallTransaction + 1 TransactionIVoiceInteractorCallbackDeliverCompleteVoiceResult = binder.FirstCallTransaction + 2 TransactionIVoiceInteractorCallbackDeliverAbortVoiceResult = binder.FirstCallTransaction + 3 TransactionIVoiceInteractorCallbackDeliverCommandResult = binder.FirstCallTransaction + 4 TransactionIVoiceInteractorCallbackDeliverCancel = binder.FirstCallTransaction + 5 TransactionIVoiceInteractorCallbackDestroy = binder.FirstCallTransaction + 6 )
const ( MethodIVoiceInteractorCallbackDeliverConfirmationResult = "deliverConfirmationResult" MethodIVoiceInteractorCallbackDeliverPickOptionResult = "deliverPickOptionResult" MethodIVoiceInteractorCallbackDeliverCompleteVoiceResult = "deliverCompleteVoiceResult" MethodIVoiceInteractorCallbackDeliverAbortVoiceResult = "deliverAbortVoiceResult" MethodIVoiceInteractorCallbackDeliverCommandResult = "deliverCommandResult" MethodIVoiceInteractorCallbackDeliverCancel = "deliverCancel" MethodIVoiceInteractorCallbackDestroy = "destroy" )
const DescriptorIAppOpsActiveCallback = "com.android.internal.app.IAppOpsActiveCallback"
const DescriptorIAppOpsAsyncNotedCallback = "com.android.internal.app.IAppOpsAsyncNotedCallback"
const DescriptorIAppOpsCallback = "com.android.internal.app.IAppOpsCallback"
const DescriptorIAppOpsNotedCallback = "com.android.internal.app.IAppOpsNotedCallback"
const DescriptorIAppOpsService = "com.android.internal.app.IAppOpsService"
const DescriptorIAppOpsStartedCallback = "com.android.internal.app.IAppOpsStartedCallback"
const DescriptorIBatteryStats = "com.android.internal.app.IBatteryStats"
const DescriptorIHotwordRecognitionStatusCallback = "com.android.internal.app.IHotwordRecognitionStatusCallback"
const DescriptorILogAccessDialogCallback = "com.android.internal.app.ILogAccessDialogCallback"
const DescriptorIMediaContainerService = "com.android.internal.app.IMediaContainerService"
const DescriptorISoundTriggerService = "com.android.internal.app.ISoundTriggerService"
const DescriptorISoundTriggerSession = "com.android.internal.app.ISoundTriggerSession"
const DescriptorIVisualQueryDetectionAttentionListener = "com.android.internal.app.IVisualQueryDetectionAttentionListener"
const DescriptorIVisualQueryRecognitionStatusListener = "com.android.internal.app.IVisualQueryRecognitionStatusListener"
const DescriptorIVoiceActionCheckCallback = "com.android.internal.app.IVoiceActionCheckCallback"
const DescriptorIVoiceInteractionAccessibilitySettingsListener = "com.android.internal.app.IVoiceInteractionAccessibilitySettingsListener"
const DescriptorIVoiceInteractionManagerService = "com.android.internal.app.IVoiceInteractionManagerService"
const DescriptorIVoiceInteractionSessionListener = "com.android.internal.app.IVoiceInteractionSessionListener"
const DescriptorIVoiceInteractionSessionShowCallback = "com.android.internal.app.IVoiceInteractionSessionShowCallback"
const DescriptorIVoiceInteractionSoundTriggerSession = "com.android.internal.app.IVoiceInteractionSoundTriggerSession"
const DescriptorIVoiceInteractor = "com.android.internal.app.IVoiceInteractor"
const DescriptorIVoiceInteractorCallback = "com.android.internal.app.IVoiceInteractorCallback"
const DescriptorIVoiceInteractorRequest = "com.android.internal.app.IVoiceInteractorRequest"
const (
MethodIAppOpsActiveCallbackOpActiveChanged = "opActiveChanged"
)
const (
MethodIAppOpsAsyncNotedCallbackOpNoted = "opNoted"
)
const (
MethodIAppOpsCallbackOpChanged = "opChanged"
)
const (
MethodIAppOpsNotedCallbackOpNoted = "opNoted"
)
const (
MethodIAppOpsStartedCallbackOpStarted = "opStarted"
)
const (
MethodIVoiceActionCheckCallbackOnComplete = "onComplete"
)
const (
MethodIVoiceInteractionAccessibilitySettingsListenerOnAccessibilityDetectionChanged = "onAccessibilityDetectionChanged"
)
const (
MethodIVoiceInteractorRequestCancel = "cancel"
)
const (
TransactionIAppOpsActiveCallbackOpActiveChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIAppOpsAsyncNotedCallbackOpNoted = binder.FirstCallTransaction + 0
)
const (
TransactionIAppOpsCallbackOpChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIAppOpsNotedCallbackOpNoted = binder.FirstCallTransaction + 0
)
const (
TransactionIAppOpsStartedCallbackOpStarted = binder.FirstCallTransaction + 0
)
const (
TransactionIVoiceActionCheckCallbackOnComplete = binder.FirstCallTransaction + 0
)
const (
TransactionIVoiceInteractionAccessibilitySettingsListenerOnAccessibilityDetectionChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIVoiceInteractorRequestCancel = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppOpsActiveCallbackProxy ¶
func NewAppOpsActiveCallbackProxy ¶
func NewAppOpsActiveCallbackProxy( remote binder.IBinder, ) *AppOpsActiveCallbackProxy
func (*AppOpsActiveCallbackProxy) AsBinder ¶
func (p *AppOpsActiveCallbackProxy) AsBinder() binder.IBinder
type AppOpsActiveCallbackStub ¶
type AppOpsActiveCallbackStub struct {
Impl IAppOpsActiveCallback
Transport binder.VersionAwareTransport
}
AppOpsActiveCallbackStub dispatches incoming binder transactions to a typed IAppOpsActiveCallback implementation.
func (*AppOpsActiveCallbackStub) Descriptor ¶
func (s *AppOpsActiveCallbackStub) Descriptor() string
func (*AppOpsActiveCallbackStub) OnTransaction ¶
func (s *AppOpsActiveCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AppOpsAsyncNotedCallbackProxy ¶
func NewAppOpsAsyncNotedCallbackProxy ¶
func NewAppOpsAsyncNotedCallbackProxy( remote binder.IBinder, ) *AppOpsAsyncNotedCallbackProxy
func (*AppOpsAsyncNotedCallbackProxy) AsBinder ¶
func (p *AppOpsAsyncNotedCallbackProxy) AsBinder() binder.IBinder
func (*AppOpsAsyncNotedCallbackProxy) OpNoted ¶
func (p *AppOpsAsyncNotedCallbackProxy) OpNoted( ctx context.Context, op types.AsyncNotedAppOp, ) error
type AppOpsAsyncNotedCallbackStub ¶
type AppOpsAsyncNotedCallbackStub struct {
Impl IAppOpsAsyncNotedCallback
Transport binder.VersionAwareTransport
}
AppOpsAsyncNotedCallbackStub dispatches incoming binder transactions to a typed IAppOpsAsyncNotedCallback implementation.
func (*AppOpsAsyncNotedCallbackStub) Descriptor ¶
func (s *AppOpsAsyncNotedCallbackStub) Descriptor() string
func (*AppOpsAsyncNotedCallbackStub) OnTransaction ¶
func (s *AppOpsAsyncNotedCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AppOpsCallbackProxy ¶
func NewAppOpsCallbackProxy ¶
func NewAppOpsCallbackProxy( remote binder.IBinder, ) *AppOpsCallbackProxy
func (*AppOpsCallbackProxy) AsBinder ¶
func (p *AppOpsCallbackProxy) AsBinder() binder.IBinder
type AppOpsCallbackStub ¶
type AppOpsCallbackStub struct {
Impl IAppOpsCallback
Transport binder.VersionAwareTransport
}
AppOpsCallbackStub dispatches incoming binder transactions to a typed IAppOpsCallback implementation.
func (*AppOpsCallbackStub) Descriptor ¶
func (s *AppOpsCallbackStub) Descriptor() string
func (*AppOpsCallbackStub) OnTransaction ¶
func (s *AppOpsCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AppOpsNotedCallbackProxy ¶
func NewAppOpsNotedCallbackProxy ¶
func NewAppOpsNotedCallbackProxy( remote binder.IBinder, ) *AppOpsNotedCallbackProxy
func (*AppOpsNotedCallbackProxy) AsBinder ¶
func (p *AppOpsNotedCallbackProxy) AsBinder() binder.IBinder
type AppOpsNotedCallbackStub ¶
type AppOpsNotedCallbackStub struct {
Impl IAppOpsNotedCallback
Transport binder.VersionAwareTransport
}
AppOpsNotedCallbackStub dispatches incoming binder transactions to a typed IAppOpsNotedCallback implementation.
func (*AppOpsNotedCallbackStub) Descriptor ¶
func (s *AppOpsNotedCallbackStub) Descriptor() string
func (*AppOpsNotedCallbackStub) OnTransaction ¶
func (s *AppOpsNotedCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AppOpsServiceProxy ¶
func GetAppOpsService ¶
func GetAppOpsService( ctx context.Context, sm *servicemanager.ServiceManager, ) (*AppOpsServiceProxy, error)
GetAppOpsService retrieves the AppOpsService service and returns a typed proxy.
func NewAppOpsServiceProxy ¶
func NewAppOpsServiceProxy( remote binder.IBinder, ) *AppOpsServiceProxy
func (*AppOpsServiceProxy) AddHistoricalOps ¶
func (p *AppOpsServiceProxy) AddHistoricalOps( ctx context.Context, ops types.AppOpsManagerHistoricalOps, ) error
func (*AppOpsServiceProxy) AsBinder ¶
func (p *AppOpsServiceProxy) AsBinder() binder.IBinder
func (*AppOpsServiceProxy) CheckAudioOperation ¶
func (*AppOpsServiceProxy) CheckOperation ¶
func (*AppOpsServiceProxy) CheckOperationForDevice ¶
func (*AppOpsServiceProxy) CheckOperationRaw ¶
func (*AppOpsServiceProxy) CheckOperationRawForDevice ¶
func (*AppOpsServiceProxy) CheckPackage ¶
func (*AppOpsServiceProxy) ClearHistory ¶
func (p *AppOpsServiceProxy) ClearHistory( ctx context.Context, ) error
func (*AppOpsServiceProxy) CollectNoteOpCallsForValidation ¶
func (*AppOpsServiceProxy) CollectRuntimeAppOpAccessMessage ¶
func (p *AppOpsServiceProxy) CollectRuntimeAppOpAccessMessage( ctx context.Context, ) (types.RuntimeAppOpAccessMessage, error)
func (*AppOpsServiceProxy) ExtractAsyncOps ¶
func (p *AppOpsServiceProxy) ExtractAsyncOps( ctx context.Context, packageName string, ) ([]types.AsyncNotedAppOp, error)
func (*AppOpsServiceProxy) FinishOperation ¶
func (*AppOpsServiceProxy) FinishOperationForDevice ¶
func (*AppOpsServiceProxy) FinishProxyOperation ¶
func (p *AppOpsServiceProxy) FinishProxyOperation( ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, skipProxyOperation bool, ) error
func (*AppOpsServiceProxy) FinishProxyOperationWithState ¶
func (p *AppOpsServiceProxy) FinishProxyOperationWithState( ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, skipProxyOperation bool, ) error
func (*AppOpsServiceProxy) GetHistoricalOps ¶
func (*AppOpsServiceProxy) GetHistoricalOpsFromDiskRaw ¶
func (*AppOpsServiceProxy) GetOpsForPackage ¶
func (p *AppOpsServiceProxy) GetOpsForPackage( ctx context.Context, uid int32, packageName string, ops []int32, ) ([]types.AppOpsManagerPackageOps, error)
func (*AppOpsServiceProxy) GetPackagesForOps ¶
func (p *AppOpsServiceProxy) GetPackagesForOps( ctx context.Context, ops []int32, ) ([]types.AppOpsManagerPackageOps, error)
func (*AppOpsServiceProxy) GetPackagesForOpsForDevice ¶
func (p *AppOpsServiceProxy) GetPackagesForOpsForDevice( ctx context.Context, ops []int32, persistentDeviceId string, ) ([]types.AppOpsManagerPackageOps, error)
func (*AppOpsServiceProxy) GetUidOps ¶
func (p *AppOpsServiceProxy) GetUidOps( ctx context.Context, uid int32, ops []int32, ) ([]types.AppOpsManagerPackageOps, error)
func (*AppOpsServiceProxy) IsOperationActive ¶
func (*AppOpsServiceProxy) IsProxying ¶
func (*AppOpsServiceProxy) NoteOperation ¶
func (*AppOpsServiceProxy) NoteOperationForDevice ¶
func (*AppOpsServiceProxy) NoteProxyOperation ¶
func (p *AppOpsServiceProxy) NoteProxyOperation( ctx context.Context, code int32, attributionSource content.AttributionSource, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) NoteProxyOperationWithState ¶
func (p *AppOpsServiceProxy) NoteProxyOperationWithState( ctx context.Context, code int32, attributionSourceStateState content.AttributionSourceState, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) OffsetHistory ¶
func (p *AppOpsServiceProxy) OffsetHistory( ctx context.Context, duration int64, ) error
func (*AppOpsServiceProxy) PermissionToOpCode ¶
func (*AppOpsServiceProxy) RebootHistory ¶
func (p *AppOpsServiceProxy) RebootHistory( ctx context.Context, offlineDurationMillis int64, ) error
func (*AppOpsServiceProxy) ReloadNonHistoricalState ¶
func (p *AppOpsServiceProxy) ReloadNonHistoricalState( ctx context.Context, ) error
func (*AppOpsServiceProxy) RemoveUser ¶
func (p *AppOpsServiceProxy) RemoveUser( ctx context.Context, ) error
func (*AppOpsServiceProxy) ReportRuntimeAppOpAccessMessageAndGetConfig ¶
func (p *AppOpsServiceProxy) ReportRuntimeAppOpAccessMessageAndGetConfig( ctx context.Context, packageName string, appOp types.SyncNotedAppOp, message string, ) (MessageSamplingConfig, error)
func (*AppOpsServiceProxy) ResetAllModes ¶
func (*AppOpsServiceProxy) ResetHistoryParameters ¶
func (p *AppOpsServiceProxy) ResetHistoryParameters( ctx context.Context, ) error
func (*AppOpsServiceProxy) ResetPackageOpsNoHistory ¶
func (p *AppOpsServiceProxy) ResetPackageOpsNoHistory( ctx context.Context, packageName string, ) error
func (*AppOpsServiceProxy) SetAudioRestriction ¶
func (*AppOpsServiceProxy) SetCameraAudioRestriction ¶
func (p *AppOpsServiceProxy) SetCameraAudioRestriction( ctx context.Context, mode int32, ) error
func (*AppOpsServiceProxy) SetHistoryParameters ¶
func (*AppOpsServiceProxy) SetUidMode ¶
func (*AppOpsServiceProxy) SetUserRestriction ¶
func (p *AppOpsServiceProxy) SetUserRestriction( ctx context.Context, code int32, restricted bool, token binder.IBinder, excludedPackageTags os.PackageTagsList, ) error
func (*AppOpsServiceProxy) SetUserRestrictions ¶
func (*AppOpsServiceProxy) ShouldCollectNotes ¶
func (*AppOpsServiceProxy) StartOperation ¶
func (p *AppOpsServiceProxy) StartOperation( ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) StartOperationForDevice ¶
func (p *AppOpsServiceProxy) StartOperationForDevice( ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, virtualDeviceId int32, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) StartProxyOperation ¶
func (p *AppOpsServiceProxy) StartProxyOperation( ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) StartProxyOperationWithState ¶
func (p *AppOpsServiceProxy) StartProxyOperationWithState( ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32, ) (types.SyncNotedAppOp, error)
func (*AppOpsServiceProxy) StartWatchingActive ¶
func (p *AppOpsServiceProxy) StartWatchingActive( ctx context.Context, ops []int32, callback IAppOpsActiveCallback, ) error
func (*AppOpsServiceProxy) StartWatchingAsyncNoted ¶
func (p *AppOpsServiceProxy) StartWatchingAsyncNoted( ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback, ) error
func (*AppOpsServiceProxy) StartWatchingMode ¶
func (p *AppOpsServiceProxy) StartWatchingMode( ctx context.Context, op int32, packageName string, callback IAppOpsCallback, ) error
func (*AppOpsServiceProxy) StartWatchingModeWithFlags ¶
func (p *AppOpsServiceProxy) StartWatchingModeWithFlags( ctx context.Context, op int32, packageName string, flags int32, callback IAppOpsCallback, ) error
func (*AppOpsServiceProxy) StartWatchingNoted ¶
func (p *AppOpsServiceProxy) StartWatchingNoted( ctx context.Context, ops []int32, callback IAppOpsNotedCallback, ) error
func (*AppOpsServiceProxy) StartWatchingStarted ¶
func (p *AppOpsServiceProxy) StartWatchingStarted( ctx context.Context, ops []int32, callback IAppOpsStartedCallback, ) error
func (*AppOpsServiceProxy) StopWatchingActive ¶
func (p *AppOpsServiceProxy) StopWatchingActive( ctx context.Context, callback IAppOpsActiveCallback, ) error
func (*AppOpsServiceProxy) StopWatchingAsyncNoted ¶
func (p *AppOpsServiceProxy) StopWatchingAsyncNoted( ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback, ) error
func (*AppOpsServiceProxy) StopWatchingMode ¶
func (p *AppOpsServiceProxy) StopWatchingMode( ctx context.Context, callback IAppOpsCallback, ) error
func (*AppOpsServiceProxy) StopWatchingNoted ¶
func (p *AppOpsServiceProxy) StopWatchingNoted( ctx context.Context, callback IAppOpsNotedCallback, ) error
func (*AppOpsServiceProxy) StopWatchingStarted ¶
func (p *AppOpsServiceProxy) StopWatchingStarted( ctx context.Context, callback IAppOpsStartedCallback, ) error
type AppOpsServiceStub ¶
type AppOpsServiceStub struct {
Impl IAppOpsService
Transport binder.VersionAwareTransport
}
AppOpsServiceStub dispatches incoming binder transactions to a typed IAppOpsService implementation.
func (*AppOpsServiceStub) Descriptor ¶
func (s *AppOpsServiceStub) Descriptor() string
func (*AppOpsServiceStub) OnTransaction ¶
func (s *AppOpsServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AppOpsStartedCallbackProxy ¶
func NewAppOpsStartedCallbackProxy ¶
func NewAppOpsStartedCallbackProxy( remote binder.IBinder, ) *AppOpsStartedCallbackProxy
func (*AppOpsStartedCallbackProxy) AsBinder ¶
func (p *AppOpsStartedCallbackProxy) AsBinder() binder.IBinder
type AppOpsStartedCallbackStub ¶
type AppOpsStartedCallbackStub struct {
Impl IAppOpsStartedCallback
Transport binder.VersionAwareTransport
}
AppOpsStartedCallbackStub dispatches incoming binder transactions to a typed IAppOpsStartedCallback implementation.
func (*AppOpsStartedCallbackStub) Descriptor ¶
func (s *AppOpsStartedCallbackStub) Descriptor() string
func (*AppOpsStartedCallbackStub) OnTransaction ¶
func (s *AppOpsStartedCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BatteryStatsProxy ¶
func GetBatteryStats ¶
func GetBatteryStats( ctx context.Context, sm *servicemanager.ServiceManager, ) (*BatteryStatsProxy, error)
GetBatteryStats retrieves the BatteryService service and returns a typed proxy.
func GetBatteryStatsService ¶
func GetBatteryStatsService( ctx context.Context, sm *servicemanager.ServiceManager, ) (*BatteryStatsProxy, error)
GetBatteryStatsService retrieves the BatteryStatsService service and returns a typed proxy.
func GetSystemHealthService ¶
func GetSystemHealthService( ctx context.Context, sm *servicemanager.ServiceManager, ) (*BatteryStatsProxy, error)
GetSystemHealthService retrieves the SystemHealthService service and returns a typed proxy.
func NewBatteryStatsProxy ¶
func NewBatteryStatsProxy( remote binder.IBinder, ) *BatteryStatsProxy
func (*BatteryStatsProxy) AsBinder ¶
func (p *BatteryStatsProxy) AsBinder() binder.IBinder
func (*BatteryStatsProxy) ComputeBatteryScreenOffRealtimeMs ¶
func (p *BatteryStatsProxy) ComputeBatteryScreenOffRealtimeMs( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) ComputeBatteryTimeRemaining ¶
func (p *BatteryStatsProxy) ComputeBatteryTimeRemaining( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) ComputeChargeTimeRemaining ¶
func (p *BatteryStatsProxy) ComputeChargeTimeRemaining( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) GetAwakeTimeBattery ¶
func (p *BatteryStatsProxy) GetAwakeTimeBattery( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) GetAwakeTimePlugged ¶
func (p *BatteryStatsProxy) GetAwakeTimePlugged( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) GetBatteryUsageStats ¶
func (p *BatteryStatsProxy) GetBatteryUsageStats( ctx context.Context, queries []os.BatteryUsageStatsQuery, ) ([]os.BatteryUsageStats, error)
func (*BatteryStatsProxy) GetBluetoothBatteryStats ¶
func (p *BatteryStatsProxy) GetBluetoothBatteryStats( ctx context.Context, ) (os.BluetoothBatteryStats, error)
func (*BatteryStatsProxy) GetCellularBatteryStats ¶
func (p *BatteryStatsProxy) GetCellularBatteryStats( ctx context.Context, ) (connectivity.CellularBatteryStats, error)
func (*BatteryStatsProxy) GetGpsBatteryStats ¶
func (p *BatteryStatsProxy) GetGpsBatteryStats( ctx context.Context, ) (connectivity.GpsBatteryStats, error)
func (*BatteryStatsProxy) GetScreenOffDischargeMah ¶
func (p *BatteryStatsProxy) GetScreenOffDischargeMah( ctx context.Context, ) (int64, error)
func (*BatteryStatsProxy) GetWakeLockStats ¶
func (p *BatteryStatsProxy) GetWakeLockStats( ctx context.Context, ) (os.WakeLockStats, error)
func (*BatteryStatsProxy) GetWifiBatteryStats ¶
func (p *BatteryStatsProxy) GetWifiBatteryStats( ctx context.Context, ) (connectivity.WifiBatteryStats, error)
func (*BatteryStatsProxy) IsCharging ¶
func (p *BatteryStatsProxy) IsCharging( ctx context.Context, ) (bool, error)
func (*BatteryStatsProxy) NoteBleScanReset ¶
func (p *BatteryStatsProxy) NoteBleScanReset( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteBleScanResults ¶
func (p *BatteryStatsProxy) NoteBleScanResults( ctx context.Context, ws os.WorkSource, numNewResults int32, ) error
func (*BatteryStatsProxy) NoteBleScanStarted ¶
func (p *BatteryStatsProxy) NoteBleScanStarted( ctx context.Context, ws os.WorkSource, isUnoptimized bool, ) error
func (*BatteryStatsProxy) NoteBleScanStopped ¶
func (p *BatteryStatsProxy) NoteBleScanStopped( ctx context.Context, ws os.WorkSource, isUnoptimized bool, ) error
func (*BatteryStatsProxy) NoteBluetoothControllerActivity ¶
func (p *BatteryStatsProxy) NoteBluetoothControllerActivity( ctx context.Context, info bluetooth.BluetoothActivityEnergyInfo, ) error
func (*BatteryStatsProxy) NoteChangeWakelockFromSource ¶
func (*BatteryStatsProxy) NoteConnectivityChanged ¶
func (*BatteryStatsProxy) NoteDeviceIdleMode ¶
func (*BatteryStatsProxy) NoteFlashlightOff ¶
func (p *BatteryStatsProxy) NoteFlashlightOff( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteFlashlightOn ¶
func (p *BatteryStatsProxy) NoteFlashlightOn( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteFullWifiLockAcquired ¶
func (p *BatteryStatsProxy) NoteFullWifiLockAcquired( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteFullWifiLockAcquiredFromSource ¶
func (p *BatteryStatsProxy) NoteFullWifiLockAcquiredFromSource( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteFullWifiLockReleased ¶
func (p *BatteryStatsProxy) NoteFullWifiLockReleased( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteFullWifiLockReleasedFromSource ¶
func (p *BatteryStatsProxy) NoteFullWifiLockReleasedFromSource( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteGpsChanged ¶
func (p *BatteryStatsProxy) NoteGpsChanged( ctx context.Context, oldSource os.WorkSource, newSource os.WorkSource, ) error
func (*BatteryStatsProxy) NoteGpsSignalQuality ¶
func (p *BatteryStatsProxy) NoteGpsSignalQuality( ctx context.Context, signalLevel int32, ) error
func (*BatteryStatsProxy) NoteInteractive ¶
func (p *BatteryStatsProxy) NoteInteractive( ctx context.Context, interactive bool, ) error
func (*BatteryStatsProxy) NoteJobFinish ¶
func (*BatteryStatsProxy) NoteJobStart ¶
func (*BatteryStatsProxy) NoteLongPartialWakelockFinish ¶
func (*BatteryStatsProxy) NoteLongPartialWakelockFinishFromSource ¶
func (p *BatteryStatsProxy) NoteLongPartialWakelockFinishFromSource( ctx context.Context, name string, historyName string, workSource os.WorkSource, ) error
func (*BatteryStatsProxy) NoteLongPartialWakelockStart ¶
func (*BatteryStatsProxy) NoteLongPartialWakelockStartFromSource ¶
func (p *BatteryStatsProxy) NoteLongPartialWakelockStartFromSource( ctx context.Context, name string, historyName string, workSource os.WorkSource, ) error
func (*BatteryStatsProxy) NoteMobileRadioPowerState ¶
func (*BatteryStatsProxy) NoteModemControllerActivity ¶
func (p *BatteryStatsProxy) NoteModemControllerActivity( ctx context.Context, info telephony.ModemActivityInfo, ) error
func (*BatteryStatsProxy) NoteNetworkInterfaceForTransports ¶
func (*BatteryStatsProxy) NoteNetworkStatsEnabled ¶
func (p *BatteryStatsProxy) NoteNetworkStatsEnabled( ctx context.Context, ) error
func (*BatteryStatsProxy) NotePhoneDataConnectionState ¶
func (*BatteryStatsProxy) NotePhoneOff ¶
func (p *BatteryStatsProxy) NotePhoneOff( ctx context.Context, ) error
func (*BatteryStatsProxy) NotePhoneOn ¶
func (p *BatteryStatsProxy) NotePhoneOn( ctx context.Context, ) error
func (*BatteryStatsProxy) NotePhoneSignalStrength ¶
func (p *BatteryStatsProxy) NotePhoneSignalStrength( ctx context.Context, signalStrength telephony.SignalStrength, ) error
func (*BatteryStatsProxy) NotePhoneState ¶
func (p *BatteryStatsProxy) NotePhoneState( ctx context.Context, phoneState int32, ) error
func (*BatteryStatsProxy) NoteResetAudio ¶
func (p *BatteryStatsProxy) NoteResetAudio( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteResetCamera ¶
func (p *BatteryStatsProxy) NoteResetCamera( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteResetFlashlight ¶
func (p *BatteryStatsProxy) NoteResetFlashlight( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteResetVideo ¶
func (p *BatteryStatsProxy) NoteResetVideo( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteScreenBrightness ¶
func (p *BatteryStatsProxy) NoteScreenBrightness( ctx context.Context, brightness int32, ) error
func (*BatteryStatsProxy) NoteScreenState ¶
func (p *BatteryStatsProxy) NoteScreenState( ctx context.Context, state int32, ) error
func (*BatteryStatsProxy) NoteStartAudio ¶
func (p *BatteryStatsProxy) NoteStartAudio( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStartCamera ¶
func (p *BatteryStatsProxy) NoteStartCamera( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStartSensor ¶
func (*BatteryStatsProxy) NoteStartVideo ¶
func (p *BatteryStatsProxy) NoteStartVideo( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStartWakelock ¶
func (*BatteryStatsProxy) NoteStartWakelockFromSource ¶
func (*BatteryStatsProxy) NoteStopAudio ¶
func (p *BatteryStatsProxy) NoteStopAudio( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStopCamera ¶
func (p *BatteryStatsProxy) NoteStopCamera( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStopSensor ¶
func (*BatteryStatsProxy) NoteStopVideo ¶
func (p *BatteryStatsProxy) NoteStopVideo( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteStopWakelock ¶
func (*BatteryStatsProxy) NoteStopWakelockFromSource ¶
func (p *BatteryStatsProxy) NoteStopWakelockFromSource( ctx context.Context, ws os.WorkSource, pid int32, name string, historyName string, type_ int32, ) error
func (*BatteryStatsProxy) NoteSyncFinish ¶
func (*BatteryStatsProxy) NoteSyncStart ¶
func (*BatteryStatsProxy) NoteUserActivity ¶
func (*BatteryStatsProxy) NoteVibratorOff ¶
func (p *BatteryStatsProxy) NoteVibratorOff( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteVibratorOn ¶
func (*BatteryStatsProxy) NoteWakeUp ¶
func (*BatteryStatsProxy) NoteWakeupSensorEvent ¶
func (*BatteryStatsProxy) NoteWifiBatchedScanStartedFromSource ¶
func (p *BatteryStatsProxy) NoteWifiBatchedScanStartedFromSource( ctx context.Context, ws os.WorkSource, csph int32, ) error
func (*BatteryStatsProxy) NoteWifiBatchedScanStoppedFromSource ¶
func (p *BatteryStatsProxy) NoteWifiBatchedScanStoppedFromSource( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiControllerActivity ¶
func (p *BatteryStatsProxy) NoteWifiControllerActivity( ctx context.Context, info connectivity.WifiActivityEnergyInfo, ) error
func (*BatteryStatsProxy) NoteWifiMulticastDisabled ¶
func (p *BatteryStatsProxy) NoteWifiMulticastDisabled( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteWifiMulticastEnabled ¶
func (p *BatteryStatsProxy) NoteWifiMulticastEnabled( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteWifiOff ¶
func (p *BatteryStatsProxy) NoteWifiOff( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteWifiOn ¶
func (p *BatteryStatsProxy) NoteWifiOn( ctx context.Context, ) error
func (*BatteryStatsProxy) NoteWifiRadioPowerState ¶
func (*BatteryStatsProxy) NoteWifiRssiChanged ¶
func (p *BatteryStatsProxy) NoteWifiRssiChanged( ctx context.Context, newRssi int32, ) error
func (*BatteryStatsProxy) NoteWifiRunning ¶
func (p *BatteryStatsProxy) NoteWifiRunning( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiRunningChanged ¶
func (p *BatteryStatsProxy) NoteWifiRunningChanged( ctx context.Context, oldWs os.WorkSource, newWs os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiScanStarted ¶
func (p *BatteryStatsProxy) NoteWifiScanStarted( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteWifiScanStartedFromSource ¶
func (p *BatteryStatsProxy) NoteWifiScanStartedFromSource( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiScanStopped ¶
func (p *BatteryStatsProxy) NoteWifiScanStopped( ctx context.Context, uid int32, ) error
func (*BatteryStatsProxy) NoteWifiScanStoppedFromSource ¶
func (p *BatteryStatsProxy) NoteWifiScanStoppedFromSource( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiState ¶
func (*BatteryStatsProxy) NoteWifiStopped ¶
func (p *BatteryStatsProxy) NoteWifiStopped( ctx context.Context, ws os.WorkSource, ) error
func (*BatteryStatsProxy) NoteWifiSupplicantStateChanged ¶
func (*BatteryStatsProxy) ResetBattery ¶
func (p *BatteryStatsProxy) ResetBattery( ctx context.Context, forceUpdate bool, ) error
func (*BatteryStatsProxy) SetBatteryLevel ¶
func (*BatteryStatsProxy) SetBatteryState ¶
func (*BatteryStatsProxy) SetChargerAcOnline ¶
func (*BatteryStatsProxy) SetChargingStateUpdateDelayMillis ¶
func (*BatteryStatsProxy) SuspendBatteryInput ¶
func (p *BatteryStatsProxy) SuspendBatteryInput( ctx context.Context, ) error
func (*BatteryStatsProxy) TakeUidSnapshot ¶
func (p *BatteryStatsProxy) TakeUidSnapshot( ctx context.Context, uid int32, ) (osHealth.HealthStatsParceler, error)
func (*BatteryStatsProxy) TakeUidSnapshots ¶
func (p *BatteryStatsProxy) TakeUidSnapshots( ctx context.Context, uid []int32, ) ([]osHealth.HealthStatsParceler, error)
func (*BatteryStatsProxy) UnplugBattery ¶
func (p *BatteryStatsProxy) UnplugBattery( ctx context.Context, forceUpdate bool, ) error
type BatteryStatsStub ¶
type BatteryStatsStub struct {
Impl IBatteryStats
Transport binder.VersionAwareTransport
}
BatteryStatsStub dispatches incoming binder transactions to a typed IBatteryStats implementation.
func (*BatteryStatsStub) Descriptor ¶
func (s *BatteryStatsStub) Descriptor() string
func (*BatteryStatsStub) OnTransaction ¶
func (s *BatteryStatsStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HotwordRecognitionStatusCallbackProxy ¶
func NewHotwordRecognitionStatusCallbackProxy ¶
func NewHotwordRecognitionStatusCallbackProxy( remote binder.IBinder, ) *HotwordRecognitionStatusCallbackProxy
func (*HotwordRecognitionStatusCallbackProxy) AsBinder ¶
func (p *HotwordRecognitionStatusCallbackProxy) AsBinder() binder.IBinder
func (*HotwordRecognitionStatusCallbackProxy) OnGenericSoundTriggerDetected ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnGenericSoundTriggerDetected( ctx context.Context, recognitionEvent soundtrigger.SoundTriggerGenericRecognitionEvent, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnHotwordDetectionServiceFailure ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnHotwordDetectionServiceFailure( ctx context.Context, hotwordDetectionServiceFailure types.HotwordDetectionServiceFailure, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetected ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetected( ctx context.Context, recognitionEvent soundtrigger.SoundTriggerKeyphraseRecognitionEvent, result types.HotwordDetectedResult, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetectedFromExternalSource ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnKeyphraseDetectedFromExternalSource( ctx context.Context, result types.HotwordDetectedResult, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnOpenFile ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnOpenFile( ctx context.Context, filename string, future infra.AndroidFuture, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnProcessRestarted ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnProcessRestarted( ctx context.Context, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnRecognitionPaused ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnRecognitionPaused( ctx context.Context, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnRecognitionResumed ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnRecognitionResumed( ctx context.Context, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnRejected ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnRejected( ctx context.Context, result types.HotwordRejectedResult, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnSoundTriggerFailure ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnSoundTriggerFailure( ctx context.Context, soundTriggerFailure types.SoundTriggerFailure, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnStatusReported ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnStatusReported( ctx context.Context, status int32, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnUnknownFailure ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnUnknownFailure( ctx context.Context, errorMessage string, ) error
func (*HotwordRecognitionStatusCallbackProxy) OnVisualQueryDetectionServiceFailure ¶
func (p *HotwordRecognitionStatusCallbackProxy) OnVisualQueryDetectionServiceFailure( ctx context.Context, visualQueryDetectionServiceFailure types.VisualQueryDetectionServiceFailure, ) error
type HotwordRecognitionStatusCallbackStub ¶
type HotwordRecognitionStatusCallbackStub struct {
Impl IHotwordRecognitionStatusCallback
Transport binder.VersionAwareTransport
}
HotwordRecognitionStatusCallbackStub dispatches incoming binder transactions to a typed IHotwordRecognitionStatusCallback implementation.
func (*HotwordRecognitionStatusCallbackStub) Descriptor ¶
func (s *HotwordRecognitionStatusCallbackStub) Descriptor() string
func (*HotwordRecognitionStatusCallbackStub) OnTransaction ¶
func (s *HotwordRecognitionStatusCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IAppOpsActiveCallback ¶
type IAppOpsActiveCallback interface {
AsBinder() binder.IBinder
OpActiveChanged(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, active bool, attributionFlags int32, attributionChainId int32) error
}
func NewAppOpsActiveCallbackStub ¶
func NewAppOpsActiveCallbackStub( impl IAppOpsActiveCallbackServer, ) IAppOpsActiveCallback
NewAppOpsActiveCallbackStub creates a server-side IAppOpsActiveCallback wrapping the given server implementation. The returned value satisfies IAppOpsActiveCallback 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 IAppOpsActiveCallbackServer ¶
type IAppOpsActiveCallbackServer interface {
OpActiveChanged(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, active bool, attributionFlags int32, attributionChainId int32) error
}
IAppOpsActiveCallbackServer is the server-side interface that user implementations provide to NewAppOpsActiveCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAppOpsAsyncNotedCallback ¶
type IAppOpsAsyncNotedCallback interface {
AsBinder() binder.IBinder
OpNoted(ctx context.Context, op types.AsyncNotedAppOp) error
}
func NewAppOpsAsyncNotedCallbackStub ¶
func NewAppOpsAsyncNotedCallbackStub( impl IAppOpsAsyncNotedCallbackServer, ) IAppOpsAsyncNotedCallback
NewAppOpsAsyncNotedCallbackStub creates a server-side IAppOpsAsyncNotedCallback wrapping the given server implementation. The returned value satisfies IAppOpsAsyncNotedCallback 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 IAppOpsAsyncNotedCallbackServer ¶
type IAppOpsAsyncNotedCallbackServer interface {
OpNoted(ctx context.Context, op types.AsyncNotedAppOp) error
}
IAppOpsAsyncNotedCallbackServer is the server-side interface that user implementations provide to NewAppOpsAsyncNotedCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAppOpsCallback ¶
type IAppOpsCallback interface {
AsBinder() binder.IBinder
OpChanged(ctx context.Context, op int32, uid int32, packageName string, persistentDeviceId string) error
}
func NewAppOpsCallbackStub ¶
func NewAppOpsCallbackStub( impl IAppOpsCallbackServer, ) IAppOpsCallback
NewAppOpsCallbackStub creates a server-side IAppOpsCallback wrapping the given server implementation. The returned value satisfies IAppOpsCallback 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 IAppOpsCallbackServer ¶
type IAppOpsCallbackServer interface {
OpChanged(ctx context.Context, op int32, uid int32, packageName string, persistentDeviceId string) error
}
IAppOpsCallbackServer is the server-side interface that user implementations provide to NewAppOpsCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAppOpsNotedCallback ¶
type IAppOpsNotedCallback interface {
AsBinder() binder.IBinder
OpNoted(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, flags int32, mode int32) error
}
func NewAppOpsNotedCallbackStub ¶
func NewAppOpsNotedCallbackStub( impl IAppOpsNotedCallbackServer, ) IAppOpsNotedCallback
NewAppOpsNotedCallbackStub creates a server-side IAppOpsNotedCallback wrapping the given server implementation. The returned value satisfies IAppOpsNotedCallback 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 IAppOpsNotedCallbackServer ¶
type IAppOpsNotedCallbackServer interface {
OpNoted(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, flags int32, mode int32) error
}
IAppOpsNotedCallbackServer is the server-side interface that user implementations provide to NewAppOpsNotedCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAppOpsService ¶
type IAppOpsService interface {
AsBinder() binder.IBinder
CheckOperation(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
NoteOperation(ctx context.Context, code int32, uid int32, packageName string, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool) (types.SyncNotedAppOp, error)
StartOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string) error
StartWatchingMode(ctx context.Context, op int32, packageName string, callback IAppOpsCallback) error
StopWatchingMode(ctx context.Context, callback IAppOpsCallback) error
PermissionToOpCode(ctx context.Context, permission string) (int32, error)
CheckAudioOperation(ctx context.Context, code int32, usage int32, uid int32, packageName string) (int32, error)
ShouldCollectNotes(ctx context.Context, opCode int32) (bool, error)
SetCameraAudioRestriction(ctx context.Context, mode int32) error
StartWatchingModeWithFlags(ctx context.Context, op int32, packageName string, flags int32, callback IAppOpsCallback) error
NoteProxyOperation(ctx context.Context, code int32, attributionSource content.AttributionSource, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool) (types.SyncNotedAppOp, error)
StartProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, skipProxyOperation bool) error
CheckPackage(ctx context.Context, uid int32, packageName string) (int32, error)
CollectRuntimeAppOpAccessMessage(ctx context.Context) (types.RuntimeAppOpAccessMessage, error)
ReportRuntimeAppOpAccessMessageAndGetConfig(ctx context.Context, packageName string, appOp types.SyncNotedAppOp, message string) (MessageSamplingConfig, error)
GetPackagesForOps(ctx context.Context, ops []int32) ([]types.AppOpsManagerPackageOps, error)
GetOpsForPackage(ctx context.Context, uid int32, packageName string, ops []int32) ([]types.AppOpsManagerPackageOps, error)
GetHistoricalOps(ctx context.Context, uid int32, packageName string, ops []string, historyFlags int32, filter int32, beginTimeMillis int64, endTimeMillis int64, flags int32, callback os.RemoteCallback) error
GetHistoricalOpsFromDiskRaw(ctx context.Context, uid int32, packageName string, ops []string, historyFlags int32, filter int32, beginTimeMillis int64, endTimeMillis int64, flags int32, callback os.RemoteCallback) error
OffsetHistory(ctx context.Context, duration int64) error
SetHistoryParameters(ctx context.Context, mode int32, baseSnapshotInterval int64, compressionStep int32) error
AddHistoricalOps(ctx context.Context, ops types.AppOpsManagerHistoricalOps) error
ResetHistoryParameters(ctx context.Context) error
ResetPackageOpsNoHistory(ctx context.Context, packageName string) error
ClearHistory(ctx context.Context) error
RebootHistory(ctx context.Context, offlineDurationMillis int64) error
GetUidOps(ctx context.Context, uid int32, ops []int32) ([]types.AppOpsManagerPackageOps, error)
SetUidMode(ctx context.Context, code int32, uid int32, mode int32) error
SetMode(ctx context.Context, code int32, uid int32, packageName string, mode int32) error
ResetAllModes(ctx context.Context, reqUserId int32, reqPackageName string) error
SetAudioRestriction(ctx context.Context, code int32, usage int32, uid int32, mode int32, exceptionPackages []string) error
SetUserRestrictions(ctx context.Context, restrictions os.Bundle, token binder.IBinder) error
SetUserRestriction(ctx context.Context, code int32, restricted bool, token binder.IBinder, excludedPackageTags os.PackageTagsList) error
RemoveUser(ctx context.Context) error
StartWatchingActive(ctx context.Context, ops []int32, callback IAppOpsActiveCallback) error
StopWatchingActive(ctx context.Context, callback IAppOpsActiveCallback) error
IsOperationActive(ctx context.Context, code int32, uid int32, packageName string) (bool, error)
IsProxying(ctx context.Context, op int32, proxyPackageName string, proxyAttributionTag string, proxiedUid int32, proxiedPackageName string) (bool, error)
StartWatchingStarted(ctx context.Context, ops []int32, callback IAppOpsStartedCallback) error
StopWatchingStarted(ctx context.Context, callback IAppOpsStartedCallback) error
StartWatchingNoted(ctx context.Context, ops []int32, callback IAppOpsNotedCallback) error
StopWatchingNoted(ctx context.Context, callback IAppOpsNotedCallback) error
StartWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
StopWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
ExtractAsyncOps(ctx context.Context, packageName string) ([]types.AsyncNotedAppOp, error)
CheckOperationRaw(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
ReloadNonHistoricalState(ctx context.Context) error
CollectNoteOpCallsForValidation(ctx context.Context, stackTrace string, op int32, packageName string, version int64) error
NoteProxyOperationWithState(ctx context.Context, code int32, attributionSourceStateState content.AttributionSourceState, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool) (types.SyncNotedAppOp, error)
StartProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, skipProxyOperation bool) error
CheckOperationRawForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32) (int32, error)
CheckOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32) (int32, error)
NoteOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool) (types.SyncNotedAppOp, error)
StartOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, virtualDeviceId int32, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, virtualDeviceId int32) error
GetPackagesForOpsForDevice(ctx context.Context, ops []int32, persistentDeviceId string) ([]types.AppOpsManagerPackageOps, error)
}
func NewAppOpsServiceStub ¶
func NewAppOpsServiceStub( impl IAppOpsServiceServer, ) IAppOpsService
NewAppOpsServiceStub creates a server-side IAppOpsService wrapping the given server implementation. The returned value satisfies IAppOpsService 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 IAppOpsServiceServer ¶
type IAppOpsServiceServer interface {
CheckOperation(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
NoteOperation(ctx context.Context, code int32, uid int32, packageName string, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool) (types.SyncNotedAppOp, error)
StartOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishOperation(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string) error
StartWatchingMode(ctx context.Context, op int32, packageName string, callback IAppOpsCallback) error
StopWatchingMode(ctx context.Context, callback IAppOpsCallback) error
PermissionToOpCode(ctx context.Context, permission string) (int32, error)
CheckAudioOperation(ctx context.Context, code int32, usage int32, uid int32, packageName string) (int32, error)
ShouldCollectNotes(ctx context.Context, opCode int32) (bool, error)
SetCameraAudioRestriction(ctx context.Context, mode int32) error
StartWatchingModeWithFlags(ctx context.Context, op int32, packageName string, flags int32, callback IAppOpsCallback) error
NoteProxyOperation(ctx context.Context, code int32, attributionSource content.AttributionSource, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool) (types.SyncNotedAppOp, error)
StartProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishProxyOperation(ctx context.Context, clientId binder.IBinder, code int32, attributionSource content.AttributionSource, skipProxyOperation bool) error
CheckPackage(ctx context.Context, uid int32, packageName string) (int32, error)
CollectRuntimeAppOpAccessMessage(ctx context.Context) (types.RuntimeAppOpAccessMessage, error)
ReportRuntimeAppOpAccessMessageAndGetConfig(ctx context.Context, packageName string, appOp types.SyncNotedAppOp, message string) (MessageSamplingConfig, error)
GetPackagesForOps(ctx context.Context, ops []int32) ([]types.AppOpsManagerPackageOps, error)
GetOpsForPackage(ctx context.Context, uid int32, packageName string, ops []int32) ([]types.AppOpsManagerPackageOps, error)
GetHistoricalOps(ctx context.Context, uid int32, packageName string, ops []string, historyFlags int32, filter int32, beginTimeMillis int64, endTimeMillis int64, flags int32, callback os.RemoteCallback) error
GetHistoricalOpsFromDiskRaw(ctx context.Context, uid int32, packageName string, ops []string, historyFlags int32, filter int32, beginTimeMillis int64, endTimeMillis int64, flags int32, callback os.RemoteCallback) error
OffsetHistory(ctx context.Context, duration int64) error
SetHistoryParameters(ctx context.Context, mode int32, baseSnapshotInterval int64, compressionStep int32) error
AddHistoricalOps(ctx context.Context, ops types.AppOpsManagerHistoricalOps) error
ResetHistoryParameters(ctx context.Context) error
ResetPackageOpsNoHistory(ctx context.Context, packageName string) error
ClearHistory(ctx context.Context) error
RebootHistory(ctx context.Context, offlineDurationMillis int64) error
GetUidOps(ctx context.Context, uid int32, ops []int32) ([]types.AppOpsManagerPackageOps, error)
SetUidMode(ctx context.Context, code int32, uid int32, mode int32) error
SetMode(ctx context.Context, code int32, uid int32, packageName string, mode int32) error
ResetAllModes(ctx context.Context, reqUserId int32, reqPackageName string) error
SetAudioRestriction(ctx context.Context, code int32, usage int32, uid int32, mode int32, exceptionPackages []string) error
SetUserRestrictions(ctx context.Context, restrictions os.Bundle, token binder.IBinder) error
SetUserRestriction(ctx context.Context, code int32, restricted bool, token binder.IBinder, excludedPackageTags os.PackageTagsList) error
RemoveUser(ctx context.Context) error
StartWatchingActive(ctx context.Context, ops []int32, callback IAppOpsActiveCallback) error
StopWatchingActive(ctx context.Context, callback IAppOpsActiveCallback) error
IsOperationActive(ctx context.Context, code int32, uid int32, packageName string) (bool, error)
IsProxying(ctx context.Context, op int32, proxyPackageName string, proxyAttributionTag string, proxiedUid int32, proxiedPackageName string) (bool, error)
StartWatchingStarted(ctx context.Context, ops []int32, callback IAppOpsStartedCallback) error
StopWatchingStarted(ctx context.Context, callback IAppOpsStartedCallback) error
StartWatchingNoted(ctx context.Context, ops []int32, callback IAppOpsNotedCallback) error
StopWatchingNoted(ctx context.Context, callback IAppOpsNotedCallback) error
StartWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
StopWatchingAsyncNoted(ctx context.Context, packageName string, callback IAppOpsAsyncNotedCallback) error
ExtractAsyncOps(ctx context.Context, packageName string) ([]types.AsyncNotedAppOp, error)
CheckOperationRaw(ctx context.Context, code int32, uid int32, packageName string) (int32, error)
ReloadNonHistoricalState(ctx context.Context) error
CollectNoteOpCallsForValidation(ctx context.Context, stackTrace string, op int32, packageName string, version int64) error
NoteProxyOperationWithState(ctx context.Context, code int32, attributionSourceStateState content.AttributionSourceState, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool) (types.SyncNotedAppOp, error)
StartProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, skipProxyOperation bool, proxyAttributionFlags int32, proxiedAttributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishProxyOperationWithState(ctx context.Context, clientId binder.IBinder, code int32, attributionSourceStateState content.AttributionSourceState, skipProxyOperation bool) error
CheckOperationRawForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32) (int32, error)
CheckOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32) (int32, error)
NoteOperationForDevice(ctx context.Context, code int32, uid int32, packageName string, virtualDeviceId int32, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool) (types.SyncNotedAppOp, error)
StartOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, virtualDeviceId int32, startIfModeDefault bool, shouldCollectAsyncNotedOp bool, message string, shouldCollectMessage bool, attributionFlags int32, attributionChainId int32) (types.SyncNotedAppOp, error)
FinishOperationForDevice(ctx context.Context, clientId binder.IBinder, code int32, uid int32, packageName string, virtualDeviceId int32) error
GetPackagesForOpsForDevice(ctx context.Context, ops []int32, persistentDeviceId string) ([]types.AppOpsManagerPackageOps, error)
}
IAppOpsServiceServer is the server-side interface that user implementations provide to NewAppOpsServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAppOpsStartedCallback ¶
type IAppOpsStartedCallback interface {
AsBinder() binder.IBinder
OpStarted(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, flags int32, mode int32, startedType int32, attributionFlags int32, attributionChainId int32) error
}
func NewAppOpsStartedCallbackStub ¶
func NewAppOpsStartedCallbackStub( impl IAppOpsStartedCallbackServer, ) IAppOpsStartedCallback
NewAppOpsStartedCallbackStub creates a server-side IAppOpsStartedCallback wrapping the given server implementation. The returned value satisfies IAppOpsStartedCallback 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 IAppOpsStartedCallbackServer ¶
type IAppOpsStartedCallbackServer interface {
OpStarted(ctx context.Context, op int32, uid int32, packageName string, virtualDeviceId int32, flags int32, mode int32, startedType int32, attributionFlags int32, attributionChainId int32) error
}
IAppOpsStartedCallbackServer is the server-side interface that user implementations provide to NewAppOpsStartedCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBatteryStats ¶
type IBatteryStats interface {
AsBinder() binder.IBinder
NoteStartSensor(ctx context.Context, uid int32, sensor int32) error
NoteStopSensor(ctx context.Context, uid int32, sensor int32) error
NoteStartVideo(ctx context.Context, uid int32) error
NoteStopVideo(ctx context.Context, uid int32) error
NoteStartAudio(ctx context.Context, uid int32) error
NoteStopAudio(ctx context.Context, uid int32) error
NoteResetVideo(ctx context.Context) error
NoteResetAudio(ctx context.Context) error
NoteFlashlightOn(ctx context.Context, uid int32) error
NoteFlashlightOff(ctx context.Context, uid int32) error
NoteStartCamera(ctx context.Context, uid int32) error
NoteStopCamera(ctx context.Context, uid int32) error
NoteResetCamera(ctx context.Context) error
NoteResetFlashlight(ctx context.Context) error
NoteWakeupSensorEvent(ctx context.Context, elapsedNanos int64, uid int32, handle int32) error
GetBatteryUsageStats(ctx context.Context, queries []os.BatteryUsageStatsQuery) ([]os.BatteryUsageStats, error)
IsCharging(ctx context.Context) (bool, error)
ComputeBatteryTimeRemaining(ctx context.Context) (int64, error)
ComputeChargeTimeRemaining(ctx context.Context) (int64, error)
ComputeBatteryScreenOffRealtimeMs(ctx context.Context) (int64, error)
GetScreenOffDischargeMah(ctx context.Context) (int64, error)
NoteEvent(ctx context.Context, code int32, name string, uid int32) error
NoteSyncStart(ctx context.Context, name string, uid int32) error
NoteSyncFinish(ctx context.Context, name string, uid int32) error
NoteJobStart(ctx context.Context, name string, uid int32) error
NoteJobFinish(ctx context.Context, name string, uid int32, stopReason int32) error
NoteStartWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, type_ int32, unimportantForLogging bool) error
NoteStopWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, type_ int32) error
NoteStartWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, historyName string, type_ int32, unimportantForLogging bool) error
NoteChangeWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, histyoryName string, type_ int32, newWs os.WorkSource, newPid int32, newName string, newHistoryName string, newType int32, newUnimportantForLogging bool) error
NoteStopWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, historyName string, type_ int32) error
NoteLongPartialWakelockStart(ctx context.Context, name string, historyName string, uid int32) error
NoteLongPartialWakelockStartFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
NoteLongPartialWakelockFinish(ctx context.Context, name string, historyName string, uid int32) error
NoteLongPartialWakelockFinishFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
NoteVibratorOn(ctx context.Context, uid int32, durationMillis int64) error
NoteVibratorOff(ctx context.Context, uid int32) error
NoteGpsChanged(ctx context.Context, oldSource os.WorkSource, newSource os.WorkSource) error
NoteGpsSignalQuality(ctx context.Context, signalLevel int32) error
NoteScreenState(ctx context.Context, state int32) error
NoteScreenBrightness(ctx context.Context, brightness int32) error
NoteUserActivity(ctx context.Context, uid int32, event int32) error
NoteWakeUp(ctx context.Context, reason string, reasonUid int32) error
NoteInteractive(ctx context.Context, interactive bool) error
NoteConnectivityChanged(ctx context.Context, type_ int32, extra string) error
NoteMobileRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
NotePhoneOn(ctx context.Context) error
NotePhoneOff(ctx context.Context) error
NotePhoneSignalStrength(ctx context.Context, signalStrength telephony.SignalStrength) error
NotePhoneDataConnectionState(ctx context.Context, dataType int32, hasData bool, serviceType int32, nrState int32, nrFrequency int32) error
NotePhoneState(ctx context.Context, phoneState int32) error
NoteWifiOn(ctx context.Context) error
NoteWifiOff(ctx context.Context) error
NoteWifiRunning(ctx context.Context, ws os.WorkSource) error
NoteWifiRunningChanged(ctx context.Context, oldWs os.WorkSource, newWs os.WorkSource) error
NoteWifiStopped(ctx context.Context, ws os.WorkSource) error
NoteWifiState(ctx context.Context, wifiState int32, accessPoint string) error
NoteWifiSupplicantStateChanged(ctx context.Context, supplState int32, failedAuth bool) error
NoteWifiRssiChanged(ctx context.Context, newRssi int32) error
NoteFullWifiLockAcquired(ctx context.Context, uid int32) error
NoteFullWifiLockReleased(ctx context.Context, uid int32) error
NoteWifiScanStarted(ctx context.Context, uid int32) error
NoteWifiScanStopped(ctx context.Context, uid int32) error
NoteWifiMulticastEnabled(ctx context.Context, uid int32) error
NoteWifiMulticastDisabled(ctx context.Context, uid int32) error
NoteFullWifiLockAcquiredFromSource(ctx context.Context, ws os.WorkSource) error
NoteFullWifiLockReleasedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiScanStartedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiBatchedScanStartedFromSource(ctx context.Context, ws os.WorkSource, csph int32) error
NoteWifiBatchedScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
NoteNetworkInterfaceForTransports(ctx context.Context, iface string, transportTypes []int32) error
NoteNetworkStatsEnabled(ctx context.Context) error
NoteDeviceIdleMode(ctx context.Context, mode int32, activeReason string, activeUid int32) error
SetBatteryState(ctx context.Context, status int32, health int32, plugType int32, level int32, temp int32, volt int32, chargeUAh int32, chargeFullUAh int32, chargeTimeToFullSeconds int64) error
GetAwakeTimeBattery(ctx context.Context) (int64, error)
GetAwakeTimePlugged(ctx context.Context) (int64, error)
NoteBleScanStarted(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
NoteBleScanStopped(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
NoteBleScanReset(ctx context.Context) error
NoteBleScanResults(ctx context.Context, ws os.WorkSource, numNewResults int32) error
GetCellularBatteryStats(ctx context.Context) (connectivity.CellularBatteryStats, error)
GetWifiBatteryStats(ctx context.Context) (connectivity.WifiBatteryStats, error)
GetGpsBatteryStats(ctx context.Context) (connectivity.GpsBatteryStats, error)
GetWakeLockStats(ctx context.Context) (os.WakeLockStats, error)
GetBluetoothBatteryStats(ctx context.Context) (os.BluetoothBatteryStats, error)
TakeUidSnapshot(ctx context.Context, uid int32) (osHealth.HealthStatsParceler, error)
TakeUidSnapshots(ctx context.Context, uid []int32) ([]osHealth.HealthStatsParceler, error)
NoteBluetoothControllerActivity(ctx context.Context, info bluetooth.BluetoothActivityEnergyInfo) error
NoteModemControllerActivity(ctx context.Context, info telephony.ModemActivityInfo) error
NoteWifiControllerActivity(ctx context.Context, info connectivity.WifiActivityEnergyInfo) error
SetChargingStateUpdateDelayMillis(ctx context.Context, delay int32) (bool, error)
SetChargerAcOnline(ctx context.Context, online bool, forceUpdate bool) error
SetBatteryLevel(ctx context.Context, level int32, forceUpdate bool) error
UnplugBattery(ctx context.Context, forceUpdate bool) error
ResetBattery(ctx context.Context, forceUpdate bool) error
SuspendBatteryInput(ctx context.Context) error
}
func NewBatteryStatsStub ¶
func NewBatteryStatsStub( impl IBatteryStatsServer, ) IBatteryStats
NewBatteryStatsStub creates a server-side IBatteryStats wrapping the given server implementation. The returned value satisfies IBatteryStats 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 IBatteryStatsServer ¶
type IBatteryStatsServer interface {
NoteStartSensor(ctx context.Context, uid int32, sensor int32) error
NoteStopSensor(ctx context.Context, uid int32, sensor int32) error
NoteStartVideo(ctx context.Context, uid int32) error
NoteStopVideo(ctx context.Context, uid int32) error
NoteStartAudio(ctx context.Context, uid int32) error
NoteStopAudio(ctx context.Context, uid int32) error
NoteResetVideo(ctx context.Context) error
NoteResetAudio(ctx context.Context) error
NoteFlashlightOn(ctx context.Context, uid int32) error
NoteFlashlightOff(ctx context.Context, uid int32) error
NoteStartCamera(ctx context.Context, uid int32) error
NoteStopCamera(ctx context.Context, uid int32) error
NoteResetCamera(ctx context.Context) error
NoteResetFlashlight(ctx context.Context) error
NoteWakeupSensorEvent(ctx context.Context, elapsedNanos int64, uid int32, handle int32) error
GetBatteryUsageStats(ctx context.Context, queries []os.BatteryUsageStatsQuery) ([]os.BatteryUsageStats, error)
IsCharging(ctx context.Context) (bool, error)
ComputeBatteryTimeRemaining(ctx context.Context) (int64, error)
ComputeChargeTimeRemaining(ctx context.Context) (int64, error)
ComputeBatteryScreenOffRealtimeMs(ctx context.Context) (int64, error)
GetScreenOffDischargeMah(ctx context.Context) (int64, error)
NoteEvent(ctx context.Context, code int32, name string, uid int32) error
NoteSyncStart(ctx context.Context, name string, uid int32) error
NoteSyncFinish(ctx context.Context, name string, uid int32) error
NoteJobStart(ctx context.Context, name string, uid int32) error
NoteJobFinish(ctx context.Context, name string, uid int32, stopReason int32) error
NoteStartWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, type_ int32, unimportantForLogging bool) error
NoteStopWakelock(ctx context.Context, uid int32, pid int32, name string, historyName string, type_ int32) error
NoteStartWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, historyName string, type_ int32, unimportantForLogging bool) error
NoteChangeWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, histyoryName string, type_ int32, newWs os.WorkSource, newPid int32, newName string, newHistoryName string, newType int32, newUnimportantForLogging bool) error
NoteStopWakelockFromSource(ctx context.Context, ws os.WorkSource, pid int32, name string, historyName string, type_ int32) error
NoteLongPartialWakelockStart(ctx context.Context, name string, historyName string, uid int32) error
NoteLongPartialWakelockStartFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
NoteLongPartialWakelockFinish(ctx context.Context, name string, historyName string, uid int32) error
NoteLongPartialWakelockFinishFromSource(ctx context.Context, name string, historyName string, workSource os.WorkSource) error
NoteVibratorOn(ctx context.Context, uid int32, durationMillis int64) error
NoteVibratorOff(ctx context.Context, uid int32) error
NoteGpsChanged(ctx context.Context, oldSource os.WorkSource, newSource os.WorkSource) error
NoteGpsSignalQuality(ctx context.Context, signalLevel int32) error
NoteScreenState(ctx context.Context, state int32) error
NoteScreenBrightness(ctx context.Context, brightness int32) error
NoteUserActivity(ctx context.Context, uid int32, event int32) error
NoteWakeUp(ctx context.Context, reason string, reasonUid int32) error
NoteInteractive(ctx context.Context, interactive bool) error
NoteConnectivityChanged(ctx context.Context, type_ int32, extra string) error
NoteMobileRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
NotePhoneOn(ctx context.Context) error
NotePhoneOff(ctx context.Context) error
NotePhoneSignalStrength(ctx context.Context, signalStrength telephony.SignalStrength) error
NotePhoneDataConnectionState(ctx context.Context, dataType int32, hasData bool, serviceType int32, nrState int32, nrFrequency int32) error
NotePhoneState(ctx context.Context, phoneState int32) error
NoteWifiOn(ctx context.Context) error
NoteWifiOff(ctx context.Context) error
NoteWifiRunning(ctx context.Context, ws os.WorkSource) error
NoteWifiRunningChanged(ctx context.Context, oldWs os.WorkSource, newWs os.WorkSource) error
NoteWifiStopped(ctx context.Context, ws os.WorkSource) error
NoteWifiState(ctx context.Context, wifiState int32, accessPoint string) error
NoteWifiSupplicantStateChanged(ctx context.Context, supplState int32, failedAuth bool) error
NoteWifiRssiChanged(ctx context.Context, newRssi int32) error
NoteFullWifiLockAcquired(ctx context.Context, uid int32) error
NoteFullWifiLockReleased(ctx context.Context, uid int32) error
NoteWifiScanStarted(ctx context.Context, uid int32) error
NoteWifiScanStopped(ctx context.Context, uid int32) error
NoteWifiMulticastEnabled(ctx context.Context, uid int32) error
NoteWifiMulticastDisabled(ctx context.Context, uid int32) error
NoteFullWifiLockAcquiredFromSource(ctx context.Context, ws os.WorkSource) error
NoteFullWifiLockReleasedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiScanStartedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiBatchedScanStartedFromSource(ctx context.Context, ws os.WorkSource, csph int32) error
NoteWifiBatchedScanStoppedFromSource(ctx context.Context, ws os.WorkSource) error
NoteWifiRadioPowerState(ctx context.Context, powerState int32, timestampNs int64, uid int32) error
NoteNetworkInterfaceForTransports(ctx context.Context, iface string, transportTypes []int32) error
NoteNetworkStatsEnabled(ctx context.Context) error
NoteDeviceIdleMode(ctx context.Context, mode int32, activeReason string, activeUid int32) error
SetBatteryState(ctx context.Context, status int32, health int32, plugType int32, level int32, temp int32, volt int32, chargeUAh int32, chargeFullUAh int32, chargeTimeToFullSeconds int64) error
GetAwakeTimeBattery(ctx context.Context) (int64, error)
GetAwakeTimePlugged(ctx context.Context) (int64, error)
NoteBleScanStarted(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
NoteBleScanStopped(ctx context.Context, ws os.WorkSource, isUnoptimized bool) error
NoteBleScanReset(ctx context.Context) error
NoteBleScanResults(ctx context.Context, ws os.WorkSource, numNewResults int32) error
GetCellularBatteryStats(ctx context.Context) (connectivity.CellularBatteryStats, error)
GetWifiBatteryStats(ctx context.Context) (connectivity.WifiBatteryStats, error)
GetGpsBatteryStats(ctx context.Context) (connectivity.GpsBatteryStats, error)
GetWakeLockStats(ctx context.Context) (os.WakeLockStats, error)
GetBluetoothBatteryStats(ctx context.Context) (os.BluetoothBatteryStats, error)
TakeUidSnapshot(ctx context.Context, uid int32) (osHealth.HealthStatsParceler, error)
TakeUidSnapshots(ctx context.Context, uid []int32) ([]osHealth.HealthStatsParceler, error)
NoteBluetoothControllerActivity(ctx context.Context, info bluetooth.BluetoothActivityEnergyInfo) error
NoteModemControllerActivity(ctx context.Context, info telephony.ModemActivityInfo) error
NoteWifiControllerActivity(ctx context.Context, info connectivity.WifiActivityEnergyInfo) error
SetChargingStateUpdateDelayMillis(ctx context.Context, delay int32) (bool, error)
SetChargerAcOnline(ctx context.Context, online bool, forceUpdate bool) error
SetBatteryLevel(ctx context.Context, level int32, forceUpdate bool) error
UnplugBattery(ctx context.Context, forceUpdate bool) error
ResetBattery(ctx context.Context, forceUpdate bool) error
SuspendBatteryInput(ctx context.Context) error
}
IBatteryStatsServer is the server-side interface that user implementations provide to NewBatteryStatsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHotwordRecognitionStatusCallback ¶
type IHotwordRecognitionStatusCallback interface {
AsBinder() binder.IBinder
OnKeyphraseDetected(ctx context.Context, recognitionEvent soundtrigger.SoundTriggerKeyphraseRecognitionEvent, result types.HotwordDetectedResult) error
OnKeyphraseDetectedFromExternalSource(ctx context.Context, result types.HotwordDetectedResult) error
OnGenericSoundTriggerDetected(ctx context.Context, recognitionEvent soundtrigger.SoundTriggerGenericRecognitionEvent) error
OnRejected(ctx context.Context, result types.HotwordRejectedResult) error
OnHotwordDetectionServiceFailure(ctx context.Context, hotwordDetectionServiceFailure types.HotwordDetectionServiceFailure) error
OnVisualQueryDetectionServiceFailure(ctx context.Context, visualQueryDetectionServiceFailure types.VisualQueryDetectionServiceFailure) error
OnSoundTriggerFailure(ctx context.Context, soundTriggerFailure types.SoundTriggerFailure) error
OnUnknownFailure(ctx context.Context, errorMessage string) error
OnRecognitionPaused(ctx context.Context) error
OnRecognitionResumed(ctx context.Context) error
OnStatusReported(ctx context.Context, status int32) error
OnProcessRestarted(ctx context.Context) error
OnOpenFile(ctx context.Context, filename string, future infra.AndroidFuture) error
}
func NewHotwordRecognitionStatusCallbackStub ¶
func NewHotwordRecognitionStatusCallbackStub( impl IHotwordRecognitionStatusCallbackServer, ) IHotwordRecognitionStatusCallback
NewHotwordRecognitionStatusCallbackStub creates a server-side IHotwordRecognitionStatusCallback wrapping the given server implementation. The returned value satisfies IHotwordRecognitionStatusCallback 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 IHotwordRecognitionStatusCallbackServer ¶
type IHotwordRecognitionStatusCallbackServer interface {
OnKeyphraseDetected(ctx context.Context, recognitionEvent soundtrigger.SoundTriggerKeyphraseRecognitionEvent, result types.HotwordDetectedResult) error
OnKeyphraseDetectedFromExternalSource(ctx context.Context, result types.HotwordDetectedResult) error
OnGenericSoundTriggerDetected(ctx context.Context, recognitionEvent soundtrigger.SoundTriggerGenericRecognitionEvent) error
OnRejected(ctx context.Context, result types.HotwordRejectedResult) error
OnHotwordDetectionServiceFailure(ctx context.Context, hotwordDetectionServiceFailure types.HotwordDetectionServiceFailure) error
OnVisualQueryDetectionServiceFailure(ctx context.Context, visualQueryDetectionServiceFailure types.VisualQueryDetectionServiceFailure) error
OnSoundTriggerFailure(ctx context.Context, soundTriggerFailure types.SoundTriggerFailure) error
OnUnknownFailure(ctx context.Context, errorMessage string) error
OnRecognitionPaused(ctx context.Context) error
OnRecognitionResumed(ctx context.Context) error
OnStatusReported(ctx context.Context, status int32) error
OnProcessRestarted(ctx context.Context) error
OnOpenFile(ctx context.Context, filename string, future infra.AndroidFuture) error
}
IHotwordRecognitionStatusCallbackServer is the server-side interface that user implementations provide to NewHotwordRecognitionStatusCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ILogAccessDialogCallback ¶
type ILogAccessDialogCallback interface {
AsBinder() binder.IBinder
ApproveAccessForClient(ctx context.Context, uid int32, packageName string) error
DeclineAccessForClient(ctx context.Context, uid int32, packageName string) error
}
func NewLogAccessDialogCallbackStub ¶
func NewLogAccessDialogCallbackStub( impl ILogAccessDialogCallbackServer, ) ILogAccessDialogCallback
NewLogAccessDialogCallbackStub creates a server-side ILogAccessDialogCallback wrapping the given server implementation. The returned value satisfies ILogAccessDialogCallback 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 ILogAccessDialogCallbackServer ¶
type ILogAccessDialogCallbackServer interface {
ApproveAccessForClient(ctx context.Context, uid int32, packageName string) error
DeclineAccessForClient(ctx context.Context, uid int32, packageName string) error
}
ILogAccessDialogCallbackServer is the server-side interface that user implementations provide to NewLogAccessDialogCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IMediaContainerService ¶
type IMediaContainerService interface {
AsBinder() binder.IBinder
CopyPackage(ctx context.Context, packagePath string, target os.IParcelFileDescriptorFactory) (int32, error)
GetMinimalPackageInfo(ctx context.Context, packagePath string, flags int32, abiOverride string) (types.PackageInfoLite, error)
GetObbInfo(ctx context.Context, filename string) (res.ObbInfo, error)
CalculateInstalledSize(ctx context.Context, packagePath string, abiOverride string) (int64, error)
}
func NewMediaContainerServiceStub ¶
func NewMediaContainerServiceStub( impl IMediaContainerServiceServer, ) IMediaContainerService
NewMediaContainerServiceStub creates a server-side IMediaContainerService wrapping the given server implementation. The returned value satisfies IMediaContainerService 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 IMediaContainerServiceServer ¶
type IMediaContainerServiceServer interface {
CopyPackage(ctx context.Context, packagePath string, target os.IParcelFileDescriptorFactory) (int32, error)
GetMinimalPackageInfo(ctx context.Context, packagePath string, flags int32, abiOverride string) (types.PackageInfoLite, error)
GetObbInfo(ctx context.Context, filename string) (res.ObbInfo, error)
CalculateInstalledSize(ctx context.Context, packagePath string, abiOverride string) (int64, error)
}
IMediaContainerServiceServer is the server-side interface that user implementations provide to NewMediaContainerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISoundTriggerService ¶
type ISoundTriggerService interface {
AsBinder() binder.IBinder
AttachAsOriginator(ctx context.Context, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder) (ISoundTriggerSession, error)
AttachAsMiddleman(ctx context.Context, middlemanIdentity permission.Identity, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder) (ISoundTriggerSession, error)
ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
AttachInjection(ctx context.Context, injection soundtrigger_middleware.ISoundTriggerInjection) error
SetInPhoneCallState(ctx context.Context, isInPhoneCall bool) error
}
func NewSoundTriggerServiceStub ¶
func NewSoundTriggerServiceStub( impl ISoundTriggerServiceServer, ) ISoundTriggerService
NewSoundTriggerServiceStub creates a server-side ISoundTriggerService wrapping the given server implementation. The returned value satisfies ISoundTriggerService 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 ISoundTriggerServiceServer ¶
type ISoundTriggerServiceServer interface {
AttachAsOriginator(ctx context.Context, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder) (ISoundTriggerSession, error)
AttachAsMiddleman(ctx context.Context, middlemanIdentity permission.Identity, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder) (ISoundTriggerSession, error)
ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
AttachInjection(ctx context.Context, injection soundtrigger_middleware.ISoundTriggerInjection) error
SetInPhoneCallState(ctx context.Context, isInPhoneCall bool) error
}
ISoundTriggerServiceServer is the server-side interface that user implementations provide to NewSoundTriggerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISoundTriggerSession ¶
type ISoundTriggerSession interface {
AsBinder() binder.IBinder
GetSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (soundtrigger.SoundTriggerGenericSoundModel, error)
UpdateSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) error
DeleteSoundModel(ctx context.Context, soundModelId os.ParcelUuid) error
StartRecognition(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, callback soundtrigger.IRecognitionStatusCallback, config soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool) (int32, error)
StopRecognition(ctx context.Context, soundModelId os.ParcelUuid, callback soundtrigger.IRecognitionStatusCallback) (int32, error)
LoadGenericSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) (int32, error)
LoadKeyphraseSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
StartRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid, params os.Bundle, callbackIntent content.ComponentName, config soundtrigger.SoundTriggerRecognitionConfig) (int32, error)
StopRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
UnloadSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
IsRecognitionActive(ctx context.Context, parcelUuid os.ParcelUuid) (bool, error)
GetModelState(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
GetModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
SetParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams, value int32) (int32, error)
GetParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams) (int32, error)
QueryParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams) (soundtrigger.SoundTriggerModelParamRange, error)
}
func NewSoundTriggerSessionStub ¶
func NewSoundTriggerSessionStub( impl ISoundTriggerSessionServer, ) ISoundTriggerSession
NewSoundTriggerSessionStub creates a server-side ISoundTriggerSession wrapping the given server implementation. The returned value satisfies ISoundTriggerSession 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 ISoundTriggerSessionServer ¶
type ISoundTriggerSessionServer interface {
GetSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (soundtrigger.SoundTriggerGenericSoundModel, error)
UpdateSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) error
DeleteSoundModel(ctx context.Context, soundModelId os.ParcelUuid) error
StartRecognition(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, callback soundtrigger.IRecognitionStatusCallback, config soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool) (int32, error)
StopRecognition(ctx context.Context, soundModelId os.ParcelUuid, callback soundtrigger.IRecognitionStatusCallback) (int32, error)
LoadGenericSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel) (int32, error)
LoadKeyphraseSoundModel(ctx context.Context, soundModel soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
StartRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid, params os.Bundle, callbackIntent content.ComponentName, config soundtrigger.SoundTriggerRecognitionConfig) (int32, error)
StopRecognitionForService(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
UnloadSoundModel(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
IsRecognitionActive(ctx context.Context, parcelUuid os.ParcelUuid) (bool, error)
GetModelState(ctx context.Context, soundModelId os.ParcelUuid) (int32, error)
GetModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
SetParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams, value int32) (int32, error)
GetParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams) (int32, error)
QueryParameter(ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams) (soundtrigger.SoundTriggerModelParamRange, error)
}
ISoundTriggerSessionServer is the server-side interface that user implementations provide to NewSoundTriggerSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVisualQueryDetectionAttentionListener ¶
type IVisualQueryDetectionAttentionListener interface {
AsBinder() binder.IBinder
OnAttentionGained(ctx context.Context, attentionResult types.VisualQueryAttentionResult) error
OnAttentionLost(ctx context.Context, interactionIntention int32) error
}
func NewVisualQueryDetectionAttentionListenerStub ¶
func NewVisualQueryDetectionAttentionListenerStub( impl IVisualQueryDetectionAttentionListenerServer, ) IVisualQueryDetectionAttentionListener
NewVisualQueryDetectionAttentionListenerStub creates a server-side IVisualQueryDetectionAttentionListener wrapping the given server implementation. The returned value satisfies IVisualQueryDetectionAttentionListener 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 IVisualQueryDetectionAttentionListenerServer ¶
type IVisualQueryDetectionAttentionListenerServer interface {
OnAttentionGained(ctx context.Context, attentionResult types.VisualQueryAttentionResult) error
OnAttentionLost(ctx context.Context, interactionIntention int32) error
}
IVisualQueryDetectionAttentionListenerServer is the server-side interface that user implementations provide to NewVisualQueryDetectionAttentionListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVisualQueryRecognitionStatusListener ¶
type IVisualQueryRecognitionStatusListener interface {
AsBinder() binder.IBinder
OnStartPerceiving(ctx context.Context) error
OnStopPerceiving(ctx context.Context) error
}
func NewVisualQueryRecognitionStatusListenerStub ¶
func NewVisualQueryRecognitionStatusListenerStub( impl IVisualQueryRecognitionStatusListenerServer, ) IVisualQueryRecognitionStatusListener
NewVisualQueryRecognitionStatusListenerStub creates a server-side IVisualQueryRecognitionStatusListener wrapping the given server implementation. The returned value satisfies IVisualQueryRecognitionStatusListener 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 IVisualQueryRecognitionStatusListenerServer ¶
type IVisualQueryRecognitionStatusListenerServer interface {
OnStartPerceiving(ctx context.Context) error
OnStopPerceiving(ctx context.Context) error
}
IVisualQueryRecognitionStatusListenerServer is the server-side interface that user implementations provide to NewVisualQueryRecognitionStatusListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceActionCheckCallback ¶
type IVoiceActionCheckCallback interface {
AsBinder() binder.IBinder
OnComplete(ctx context.Context, voiceActions []string) error
}
func NewVoiceActionCheckCallbackStub ¶
func NewVoiceActionCheckCallbackStub( impl IVoiceActionCheckCallbackServer, ) IVoiceActionCheckCallback
NewVoiceActionCheckCallbackStub creates a server-side IVoiceActionCheckCallback wrapping the given server implementation. The returned value satisfies IVoiceActionCheckCallback 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 IVoiceActionCheckCallbackServer ¶
type IVoiceActionCheckCallbackServer interface {
OnComplete(ctx context.Context, voiceActions []string) error
}
IVoiceActionCheckCallbackServer is the server-side interface that user implementations provide to NewVoiceActionCheckCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractionAccessibilitySettingsListener ¶
type IVoiceInteractionAccessibilitySettingsListener interface {
AsBinder() binder.IBinder
OnAccessibilityDetectionChanged(ctx context.Context, enable bool) error
}
func NewVoiceInteractionAccessibilitySettingsListenerStub ¶
func NewVoiceInteractionAccessibilitySettingsListenerStub( impl IVoiceInteractionAccessibilitySettingsListenerServer, ) IVoiceInteractionAccessibilitySettingsListener
NewVoiceInteractionAccessibilitySettingsListenerStub creates a server-side IVoiceInteractionAccessibilitySettingsListener wrapping the given server implementation. The returned value satisfies IVoiceInteractionAccessibilitySettingsListener 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 IVoiceInteractionAccessibilitySettingsListenerServer ¶
type IVoiceInteractionAccessibilitySettingsListenerServer interface {
OnAccessibilityDetectionChanged(ctx context.Context, enable bool) error
}
IVoiceInteractionAccessibilitySettingsListenerServer is the server-side interface that user implementations provide to NewVoiceInteractionAccessibilitySettingsListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractionManagerService ¶
type IVoiceInteractionManagerService interface {
AsBinder() binder.IBinder
ShowSession(ctx context.Context, sessionArgs os.Bundle, flags int32) error
DeliverNewSession(ctx context.Context, token binder.IBinder, session types.IVoiceInteractionSession, interactor IVoiceInteractor) (bool, error)
ShowSessionFromSession(ctx context.Context, token binder.IBinder, sessionArgs os.Bundle, flags int32) (bool, error)
HideSessionFromSession(ctx context.Context, token binder.IBinder) (bool, error)
StartVoiceActivity(ctx context.Context, token binder.IBinder, intent content.Intent, resolvedType string) (int32, error)
StartAssistantActivity(ctx context.Context, token binder.IBinder, intent content.Intent, resolvedType string, bundle os.Bundle) (int32, error)
SetKeepAwake(ctx context.Context, token binder.IBinder, keepAwake bool) error
CloseSystemDialogs(ctx context.Context, token binder.IBinder) error
Finish(ctx context.Context, token binder.IBinder) error
SetDisabledShowContext(ctx context.Context, flags int32) error
GetDisabledShowContext(ctx context.Context) (int32, error)
GetUserDisabledShowContext(ctx context.Context) (int32, error)
GetKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (soundtrigger.SoundTriggerKeyphraseSoundModel, error)
UpdateKeyphraseSoundModel(ctx context.Context, model soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
DeleteKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (int32, error)
SetModelDatabaseForTestEnabled(ctx context.Context, enabled bool, token binder.IBinder) error
IsEnrolledForKeyphrase(ctx context.Context, keyphraseId int32, bcp47Locale string) (bool, error)
GetEnrolledKeyphraseMetadata(ctx context.Context, keyphrase string, bcp47Locale string) (soundtrigger.KeyphraseMetadata, error)
GetActiveServiceComponentName(ctx context.Context) (content.ComponentName, error)
ShowSessionForActiveService(ctx context.Context, args os.Bundle, sourceFlags int32, showCallback IVoiceInteractionSessionShowCallback, activityToken binder.IBinder) (bool, error)
HideCurrentSession(ctx context.Context) error
LaunchVoiceAssistFromKeyguard(ctx context.Context) error
IsSessionRunning(ctx context.Context) (bool, error)
ActiveServiceSupportsAssist(ctx context.Context) (bool, error)
ActiveServiceSupportsLaunchFromKeyguard(ctx context.Context) (bool, error)
OnLockscreenShown(ctx context.Context) error
RegisterVoiceInteractionSessionListener(ctx context.Context, listener IVoiceInteractionSessionListener) error
GetActiveServiceSupportedActions(ctx context.Context, voiceActions []string, callback IVoiceActionCheckCallback) error
SetUiHints(ctx context.Context, hints os.Bundle) error
RequestDirectActions(ctx context.Context, token binder.IBinder, taskId int32, assistToken binder.IBinder, cancellationCallback os.RemoteCallback, callback os.RemoteCallback) error
PerformDirectAction(ctx context.Context, token binder.IBinder, actionId string, arguments os.Bundle, taskId int32, assistToken binder.IBinder, cancellationCallback os.RemoteCallback, resultCallback os.RemoteCallback) error
SetDisabled(ctx context.Context, disabled bool) error
CreateSoundTriggerSessionAsOriginator(ctx context.Context, originatorIdentity permission.Identity, client binder.IBinder, moduleProperties soundtrigger.SoundTriggerModuleProperties) (IVoiceInteractionSoundTriggerSession, error)
ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
UpdateState(ctx context.Context, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder) error
InitAndVerifyDetector(ctx context.Context, originatorIdentity permission.Identity, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder, callback IHotwordRecognitionStatusCallback, detectorType int32) error
DestroyDetector(ctx context.Context, token binder.IBinder) error
ShutdownHotwordDetectionService(ctx context.Context) error
SubscribeVisualQueryRecognitionStatus(ctx context.Context, listener IVisualQueryRecognitionStatusListener) error
EnableVisualQueryDetection(ctx context.Context, Listener IVisualQueryDetectionAttentionListener) error
DisableVisualQueryDetection(ctx context.Context) error
StartPerceiving(ctx context.Context, callback types.IVisualQueryDetectionVoiceInteractionCallback) error
StopPerceiving(ctx context.Context) error
StartListeningFromMic(ctx context.Context, audioFormat media.AudioFormat, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback) error
StopListeningFromMic(ctx context.Context) error
StartListeningFromExternalSource(ctx context.Context, audioStream int32, audioFormat media.AudioFormat, options os.PersistableBundle, token binder.IBinder, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback) error
TriggerHardwareRecognitionEventForTest(ctx context.Context, event soundtrigger.SoundTriggerKeyphraseRecognitionEvent, callback IHotwordRecognitionStatusCallback) error
StartListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
StopListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
SetSessionWindowVisible(ctx context.Context, token binder.IBinder, visible bool) error
NotifyActivityEventChanged(ctx context.Context, activityToken binder.IBinder, type_ int32) error
GetAccessibilityDetectionEnabled(ctx context.Context) (bool, error)
RegisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
UnregisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
}
func NewVoiceInteractionManagerServiceStub ¶
func NewVoiceInteractionManagerServiceStub( impl IVoiceInteractionManagerServiceServer, ) IVoiceInteractionManagerService
NewVoiceInteractionManagerServiceStub creates a server-side IVoiceInteractionManagerService wrapping the given server implementation. The returned value satisfies IVoiceInteractionManagerService 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 IVoiceInteractionManagerServiceServer ¶
type IVoiceInteractionManagerServiceServer interface {
ShowSession(ctx context.Context, sessionArgs os.Bundle, flags int32) error
DeliverNewSession(ctx context.Context, token binder.IBinder, session types.IVoiceInteractionSession, interactor IVoiceInteractor) (bool, error)
ShowSessionFromSession(ctx context.Context, token binder.IBinder, sessionArgs os.Bundle, flags int32) (bool, error)
HideSessionFromSession(ctx context.Context, token binder.IBinder) (bool, error)
StartVoiceActivity(ctx context.Context, token binder.IBinder, intent content.Intent, resolvedType string) (int32, error)
StartAssistantActivity(ctx context.Context, token binder.IBinder, intent content.Intent, resolvedType string, bundle os.Bundle) (int32, error)
SetKeepAwake(ctx context.Context, token binder.IBinder, keepAwake bool) error
CloseSystemDialogs(ctx context.Context, token binder.IBinder) error
Finish(ctx context.Context, token binder.IBinder) error
SetDisabledShowContext(ctx context.Context, flags int32) error
GetDisabledShowContext(ctx context.Context) (int32, error)
GetUserDisabledShowContext(ctx context.Context) (int32, error)
GetKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (soundtrigger.SoundTriggerKeyphraseSoundModel, error)
UpdateKeyphraseSoundModel(ctx context.Context, model soundtrigger.SoundTriggerKeyphraseSoundModel) (int32, error)
DeleteKeyphraseSoundModel(ctx context.Context, keyphraseId int32, bcp47Locale string) (int32, error)
SetModelDatabaseForTestEnabled(ctx context.Context, enabled bool, token binder.IBinder) error
IsEnrolledForKeyphrase(ctx context.Context, keyphraseId int32, bcp47Locale string) (bool, error)
GetEnrolledKeyphraseMetadata(ctx context.Context, keyphrase string, bcp47Locale string) (soundtrigger.KeyphraseMetadata, error)
GetActiveServiceComponentName(ctx context.Context) (content.ComponentName, error)
ShowSessionForActiveService(ctx context.Context, args os.Bundle, sourceFlags int32, showCallback IVoiceInteractionSessionShowCallback, activityToken binder.IBinder) (bool, error)
HideCurrentSession(ctx context.Context) error
LaunchVoiceAssistFromKeyguard(ctx context.Context) error
IsSessionRunning(ctx context.Context) (bool, error)
ActiveServiceSupportsAssist(ctx context.Context) (bool, error)
ActiveServiceSupportsLaunchFromKeyguard(ctx context.Context) (bool, error)
OnLockscreenShown(ctx context.Context) error
RegisterVoiceInteractionSessionListener(ctx context.Context, listener IVoiceInteractionSessionListener) error
GetActiveServiceSupportedActions(ctx context.Context, voiceActions []string, callback IVoiceActionCheckCallback) error
SetUiHints(ctx context.Context, hints os.Bundle) error
RequestDirectActions(ctx context.Context, token binder.IBinder, taskId int32, assistToken binder.IBinder, cancellationCallback os.RemoteCallback, callback os.RemoteCallback) error
PerformDirectAction(ctx context.Context, token binder.IBinder, actionId string, arguments os.Bundle, taskId int32, assistToken binder.IBinder, cancellationCallback os.RemoteCallback, resultCallback os.RemoteCallback) error
SetDisabled(ctx context.Context, disabled bool) error
CreateSoundTriggerSessionAsOriginator(ctx context.Context, originatorIdentity permission.Identity, client binder.IBinder, moduleProperties soundtrigger.SoundTriggerModuleProperties) (IVoiceInteractionSoundTriggerSession, error)
ListModuleProperties(ctx context.Context, originatorIdentity permission.Identity) ([]soundtrigger.SoundTriggerModuleProperties, error)
UpdateState(ctx context.Context, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder) error
InitAndVerifyDetector(ctx context.Context, originatorIdentity permission.Identity, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder, callback IHotwordRecognitionStatusCallback, detectorType int32) error
DestroyDetector(ctx context.Context, token binder.IBinder) error
ShutdownHotwordDetectionService(ctx context.Context) error
SubscribeVisualQueryRecognitionStatus(ctx context.Context, listener IVisualQueryRecognitionStatusListener) error
EnableVisualQueryDetection(ctx context.Context, Listener IVisualQueryDetectionAttentionListener) error
DisableVisualQueryDetection(ctx context.Context) error
StartPerceiving(ctx context.Context, callback types.IVisualQueryDetectionVoiceInteractionCallback) error
StopPerceiving(ctx context.Context) error
StartListeningFromMic(ctx context.Context, audioFormat media.AudioFormat, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback) error
StopListeningFromMic(ctx context.Context) error
StartListeningFromExternalSource(ctx context.Context, audioStream int32, audioFormat media.AudioFormat, options os.PersistableBundle, token binder.IBinder, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback) error
TriggerHardwareRecognitionEventForTest(ctx context.Context, event soundtrigger.SoundTriggerKeyphraseRecognitionEvent, callback IHotwordRecognitionStatusCallback) error
StartListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
StopListeningVisibleActivityChanged(ctx context.Context, token binder.IBinder) error
SetSessionWindowVisible(ctx context.Context, token binder.IBinder, visible bool) error
NotifyActivityEventChanged(ctx context.Context, activityToken binder.IBinder, type_ int32) error
GetAccessibilityDetectionEnabled(ctx context.Context) (bool, error)
RegisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
UnregisterAccessibilityDetectionSettingsListener(ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener) error
}
IVoiceInteractionManagerServiceServer is the server-side interface that user implementations provide to NewVoiceInteractionManagerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractionSessionListener ¶
type IVoiceInteractionSessionListener interface {
AsBinder() binder.IBinder
OnVoiceSessionShown(ctx context.Context) error
OnVoiceSessionHidden(ctx context.Context) error
OnVoiceSessionWindowVisibilityChanged(ctx context.Context, visible bool) error
OnSetUiHints(ctx context.Context, args os.Bundle) error
}
func NewVoiceInteractionSessionListenerStub ¶
func NewVoiceInteractionSessionListenerStub( impl IVoiceInteractionSessionListenerServer, ) IVoiceInteractionSessionListener
NewVoiceInteractionSessionListenerStub creates a server-side IVoiceInteractionSessionListener wrapping the given server implementation. The returned value satisfies IVoiceInteractionSessionListener 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 IVoiceInteractionSessionListenerServer ¶
type IVoiceInteractionSessionListenerServer interface {
OnVoiceSessionShown(ctx context.Context) error
OnVoiceSessionHidden(ctx context.Context) error
OnVoiceSessionWindowVisibilityChanged(ctx context.Context, visible bool) error
OnSetUiHints(ctx context.Context, args os.Bundle) error
}
IVoiceInteractionSessionListenerServer is the server-side interface that user implementations provide to NewVoiceInteractionSessionListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractionSessionShowCallback ¶
type IVoiceInteractionSessionShowCallback interface {
AsBinder() binder.IBinder
OnFailed(ctx context.Context) error
OnShown(ctx context.Context) error
}
func NewVoiceInteractionSessionShowCallbackStub ¶
func NewVoiceInteractionSessionShowCallbackStub( impl IVoiceInteractionSessionShowCallbackServer, ) IVoiceInteractionSessionShowCallback
NewVoiceInteractionSessionShowCallbackStub creates a server-side IVoiceInteractionSessionShowCallback wrapping the given server implementation. The returned value satisfies IVoiceInteractionSessionShowCallback 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 IVoiceInteractionSessionShowCallbackServer ¶
type IVoiceInteractionSessionShowCallbackServer interface {
OnFailed(ctx context.Context) error
OnShown(ctx context.Context) error
}
IVoiceInteractionSessionShowCallbackServer is the server-side interface that user implementations provide to NewVoiceInteractionSessionShowCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractionSoundTriggerSession ¶
type IVoiceInteractionSoundTriggerSession interface {
AsBinder() binder.IBinder
GetDspModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
StartRecognition(ctx context.Context, keyphraseId int32, bcp47Locale string, callback IHotwordRecognitionStatusCallback, recognitionConfig soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool) (int32, error)
StopRecognition(ctx context.Context, keyphraseId int32, callback IHotwordRecognitionStatusCallback) (int32, error)
SetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, value int32) (int32, error)
GetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (int32, error)
QueryParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (soundtrigger.SoundTriggerModelParamRange, error)
Detach(ctx context.Context) error
}
func NewVoiceInteractionSoundTriggerSessionStub ¶
func NewVoiceInteractionSoundTriggerSessionStub( impl IVoiceInteractionSoundTriggerSessionServer, ) IVoiceInteractionSoundTriggerSession
NewVoiceInteractionSoundTriggerSessionStub creates a server-side IVoiceInteractionSoundTriggerSession wrapping the given server implementation. The returned value satisfies IVoiceInteractionSoundTriggerSession 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 IVoiceInteractionSoundTriggerSessionServer ¶
type IVoiceInteractionSoundTriggerSessionServer interface {
GetDspModuleProperties(ctx context.Context) (soundtrigger.SoundTriggerModuleProperties, error)
StartRecognition(ctx context.Context, keyphraseId int32, bcp47Locale string, callback IHotwordRecognitionStatusCallback, recognitionConfig soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool) (int32, error)
StopRecognition(ctx context.Context, keyphraseId int32, callback IHotwordRecognitionStatusCallback) (int32, error)
SetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, value int32) (int32, error)
GetParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (int32, error)
QueryParameter(ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams) (soundtrigger.SoundTriggerModelParamRange, error)
Detach(ctx context.Context) error
}
IVoiceInteractionSoundTriggerSessionServer is the server-side interface that user implementations provide to NewVoiceInteractionSoundTriggerSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractor ¶
type IVoiceInteractor interface {
AsBinder() binder.IBinder
StartConfirmation(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartPickOption(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, options []types.VoiceInteractorPickOptionRequestOption, extras os.Bundle) (IVoiceInteractorRequest, error)
StartCompleteVoice(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartAbortVoice(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartCommand(ctx context.Context, callback IVoiceInteractorCallback, command string, extras os.Bundle) (IVoiceInteractorRequest, error)
SupportsCommands(ctx context.Context, commands []string) ([]bool, error)
NotifyDirectActionsChanged(ctx context.Context, taskId int32, assistToken binder.IBinder) error
SetKillCallback(ctx context.Context, callback os.ICancellationSignal) error
}
func NewVoiceInteractorStub ¶
func NewVoiceInteractorStub( impl IVoiceInteractorServer, ) IVoiceInteractor
NewVoiceInteractorStub creates a server-side IVoiceInteractor wrapping the given server implementation. The returned value satisfies IVoiceInteractor 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 IVoiceInteractorCallback ¶
type IVoiceInteractorCallback interface {
AsBinder() binder.IBinder
DeliverConfirmationResult(ctx context.Context, request IVoiceInteractorRequest, confirmed bool, result os.Bundle) error
DeliverPickOptionResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, selections []types.VoiceInteractorPickOptionRequestOption, result os.Bundle) error
DeliverCompleteVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
DeliverAbortVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
DeliverCommandResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, result os.Bundle) error
DeliverCancel(ctx context.Context, request IVoiceInteractorRequest) error
Destroy(ctx context.Context) error
}
func NewVoiceInteractorCallbackStub ¶
func NewVoiceInteractorCallbackStub( impl IVoiceInteractorCallbackServer, ) IVoiceInteractorCallback
NewVoiceInteractorCallbackStub creates a server-side IVoiceInteractorCallback wrapping the given server implementation. The returned value satisfies IVoiceInteractorCallback 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 IVoiceInteractorCallbackServer ¶
type IVoiceInteractorCallbackServer interface {
DeliverConfirmationResult(ctx context.Context, request IVoiceInteractorRequest, confirmed bool, result os.Bundle) error
DeliverPickOptionResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, selections []types.VoiceInteractorPickOptionRequestOption, result os.Bundle) error
DeliverCompleteVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
DeliverAbortVoiceResult(ctx context.Context, request IVoiceInteractorRequest, result os.Bundle) error
DeliverCommandResult(ctx context.Context, request IVoiceInteractorRequest, finished bool, result os.Bundle) error
DeliverCancel(ctx context.Context, request IVoiceInteractorRequest) error
Destroy(ctx context.Context) error
}
IVoiceInteractorCallbackServer is the server-side interface that user implementations provide to NewVoiceInteractorCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractorRequest ¶
type IVoiceInteractorRequest interface {
AsBinder() binder.IBinder
Cancel(ctx context.Context) error
}
func NewVoiceInteractorRequestStub ¶
func NewVoiceInteractorRequestStub( impl IVoiceInteractorRequestServer, ) IVoiceInteractorRequest
NewVoiceInteractorRequestStub creates a server-side IVoiceInteractorRequest wrapping the given server implementation. The returned value satisfies IVoiceInteractorRequest 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 IVoiceInteractorRequestServer ¶
IVoiceInteractorRequestServer is the server-side interface that user implementations provide to NewVoiceInteractorRequestStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IVoiceInteractorServer ¶
type IVoiceInteractorServer interface {
StartConfirmation(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartPickOption(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, options []types.VoiceInteractorPickOptionRequestOption, extras os.Bundle) (IVoiceInteractorRequest, error)
StartCompleteVoice(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartAbortVoice(ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle) (IVoiceInteractorRequest, error)
StartCommand(ctx context.Context, callback IVoiceInteractorCallback, command string, extras os.Bundle) (IVoiceInteractorRequest, error)
SupportsCommands(ctx context.Context, commands []string) ([]bool, error)
NotifyDirectActionsChanged(ctx context.Context, taskId int32, assistToken binder.IBinder) error
SetKillCallback(ctx context.Context, callback os.ICancellationSignal) error
}
IVoiceInteractorServer is the server-side interface that user implementations provide to NewVoiceInteractorStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type LogAccessDialogCallbackProxy ¶
func NewLogAccessDialogCallbackProxy ¶
func NewLogAccessDialogCallbackProxy( remote binder.IBinder, ) *LogAccessDialogCallbackProxy
func (*LogAccessDialogCallbackProxy) ApproveAccessForClient ¶
func (*LogAccessDialogCallbackProxy) AsBinder ¶
func (p *LogAccessDialogCallbackProxy) AsBinder() binder.IBinder
func (*LogAccessDialogCallbackProxy) DeclineAccessForClient ¶
type LogAccessDialogCallbackStub ¶
type LogAccessDialogCallbackStub struct {
Impl ILogAccessDialogCallback
Transport binder.VersionAwareTransport
}
LogAccessDialogCallbackStub dispatches incoming binder transactions to a typed ILogAccessDialogCallback implementation.
func (*LogAccessDialogCallbackStub) Descriptor ¶
func (s *LogAccessDialogCallbackStub) Descriptor() string
func (*LogAccessDialogCallbackStub) OnTransaction ¶
func (s *LogAccessDialogCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MediaContainerServiceProxy ¶
func NewMediaContainerServiceProxy ¶
func NewMediaContainerServiceProxy( remote binder.IBinder, ) *MediaContainerServiceProxy
func (*MediaContainerServiceProxy) AsBinder ¶
func (p *MediaContainerServiceProxy) AsBinder() binder.IBinder
func (*MediaContainerServiceProxy) CalculateInstalledSize ¶
func (*MediaContainerServiceProxy) CopyPackage ¶
func (p *MediaContainerServiceProxy) CopyPackage( ctx context.Context, packagePath string, target os.IParcelFileDescriptorFactory, ) (int32, error)
func (*MediaContainerServiceProxy) GetMinimalPackageInfo ¶
func (p *MediaContainerServiceProxy) GetMinimalPackageInfo( ctx context.Context, packagePath string, flags int32, abiOverride string, ) (types.PackageInfoLite, error)
func (*MediaContainerServiceProxy) GetObbInfo ¶
type MediaContainerServiceStub ¶
type MediaContainerServiceStub struct {
Impl IMediaContainerService
Transport binder.VersionAwareTransport
}
MediaContainerServiceStub dispatches incoming binder transactions to a typed IMediaContainerService implementation.
func (*MediaContainerServiceStub) Descriptor ¶
func (s *MediaContainerServiceStub) Descriptor() string
func (*MediaContainerServiceStub) OnTransaction ¶
func (s *MediaContainerServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MessageSamplingConfig ¶
type MessageSamplingConfig struct {
SampledOpCode int32
AcceptableLeftDistance int32
ExpirationTimeSinceBootMillis int64
}
func (*MessageSamplingConfig) MarshalParcel ¶
func (s *MessageSamplingConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*MessageSamplingConfig) UnmarshalParcel ¶
func (s *MessageSamplingConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type SoundTriggerServiceProxy ¶
func GetSoundTriggerService ¶
func GetSoundTriggerService( ctx context.Context, sm *servicemanager.ServiceManager, ) (*SoundTriggerServiceProxy, error)
GetSoundTriggerService retrieves the SoundTriggerService service and returns a typed proxy.
func NewSoundTriggerServiceProxy ¶
func NewSoundTriggerServiceProxy( remote binder.IBinder, ) *SoundTriggerServiceProxy
func (*SoundTriggerServiceProxy) AsBinder ¶
func (p *SoundTriggerServiceProxy) AsBinder() binder.IBinder
func (*SoundTriggerServiceProxy) AttachAsMiddleman ¶
func (p *SoundTriggerServiceProxy) AttachAsMiddleman( ctx context.Context, middlemanIdentity permission.Identity, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder, ) (ISoundTriggerSession, error)
func (*SoundTriggerServiceProxy) AttachAsOriginator ¶
func (p *SoundTriggerServiceProxy) AttachAsOriginator( ctx context.Context, originatorIdentity permission.Identity, moduleProperties soundtrigger.SoundTriggerModuleProperties, client binder.IBinder, ) (ISoundTriggerSession, error)
func (*SoundTriggerServiceProxy) AttachInjection ¶
func (p *SoundTriggerServiceProxy) AttachInjection( ctx context.Context, injection soundtrigger_middleware.ISoundTriggerInjection, ) error
func (*SoundTriggerServiceProxy) ListModuleProperties ¶
func (p *SoundTriggerServiceProxy) ListModuleProperties( ctx context.Context, originatorIdentity permission.Identity, ) ([]soundtrigger.SoundTriggerModuleProperties, error)
func (*SoundTriggerServiceProxy) SetInPhoneCallState ¶
func (p *SoundTriggerServiceProxy) SetInPhoneCallState( ctx context.Context, isInPhoneCall bool, ) error
type SoundTriggerServiceStub ¶
type SoundTriggerServiceStub struct {
Impl ISoundTriggerService
Transport binder.VersionAwareTransport
}
SoundTriggerServiceStub dispatches incoming binder transactions to a typed ISoundTriggerService implementation.
func (*SoundTriggerServiceStub) Descriptor ¶
func (s *SoundTriggerServiceStub) Descriptor() string
func (*SoundTriggerServiceStub) OnTransaction ¶
func (s *SoundTriggerServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SoundTriggerSessionProxy ¶
func NewSoundTriggerSessionProxy ¶
func NewSoundTriggerSessionProxy( remote binder.IBinder, ) *SoundTriggerSessionProxy
func (*SoundTriggerSessionProxy) AsBinder ¶
func (p *SoundTriggerSessionProxy) AsBinder() binder.IBinder
func (*SoundTriggerSessionProxy) DeleteSoundModel ¶
func (p *SoundTriggerSessionProxy) DeleteSoundModel( ctx context.Context, soundModelId os.ParcelUuid, ) error
func (*SoundTriggerSessionProxy) GetModelState ¶
func (p *SoundTriggerSessionProxy) GetModelState( ctx context.Context, soundModelId os.ParcelUuid, ) (int32, error)
func (*SoundTriggerSessionProxy) GetModuleProperties ¶
func (p *SoundTriggerSessionProxy) GetModuleProperties( ctx context.Context, ) (soundtrigger.SoundTriggerModuleProperties, error)
func (*SoundTriggerSessionProxy) GetParameter ¶
func (p *SoundTriggerSessionProxy) GetParameter( ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams, ) (int32, error)
func (*SoundTriggerSessionProxy) GetSoundModel ¶
func (p *SoundTriggerSessionProxy) GetSoundModel( ctx context.Context, soundModelId os.ParcelUuid, ) (soundtrigger.SoundTriggerGenericSoundModel, error)
func (*SoundTriggerSessionProxy) IsRecognitionActive ¶
func (p *SoundTriggerSessionProxy) IsRecognitionActive( ctx context.Context, parcelUuid os.ParcelUuid, ) (bool, error)
func (*SoundTriggerSessionProxy) LoadGenericSoundModel ¶
func (p *SoundTriggerSessionProxy) LoadGenericSoundModel( ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, ) (int32, error)
func (*SoundTriggerSessionProxy) LoadKeyphraseSoundModel ¶
func (p *SoundTriggerSessionProxy) LoadKeyphraseSoundModel( ctx context.Context, soundModel soundtrigger.SoundTriggerKeyphraseSoundModel, ) (int32, error)
func (*SoundTriggerSessionProxy) QueryParameter ¶
func (p *SoundTriggerSessionProxy) QueryParameter( ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams, ) (soundtrigger.SoundTriggerModelParamRange, error)
func (*SoundTriggerSessionProxy) SetParameter ¶
func (p *SoundTriggerSessionProxy) SetParameter( ctx context.Context, soundModelId os.ParcelUuid, modelParam soundtrigger.ModelParams, value int32, ) (int32, error)
func (*SoundTriggerSessionProxy) StartRecognition ¶
func (p *SoundTriggerSessionProxy) StartRecognition( ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, callback soundtrigger.IRecognitionStatusCallback, config soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool, ) (int32, error)
func (*SoundTriggerSessionProxy) StartRecognitionForService ¶
func (p *SoundTriggerSessionProxy) StartRecognitionForService( ctx context.Context, soundModelId os.ParcelUuid, params os.Bundle, callbackIntent content.ComponentName, config soundtrigger.SoundTriggerRecognitionConfig, ) (int32, error)
func (*SoundTriggerSessionProxy) StopRecognition ¶
func (p *SoundTriggerSessionProxy) StopRecognition( ctx context.Context, soundModelId os.ParcelUuid, callback soundtrigger.IRecognitionStatusCallback, ) (int32, error)
func (*SoundTriggerSessionProxy) StopRecognitionForService ¶
func (p *SoundTriggerSessionProxy) StopRecognitionForService( ctx context.Context, soundModelId os.ParcelUuid, ) (int32, error)
func (*SoundTriggerSessionProxy) UnloadSoundModel ¶
func (p *SoundTriggerSessionProxy) UnloadSoundModel( ctx context.Context, soundModelId os.ParcelUuid, ) (int32, error)
func (*SoundTriggerSessionProxy) UpdateSoundModel ¶
func (p *SoundTriggerSessionProxy) UpdateSoundModel( ctx context.Context, soundModel soundtrigger.SoundTriggerGenericSoundModel, ) error
type SoundTriggerSessionStub ¶
type SoundTriggerSessionStub struct {
Impl ISoundTriggerSession
Transport binder.VersionAwareTransport
}
SoundTriggerSessionStub dispatches incoming binder transactions to a typed ISoundTriggerSession implementation.
func (*SoundTriggerSessionStub) Descriptor ¶
func (s *SoundTriggerSessionStub) Descriptor() string
func (*SoundTriggerSessionStub) OnTransaction ¶
func (s *SoundTriggerSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VisualQueryDetectionAttentionListenerProxy ¶
func NewVisualQueryDetectionAttentionListenerProxy ¶
func NewVisualQueryDetectionAttentionListenerProxy( remote binder.IBinder, ) *VisualQueryDetectionAttentionListenerProxy
func (*VisualQueryDetectionAttentionListenerProxy) AsBinder ¶
func (p *VisualQueryDetectionAttentionListenerProxy) AsBinder() binder.IBinder
func (*VisualQueryDetectionAttentionListenerProxy) OnAttentionGained ¶
func (p *VisualQueryDetectionAttentionListenerProxy) OnAttentionGained( ctx context.Context, attentionResult types.VisualQueryAttentionResult, ) error
func (*VisualQueryDetectionAttentionListenerProxy) OnAttentionLost ¶
func (p *VisualQueryDetectionAttentionListenerProxy) OnAttentionLost( ctx context.Context, interactionIntention int32, ) error
type VisualQueryDetectionAttentionListenerStub ¶
type VisualQueryDetectionAttentionListenerStub struct {
Impl IVisualQueryDetectionAttentionListener
Transport binder.VersionAwareTransport
}
VisualQueryDetectionAttentionListenerStub dispatches incoming binder transactions to a typed IVisualQueryDetectionAttentionListener implementation.
func (*VisualQueryDetectionAttentionListenerStub) Descriptor ¶
func (s *VisualQueryDetectionAttentionListenerStub) Descriptor() string
func (*VisualQueryDetectionAttentionListenerStub) OnTransaction ¶
func (s *VisualQueryDetectionAttentionListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VisualQueryRecognitionStatusListenerProxy ¶
func NewVisualQueryRecognitionStatusListenerProxy ¶
func NewVisualQueryRecognitionStatusListenerProxy( remote binder.IBinder, ) *VisualQueryRecognitionStatusListenerProxy
func (*VisualQueryRecognitionStatusListenerProxy) AsBinder ¶
func (p *VisualQueryRecognitionStatusListenerProxy) AsBinder() binder.IBinder
func (*VisualQueryRecognitionStatusListenerProxy) OnStartPerceiving ¶
func (p *VisualQueryRecognitionStatusListenerProxy) OnStartPerceiving( ctx context.Context, ) error
func (*VisualQueryRecognitionStatusListenerProxy) OnStopPerceiving ¶
func (p *VisualQueryRecognitionStatusListenerProxy) OnStopPerceiving( ctx context.Context, ) error
type VisualQueryRecognitionStatusListenerStub ¶
type VisualQueryRecognitionStatusListenerStub struct {
Impl IVisualQueryRecognitionStatusListener
Transport binder.VersionAwareTransport
}
VisualQueryRecognitionStatusListenerStub dispatches incoming binder transactions to a typed IVisualQueryRecognitionStatusListener implementation.
func (*VisualQueryRecognitionStatusListenerStub) Descriptor ¶
func (s *VisualQueryRecognitionStatusListenerStub) Descriptor() string
func (*VisualQueryRecognitionStatusListenerStub) OnTransaction ¶
func (s *VisualQueryRecognitionStatusListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceActionCheckCallbackProxy ¶
func NewVoiceActionCheckCallbackProxy ¶
func NewVoiceActionCheckCallbackProxy( remote binder.IBinder, ) *VoiceActionCheckCallbackProxy
func (*VoiceActionCheckCallbackProxy) AsBinder ¶
func (p *VoiceActionCheckCallbackProxy) AsBinder() binder.IBinder
func (*VoiceActionCheckCallbackProxy) OnComplete ¶
func (p *VoiceActionCheckCallbackProxy) OnComplete( ctx context.Context, voiceActions []string, ) error
type VoiceActionCheckCallbackStub ¶
type VoiceActionCheckCallbackStub struct {
Impl IVoiceActionCheckCallback
Transport binder.VersionAwareTransport
}
VoiceActionCheckCallbackStub dispatches incoming binder transactions to a typed IVoiceActionCheckCallback implementation.
func (*VoiceActionCheckCallbackStub) Descriptor ¶
func (s *VoiceActionCheckCallbackStub) Descriptor() string
func (*VoiceActionCheckCallbackStub) OnTransaction ¶
func (s *VoiceActionCheckCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractionAccessibilitySettingsListenerProxy ¶
func NewVoiceInteractionAccessibilitySettingsListenerProxy ¶
func NewVoiceInteractionAccessibilitySettingsListenerProxy( remote binder.IBinder, ) *VoiceInteractionAccessibilitySettingsListenerProxy
func (*VoiceInteractionAccessibilitySettingsListenerProxy) AsBinder ¶
func (p *VoiceInteractionAccessibilitySettingsListenerProxy) AsBinder() binder.IBinder
func (*VoiceInteractionAccessibilitySettingsListenerProxy) OnAccessibilityDetectionChanged ¶
func (p *VoiceInteractionAccessibilitySettingsListenerProxy) OnAccessibilityDetectionChanged( ctx context.Context, enable bool, ) error
type VoiceInteractionAccessibilitySettingsListenerStub ¶
type VoiceInteractionAccessibilitySettingsListenerStub struct {
Impl IVoiceInteractionAccessibilitySettingsListener
Transport binder.VersionAwareTransport
}
VoiceInteractionAccessibilitySettingsListenerStub dispatches incoming binder transactions to a typed IVoiceInteractionAccessibilitySettingsListener implementation.
func (*VoiceInteractionAccessibilitySettingsListenerStub) Descriptor ¶
func (s *VoiceInteractionAccessibilitySettingsListenerStub) Descriptor() string
func (*VoiceInteractionAccessibilitySettingsListenerStub) OnTransaction ¶
func (s *VoiceInteractionAccessibilitySettingsListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractionManagerServiceProxy ¶
func NewVoiceInteractionManagerServiceProxy ¶
func NewVoiceInteractionManagerServiceProxy( remote binder.IBinder, ) *VoiceInteractionManagerServiceProxy
func (*VoiceInteractionManagerServiceProxy) ActiveServiceSupportsAssist ¶
func (p *VoiceInteractionManagerServiceProxy) ActiveServiceSupportsAssist( ctx context.Context, ) (bool, error)
func (*VoiceInteractionManagerServiceProxy) ActiveServiceSupportsLaunchFromKeyguard ¶
func (p *VoiceInteractionManagerServiceProxy) ActiveServiceSupportsLaunchFromKeyguard( ctx context.Context, ) (bool, error)
func (*VoiceInteractionManagerServiceProxy) AsBinder ¶
func (p *VoiceInteractionManagerServiceProxy) AsBinder() binder.IBinder
func (*VoiceInteractionManagerServiceProxy) CloseSystemDialogs ¶
func (*VoiceInteractionManagerServiceProxy) CreateSoundTriggerSessionAsOriginator ¶
func (p *VoiceInteractionManagerServiceProxy) CreateSoundTriggerSessionAsOriginator( ctx context.Context, originatorIdentity permission.Identity, client binder.IBinder, moduleProperties soundtrigger.SoundTriggerModuleProperties, ) (IVoiceInteractionSoundTriggerSession, error)
func (*VoiceInteractionManagerServiceProxy) DeleteKeyphraseSoundModel ¶
func (*VoiceInteractionManagerServiceProxy) DeliverNewSession ¶
func (p *VoiceInteractionManagerServiceProxy) DeliverNewSession( ctx context.Context, token binder.IBinder, session types.IVoiceInteractionSession, interactor IVoiceInteractor, ) (bool, error)
func (*VoiceInteractionManagerServiceProxy) DestroyDetector ¶
func (*VoiceInteractionManagerServiceProxy) DisableVisualQueryDetection ¶
func (p *VoiceInteractionManagerServiceProxy) DisableVisualQueryDetection( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) EnableVisualQueryDetection ¶
func (p *VoiceInteractionManagerServiceProxy) EnableVisualQueryDetection( ctx context.Context, Listener IVisualQueryDetectionAttentionListener, ) error
func (*VoiceInteractionManagerServiceProxy) GetAccessibilityDetectionEnabled ¶
func (p *VoiceInteractionManagerServiceProxy) GetAccessibilityDetectionEnabled( ctx context.Context, ) (bool, error)
func (*VoiceInteractionManagerServiceProxy) GetActiveServiceComponentName ¶
func (p *VoiceInteractionManagerServiceProxy) GetActiveServiceComponentName( ctx context.Context, ) (content.ComponentName, error)
func (*VoiceInteractionManagerServiceProxy) GetActiveServiceSupportedActions ¶
func (p *VoiceInteractionManagerServiceProxy) GetActiveServiceSupportedActions( ctx context.Context, voiceActions []string, callback IVoiceActionCheckCallback, ) error
func (*VoiceInteractionManagerServiceProxy) GetDisabledShowContext ¶
func (p *VoiceInteractionManagerServiceProxy) GetDisabledShowContext( ctx context.Context, ) (int32, error)
func (*VoiceInteractionManagerServiceProxy) GetEnrolledKeyphraseMetadata ¶
func (p *VoiceInteractionManagerServiceProxy) GetEnrolledKeyphraseMetadata( ctx context.Context, keyphrase string, bcp47Locale string, ) (soundtrigger.KeyphraseMetadata, error)
func (*VoiceInteractionManagerServiceProxy) GetKeyphraseSoundModel ¶
func (p *VoiceInteractionManagerServiceProxy) GetKeyphraseSoundModel( ctx context.Context, keyphraseId int32, bcp47Locale string, ) (soundtrigger.SoundTriggerKeyphraseSoundModel, error)
func (*VoiceInteractionManagerServiceProxy) GetUserDisabledShowContext ¶
func (p *VoiceInteractionManagerServiceProxy) GetUserDisabledShowContext( ctx context.Context, ) (int32, error)
func (*VoiceInteractionManagerServiceProxy) HideCurrentSession ¶
func (p *VoiceInteractionManagerServiceProxy) HideCurrentSession( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) HideSessionFromSession ¶
func (*VoiceInteractionManagerServiceProxy) InitAndVerifyDetector ¶
func (p *VoiceInteractionManagerServiceProxy) InitAndVerifyDetector( ctx context.Context, originatorIdentity permission.Identity, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder, callback IHotwordRecognitionStatusCallback, detectorType int32, ) error
func (*VoiceInteractionManagerServiceProxy) IsEnrolledForKeyphrase ¶
func (*VoiceInteractionManagerServiceProxy) IsSessionRunning ¶
func (p *VoiceInteractionManagerServiceProxy) IsSessionRunning( ctx context.Context, ) (bool, error)
func (*VoiceInteractionManagerServiceProxy) LaunchVoiceAssistFromKeyguard ¶
func (p *VoiceInteractionManagerServiceProxy) LaunchVoiceAssistFromKeyguard( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) ListModuleProperties ¶
func (p *VoiceInteractionManagerServiceProxy) ListModuleProperties( ctx context.Context, originatorIdentity permission.Identity, ) ([]soundtrigger.SoundTriggerModuleProperties, error)
func (*VoiceInteractionManagerServiceProxy) NotifyActivityEventChanged ¶
func (*VoiceInteractionManagerServiceProxy) OnLockscreenShown ¶
func (p *VoiceInteractionManagerServiceProxy) OnLockscreenShown( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) PerformDirectAction ¶
func (*VoiceInteractionManagerServiceProxy) RegisterAccessibilityDetectionSettingsListener ¶
func (p *VoiceInteractionManagerServiceProxy) RegisterAccessibilityDetectionSettingsListener( ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener, ) error
func (*VoiceInteractionManagerServiceProxy) RegisterVoiceInteractionSessionListener ¶
func (p *VoiceInteractionManagerServiceProxy) RegisterVoiceInteractionSessionListener( ctx context.Context, listener IVoiceInteractionSessionListener, ) error
func (*VoiceInteractionManagerServiceProxy) RequestDirectActions ¶
func (p *VoiceInteractionManagerServiceProxy) RequestDirectActions( ctx context.Context, token binder.IBinder, taskId int32, assistToken binder.IBinder, cancellationCallback os.RemoteCallback, callback os.RemoteCallback, ) error
func (*VoiceInteractionManagerServiceProxy) SetDisabled ¶
func (p *VoiceInteractionManagerServiceProxy) SetDisabled( ctx context.Context, disabled bool, ) error
func (*VoiceInteractionManagerServiceProxy) SetDisabledShowContext ¶
func (p *VoiceInteractionManagerServiceProxy) SetDisabledShowContext( ctx context.Context, flags int32, ) error
func (*VoiceInteractionManagerServiceProxy) SetKeepAwake ¶
func (*VoiceInteractionManagerServiceProxy) SetModelDatabaseForTestEnabled ¶
func (*VoiceInteractionManagerServiceProxy) SetSessionWindowVisible ¶
func (*VoiceInteractionManagerServiceProxy) SetUiHints ¶
func (*VoiceInteractionManagerServiceProxy) ShowSession ¶
func (*VoiceInteractionManagerServiceProxy) ShowSessionForActiveService ¶
func (*VoiceInteractionManagerServiceProxy) ShowSessionFromSession ¶
func (*VoiceInteractionManagerServiceProxy) ShutdownHotwordDetectionService ¶
func (p *VoiceInteractionManagerServiceProxy) ShutdownHotwordDetectionService( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) StartAssistantActivity ¶
func (*VoiceInteractionManagerServiceProxy) StartListeningFromExternalSource ¶
func (p *VoiceInteractionManagerServiceProxy) StartListeningFromExternalSource( ctx context.Context, audioStream int32, audioFormat media.AudioFormat, options os.PersistableBundle, token binder.IBinder, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback, ) error
func (*VoiceInteractionManagerServiceProxy) StartListeningFromMic ¶
func (p *VoiceInteractionManagerServiceProxy) StartListeningFromMic( ctx context.Context, audioFormat media.AudioFormat, callback types.IMicrophoneHotwordDetectionVoiceInteractionCallback, ) error
func (*VoiceInteractionManagerServiceProxy) StartListeningVisibleActivityChanged ¶
func (*VoiceInteractionManagerServiceProxy) StartPerceiving ¶
func (p *VoiceInteractionManagerServiceProxy) StartPerceiving( ctx context.Context, callback types.IVisualQueryDetectionVoiceInteractionCallback, ) error
func (*VoiceInteractionManagerServiceProxy) StartVoiceActivity ¶
func (*VoiceInteractionManagerServiceProxy) StopListeningFromMic ¶
func (p *VoiceInteractionManagerServiceProxy) StopListeningFromMic( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) StopListeningVisibleActivityChanged ¶
func (*VoiceInteractionManagerServiceProxy) StopPerceiving ¶
func (p *VoiceInteractionManagerServiceProxy) StopPerceiving( ctx context.Context, ) error
func (*VoiceInteractionManagerServiceProxy) SubscribeVisualQueryRecognitionStatus ¶
func (p *VoiceInteractionManagerServiceProxy) SubscribeVisualQueryRecognitionStatus( ctx context.Context, listener IVisualQueryRecognitionStatusListener, ) error
func (*VoiceInteractionManagerServiceProxy) TriggerHardwareRecognitionEventForTest ¶
func (p *VoiceInteractionManagerServiceProxy) TriggerHardwareRecognitionEventForTest( ctx context.Context, event soundtrigger.SoundTriggerKeyphraseRecognitionEvent, callback IHotwordRecognitionStatusCallback, ) error
func (*VoiceInteractionManagerServiceProxy) UnregisterAccessibilityDetectionSettingsListener ¶
func (p *VoiceInteractionManagerServiceProxy) UnregisterAccessibilityDetectionSettingsListener( ctx context.Context, listener IVoiceInteractionAccessibilitySettingsListener, ) error
func (*VoiceInteractionManagerServiceProxy) UpdateKeyphraseSoundModel ¶
func (p *VoiceInteractionManagerServiceProxy) UpdateKeyphraseSoundModel( ctx context.Context, model soundtrigger.SoundTriggerKeyphraseSoundModel, ) (int32, error)
func (*VoiceInteractionManagerServiceProxy) UpdateState ¶
func (p *VoiceInteractionManagerServiceProxy) UpdateState( ctx context.Context, options os.PersistableBundle, sharedMemory os.SharedMemory, token binder.IBinder, ) error
type VoiceInteractionManagerServiceStub ¶
type VoiceInteractionManagerServiceStub struct {
Impl IVoiceInteractionManagerService
Transport binder.VersionAwareTransport
}
VoiceInteractionManagerServiceStub dispatches incoming binder transactions to a typed IVoiceInteractionManagerService implementation.
func (*VoiceInteractionManagerServiceStub) Descriptor ¶
func (s *VoiceInteractionManagerServiceStub) Descriptor() string
func (*VoiceInteractionManagerServiceStub) OnTransaction ¶
func (s *VoiceInteractionManagerServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractionSessionListenerProxy ¶
func NewVoiceInteractionSessionListenerProxy ¶
func NewVoiceInteractionSessionListenerProxy( remote binder.IBinder, ) *VoiceInteractionSessionListenerProxy
func (*VoiceInteractionSessionListenerProxy) AsBinder ¶
func (p *VoiceInteractionSessionListenerProxy) AsBinder() binder.IBinder
func (*VoiceInteractionSessionListenerProxy) OnSetUiHints ¶
func (*VoiceInteractionSessionListenerProxy) OnVoiceSessionHidden ¶
func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionHidden( ctx context.Context, ) error
func (*VoiceInteractionSessionListenerProxy) OnVoiceSessionShown ¶
func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionShown( ctx context.Context, ) error
func (*VoiceInteractionSessionListenerProxy) OnVoiceSessionWindowVisibilityChanged ¶
func (p *VoiceInteractionSessionListenerProxy) OnVoiceSessionWindowVisibilityChanged( ctx context.Context, visible bool, ) error
type VoiceInteractionSessionListenerStub ¶
type VoiceInteractionSessionListenerStub struct {
Impl IVoiceInteractionSessionListener
Transport binder.VersionAwareTransport
}
VoiceInteractionSessionListenerStub dispatches incoming binder transactions to a typed IVoiceInteractionSessionListener implementation.
func (*VoiceInteractionSessionListenerStub) Descriptor ¶
func (s *VoiceInteractionSessionListenerStub) Descriptor() string
func (*VoiceInteractionSessionListenerStub) OnTransaction ¶
func (s *VoiceInteractionSessionListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractionSessionShowCallbackProxy ¶
func NewVoiceInteractionSessionShowCallbackProxy ¶
func NewVoiceInteractionSessionShowCallbackProxy( remote binder.IBinder, ) *VoiceInteractionSessionShowCallbackProxy
func (*VoiceInteractionSessionShowCallbackProxy) AsBinder ¶
func (p *VoiceInteractionSessionShowCallbackProxy) AsBinder() binder.IBinder
type VoiceInteractionSessionShowCallbackStub ¶
type VoiceInteractionSessionShowCallbackStub struct {
Impl IVoiceInteractionSessionShowCallback
Transport binder.VersionAwareTransport
}
VoiceInteractionSessionShowCallbackStub dispatches incoming binder transactions to a typed IVoiceInteractionSessionShowCallback implementation.
func (*VoiceInteractionSessionShowCallbackStub) Descriptor ¶
func (s *VoiceInteractionSessionShowCallbackStub) Descriptor() string
func (*VoiceInteractionSessionShowCallbackStub) OnTransaction ¶
func (s *VoiceInteractionSessionShowCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractionSoundTriggerSessionProxy ¶
func NewVoiceInteractionSoundTriggerSessionProxy ¶
func NewVoiceInteractionSoundTriggerSessionProxy( remote binder.IBinder, ) *VoiceInteractionSoundTriggerSessionProxy
func (*VoiceInteractionSoundTriggerSessionProxy) AsBinder ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) AsBinder() binder.IBinder
func (*VoiceInteractionSoundTriggerSessionProxy) Detach ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) Detach( ctx context.Context, ) error
func (*VoiceInteractionSoundTriggerSessionProxy) GetDspModuleProperties ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) GetDspModuleProperties( ctx context.Context, ) (soundtrigger.SoundTriggerModuleProperties, error)
func (*VoiceInteractionSoundTriggerSessionProxy) GetParameter ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) GetParameter( ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, ) (int32, error)
func (*VoiceInteractionSoundTriggerSessionProxy) QueryParameter ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) QueryParameter( ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, ) (soundtrigger.SoundTriggerModelParamRange, error)
func (*VoiceInteractionSoundTriggerSessionProxy) SetParameter ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) SetParameter( ctx context.Context, keyphraseId int32, modelParam soundtrigger.ModelParams, value int32, ) (int32, error)
func (*VoiceInteractionSoundTriggerSessionProxy) StartRecognition ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) StartRecognition( ctx context.Context, keyphraseId int32, bcp47Locale string, callback IHotwordRecognitionStatusCallback, recognitionConfig soundtrigger.SoundTriggerRecognitionConfig, runInBatterySaver bool, ) (int32, error)
func (*VoiceInteractionSoundTriggerSessionProxy) StopRecognition ¶
func (p *VoiceInteractionSoundTriggerSessionProxy) StopRecognition( ctx context.Context, keyphraseId int32, callback IHotwordRecognitionStatusCallback, ) (int32, error)
type VoiceInteractionSoundTriggerSessionStub ¶
type VoiceInteractionSoundTriggerSessionStub struct {
Impl IVoiceInteractionSoundTriggerSession
Transport binder.VersionAwareTransport
}
VoiceInteractionSoundTriggerSessionStub dispatches incoming binder transactions to a typed IVoiceInteractionSoundTriggerSession implementation.
func (*VoiceInteractionSoundTriggerSessionStub) Descriptor ¶
func (s *VoiceInteractionSoundTriggerSessionStub) Descriptor() string
func (*VoiceInteractionSoundTriggerSessionStub) OnTransaction ¶
func (s *VoiceInteractionSoundTriggerSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractorCallbackProxy ¶
func NewVoiceInteractorCallbackProxy ¶
func NewVoiceInteractorCallbackProxy( remote binder.IBinder, ) *VoiceInteractorCallbackProxy
func (*VoiceInteractorCallbackProxy) AsBinder ¶
func (p *VoiceInteractorCallbackProxy) AsBinder() binder.IBinder
func (*VoiceInteractorCallbackProxy) DeliverAbortVoiceResult ¶
func (p *VoiceInteractorCallbackProxy) DeliverAbortVoiceResult( ctx context.Context, request IVoiceInteractorRequest, result os.Bundle, ) error
func (*VoiceInteractorCallbackProxy) DeliverCancel ¶
func (p *VoiceInteractorCallbackProxy) DeliverCancel( ctx context.Context, request IVoiceInteractorRequest, ) error
func (*VoiceInteractorCallbackProxy) DeliverCommandResult ¶
func (p *VoiceInteractorCallbackProxy) DeliverCommandResult( ctx context.Context, request IVoiceInteractorRequest, finished bool, result os.Bundle, ) error
func (*VoiceInteractorCallbackProxy) DeliverCompleteVoiceResult ¶
func (p *VoiceInteractorCallbackProxy) DeliverCompleteVoiceResult( ctx context.Context, request IVoiceInteractorRequest, result os.Bundle, ) error
func (*VoiceInteractorCallbackProxy) DeliverConfirmationResult ¶
func (p *VoiceInteractorCallbackProxy) DeliverConfirmationResult( ctx context.Context, request IVoiceInteractorRequest, confirmed bool, result os.Bundle, ) error
func (*VoiceInteractorCallbackProxy) DeliverPickOptionResult ¶
func (p *VoiceInteractorCallbackProxy) DeliverPickOptionResult( ctx context.Context, request IVoiceInteractorRequest, finished bool, selections []types.VoiceInteractorPickOptionRequestOption, result os.Bundle, ) error
type VoiceInteractorCallbackStub ¶
type VoiceInteractorCallbackStub struct {
Impl IVoiceInteractorCallback
Transport binder.VersionAwareTransport
}
VoiceInteractorCallbackStub dispatches incoming binder transactions to a typed IVoiceInteractorCallback implementation.
func (*VoiceInteractorCallbackStub) Descriptor ¶
func (s *VoiceInteractorCallbackStub) Descriptor() string
func (*VoiceInteractorCallbackStub) OnTransaction ¶
func (s *VoiceInteractorCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractorProxy ¶
func NewVoiceInteractorProxy ¶
func NewVoiceInteractorProxy( remote binder.IBinder, ) *VoiceInteractorProxy
func (*VoiceInteractorProxy) AsBinder ¶
func (p *VoiceInteractorProxy) AsBinder() binder.IBinder
func (*VoiceInteractorProxy) NotifyDirectActionsChanged ¶
func (*VoiceInteractorProxy) SetKillCallback ¶
func (p *VoiceInteractorProxy) SetKillCallback( ctx context.Context, callback os.ICancellationSignal, ) error
func (*VoiceInteractorProxy) StartAbortVoice ¶
func (p *VoiceInteractorProxy) StartAbortVoice( ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle, ) (IVoiceInteractorRequest, error)
func (*VoiceInteractorProxy) StartCommand ¶
func (p *VoiceInteractorProxy) StartCommand( ctx context.Context, callback IVoiceInteractorCallback, command string, extras os.Bundle, ) (IVoiceInteractorRequest, error)
func (*VoiceInteractorProxy) StartCompleteVoice ¶
func (p *VoiceInteractorProxy) StartCompleteVoice( ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle, ) (IVoiceInteractorRequest, error)
func (*VoiceInteractorProxy) StartConfirmation ¶
func (p *VoiceInteractorProxy) StartConfirmation( ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, extras os.Bundle, ) (IVoiceInteractorRequest, error)
func (*VoiceInteractorProxy) StartPickOption ¶
func (p *VoiceInteractorProxy) StartPickOption( ctx context.Context, callback IVoiceInteractorCallback, prompt types.VoiceInteractorPrompt, options []types.VoiceInteractorPickOptionRequestOption, extras os.Bundle, ) (IVoiceInteractorRequest, error)
func (*VoiceInteractorProxy) SupportsCommands ¶
type VoiceInteractorRequestProxy ¶
func NewVoiceInteractorRequestProxy ¶
func NewVoiceInteractorRequestProxy( remote binder.IBinder, ) *VoiceInteractorRequestProxy
func (*VoiceInteractorRequestProxy) AsBinder ¶
func (p *VoiceInteractorRequestProxy) AsBinder() binder.IBinder
type VoiceInteractorRequestStub ¶
type VoiceInteractorRequestStub struct {
Impl IVoiceInteractorRequest
Transport binder.VersionAwareTransport
}
VoiceInteractorRequestStub dispatches incoming binder transactions to a typed IVoiceInteractorRequest implementation.
func (*VoiceInteractorRequestStub) Descriptor ¶
func (s *VoiceInteractorRequestStub) Descriptor() string
func (*VoiceInteractorRequestStub) OnTransaction ¶
func (s *VoiceInteractorRequestStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type VoiceInteractorStub ¶
type VoiceInteractorStub struct {
Impl IVoiceInteractor
Transport binder.VersionAwareTransport
}
VoiceInteractorStub dispatches incoming binder transactions to a typed IVoiceInteractor implementation.
func (*VoiceInteractorStub) Descriptor ¶
func (s *VoiceInteractorStub) Descriptor() string
func (*VoiceInteractorStub) OnTransaction ¶
func (s *VoiceInteractorStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Source Files
¶
- get_appops.go
- get_batterymanager.go
- get_batterystats.go
- get_soundtrigger.go
- get_systemhealth.go
- iappopsactivecallback.go
- iappopsasyncnotedcallback.go
- iappopscallback.go
- iappopsnotedcallback.go
- iappopsservice.go
- iappopsstartedcallback.go
- ibatterystats.go
- ihotwordrecognitionstatuscallback.go
- ilogaccessdialogcallback.go
- imediacontainerservice.go
- isoundtriggerservice.go
- isoundtriggersession.go
- ivisualquerydetectionattentionlistener.go
- ivisualqueryrecognitionstatuslistener.go
- ivoiceactioncheckcallback.go
- ivoiceinteractionaccessibilitysettingslistener.go
- ivoiceinteractionmanagerservice.go
- ivoiceinteractionsessionlistener.go
- ivoiceinteractionsessionshowcallback.go
- ivoiceinteractionsoundtriggersession.go
- ivoiceinteractor.go
- ivoiceinteractorcallback.go
- ivoiceinteractorrequest.go
- messagesamplingconfig.go