app

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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
)
View Source
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"
)
View Source
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
)
View Source
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"
)
View Source
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
)
View Source
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"
)
View Source
const (
	TransactionILogAccessDialogCallbackApproveAccessForClient = binder.FirstCallTransaction + 0
	TransactionILogAccessDialogCallbackDeclineAccessForClient = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodILogAccessDialogCallbackApproveAccessForClient = "approveAccessForClient"
	MethodILogAccessDialogCallbackDeclineAccessForClient = "declineAccessForClient"
)
View Source
const (
	TransactionIMediaContainerServiceCopyPackage            = binder.FirstCallTransaction + 0
	TransactionIMediaContainerServiceGetMinimalPackageInfo  = binder.FirstCallTransaction + 1
	TransactionIMediaContainerServiceGetObbInfo             = binder.FirstCallTransaction + 2
	TransactionIMediaContainerServiceCalculateInstalledSize = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIMediaContainerServiceCopyPackage            = "copyPackage"
	MethodIMediaContainerServiceGetMinimalPackageInfo  = "getMinimalPackageInfo"
	MethodIMediaContainerServiceGetObbInfo             = "getObbInfo"
	MethodIMediaContainerServiceCalculateInstalledSize = "calculateInstalledSize"
)
View Source
const (
	TransactionISoundTriggerServiceAttachAsOriginator   = binder.FirstCallTransaction + 0
	TransactionISoundTriggerServiceAttachAsMiddleman    = binder.FirstCallTransaction + 1
	TransactionISoundTriggerServiceListModuleProperties = binder.FirstCallTransaction + 2
	TransactionISoundTriggerServiceAttachInjection      = binder.FirstCallTransaction + 3
	TransactionISoundTriggerServiceSetInPhoneCallState  = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodISoundTriggerServiceAttachAsOriginator   = "attachAsOriginator"
	MethodISoundTriggerServiceAttachAsMiddleman    = "attachAsMiddleman"
	MethodISoundTriggerServiceListModuleProperties = "listModuleProperties"
	MethodISoundTriggerServiceAttachInjection      = "attachInjection"
	MethodISoundTriggerServiceSetInPhoneCallState  = "setInPhoneCallState"
)
View Source
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
)
View Source
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"
)
View Source
const (
	TransactionIVisualQueryDetectionAttentionListenerOnAttentionGained = binder.FirstCallTransaction + 0
	TransactionIVisualQueryDetectionAttentionListenerOnAttentionLost   = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIVisualQueryDetectionAttentionListenerOnAttentionGained = "onAttentionGained"
	MethodIVisualQueryDetectionAttentionListenerOnAttentionLost   = "onAttentionLost"
)
View Source
const (
	TransactionIVisualQueryRecognitionStatusListenerOnStartPerceiving = binder.FirstCallTransaction + 0
	TransactionIVisualQueryRecognitionStatusListenerOnStopPerceiving  = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIVisualQueryRecognitionStatusListenerOnStartPerceiving = "onStartPerceiving"
	MethodIVisualQueryRecognitionStatusListenerOnStopPerceiving  = "onStopPerceiving"
)
View Source
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
)
View Source
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"
)
View Source
const (
	TransactionIVoiceInteractionSessionListenerOnVoiceSessionShown                   = binder.FirstCallTransaction + 0
	TransactionIVoiceInteractionSessionListenerOnVoiceSessionHidden                  = binder.FirstCallTransaction + 1
	TransactionIVoiceInteractionSessionListenerOnVoiceSessionWindowVisibilityChanged = binder.FirstCallTransaction + 2
	TransactionIVoiceInteractionSessionListenerOnSetUiHints                          = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIVoiceInteractionSessionListenerOnVoiceSessionShown                   = "onVoiceSessionShown"
	MethodIVoiceInteractionSessionListenerOnVoiceSessionHidden                  = "onVoiceSessionHidden"
	MethodIVoiceInteractionSessionListenerOnVoiceSessionWindowVisibilityChanged = "onVoiceSessionWindowVisibilityChanged"
	MethodIVoiceInteractionSessionListenerOnSetUiHints                          = "onSetUiHints"
)
View Source
const (
	TransactionIVoiceInteractionSessionShowCallbackOnFailed = binder.FirstCallTransaction + 0
	TransactionIVoiceInteractionSessionShowCallbackOnShown  = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIVoiceInteractionSessionShowCallbackOnFailed = "onFailed"
	MethodIVoiceInteractionSessionShowCallbackOnShown  = "onShown"
)
View Source
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
)
View Source
const (
	MethodIVoiceInteractionSoundTriggerSessionGetDspModuleProperties = "getDspModuleProperties"
	MethodIVoiceInteractionSoundTriggerSessionStartRecognition       = "startRecognition"
	MethodIVoiceInteractionSoundTriggerSessionStopRecognition        = "stopRecognition"
	MethodIVoiceInteractionSoundTriggerSessionSetParameter           = "setParameter"
	MethodIVoiceInteractionSoundTriggerSessionGetParameter           = "getParameter"
	MethodIVoiceInteractionSoundTriggerSessionQueryParameter         = "queryParameter"
	MethodIVoiceInteractionSoundTriggerSessionDetach                 = "detach"
)
View Source
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
)
View Source
const (
	MethodIVoiceInteractorStartConfirmation          = "startConfirmation"
	MethodIVoiceInteractorStartPickOption            = "startPickOption"
	MethodIVoiceInteractorStartCompleteVoice         = "startCompleteVoice"
	MethodIVoiceInteractorStartAbortVoice            = "startAbortVoice"
	MethodIVoiceInteractorStartCommand               = "startCommand"
	MethodIVoiceInteractorSupportsCommands           = "supportsCommands"
	MethodIVoiceInteractorNotifyDirectActionsChanged = "notifyDirectActionsChanged"
	MethodIVoiceInteractorSetKillCallback            = "setKillCallback"
)
View Source
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
)
View Source
const (
	MethodIVoiceInteractorCallbackDeliverConfirmationResult  = "deliverConfirmationResult"
	MethodIVoiceInteractorCallbackDeliverPickOptionResult    = "deliverPickOptionResult"
	MethodIVoiceInteractorCallbackDeliverCompleteVoiceResult = "deliverCompleteVoiceResult"
	MethodIVoiceInteractorCallbackDeliverAbortVoiceResult    = "deliverAbortVoiceResult"
	MethodIVoiceInteractorCallbackDeliverCommandResult       = "deliverCommandResult"
	MethodIVoiceInteractorCallbackDeliverCancel              = "deliverCancel"
	MethodIVoiceInteractorCallbackDestroy                    = "destroy"
)
View Source
const DescriptorIAppOpsActiveCallback = "com.android.internal.app.IAppOpsActiveCallback"
View Source
const DescriptorIAppOpsAsyncNotedCallback = "com.android.internal.app.IAppOpsAsyncNotedCallback"
View Source
const DescriptorIAppOpsCallback = "com.android.internal.app.IAppOpsCallback"
View Source
const DescriptorIAppOpsNotedCallback = "com.android.internal.app.IAppOpsNotedCallback"
View Source
const DescriptorIAppOpsService = "com.android.internal.app.IAppOpsService"
View Source
const DescriptorIAppOpsStartedCallback = "com.android.internal.app.IAppOpsStartedCallback"
View Source
const DescriptorIBatteryStats = "com.android.internal.app.IBatteryStats"
View Source
const DescriptorIHotwordRecognitionStatusCallback = "com.android.internal.app.IHotwordRecognitionStatusCallback"
View Source
const DescriptorILogAccessDialogCallback = "com.android.internal.app.ILogAccessDialogCallback"
View Source
const DescriptorIMediaContainerService = "com.android.internal.app.IMediaContainerService"
View Source
const DescriptorISoundTriggerService = "com.android.internal.app.ISoundTriggerService"
View Source
const DescriptorISoundTriggerSession = "com.android.internal.app.ISoundTriggerSession"
View Source
const DescriptorIVisualQueryDetectionAttentionListener = "com.android.internal.app.IVisualQueryDetectionAttentionListener"
View Source
const DescriptorIVisualQueryRecognitionStatusListener = "com.android.internal.app.IVisualQueryRecognitionStatusListener"
View Source
const DescriptorIVoiceActionCheckCallback = "com.android.internal.app.IVoiceActionCheckCallback"
View Source
const DescriptorIVoiceInteractionAccessibilitySettingsListener = "com.android.internal.app.IVoiceInteractionAccessibilitySettingsListener"
View Source
const DescriptorIVoiceInteractionManagerService = "com.android.internal.app.IVoiceInteractionManagerService"
View Source
const DescriptorIVoiceInteractionSessionListener = "com.android.internal.app.IVoiceInteractionSessionListener"
View Source
const DescriptorIVoiceInteractionSessionShowCallback = "com.android.internal.app.IVoiceInteractionSessionShowCallback"
View Source
const DescriptorIVoiceInteractionSoundTriggerSession = "com.android.internal.app.IVoiceInteractionSoundTriggerSession"
View Source
const DescriptorIVoiceInteractor = "com.android.internal.app.IVoiceInteractor"
View Source
const DescriptorIVoiceInteractorCallback = "com.android.internal.app.IVoiceInteractorCallback"
View Source
const DescriptorIVoiceInteractorRequest = "com.android.internal.app.IVoiceInteractorRequest"
View Source
const (
	MethodIAppOpsActiveCallbackOpActiveChanged = "opActiveChanged"
)
View Source
const (
	MethodIAppOpsAsyncNotedCallbackOpNoted = "opNoted"
)
View Source
const (
	MethodIAppOpsCallbackOpChanged = "opChanged"
)
View Source
const (
	MethodIAppOpsNotedCallbackOpNoted = "opNoted"
)
View Source
const (
	MethodIAppOpsStartedCallbackOpStarted = "opStarted"
)
View Source
const (
	MethodIVoiceActionCheckCallbackOnComplete = "onComplete"
)
View Source
const (
	MethodIVoiceInteractionAccessibilitySettingsListenerOnAccessibilityDetectionChanged = "onAccessibilityDetectionChanged"
)
View Source
const (
	MethodIVoiceInteractorRequestCancel = "cancel"
)
View Source
const (
	TransactionIAppOpsActiveCallbackOpActiveChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAppOpsAsyncNotedCallbackOpNoted = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAppOpsCallbackOpChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAppOpsNotedCallbackOpNoted = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIAppOpsStartedCallbackOpStarted = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIVoiceActionCheckCallbackOnComplete = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIVoiceInteractionAccessibilitySettingsListenerOnAccessibilityDetectionChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIVoiceInteractorRequestCancel = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppOpsActiveCallbackProxy

type AppOpsActiveCallbackProxy struct {
	Remote binder.IBinder
}

func NewAppOpsActiveCallbackProxy

func NewAppOpsActiveCallbackProxy(
	remote binder.IBinder,
) *AppOpsActiveCallbackProxy

func (*AppOpsActiveCallbackProxy) AsBinder

func (*AppOpsActiveCallbackProxy) OpActiveChanged

func (p *AppOpsActiveCallbackProxy) OpActiveChanged(
	ctx context.Context,
	op int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
	active bool,
	attributionFlags int32,
	attributionChainId int32,
) error

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

type AppOpsAsyncNotedCallbackProxy struct {
	Remote binder.IBinder
}

func NewAppOpsAsyncNotedCallbackProxy

func NewAppOpsAsyncNotedCallbackProxy(
	remote binder.IBinder,
) *AppOpsAsyncNotedCallbackProxy

func (*AppOpsAsyncNotedCallbackProxy) AsBinder

func (*AppOpsAsyncNotedCallbackProxy) OpNoted

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

type AppOpsCallbackProxy

type AppOpsCallbackProxy struct {
	Remote binder.IBinder
}

func NewAppOpsCallbackProxy

func NewAppOpsCallbackProxy(
	remote binder.IBinder,
) *AppOpsCallbackProxy

func (*AppOpsCallbackProxy) AsBinder

func (p *AppOpsCallbackProxy) AsBinder() binder.IBinder

func (*AppOpsCallbackProxy) OpChanged

func (p *AppOpsCallbackProxy) OpChanged(
	ctx context.Context,
	op int32,
	uid int32,
	packageName string,
	persistentDeviceId string,
) error

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

type AppOpsNotedCallbackProxy struct {
	Remote binder.IBinder
}

func NewAppOpsNotedCallbackProxy

func NewAppOpsNotedCallbackProxy(
	remote binder.IBinder,
) *AppOpsNotedCallbackProxy

func (*AppOpsNotedCallbackProxy) AsBinder

func (p *AppOpsNotedCallbackProxy) AsBinder() binder.IBinder

func (*AppOpsNotedCallbackProxy) OpNoted

func (p *AppOpsNotedCallbackProxy) OpNoted(
	ctx context.Context,
	op int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
	flags int32,
	mode int32,
) error

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

type AppOpsServiceProxy struct {
	Remote binder.IBinder
}

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 (p *AppOpsServiceProxy) CheckAudioOperation(
	ctx context.Context,
	code int32,
	usage int32,
	uid int32,
	packageName string,
) (int32, error)

func (*AppOpsServiceProxy) CheckOperation

func (p *AppOpsServiceProxy) CheckOperation(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
) (int32, error)

func (*AppOpsServiceProxy) CheckOperationForDevice

func (p *AppOpsServiceProxy) CheckOperationForDevice(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
) (int32, error)

func (*AppOpsServiceProxy) CheckOperationRaw

func (p *AppOpsServiceProxy) CheckOperationRaw(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
) (int32, error)

func (*AppOpsServiceProxy) CheckOperationRawForDevice

func (p *AppOpsServiceProxy) CheckOperationRawForDevice(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
) (int32, error)

func (*AppOpsServiceProxy) CheckPackage

func (p *AppOpsServiceProxy) CheckPackage(
	ctx context.Context,
	uid int32,
	packageName string,
) (int32, error)

func (*AppOpsServiceProxy) ClearHistory

func (p *AppOpsServiceProxy) ClearHistory(
	ctx context.Context,
) error

func (*AppOpsServiceProxy) CollectNoteOpCallsForValidation

func (p *AppOpsServiceProxy) CollectNoteOpCallsForValidation(
	ctx context.Context,
	stackTrace string,
	op int32,
	packageName string,
	version int64,
) error

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 (p *AppOpsServiceProxy) FinishOperation(
	ctx context.Context,
	clientId binder.IBinder,
	code int32,
	uid int32,
	packageName string,
) error

func (*AppOpsServiceProxy) FinishOperationForDevice

func (p *AppOpsServiceProxy) FinishOperationForDevice(
	ctx context.Context,
	clientId binder.IBinder,
	code int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
) error

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 (p *AppOpsServiceProxy) GetHistoricalOps(
	ctx context.Context,
	uid int32,
	packageName string,
	ops []string,
	historyFlags int32,
	filter int32,
	beginTimeMillis int64,
	endTimeMillis int64,
	flags int32,
	callback os.RemoteCallback,
) error

func (*AppOpsServiceProxy) GetHistoricalOpsFromDiskRaw

func (p *AppOpsServiceProxy) GetHistoricalOpsFromDiskRaw(
	ctx context.Context,
	uid int32,
	packageName string,
	ops []string,
	historyFlags int32,
	filter int32,
	beginTimeMillis int64,
	endTimeMillis int64,
	flags int32,
	callback os.RemoteCallback,
) error

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 (p *AppOpsServiceProxy) IsOperationActive(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
) (bool, error)

func (*AppOpsServiceProxy) IsProxying

func (p *AppOpsServiceProxy) IsProxying(
	ctx context.Context,
	op int32,
	proxyPackageName string,
	proxyAttributionTag string,
	proxiedUid int32,
	proxiedPackageName string,
) (bool, error)

func (*AppOpsServiceProxy) NoteOperation

func (p *AppOpsServiceProxy) NoteOperation(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
	shouldCollectAsyncNotedOp bool,
	message string,
	shouldCollectMessage bool,
) (types.SyncNotedAppOp, error)

func (*AppOpsServiceProxy) NoteOperationForDevice

func (p *AppOpsServiceProxy) NoteOperationForDevice(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
	shouldCollectAsyncNotedOp bool,
	message string,
	shouldCollectMessage bool,
) (types.SyncNotedAppOp, error)

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 (p *AppOpsServiceProxy) PermissionToOpCode(
	ctx context.Context,
	permission string,
) (int32, error)

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 (p *AppOpsServiceProxy) ResetAllModes(
	ctx context.Context,
	reqUserId int32,
	reqPackageName string,
) error

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 (p *AppOpsServiceProxy) SetAudioRestriction(
	ctx context.Context,
	code int32,
	usage int32,
	uid int32,
	mode int32,
	exceptionPackages []string,
) error

func (*AppOpsServiceProxy) SetCameraAudioRestriction

func (p *AppOpsServiceProxy) SetCameraAudioRestriction(
	ctx context.Context,
	mode int32,
) error

func (*AppOpsServiceProxy) SetHistoryParameters

func (p *AppOpsServiceProxy) SetHistoryParameters(
	ctx context.Context,
	mode int32,
	baseSnapshotInterval int64,
	compressionStep int32,
) error

func (*AppOpsServiceProxy) SetMode

func (p *AppOpsServiceProxy) SetMode(
	ctx context.Context,
	code int32,
	uid int32,
	packageName string,
	mode int32,
) error

func (*AppOpsServiceProxy) SetUidMode

func (p *AppOpsServiceProxy) SetUidMode(
	ctx context.Context,
	code int32,
	uid int32,
	mode int32,
) error

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 (p *AppOpsServiceProxy) SetUserRestrictions(
	ctx context.Context,
	restrictions os.Bundle,
	token binder.IBinder,
) error

func (*AppOpsServiceProxy) ShouldCollectNotes

func (p *AppOpsServiceProxy) ShouldCollectNotes(
	ctx context.Context,
	opCode int32,
) (bool, error)

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

type AppOpsStartedCallbackProxy struct {
	Remote binder.IBinder
}

func NewAppOpsStartedCallbackProxy

func NewAppOpsStartedCallbackProxy(
	remote binder.IBinder,
) *AppOpsStartedCallbackProxy

func (*AppOpsStartedCallbackProxy) AsBinder

func (*AppOpsStartedCallbackProxy) OpStarted

func (p *AppOpsStartedCallbackProxy) OpStarted(
	ctx context.Context,
	op int32,
	uid int32,
	packageName string,
	virtualDeviceId int32,
	flags int32,
	mode int32,
	startedType int32,
	attributionFlags int32,
	attributionChainId int32,
) error

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

type BatteryStatsProxy struct {
	Remote binder.IBinder
}

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 (p *BatteryStatsProxy) 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

func (*BatteryStatsProxy) NoteConnectivityChanged

func (p *BatteryStatsProxy) NoteConnectivityChanged(
	ctx context.Context,
	type_ int32,
	extra string,
) error

func (*BatteryStatsProxy) NoteDeviceIdleMode

func (p *BatteryStatsProxy) NoteDeviceIdleMode(
	ctx context.Context,
	mode int32,
	activeReason string,
	activeUid int32,
) error

func (*BatteryStatsProxy) NoteEvent

func (p *BatteryStatsProxy) NoteEvent(
	ctx context.Context,
	code int32,
	name string,
	uid int32,
) error

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 (p *BatteryStatsProxy) NoteJobFinish(
	ctx context.Context,
	name string,
	uid int32,
	stopReason int32,
) error

func (*BatteryStatsProxy) NoteJobStart

func (p *BatteryStatsProxy) NoteJobStart(
	ctx context.Context,
	name string,
	uid int32,
) error

func (*BatteryStatsProxy) NoteLongPartialWakelockFinish

func (p *BatteryStatsProxy) NoteLongPartialWakelockFinish(
	ctx context.Context,
	name string,
	historyName string,
	uid int32,
) error

func (*BatteryStatsProxy) NoteLongPartialWakelockFinishFromSource

func (p *BatteryStatsProxy) NoteLongPartialWakelockFinishFromSource(
	ctx context.Context,
	name string,
	historyName string,
	workSource os.WorkSource,
) error

func (*BatteryStatsProxy) NoteLongPartialWakelockStart

func (p *BatteryStatsProxy) NoteLongPartialWakelockStart(
	ctx context.Context,
	name string,
	historyName string,
	uid int32,
) error

func (*BatteryStatsProxy) NoteLongPartialWakelockStartFromSource

func (p *BatteryStatsProxy) NoteLongPartialWakelockStartFromSource(
	ctx context.Context,
	name string,
	historyName string,
	workSource os.WorkSource,
) error

func (*BatteryStatsProxy) NoteMobileRadioPowerState

func (p *BatteryStatsProxy) NoteMobileRadioPowerState(
	ctx context.Context,
	powerState int32,
	timestampNs int64,
	uid int32,
) error

func (*BatteryStatsProxy) NoteModemControllerActivity

func (p *BatteryStatsProxy) NoteModemControllerActivity(
	ctx context.Context,
	info telephony.ModemActivityInfo,
) error

func (*BatteryStatsProxy) NoteNetworkInterfaceForTransports

func (p *BatteryStatsProxy) NoteNetworkInterfaceForTransports(
	ctx context.Context,
	iface string,
	transportTypes []int32,
) error

func (*BatteryStatsProxy) NoteNetworkStatsEnabled

func (p *BatteryStatsProxy) NoteNetworkStatsEnabled(
	ctx context.Context,
) error

func (*BatteryStatsProxy) NotePhoneDataConnectionState

func (p *BatteryStatsProxy) NotePhoneDataConnectionState(
	ctx context.Context,
	dataType int32,
	hasData bool,
	serviceType int32,
	nrState int32,
	nrFrequency int32,
) error

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 (p *BatteryStatsProxy) NoteStartSensor(
	ctx context.Context,
	uid int32,
	sensor int32,
) error

func (*BatteryStatsProxy) NoteStartVideo

func (p *BatteryStatsProxy) NoteStartVideo(
	ctx context.Context,
	uid int32,
) error

func (*BatteryStatsProxy) NoteStartWakelock

func (p *BatteryStatsProxy) NoteStartWakelock(
	ctx context.Context,
	uid int32,
	pid int32,
	name string,
	historyName string,
	type_ int32,
	unimportantForLogging bool,
) error

func (*BatteryStatsProxy) NoteStartWakelockFromSource

func (p *BatteryStatsProxy) NoteStartWakelockFromSource(
	ctx context.Context,
	ws os.WorkSource,
	pid int32,
	name string,
	historyName string,
	type_ int32,
	unimportantForLogging bool,
) error

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 (p *BatteryStatsProxy) NoteStopSensor(
	ctx context.Context,
	uid int32,
	sensor int32,
) error

func (*BatteryStatsProxy) NoteStopVideo

func (p *BatteryStatsProxy) NoteStopVideo(
	ctx context.Context,
	uid int32,
) error

func (*BatteryStatsProxy) NoteStopWakelock

func (p *BatteryStatsProxy) NoteStopWakelock(
	ctx context.Context,
	uid int32,
	pid int32,
	name string,
	historyName string,
	type_ int32,
) error

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 (p *BatteryStatsProxy) NoteSyncFinish(
	ctx context.Context,
	name string,
	uid int32,
) error

func (*BatteryStatsProxy) NoteSyncStart

func (p *BatteryStatsProxy) NoteSyncStart(
	ctx context.Context,
	name string,
	uid int32,
) error

func (*BatteryStatsProxy) NoteUserActivity

func (p *BatteryStatsProxy) NoteUserActivity(
	ctx context.Context,
	uid int32,
	event int32,
) error

func (*BatteryStatsProxy) NoteVibratorOff

func (p *BatteryStatsProxy) NoteVibratorOff(
	ctx context.Context,
	uid int32,
) error

func (*BatteryStatsProxy) NoteVibratorOn

func (p *BatteryStatsProxy) NoteVibratorOn(
	ctx context.Context,
	uid int32,
	durationMillis int64,
) error

func (*BatteryStatsProxy) NoteWakeUp

func (p *BatteryStatsProxy) NoteWakeUp(
	ctx context.Context,
	reason string,
	reasonUid int32,
) error

func (*BatteryStatsProxy) NoteWakeupSensorEvent

func (p *BatteryStatsProxy) NoteWakeupSensorEvent(
	ctx context.Context,
	elapsedNanos int64,
	uid int32,
	handle int32,
) error

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 (p *BatteryStatsProxy) NoteWifiRadioPowerState(
	ctx context.Context,
	powerState int32,
	timestampNs int64,
	uid int32,
) error

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 (p *BatteryStatsProxy) NoteWifiState(
	ctx context.Context,
	wifiState int32,
	accessPoint string,
) error

func (*BatteryStatsProxy) NoteWifiStopped

func (p *BatteryStatsProxy) NoteWifiStopped(
	ctx context.Context,
	ws os.WorkSource,
) error

func (*BatteryStatsProxy) NoteWifiSupplicantStateChanged

func (p *BatteryStatsProxy) NoteWifiSupplicantStateChanged(
	ctx context.Context,
	supplState int32,
	failedAuth bool,
) error

func (*BatteryStatsProxy) ResetBattery

func (p *BatteryStatsProxy) ResetBattery(
	ctx context.Context,
	forceUpdate bool,
) error

func (*BatteryStatsProxy) SetBatteryLevel

func (p *BatteryStatsProxy) SetBatteryLevel(
	ctx context.Context,
	level int32,
	forceUpdate bool,
) error

func (*BatteryStatsProxy) SetBatteryState

func (p *BatteryStatsProxy) SetBatteryState(
	ctx context.Context,
	status int32,
	health int32,
	plugType int32,
	level int32,
	temp int32,
	volt int32,
	chargeUAh int32,
	chargeFullUAh int32,
	chargeTimeToFullSeconds int64,
) error

func (*BatteryStatsProxy) SetChargerAcOnline

func (p *BatteryStatsProxy) SetChargerAcOnline(
	ctx context.Context,
	online bool,
	forceUpdate bool,
) error

func (*BatteryStatsProxy) SetChargingStateUpdateDelayMillis

func (p *BatteryStatsProxy) SetChargingStateUpdateDelayMillis(
	ctx context.Context,
	delay int32,
) (bool, error)

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

type HotwordRecognitionStatusCallbackProxy struct {
	Remote binder.IBinder
}

func NewHotwordRecognitionStatusCallbackProxy

func NewHotwordRecognitionStatusCallbackProxy(
	remote binder.IBinder,
) *HotwordRecognitionStatusCallbackProxy

func (*HotwordRecognitionStatusCallbackProxy) AsBinder

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 (*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 (*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 (*HotwordRecognitionStatusCallbackStub) OnTransaction

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

type IVoiceInteractorRequestServer interface {
	Cancel(ctx context.Context) error
}

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

type LogAccessDialogCallbackProxy struct {
	Remote binder.IBinder
}

func NewLogAccessDialogCallbackProxy

func NewLogAccessDialogCallbackProxy(
	remote binder.IBinder,
) *LogAccessDialogCallbackProxy

func (*LogAccessDialogCallbackProxy) ApproveAccessForClient

func (p *LogAccessDialogCallbackProxy) ApproveAccessForClient(
	ctx context.Context,
	uid int32,
	packageName string,
) error

func (*LogAccessDialogCallbackProxy) AsBinder

func (*LogAccessDialogCallbackProxy) DeclineAccessForClient

func (p *LogAccessDialogCallbackProxy) DeclineAccessForClient(
	ctx context.Context,
	uid int32,
	packageName string,
) error

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

type MediaContainerServiceProxy struct {
	Remote binder.IBinder
}

func NewMediaContainerServiceProxy

func NewMediaContainerServiceProxy(
	remote binder.IBinder,
) *MediaContainerServiceProxy

func (*MediaContainerServiceProxy) AsBinder

func (*MediaContainerServiceProxy) CalculateInstalledSize

func (p *MediaContainerServiceProxy) CalculateInstalledSize(
	ctx context.Context,
	packagePath string,
	abiOverride string,
) (int64, error)

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

func (p *MediaContainerServiceProxy) GetObbInfo(
	ctx context.Context,
	filename string,
) (res.ObbInfo, error)

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

type SoundTriggerServiceProxy struct {
	Remote binder.IBinder
}

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 (*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

type SoundTriggerSessionProxy struct {
	Remote binder.IBinder
}

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 (*SoundTriggerSessionProxy) GetParameter

func (p *SoundTriggerSessionProxy) GetParameter(
	ctx context.Context,
	soundModelId os.ParcelUuid,
	modelParam soundtrigger.ModelParams,
) (int32, error)

func (*SoundTriggerSessionProxy) GetSoundModel

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 (*SoundTriggerSessionProxy) SetParameter

func (p *SoundTriggerSessionProxy) SetParameter(
	ctx context.Context,
	soundModelId os.ParcelUuid,
	modelParam soundtrigger.ModelParams,
	value int32,
) (int32, error)

func (*SoundTriggerSessionProxy) StartRecognition

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

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

type VisualQueryDetectionAttentionListenerProxy struct {
	Remote binder.IBinder
}

func NewVisualQueryDetectionAttentionListenerProxy

func NewVisualQueryDetectionAttentionListenerProxy(
	remote binder.IBinder,
) *VisualQueryDetectionAttentionListenerProxy

func (*VisualQueryDetectionAttentionListenerProxy) AsBinder

func (*VisualQueryDetectionAttentionListenerProxy) OnAttentionGained

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 (*VisualQueryDetectionAttentionListenerStub) OnTransaction

type VisualQueryRecognitionStatusListenerProxy

type VisualQueryRecognitionStatusListenerProxy struct {
	Remote binder.IBinder
}

func NewVisualQueryRecognitionStatusListenerProxy

func NewVisualQueryRecognitionStatusListenerProxy(
	remote binder.IBinder,
) *VisualQueryRecognitionStatusListenerProxy

func (*VisualQueryRecognitionStatusListenerProxy) AsBinder

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 (*VisualQueryRecognitionStatusListenerStub) OnTransaction

type VoiceActionCheckCallbackProxy

type VoiceActionCheckCallbackProxy struct {
	Remote binder.IBinder
}

func NewVoiceActionCheckCallbackProxy

func NewVoiceActionCheckCallbackProxy(
	remote binder.IBinder,
) *VoiceActionCheckCallbackProxy

func (*VoiceActionCheckCallbackProxy) AsBinder

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

type VoiceInteractionAccessibilitySettingsListenerProxy

type VoiceInteractionAccessibilitySettingsListenerProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractionAccessibilitySettingsListenerProxy

func NewVoiceInteractionAccessibilitySettingsListenerProxy(
	remote binder.IBinder,
) *VoiceInteractionAccessibilitySettingsListenerProxy

func (*VoiceInteractionAccessibilitySettingsListenerProxy) AsBinder

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 (*VoiceInteractionAccessibilitySettingsListenerStub) OnTransaction

type VoiceInteractionManagerServiceProxy

type VoiceInteractionManagerServiceProxy struct {
	Remote binder.IBinder
}

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 (*VoiceInteractionManagerServiceProxy) CloseSystemDialogs

func (p *VoiceInteractionManagerServiceProxy) CloseSystemDialogs(
	ctx context.Context,
	token binder.IBinder,
) error

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 (p *VoiceInteractionManagerServiceProxy) DeleteKeyphraseSoundModel(
	ctx context.Context,
	keyphraseId int32,
	bcp47Locale string,
) (int32, error)

func (*VoiceInteractionManagerServiceProxy) DeliverNewSession

func (p *VoiceInteractionManagerServiceProxy) DeliverNewSession(
	ctx context.Context,
	token binder.IBinder,
	session types.IVoiceInteractionSession,
	interactor IVoiceInteractor,
) (bool, error)

func (*VoiceInteractionManagerServiceProxy) DestroyDetector

func (p *VoiceInteractionManagerServiceProxy) DestroyDetector(
	ctx context.Context,
	token binder.IBinder,
) error

func (*VoiceInteractionManagerServiceProxy) DisableVisualQueryDetection

func (p *VoiceInteractionManagerServiceProxy) DisableVisualQueryDetection(
	ctx context.Context,
) error

func (*VoiceInteractionManagerServiceProxy) EnableVisualQueryDetection

func (*VoiceInteractionManagerServiceProxy) Finish

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 (p *VoiceInteractionManagerServiceProxy) HideSessionFromSession(
	ctx context.Context,
	token binder.IBinder,
) (bool, error)

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 (p *VoiceInteractionManagerServiceProxy) IsEnrolledForKeyphrase(
	ctx context.Context,
	keyphraseId int32,
	bcp47Locale string,
) (bool, error)

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 (*VoiceInteractionManagerServiceProxy) NotifyActivityEventChanged

func (p *VoiceInteractionManagerServiceProxy) NotifyActivityEventChanged(
	ctx context.Context,
	activityToken binder.IBinder,
	type_ int32,
) error

func (*VoiceInteractionManagerServiceProxy) OnLockscreenShown

func (p *VoiceInteractionManagerServiceProxy) OnLockscreenShown(
	ctx context.Context,
) error

func (*VoiceInteractionManagerServiceProxy) PerformDirectAction

func (p *VoiceInteractionManagerServiceProxy) PerformDirectAction(
	ctx context.Context,
	token binder.IBinder,
	actionId string,
	arguments os.Bundle,
	taskId int32,
	assistToken binder.IBinder,
	cancellationCallback os.RemoteCallback,
	resultCallback os.RemoteCallback,
) error

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 (p *VoiceInteractionManagerServiceProxy) SetKeepAwake(
	ctx context.Context,
	token binder.IBinder,
	keepAwake bool,
) error

func (*VoiceInteractionManagerServiceProxy) SetModelDatabaseForTestEnabled

func (p *VoiceInteractionManagerServiceProxy) SetModelDatabaseForTestEnabled(
	ctx context.Context,
	enabled bool,
	token binder.IBinder,
) error

func (*VoiceInteractionManagerServiceProxy) SetSessionWindowVisible

func (p *VoiceInteractionManagerServiceProxy) SetSessionWindowVisible(
	ctx context.Context,
	token binder.IBinder,
	visible bool,
) error

func (*VoiceInteractionManagerServiceProxy) SetUiHints

func (p *VoiceInteractionManagerServiceProxy) SetUiHints(
	ctx context.Context,
	hints os.Bundle,
) error

func (*VoiceInteractionManagerServiceProxy) ShowSession

func (p *VoiceInteractionManagerServiceProxy) ShowSession(
	ctx context.Context,
	sessionArgs os.Bundle,
	flags int32,
) error

func (*VoiceInteractionManagerServiceProxy) ShowSessionForActiveService

func (p *VoiceInteractionManagerServiceProxy) ShowSessionForActiveService(
	ctx context.Context,
	args os.Bundle,
	sourceFlags int32,
	showCallback IVoiceInteractionSessionShowCallback,
	activityToken binder.IBinder,
) (bool, error)

func (*VoiceInteractionManagerServiceProxy) ShowSessionFromSession

func (p *VoiceInteractionManagerServiceProxy) ShowSessionFromSession(
	ctx context.Context,
	token binder.IBinder,
	sessionArgs os.Bundle,
	flags int32,
) (bool, error)

func (*VoiceInteractionManagerServiceProxy) ShutdownHotwordDetectionService

func (p *VoiceInteractionManagerServiceProxy) ShutdownHotwordDetectionService(
	ctx context.Context,
) error

func (*VoiceInteractionManagerServiceProxy) StartAssistantActivity

func (p *VoiceInteractionManagerServiceProxy) StartAssistantActivity(
	ctx context.Context,
	token binder.IBinder,
	intent content.Intent,
	resolvedType string,
	bundle os.Bundle,
) (int32, error)

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 (*VoiceInteractionManagerServiceProxy) StartListeningVisibleActivityChanged

func (p *VoiceInteractionManagerServiceProxy) StartListeningVisibleActivityChanged(
	ctx context.Context,
	token binder.IBinder,
) error

func (*VoiceInteractionManagerServiceProxy) StartPerceiving

func (*VoiceInteractionManagerServiceProxy) StartVoiceActivity

func (p *VoiceInteractionManagerServiceProxy) StartVoiceActivity(
	ctx context.Context,
	token binder.IBinder,
	intent content.Intent,
	resolvedType string,
) (int32, error)

func (*VoiceInteractionManagerServiceProxy) StopListeningFromMic

func (p *VoiceInteractionManagerServiceProxy) StopListeningFromMic(
	ctx context.Context,
) error

func (*VoiceInteractionManagerServiceProxy) StopListeningVisibleActivityChanged

func (p *VoiceInteractionManagerServiceProxy) StopListeningVisibleActivityChanged(
	ctx context.Context,
	token binder.IBinder,
) error

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 (*VoiceInteractionManagerServiceProxy) UnregisterAccessibilityDetectionSettingsListener

func (p *VoiceInteractionManagerServiceProxy) UnregisterAccessibilityDetectionSettingsListener(
	ctx context.Context,
	listener IVoiceInteractionAccessibilitySettingsListener,
) error

func (*VoiceInteractionManagerServiceProxy) UpdateKeyphraseSoundModel

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 (*VoiceInteractionManagerServiceStub) OnTransaction

type VoiceInteractionSessionListenerProxy

type VoiceInteractionSessionListenerProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractionSessionListenerProxy

func NewVoiceInteractionSessionListenerProxy(
	remote binder.IBinder,
) *VoiceInteractionSessionListenerProxy

func (*VoiceInteractionSessionListenerProxy) AsBinder

func (*VoiceInteractionSessionListenerProxy) OnSetUiHints

func (p *VoiceInteractionSessionListenerProxy) OnSetUiHints(
	ctx context.Context,
	args os.Bundle,
) error

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 (*VoiceInteractionSessionListenerStub) OnTransaction

type VoiceInteractionSessionShowCallbackProxy

type VoiceInteractionSessionShowCallbackProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractionSessionShowCallbackProxy

func NewVoiceInteractionSessionShowCallbackProxy(
	remote binder.IBinder,
) *VoiceInteractionSessionShowCallbackProxy

func (*VoiceInteractionSessionShowCallbackProxy) AsBinder

func (*VoiceInteractionSessionShowCallbackProxy) OnFailed

func (*VoiceInteractionSessionShowCallbackProxy) OnShown

type VoiceInteractionSessionShowCallbackStub

type VoiceInteractionSessionShowCallbackStub struct {
	Impl      IVoiceInteractionSessionShowCallback
	Transport binder.VersionAwareTransport
}

VoiceInteractionSessionShowCallbackStub dispatches incoming binder transactions to a typed IVoiceInteractionSessionShowCallback implementation.

func (*VoiceInteractionSessionShowCallbackStub) Descriptor

func (*VoiceInteractionSessionShowCallbackStub) OnTransaction

type VoiceInteractionSoundTriggerSessionProxy

type VoiceInteractionSoundTriggerSessionProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractionSoundTriggerSessionProxy

func NewVoiceInteractionSoundTriggerSessionProxy(
	remote binder.IBinder,
) *VoiceInteractionSoundTriggerSessionProxy

func (*VoiceInteractionSoundTriggerSessionProxy) AsBinder

func (*VoiceInteractionSoundTriggerSessionProxy) Detach

func (*VoiceInteractionSoundTriggerSessionProxy) GetDspModuleProperties

func (*VoiceInteractionSoundTriggerSessionProxy) GetParameter

func (p *VoiceInteractionSoundTriggerSessionProxy) GetParameter(
	ctx context.Context,
	keyphraseId int32,
	modelParam soundtrigger.ModelParams,
) (int32, error)

func (*VoiceInteractionSoundTriggerSessionProxy) QueryParameter

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 (*VoiceInteractionSoundTriggerSessionStub) OnTransaction

type VoiceInteractorCallbackProxy

type VoiceInteractorCallbackProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractorCallbackProxy

func NewVoiceInteractorCallbackProxy(
	remote binder.IBinder,
) *VoiceInteractorCallbackProxy

func (*VoiceInteractorCallbackProxy) AsBinder

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

func (*VoiceInteractorCallbackProxy) Destroy

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

type VoiceInteractorProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractorProxy

func NewVoiceInteractorProxy(
	remote binder.IBinder,
) *VoiceInteractorProxy

func (*VoiceInteractorProxy) AsBinder

func (p *VoiceInteractorProxy) AsBinder() binder.IBinder

func (*VoiceInteractorProxy) NotifyDirectActionsChanged

func (p *VoiceInteractorProxy) NotifyDirectActionsChanged(
	ctx context.Context,
	taskId int32,
	assistToken binder.IBinder,
) error

func (*VoiceInteractorProxy) SetKillCallback

func (p *VoiceInteractorProxy) SetKillCallback(
	ctx context.Context,
	callback os.ICancellationSignal,
) error

func (*VoiceInteractorProxy) StartAbortVoice

func (*VoiceInteractorProxy) StartCommand

func (p *VoiceInteractorProxy) StartCommand(
	ctx context.Context,
	callback IVoiceInteractorCallback,
	command string,
	extras os.Bundle,
) (IVoiceInteractorRequest, error)

func (*VoiceInteractorProxy) StartCompleteVoice

func (*VoiceInteractorProxy) StartConfirmation

func (*VoiceInteractorProxy) SupportsCommands

func (p *VoiceInteractorProxy) SupportsCommands(
	ctx context.Context,
	commands []string,
) ([]bool, error)

type VoiceInteractorRequestProxy

type VoiceInteractorRequestProxy struct {
	Remote binder.IBinder
}

func NewVoiceInteractorRequestProxy

func NewVoiceInteractorRequestProxy(
	remote binder.IBinder,
) *VoiceInteractorRequestProxy

func (*VoiceInteractorRequestProxy) AsBinder

func (*VoiceInteractorRequestProxy) Cancel

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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