Documentation
¶
Index ¶
- Constants
- type AuditLogEventsCallbackProxy
- type AuditLogEventsCallbackStub
- type ConnectEvent
- type DeviceAdminServiceProxy
- type DeviceAdminServiceStub
- type DevicePolicyDrawableResource
- type DevicePolicyManagerProxy
- func (p *DevicePolicyManagerProxy) AcknowledgeDeviceCompliant(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) AcknowledgeNewUserDisclaimer(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) AddCrossProfileIntentFilter(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) AddCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) AddOverrideApn(ctx context.Context, admin content.ComponentName, apnSetting data.ApnSetting) (int32, error)
- func (p *DevicePolicyManagerProxy) AddPersistentPreferredActivity(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) ApproveCaCert(ctx context.Context, alias string, approval bool) (bool, error)
- func (p *DevicePolicyManagerProxy) AsBinder() binder.IBinder
- func (p *DevicePolicyManagerProxy) BindDeviceAdminServiceAsUser(ctx context.Context, admin content.ComponentName, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) CalculateHasIncompatibleAccounts(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) CanAdminGrantSensorsPermissions(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) CanProfileOwnerResetPasswordWhenLocked(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) CanUsbDataSignalingBeDisabled(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) CheckDeviceIdentifierAccess(ctx context.Context, packageName string, pid int32, uid int32) (bool, error)
- func (p *DevicePolicyManagerProxy) CheckProvisioningPrecondition(ctx context.Context, action string, packageName string) (int32, error)
- func (p *DevicePolicyManagerProxy) ChoosePrivateKeyAlias(ctx context.Context, uid int32, uri net.Uri, alias string, ...) error
- func (p *DevicePolicyManagerProxy) ClearApplicationUserData(ctx context.Context, admin content.ComponentName, packageName string, ...) error
- func (p *DevicePolicyManagerProxy) ClearCrossProfileIntentFilters(ctx context.Context, admin content.ComponentName, callerPackageName string) error
- func (p *DevicePolicyManagerProxy) ClearDeviceOwner(ctx context.Context, packageName string) error
- func (p *DevicePolicyManagerProxy) ClearOrganizationIdForUser(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ClearPackagePersistentPreferredActivities(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) ClearProfileOwner(ctx context.Context, who content.ComponentName) error
- func (p *DevicePolicyManagerProxy) ClearResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) ClearSystemUpdatePolicyFreezePeriodRecord(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) CreateAdminSupportIntent(ctx context.Context, restriction string) (content.Intent, error)
- func (p *DevicePolicyManagerProxy) CreateAndManageUser(ctx context.Context, who content.ComponentName, name string, ...) (os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) CreateAndProvisionManagedProfile(ctx context.Context, provisioningParams ManagedProfileProvisioningParams, ...) (os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) EnableSystemApp(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) EnableSystemAppWithIntent(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (int32, error)
- func (p *DevicePolicyManagerProxy) EnforceCanManageCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string) error
- func (p *DevicePolicyManagerProxy) FinalizeWorkProfileProvisioning(ctx context.Context, managedProfileUser os.UserHandle, ...) error
- func (p *DevicePolicyManagerProxy) ForceNetworkLogs(ctx context.Context) (int64, error)
- func (p *DevicePolicyManagerProxy) ForceRemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
- func (p *DevicePolicyManagerProxy) ForceSecurityLogs(ctx context.Context) (int64, error)
- func (p *DevicePolicyManagerProxy) ForceUpdateUserSetupComplete(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) GenerateKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) GetAccountTypesWithManagementDisabled(ctx context.Context, callerPackageName string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetAccountTypesWithManagementDisabledAsUser(ctx context.Context, callerPackageName string, parent bool) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetActiveAdmins(ctx context.Context) ([]content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetAffiliationIds(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetAggregatedPasswordComplexityForUser(ctx context.Context, deviceWideOnly bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetAllCrossProfilePackages(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnLockdownAllowlist(ctx context.Context, who content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnPackageForUser(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetApplicationExemptions(ctx context.Context, packageName string) ([]int32, error)
- func (p *DevicePolicyManagerProxy) GetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, ...) (os.Bundle, error)
- func (p *DevicePolicyManagerProxy) GetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) GetAutoTimeRequired(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) GetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) GetBindDeviceAdminTargetUsers(ctx context.Context, admin content.ComponentName) ([]os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) GetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) GetBluetoothContactSharingDisabledForUser(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCertInstallerPackage(ctx context.Context, who content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
- func (p *DevicePolicyManagerProxy) GetCredentialManagerPolicy(ctx context.Context) (PackagePolicy, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileCalendarPackagesForUser(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabledForUser(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabledForUser(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfilePackages(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetCrossProfileWidgetProviders(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetCurrentFailedPasswordAttempts(ctx context.Context, callerPackageName string, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetDefaultCrossProfilePackages(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetDelegatePackages(ctx context.Context, who content.ComponentName, scope string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerComponent(ctx context.Context, callingUserOnly bool) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerComponentOnUser(ctx context.Context) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerLockScreenInfo(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerName(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerOrganizationName(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerType(ctx context.Context, admin content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) GetDeviceOwnerUserId(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetDevicePolicyState(ctx context.Context) (DevicePolicyState, error)
- func (p *DevicePolicyManagerProxy) GetDisallowedSystemApps(ctx context.Context, admin content.ComponentName, provisioningAction string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetDoNotAskCredentialsOnBoot(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) GetDrawable(ctx context.Context, drawableId string, drawableStyle string, ...) (ParcelableResource, error)
- func (p *DevicePolicyManagerProxy) GetEndUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetEnforcingAdminAndUserDetails(ctx context.Context, restriction string) (os.Bundle, error)
- func (p *DevicePolicyManagerProxy) GetEnforcingAdminsForRestriction(ctx context.Context, restriction string) ([]EnforcingAdmin, error)
- func (p *DevicePolicyManagerProxy) GetEnrollmentSpecificId(ctx context.Context, callerPackage string) (string, error)
- func (p *DevicePolicyManagerProxy) GetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName) (FactoryResetProtectionPolicy, error)
- func (p *DevicePolicyManagerProxy) GetFinancedDeviceKioskRoleHolder(ctx context.Context, callerPackageName string) (string, error)
- func (p *DevicePolicyManagerProxy) GetForceEphemeralUsers(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) GetGlobalPrivateDnsHost(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetGlobalPrivateDnsMode(ctx context.Context, admin content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) GetGlobalProxyAdmin(ctx context.Context) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetKeyPairGrants(ctx context.Context, callerPackage string, alias string) (ParcelableGranteeMap, error)
- func (p *DevicePolicyManagerProxy) GetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetLastBugReportRequestTime(ctx context.Context) (int64, error)
- func (p *DevicePolicyManagerProxy) GetLastNetworkLogRetrievalTime(ctx context.Context) (int64, error)
- func (p *DevicePolicyManagerProxy) GetLastSecurityLogRetrievalTime(ctx context.Context) (int64, error)
- func (p *DevicePolicyManagerProxy) GetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
- func (p *DevicePolicyManagerProxy) GetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetLogoutUserId(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetLongSupportMessage(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetLongSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetManagedProfileCallerIdAccessPolicy(ctx context.Context) (PackagePolicy, error)
- func (p *DevicePolicyManagerProxy) GetManagedProfileContactsAccessPolicy(ctx context.Context) (PackagePolicy, error)
- func (p *DevicePolicyManagerProxy) GetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName) (int64, error)
- func (p *DevicePolicyManagerProxy) GetManagedSubscriptionsPolicy(ctx context.Context) (ManagedSubscriptionsPolicy, error)
- func (p *DevicePolicyManagerProxy) GetMaxPolicyStorageLimit(ctx context.Context, packageName string) (int32, error)
- func (p *DevicePolicyManagerProxy) GetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetMaximumTimeToLock(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
- func (p *DevicePolicyManagerProxy) GetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetMinimumRequiredWifiSecurityLevel(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetMtePolicy(ctx context.Context, callerPackageName string) (int32, error)
- func (p *DevicePolicyManagerProxy) GetNearbyAppStreamingPolicy(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetNearbyNotificationStreamingPolicy(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetOrganizationColor(ctx context.Context, admin content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) GetOrganizationColorForUser(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
- func (p *DevicePolicyManagerProxy) GetOrganizationNameForUser(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetOverrideApns(ctx context.Context, admin content.ComponentName) ([]data.ApnSetting, error)
- func (p *DevicePolicyManagerProxy) GetOwnerInstalledCaCerts(ctx context.Context, user os.UserHandle) (pm.StringParceledListSlice, error)
- func (p *DevicePolicyManagerProxy) GetPasswordComplexity(ctx context.Context, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordExpiration(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
- func (p *DevicePolicyManagerProxy) GetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
- func (p *DevicePolicyManagerProxy) GetPasswordHistoryLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumMetrics(ctx context.Context, deviceWideOnly bool) (PasswordMetrics, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPasswordQuality(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPendingSystemUpdate(ctx context.Context, admin content.ComponentName, callerPackage string) (SystemUpdateInfo, error)
- func (p *DevicePolicyManagerProxy) GetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPermissionPolicy(ctx context.Context, admin content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetPermittedAccessibilityServicesForUser(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetPermittedInputMethodsAsUser(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetPersonalAppsSuspendedReasons(ctx context.Context, admin content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) GetPolicyManagedProfiles(ctx context.Context, userHandle os.UserHandle) ([]os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) GetPreferentialNetworkServiceConfigs(ctx context.Context) ([]PreferentialNetworkServiceConfig, error)
- func (p *DevicePolicyManagerProxy) GetProfileOwnerAsUser(ctx context.Context) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetProfileOwnerName(ctx context.Context) (string, error)
- func (p *DevicePolicyManagerProxy) GetProfileOwnerOrDeviceOwnerSupervisionComponent(ctx context.Context, userHandle os.UserHandle) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetProfileWithMinimumFailedPasswordsForWipe(ctx context.Context, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetRemoveWarning(ctx context.Context, policyReceiver content.ComponentName, ...) error
- func (p *DevicePolicyManagerProxy) GetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, parent bool) (int32, error)
- func (p *DevicePolicyManagerProxy) GetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
- func (p *DevicePolicyManagerProxy) GetRestrictionsProvider(ctx context.Context) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) GetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, parent bool) (bool, error)
- func (p *DevicePolicyManagerProxy) GetSecondaryUsers(ctx context.Context, who content.ComponentName) ([]os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) GetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
- func (p *DevicePolicyManagerProxy) GetShortSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetStartUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
- func (p *DevicePolicyManagerProxy) GetStorageEncryption(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) GetStorageEncryptionStatus(ctx context.Context, callerPackage string) (int32, error)
- func (p *DevicePolicyManagerProxy) GetString(ctx context.Context, stringId string) (ParcelableResource, error)
- func (p *DevicePolicyManagerProxy) GetSubscriptionIds(ctx context.Context, callerPackageName string) ([]int32, error)
- func (p *DevicePolicyManagerProxy) GetSystemUpdatePolicy(ctx context.Context) (SystemUpdatePolicy, error)
- func (p *DevicePolicyManagerProxy) GetTransferOwnershipBundle(ctx context.Context) (os.PersistableBundle, error)
- func (p *DevicePolicyManagerProxy) GetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, agent content.ComponentName, ...) ([]os.PersistableBundle, error)
- func (p *DevicePolicyManagerProxy) GetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
- func (p *DevicePolicyManagerProxy) GetUserProvisioningState(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) GetUserRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, ...) (os.Bundle, error)
- func (p *DevicePolicyManagerProxy) GetUserRestrictionsGlobally(ctx context.Context, callerPackage string) (os.Bundle, error)
- func (p *DevicePolicyManagerProxy) GetWifiMacAddress(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
- func (p *DevicePolicyManagerProxy) GetWifiSsidPolicy(ctx context.Context, callerPackageName string) (WifiSsidPolicy, error)
- func (p *DevicePolicyManagerProxy) HasDeviceOwner(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) HasGrantedPolicy(ctx context.Context, policyReceiver content.ComponentName, usesPolicy int32) (bool, error)
- func (p *DevicePolicyManagerProxy) HasKeyPair(ctx context.Context, callerPackage string, alias string) (bool, error)
- func (p *DevicePolicyManagerProxy) HasLockdownAdminConfiguredNetworks(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) HasManagedProfileCallerIdAccess(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) HasManagedProfileContactsAccess(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) HasUserSetupCompleted(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) InstallCaCert(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) InstallExistingPackage(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) InstallKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) InstallUpdateFromFile(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) IsAccessibilityServicePermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsActivePasswordSufficient(ctx context.Context, callerPackageName string, parent bool) (bool, error)
- func (p *DevicePolicyManagerProxy) IsActivePasswordSufficientForDeviceRequirement(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsAdminActive(ctx context.Context, policyReceiver content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsAffiliatedUser(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabled(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabledForUser(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) IsAuditLogEnabled(ctx context.Context, callerPackage string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsBackupServiceEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsCaCertApproved(ctx context.Context, alias string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsCallerApplicationRestrictionsManagingPackage(ctx context.Context, callerPackage string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsCallingUserAffiliated(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsComplianceAcknowledgementRequired(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsCurrentInputMethodSetByOwner(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsDeviceFinanced(ctx context.Context, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsDeviceProvisioned(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsDeviceProvisioningConfigApplied(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsDpcDownloaded(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsEphemeralUser(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsFactoryResetProtectionPolicySupported(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsInputMethodPermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) IsKeyPairGrantedToWifiAuth(ctx context.Context, callerPackage string, alias string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsLockTaskPermitted(ctx context.Context, pkg string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsLogoutEnabled(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsManagedKiosk(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsManagedProfile(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsMasterVolumeMuted(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsMeteredDataDisabledPackageForUser(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsNewUserDisclaimerAcknowledged(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsNotificationListenerServicePermitted(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsOrganizationOwnedDeviceWithManagedProfile(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsOverrideApnEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsPackageAllowedToAccessCalendarForUser(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsPackageSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) IsPasswordSufficientAfterProfileUnification(ctx context.Context, profileUser int32) (bool, error)
- func (p *DevicePolicyManagerProxy) IsProvisioningAllowed(ctx context.Context, action string, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsRemovingAdmin(ctx context.Context, adminReceiver content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsResetPasswordTokenActive(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsSafeOperation(ctx context.Context, reason int32) (bool, error)
- func (p *DevicePolicyManagerProxy) IsSecondaryLockscreenEnabled(ctx context.Context, userHandle os.UserHandle) (bool, error)
- func (p *DevicePolicyManagerProxy) IsSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsStatusBarDisabled(ctx context.Context, callerPackage string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsSupervisionComponent(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) IsTheftDetectionTriggered(ctx context.Context, callerPackageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsUnattendedManagedKiosk(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) IsUninstallBlocked(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsUninstallInQueue(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsUsbDataSignalingEnabled(ctx context.Context, callerPackage string) (bool, error)
- func (p *DevicePolicyManagerProxy) IsUsingUnifiedPassword(ctx context.Context, admin content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) ListForegroundAffiliatedUsers(ctx context.Context) ([]os.UserHandle, error)
- func (p *DevicePolicyManagerProxy) ListPolicyExemptApps(ctx context.Context) ([]string, error)
- func (p *DevicePolicyManagerProxy) LockNow(ctx context.Context, flags int32, callerPackageName string, parent bool) error
- func (p *DevicePolicyManagerProxy) LogoutUser(ctx context.Context, who content.ComponentName) (int32, error)
- func (p *DevicePolicyManagerProxy) LogoutUserInternal(ctx context.Context) (int32, error)
- func (p *DevicePolicyManagerProxy) NotifyLockTaskModeChanged(ctx context.Context, isEnabled bool, pkg string) error
- func (p *DevicePolicyManagerProxy) NotifyPendingSystemUpdate(ctx context.Context, info SystemUpdateInfo) error
- func (p *DevicePolicyManagerProxy) PackageHasActiveAdmins(ctx context.Context, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) ProvisionFullyManagedDevice(ctx context.Context, provisioningParams FullyManagedDeviceProvisioningParams, ...) error
- func (p *DevicePolicyManagerProxy) Reboot(ctx context.Context, admin content.ComponentName) error
- func (p *DevicePolicyManagerProxy) RemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
- func (p *DevicePolicyManagerProxy) RemoveCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) RemoveKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) RemoveOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32) (bool, error)
- func (p *DevicePolicyManagerProxy) RemoveUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
- func (p *DevicePolicyManagerProxy) ReportFailedBiometricAttempt(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ReportFailedPasswordAttempt(ctx context.Context, parent bool) error
- func (p *DevicePolicyManagerProxy) ReportKeyguardDismissed(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ReportKeyguardSecured(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ReportPasswordChanged(ctx context.Context, metrics PasswordMetrics) error
- func (p *DevicePolicyManagerProxy) ReportSuccessfulBiometricAttempt(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ReportSuccessfulPasswordAttempt(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) RequestBugreport(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) ResetDefaultCrossProfileIntentFilters(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ResetDrawables(ctx context.Context, drawableIds []string) error
- func (p *DevicePolicyManagerProxy) ResetPassword(ctx context.Context, password string, flags int32) (bool, error)
- func (p *DevicePolicyManagerProxy) ResetPasswordWithToken(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) ResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) ResetStrings(ctx context.Context, stringIds []string) error
- func (p *DevicePolicyManagerProxy) RetrieveNetworkLogs(ctx context.Context, admin content.ComponentName, packageName string, ...) ([]NetworkEvent, error)
- func (p *DevicePolicyManagerProxy) RetrievePreRebootSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
- func (p *DevicePolicyManagerProxy) RetrieveSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
- func (p *DevicePolicyManagerProxy) SendLostModeLocationUpdate(ctx context.Context, future infra.AndroidFuture) error
- func (p *DevicePolicyManagerProxy) SetAccountManagementDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetActiveAdmin(ctx context.Context, policyReceiver content.ComponentName, refreshing bool) error
- func (p *DevicePolicyManagerProxy) SetAffiliationIds(ctx context.Context, admin content.ComponentName, ids []string) error
- func (p *DevicePolicyManagerProxy) SetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName, vpnPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetApplicationExemptions(ctx context.Context, callerPackage string, packageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
- func (p *DevicePolicyManagerProxy) SetAuditLogEnabled(ctx context.Context, callerPackage string, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetAuditLogEventsCallback(ctx context.Context, callerPackage string, callback IAuditLogEventsCallback) error
- func (p *DevicePolicyManagerProxy) SetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetAutoTimeRequired(ctx context.Context, who content.ComponentName, required bool) error
- func (p *DevicePolicyManagerProxy) SetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetBackupServiceEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
- func (p *DevicePolicyManagerProxy) SetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetCertInstallerPackage(ctx context.Context, who content.ComponentName, installerPackage string) error
- func (p *DevicePolicyManagerProxy) SetCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetConfiguredNetworksLockdownState(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetCredentialManagerPolicy(ctx context.Context, policy PackagePolicy) error
- func (p *DevicePolicyManagerProxy) SetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
- func (p *DevicePolicyManagerProxy) SetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
- func (p *DevicePolicyManagerProxy) SetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
- func (p *DevicePolicyManagerProxy) SetCrossProfilePackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
- func (p *DevicePolicyManagerProxy) SetDefaultDialerApplication(ctx context.Context, packageName string) error
- func (p *DevicePolicyManagerProxy) SetDefaultSmsApplication(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetDeviceOwner(ctx context.Context, who content.ComponentName, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetDeviceOwnerLockScreenInfo(ctx context.Context, who content.ComponentName, deviceOwnerInfo string) error
- func (p *DevicePolicyManagerProxy) SetDeviceOwnerType(ctx context.Context, admin content.ComponentName, deviceOwnerType int32) error
- func (p *DevicePolicyManagerProxy) SetDeviceProvisioningConfigApplied(ctx context.Context) error
- func (p *DevicePolicyManagerProxy) SetDpcDownloaded(ctx context.Context, downloaded bool) error
- func (p *DevicePolicyManagerProxy) SetDrawables(ctx context.Context, drawables []DevicePolicyDrawableResource) error
- func (p *DevicePolicyManagerProxy) SetEndUserSessionMessage(ctx context.Context, admin content.ComponentName, endUserSessionMessage string) error
- func (p *DevicePolicyManagerProxy) SetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetForceEphemeralUsers(ctx context.Context, who content.ComponentName, forceEpehemeralUsers bool) error
- func (p *DevicePolicyManagerProxy) SetGlobalPrivateDns(ctx context.Context, admin content.ComponentName, mode int32, ...) (int32, error)
- func (p *DevicePolicyManagerProxy) SetGlobalProxy(ctx context.Context, admin content.ComponentName, proxySpec string, ...) (content.ComponentName, error)
- func (p *DevicePolicyManagerProxy) SetGlobalSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
- func (p *DevicePolicyManagerProxy) SetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetKeyGrantForApp(ctx context.Context, admin content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetKeyGrantToWifiAuth(ctx context.Context, callerPackage string, alias string, hasGrant bool) (bool, error)
- func (p *DevicePolicyManagerProxy) SetKeyPairCertificate(ctx context.Context, who content.ComponentName, callerPackage string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetKeyguardDisabled(ctx context.Context, admin content.ComponentName, disabled bool) (bool, error)
- func (p *DevicePolicyManagerProxy) SetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetLocationEnabled(ctx context.Context, who content.ComponentName, locationEnabled bool) error
- func (p *DevicePolicyManagerProxy) SetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetLogoutEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetLongSupportMessage(ctx context.Context, admin content.ComponentName, message string) error
- func (p *DevicePolicyManagerProxy) SetManagedProfileCallerIdAccessPolicy(ctx context.Context, policy PackagePolicy) error
- func (p *DevicePolicyManagerProxy) SetManagedProfileContactsAccessPolicy(ctx context.Context, policy PackagePolicy) error
- func (p *DevicePolicyManagerProxy) SetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName, timeoutMs int64) error
- func (p *DevicePolicyManagerProxy) SetManagedSubscriptionsPolicy(ctx context.Context, policy ManagedSubscriptionsPolicy) error
- func (p *DevicePolicyManagerProxy) SetMasterVolumeMuted(ctx context.Context, admin content.ComponentName, on bool) error
- func (p *DevicePolicyManagerProxy) SetMaxPolicyStorageLimit(ctx context.Context, packageName string, storageLimit int32) error
- func (p *DevicePolicyManagerProxy) SetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetMaximumTimeToLock(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName, packageNames []string) ([]string, error)
- func (p *DevicePolicyManagerProxy) SetMinimumRequiredWifiSecurityLevel(ctx context.Context, callerPackageName string, level int32) error
- func (p *DevicePolicyManagerProxy) SetMtePolicy(ctx context.Context, flag int32, callerPackageName string) error
- func (p *DevicePolicyManagerProxy) SetNearbyAppStreamingPolicy(ctx context.Context, policy int32) error
- func (p *DevicePolicyManagerProxy) SetNearbyNotificationStreamingPolicy(ctx context.Context, policy int32) error
- func (p *DevicePolicyManagerProxy) SetNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetNextOperationSafety(ctx context.Context, operation int32, reason int32) error
- func (p *DevicePolicyManagerProxy) SetOrganizationColor(ctx context.Context, admin content.ComponentName, color int32) error
- func (p *DevicePolicyManagerProxy) SetOrganizationColorForUser(ctx context.Context, color int32) error
- func (p *DevicePolicyManagerProxy) SetOrganizationIdForUser(ctx context.Context, callerPackage string, enterpriseId string) error
- func (p *DevicePolicyManagerProxy) SetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetOverrideApnsEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetPackagesSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, ...) ([]string, error)
- func (p *DevicePolicyManagerProxy) SetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetPasswordHistoryLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPasswordQuality(ctx context.Context, who content.ComponentName, quality int32, parent bool) error
- func (p *DevicePolicyManagerProxy) SetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetPermissionPolicy(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
- func (p *DevicePolicyManagerProxy) SetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
- func (p *DevicePolicyManagerProxy) SetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetPersonalAppsSuspended(ctx context.Context, admin content.ComponentName, suspended bool) error
- func (p *DevicePolicyManagerProxy) SetPreferentialNetworkServiceConfigs(ctx context.Context, ...) error
- func (p *DevicePolicyManagerProxy) SetProfileEnabled(ctx context.Context, who content.ComponentName) error
- func (p *DevicePolicyManagerProxy) SetProfileName(ctx context.Context, who content.ComponentName, profileName string) error
- func (p *DevicePolicyManagerProxy) SetProfileOwner(ctx context.Context, who content.ComponentName) (bool, error)
- func (p *DevicePolicyManagerProxy) SetProfileOwnerOnOrganizationOwnedDevice(ctx context.Context, who content.ComponentName, ...) error
- func (p *DevicePolicyManagerProxy) SetRecommendedGlobalProxy(ctx context.Context, admin content.ComponentName, proxyInfo any) error
- func (p *DevicePolicyManagerProxy) SetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, passwordComplexity int32, ...) error
- func (p *DevicePolicyManagerProxy) SetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetRestrictionsProvider(ctx context.Context, who content.ComponentName, provider content.ComponentName) error
- func (p *DevicePolicyManagerProxy) SetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetSecondaryLockscreenEnabled(ctx context.Context, who content.ComponentName, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetSecureSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
- func (p *DevicePolicyManagerProxy) SetSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetStartUserSessionMessage(ctx context.Context, admin content.ComponentName, ...) error
- func (p *DevicePolicyManagerProxy) SetStatusBarDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetStorageEncryption(ctx context.Context, who content.ComponentName, encrypt bool) (int32, error)
- func (p *DevicePolicyManagerProxy) SetStrings(ctx context.Context, strings []DevicePolicyStringResource) error
- func (p *DevicePolicyManagerProxy) SetSystemSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
- func (p *DevicePolicyManagerProxy) SetSystemUpdatePolicy(ctx context.Context, who content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetTime(ctx context.Context, who content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetTimeZone(ctx context.Context, who content.ComponentName, callerPackageName string, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) SetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetUninstallBlocked(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetUsbDataSignalingEnabled(ctx context.Context, callerPackage string, enabled bool) error
- func (p *DevicePolicyManagerProxy) SetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string, ...) error
- func (p *DevicePolicyManagerProxy) SetUserIcon(ctx context.Context, admin content.ComponentName, icon graphics.Bitmap) error
- func (p *DevicePolicyManagerProxy) SetUserProvisioningState(ctx context.Context, state int32) error
- func (p *DevicePolicyManagerProxy) SetUserRestriction(ctx context.Context, who content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) SetUserRestrictionGlobally(ctx context.Context, callerPackage string, key string) error
- func (p *DevicePolicyManagerProxy) SetWifiSsidPolicy(ctx context.Context, callerPackageName string, policy WifiSsidPolicy) error
- func (p *DevicePolicyManagerProxy) ShouldAllowBypassingDevicePolicyManagementRoleQualification(ctx context.Context) (bool, error)
- func (p *DevicePolicyManagerProxy) StartManagedQuickContact(ctx context.Context, lookupKey string, contactId int64, ...) error
- func (p *DevicePolicyManagerProxy) StartUserInBackground(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
- func (p *DevicePolicyManagerProxy) StartViewCalendarEventInManagedProfile(ctx context.Context, packageName string, eventId int64, start int64, end int64, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) StopUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
- func (p *DevicePolicyManagerProxy) SwitchUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
- func (p *DevicePolicyManagerProxy) TransferOwnership(ctx context.Context, admin content.ComponentName, target content.ComponentName, ...) error
- func (p *DevicePolicyManagerProxy) TriggerDevicePolicyEngineMigration(ctx context.Context, forceMigration bool) (bool, error)
- func (p *DevicePolicyManagerProxy) UninstallCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string, ...) error
- func (p *DevicePolicyManagerProxy) UninstallPackageWithActiveAdmins(ctx context.Context, packageName string) error
- func (p *DevicePolicyManagerProxy) UpdateOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32, ...) (bool, error)
- func (p *DevicePolicyManagerProxy) WipeDataWithReason(ctx context.Context, callerPackageName string, flags int32, ...) error
- type DevicePolicyManagerStub
- type DevicePolicyState
- type DevicePolicyStringResource
- type DnsEvent
- type EnforcingAdmin
- type FactoryResetProtectionPolicy
- type FullyManagedDeviceProvisioningParams
- type IAuditLogEventsCallback
- type IAuditLogEventsCallbackServer
- type IDeviceAdminService
- type IDeviceAdminServiceServer
- type IDevicePolicyManager
- type IDevicePolicyManagerServer
- type IKeyguardCallback
- type IKeyguardCallbackServer
- type IKeyguardClient
- type IKeyguardClientServer
- type KeyguardCallbackProxy
- type KeyguardCallbackStub
- type KeyguardClientProxy
- type KeyguardClientStub
- type ManagedProfileProvisioningParams
- type ManagedSubscriptionsPolicy
- type NetworkEvent
- type PackagePolicy
- type ParcelableGranteeMap
- type ParcelableResource
- type PasswordMetrics
- type PreferentialNetworkServiceConfig
- type SecurityLogSecurityEvent
- type StartInstallingUpdateCallback
- type StartInstallingUpdateCallbackProxy
- type StartInstallingUpdateCallbackServer
- type StartInstallingUpdateCallbackStub
- type SystemUpdateInfo
- type SystemUpdatePolicy
- type WifiSsidPolicy
Constants ¶
const ( TransactionIDevicePolicyManagerSetPasswordQuality = binder.FirstCallTransaction + 0 TransactionIDevicePolicyManagerGetPasswordQuality = binder.FirstCallTransaction + 1 TransactionIDevicePolicyManagerSetPasswordMinimumLength = binder.FirstCallTransaction + 2 TransactionIDevicePolicyManagerGetPasswordMinimumLength = binder.FirstCallTransaction + 3 TransactionIDevicePolicyManagerSetPasswordMinimumUpperCase = binder.FirstCallTransaction + 4 TransactionIDevicePolicyManagerGetPasswordMinimumUpperCase = binder.FirstCallTransaction + 5 TransactionIDevicePolicyManagerSetPasswordMinimumLowerCase = binder.FirstCallTransaction + 6 TransactionIDevicePolicyManagerGetPasswordMinimumLowerCase = binder.FirstCallTransaction + 7 TransactionIDevicePolicyManagerSetPasswordMinimumLetters = binder.FirstCallTransaction + 8 TransactionIDevicePolicyManagerGetPasswordMinimumLetters = binder.FirstCallTransaction + 9 TransactionIDevicePolicyManagerSetPasswordMinimumNumeric = binder.FirstCallTransaction + 10 TransactionIDevicePolicyManagerGetPasswordMinimumNumeric = binder.FirstCallTransaction + 11 TransactionIDevicePolicyManagerSetPasswordMinimumSymbols = binder.FirstCallTransaction + 12 TransactionIDevicePolicyManagerGetPasswordMinimumSymbols = binder.FirstCallTransaction + 13 TransactionIDevicePolicyManagerSetPasswordMinimumNonLetter = binder.FirstCallTransaction + 14 TransactionIDevicePolicyManagerGetPasswordMinimumNonLetter = binder.FirstCallTransaction + 15 TransactionIDevicePolicyManagerGetPasswordMinimumMetrics = binder.FirstCallTransaction + 16 TransactionIDevicePolicyManagerSetPasswordHistoryLength = binder.FirstCallTransaction + 17 TransactionIDevicePolicyManagerGetPasswordHistoryLength = binder.FirstCallTransaction + 18 TransactionIDevicePolicyManagerSetPasswordExpirationTimeout = binder.FirstCallTransaction + 19 TransactionIDevicePolicyManagerGetPasswordExpirationTimeout = binder.FirstCallTransaction + 20 TransactionIDevicePolicyManagerGetPasswordExpiration = binder.FirstCallTransaction + 21 TransactionIDevicePolicyManagerIsActivePasswordSufficient = binder.FirstCallTransaction + 22 TransactionIDevicePolicyManagerIsActivePasswordSufficientForDeviceRequirement = binder.FirstCallTransaction + 23 TransactionIDevicePolicyManagerIsPasswordSufficientAfterProfileUnification = binder.FirstCallTransaction + 24 TransactionIDevicePolicyManagerGetPasswordComplexity = binder.FirstCallTransaction + 25 TransactionIDevicePolicyManagerSetRequiredPasswordComplexity = binder.FirstCallTransaction + 26 TransactionIDevicePolicyManagerGetRequiredPasswordComplexity = binder.FirstCallTransaction + 27 TransactionIDevicePolicyManagerGetAggregatedPasswordComplexityForUser = binder.FirstCallTransaction + 28 TransactionIDevicePolicyManagerIsUsingUnifiedPassword = binder.FirstCallTransaction + 29 TransactionIDevicePolicyManagerGetCurrentFailedPasswordAttempts = binder.FirstCallTransaction + 30 TransactionIDevicePolicyManagerGetProfileWithMinimumFailedPasswordsForWipe = binder.FirstCallTransaction + 31 TransactionIDevicePolicyManagerSetMaximumFailedPasswordsForWipe = binder.FirstCallTransaction + 32 TransactionIDevicePolicyManagerGetMaximumFailedPasswordsForWipe = binder.FirstCallTransaction + 33 TransactionIDevicePolicyManagerResetPassword = binder.FirstCallTransaction + 34 TransactionIDevicePolicyManagerSetMaximumTimeToLock = binder.FirstCallTransaction + 35 TransactionIDevicePolicyManagerGetMaximumTimeToLock = binder.FirstCallTransaction + 36 TransactionIDevicePolicyManagerSetRequiredStrongAuthTimeout = binder.FirstCallTransaction + 37 TransactionIDevicePolicyManagerGetRequiredStrongAuthTimeout = binder.FirstCallTransaction + 38 TransactionIDevicePolicyManagerLockNow = binder.FirstCallTransaction + 39 TransactionIDevicePolicyManagerWipeDataWithReason = binder.FirstCallTransaction + 40 TransactionIDevicePolicyManagerSetFactoryResetProtectionPolicy = binder.FirstCallTransaction + 41 TransactionIDevicePolicyManagerGetFactoryResetProtectionPolicy = binder.FirstCallTransaction + 42 TransactionIDevicePolicyManagerIsFactoryResetProtectionPolicySupported = binder.FirstCallTransaction + 43 TransactionIDevicePolicyManagerSendLostModeLocationUpdate = binder.FirstCallTransaction + 44 TransactionIDevicePolicyManagerSetGlobalProxy = binder.FirstCallTransaction + 45 TransactionIDevicePolicyManagerGetGlobalProxyAdmin = binder.FirstCallTransaction + 46 TransactionIDevicePolicyManagerSetRecommendedGlobalProxy = binder.FirstCallTransaction + 47 TransactionIDevicePolicyManagerSetStorageEncryption = binder.FirstCallTransaction + 48 TransactionIDevicePolicyManagerGetStorageEncryption = binder.FirstCallTransaction + 49 TransactionIDevicePolicyManagerGetStorageEncryptionStatus = binder.FirstCallTransaction + 50 TransactionIDevicePolicyManagerRequestBugreport = binder.FirstCallTransaction + 51 TransactionIDevicePolicyManagerSetCameraDisabled = binder.FirstCallTransaction + 52 TransactionIDevicePolicyManagerGetCameraDisabled = binder.FirstCallTransaction + 53 TransactionIDevicePolicyManagerSetScreenCaptureDisabled = binder.FirstCallTransaction + 54 TransactionIDevicePolicyManagerGetScreenCaptureDisabled = binder.FirstCallTransaction + 55 TransactionIDevicePolicyManagerSetNearbyNotificationStreamingPolicy = binder.FirstCallTransaction + 56 TransactionIDevicePolicyManagerGetNearbyNotificationStreamingPolicy = binder.FirstCallTransaction + 57 TransactionIDevicePolicyManagerSetNearbyAppStreamingPolicy = binder.FirstCallTransaction + 58 TransactionIDevicePolicyManagerGetNearbyAppStreamingPolicy = binder.FirstCallTransaction + 59 TransactionIDevicePolicyManagerSetKeyguardDisabledFeatures = binder.FirstCallTransaction + 60 TransactionIDevicePolicyManagerGetKeyguardDisabledFeatures = binder.FirstCallTransaction + 61 TransactionIDevicePolicyManagerSetActiveAdmin = binder.FirstCallTransaction + 62 TransactionIDevicePolicyManagerIsAdminActive = binder.FirstCallTransaction + 63 TransactionIDevicePolicyManagerGetActiveAdmins = binder.FirstCallTransaction + 64 TransactionIDevicePolicyManagerPackageHasActiveAdmins = binder.FirstCallTransaction + 65 TransactionIDevicePolicyManagerGetRemoveWarning = binder.FirstCallTransaction + 66 TransactionIDevicePolicyManagerRemoveActiveAdmin = binder.FirstCallTransaction + 67 TransactionIDevicePolicyManagerForceRemoveActiveAdmin = binder.FirstCallTransaction + 68 TransactionIDevicePolicyManagerHasGrantedPolicy = binder.FirstCallTransaction + 69 TransactionIDevicePolicyManagerReportPasswordChanged = binder.FirstCallTransaction + 70 TransactionIDevicePolicyManagerReportFailedPasswordAttempt = binder.FirstCallTransaction + 71 TransactionIDevicePolicyManagerReportSuccessfulPasswordAttempt = binder.FirstCallTransaction + 72 TransactionIDevicePolicyManagerReportFailedBiometricAttempt = binder.FirstCallTransaction + 73 TransactionIDevicePolicyManagerReportSuccessfulBiometricAttempt = binder.FirstCallTransaction + 74 TransactionIDevicePolicyManagerReportKeyguardDismissed = binder.FirstCallTransaction + 75 TransactionIDevicePolicyManagerReportKeyguardSecured = binder.FirstCallTransaction + 76 TransactionIDevicePolicyManagerSetDeviceOwner = binder.FirstCallTransaction + 77 TransactionIDevicePolicyManagerGetDeviceOwnerComponent = binder.FirstCallTransaction + 78 TransactionIDevicePolicyManagerGetDeviceOwnerComponentOnUser = binder.FirstCallTransaction + 79 TransactionIDevicePolicyManagerHasDeviceOwner = binder.FirstCallTransaction + 80 TransactionIDevicePolicyManagerGetDeviceOwnerName = binder.FirstCallTransaction + 81 TransactionIDevicePolicyManagerClearDeviceOwner = binder.FirstCallTransaction + 82 TransactionIDevicePolicyManagerGetDeviceOwnerUserId = binder.FirstCallTransaction + 83 TransactionIDevicePolicyManagerSetProfileOwner = binder.FirstCallTransaction + 84 TransactionIDevicePolicyManagerGetProfileOwnerAsUser = binder.FirstCallTransaction + 85 TransactionIDevicePolicyManagerGetProfileOwnerOrDeviceOwnerSupervisionComponent = binder.FirstCallTransaction + 86 TransactionIDevicePolicyManagerIsSupervisionComponent = binder.FirstCallTransaction + 87 TransactionIDevicePolicyManagerGetProfileOwnerName = binder.FirstCallTransaction + 88 TransactionIDevicePolicyManagerSetProfileEnabled = binder.FirstCallTransaction + 89 TransactionIDevicePolicyManagerSetProfileName = binder.FirstCallTransaction + 90 TransactionIDevicePolicyManagerClearProfileOwner = binder.FirstCallTransaction + 91 TransactionIDevicePolicyManagerHasUserSetupCompleted = binder.FirstCallTransaction + 92 TransactionIDevicePolicyManagerIsOrganizationOwnedDeviceWithManagedProfile = binder.FirstCallTransaction + 93 TransactionIDevicePolicyManagerCheckDeviceIdentifierAccess = binder.FirstCallTransaction + 94 TransactionIDevicePolicyManagerSetDeviceOwnerLockScreenInfo = binder.FirstCallTransaction + 95 TransactionIDevicePolicyManagerGetDeviceOwnerLockScreenInfo = binder.FirstCallTransaction + 96 TransactionIDevicePolicyManagerSetPackagesSuspended = binder.FirstCallTransaction + 97 TransactionIDevicePolicyManagerIsPackageSuspended = binder.FirstCallTransaction + 98 TransactionIDevicePolicyManagerListPolicyExemptApps = binder.FirstCallTransaction + 99 TransactionIDevicePolicyManagerInstallCaCert = binder.FirstCallTransaction + 100 TransactionIDevicePolicyManagerUninstallCaCerts = binder.FirstCallTransaction + 101 TransactionIDevicePolicyManagerEnforceCanManageCaCerts = binder.FirstCallTransaction + 102 TransactionIDevicePolicyManagerApproveCaCert = binder.FirstCallTransaction + 103 TransactionIDevicePolicyManagerIsCaCertApproved = binder.FirstCallTransaction + 104 TransactionIDevicePolicyManagerInstallKeyPair = binder.FirstCallTransaction + 105 TransactionIDevicePolicyManagerRemoveKeyPair = binder.FirstCallTransaction + 106 TransactionIDevicePolicyManagerHasKeyPair = binder.FirstCallTransaction + 107 TransactionIDevicePolicyManagerGenerateKeyPair = binder.FirstCallTransaction + 108 TransactionIDevicePolicyManagerSetKeyPairCertificate = binder.FirstCallTransaction + 109 TransactionIDevicePolicyManagerChoosePrivateKeyAlias = binder.FirstCallTransaction + 110 TransactionIDevicePolicyManagerSetDelegatedScopes = binder.FirstCallTransaction + 111 TransactionIDevicePolicyManagerGetDelegatedScopes = binder.FirstCallTransaction + 112 TransactionIDevicePolicyManagerGetDelegatePackages = binder.FirstCallTransaction + 113 TransactionIDevicePolicyManagerSetCertInstallerPackage = binder.FirstCallTransaction + 114 TransactionIDevicePolicyManagerGetCertInstallerPackage = binder.FirstCallTransaction + 115 TransactionIDevicePolicyManagerSetAlwaysOnVpnPackage = binder.FirstCallTransaction + 116 TransactionIDevicePolicyManagerGetAlwaysOnVpnPackage = binder.FirstCallTransaction + 117 TransactionIDevicePolicyManagerGetAlwaysOnVpnPackageForUser = binder.FirstCallTransaction + 118 TransactionIDevicePolicyManagerIsAlwaysOnVpnLockdownEnabled = binder.FirstCallTransaction + 119 TransactionIDevicePolicyManagerIsAlwaysOnVpnLockdownEnabledForUser = binder.FirstCallTransaction + 120 TransactionIDevicePolicyManagerGetAlwaysOnVpnLockdownAllowlist = binder.FirstCallTransaction + 121 TransactionIDevicePolicyManagerAddPersistentPreferredActivity = binder.FirstCallTransaction + 122 TransactionIDevicePolicyManagerClearPackagePersistentPreferredActivities = binder.FirstCallTransaction + 123 TransactionIDevicePolicyManagerSetDefaultSmsApplication = binder.FirstCallTransaction + 124 TransactionIDevicePolicyManagerSetDefaultDialerApplication = binder.FirstCallTransaction + 125 TransactionIDevicePolicyManagerSetApplicationRestrictions = binder.FirstCallTransaction + 126 TransactionIDevicePolicyManagerGetApplicationRestrictions = binder.FirstCallTransaction + 127 TransactionIDevicePolicyManagerSetApplicationRestrictionsManagingPackage = binder.FirstCallTransaction + 128 TransactionIDevicePolicyManagerGetApplicationRestrictionsManagingPackage = binder.FirstCallTransaction + 129 TransactionIDevicePolicyManagerIsCallerApplicationRestrictionsManagingPackage = binder.FirstCallTransaction + 130 TransactionIDevicePolicyManagerSetRestrictionsProvider = binder.FirstCallTransaction + 131 TransactionIDevicePolicyManagerGetRestrictionsProvider = binder.FirstCallTransaction + 132 TransactionIDevicePolicyManagerSetUserRestriction = binder.FirstCallTransaction + 133 TransactionIDevicePolicyManagerSetUserRestrictionGlobally = binder.FirstCallTransaction + 134 TransactionIDevicePolicyManagerGetUserRestrictions = binder.FirstCallTransaction + 135 TransactionIDevicePolicyManagerGetUserRestrictionsGlobally = binder.FirstCallTransaction + 136 TransactionIDevicePolicyManagerAddCrossProfileIntentFilter = binder.FirstCallTransaction + 137 TransactionIDevicePolicyManagerClearCrossProfileIntentFilters = binder.FirstCallTransaction + 138 TransactionIDevicePolicyManagerSetPermittedAccessibilityServices = binder.FirstCallTransaction + 139 TransactionIDevicePolicyManagerGetPermittedAccessibilityServices = binder.FirstCallTransaction + 140 TransactionIDevicePolicyManagerGetPermittedAccessibilityServicesForUser = binder.FirstCallTransaction + 141 TransactionIDevicePolicyManagerIsAccessibilityServicePermittedByAdmin = binder.FirstCallTransaction + 142 TransactionIDevicePolicyManagerSetPermittedInputMethods = binder.FirstCallTransaction + 143 TransactionIDevicePolicyManagerGetPermittedInputMethods = binder.FirstCallTransaction + 144 TransactionIDevicePolicyManagerGetPermittedInputMethodsAsUser = binder.FirstCallTransaction + 145 TransactionIDevicePolicyManagerIsInputMethodPermittedByAdmin = binder.FirstCallTransaction + 146 TransactionIDevicePolicyManagerSetPermittedCrossProfileNotificationListeners = binder.FirstCallTransaction + 147 TransactionIDevicePolicyManagerGetPermittedCrossProfileNotificationListeners = binder.FirstCallTransaction + 148 TransactionIDevicePolicyManagerIsNotificationListenerServicePermitted = binder.FirstCallTransaction + 149 TransactionIDevicePolicyManagerCreateAdminSupportIntent = binder.FirstCallTransaction + 150 TransactionIDevicePolicyManagerGetEnforcingAdminAndUserDetails = binder.FirstCallTransaction + 151 TransactionIDevicePolicyManagerGetEnforcingAdminsForRestriction = binder.FirstCallTransaction + 152 TransactionIDevicePolicyManagerSetApplicationHidden = binder.FirstCallTransaction + 153 TransactionIDevicePolicyManagerIsApplicationHidden = binder.FirstCallTransaction + 154 TransactionIDevicePolicyManagerCreateAndManageUser = binder.FirstCallTransaction + 155 TransactionIDevicePolicyManagerRemoveUser = binder.FirstCallTransaction + 156 TransactionIDevicePolicyManagerSwitchUser = binder.FirstCallTransaction + 157 TransactionIDevicePolicyManagerStartUserInBackground = binder.FirstCallTransaction + 158 TransactionIDevicePolicyManagerStopUser = binder.FirstCallTransaction + 159 TransactionIDevicePolicyManagerLogoutUser = binder.FirstCallTransaction + 160 TransactionIDevicePolicyManagerLogoutUserInternal = binder.FirstCallTransaction + 161 TransactionIDevicePolicyManagerGetLogoutUserId = binder.FirstCallTransaction + 162 TransactionIDevicePolicyManagerGetSecondaryUsers = binder.FirstCallTransaction + 163 TransactionIDevicePolicyManagerAcknowledgeNewUserDisclaimer = binder.FirstCallTransaction + 164 TransactionIDevicePolicyManagerIsNewUserDisclaimerAcknowledged = binder.FirstCallTransaction + 165 TransactionIDevicePolicyManagerEnableSystemApp = binder.FirstCallTransaction + 166 TransactionIDevicePolicyManagerEnableSystemAppWithIntent = binder.FirstCallTransaction + 167 TransactionIDevicePolicyManagerInstallExistingPackage = binder.FirstCallTransaction + 168 TransactionIDevicePolicyManagerSetAccountManagementDisabled = binder.FirstCallTransaction + 169 TransactionIDevicePolicyManagerGetAccountTypesWithManagementDisabled = binder.FirstCallTransaction + 170 TransactionIDevicePolicyManagerGetAccountTypesWithManagementDisabledAsUser = binder.FirstCallTransaction + 171 TransactionIDevicePolicyManagerSetSecondaryLockscreenEnabled = binder.FirstCallTransaction + 172 TransactionIDevicePolicyManagerIsSecondaryLockscreenEnabled = binder.FirstCallTransaction + 173 TransactionIDevicePolicyManagerSetPreferentialNetworkServiceConfigs = binder.FirstCallTransaction + 174 TransactionIDevicePolicyManagerGetPreferentialNetworkServiceConfigs = binder.FirstCallTransaction + 175 TransactionIDevicePolicyManagerSetLockTaskPackages = binder.FirstCallTransaction + 176 TransactionIDevicePolicyManagerGetLockTaskPackages = binder.FirstCallTransaction + 177 TransactionIDevicePolicyManagerIsLockTaskPermitted = binder.FirstCallTransaction + 178 TransactionIDevicePolicyManagerSetLockTaskFeatures = binder.FirstCallTransaction + 179 TransactionIDevicePolicyManagerGetLockTaskFeatures = binder.FirstCallTransaction + 180 TransactionIDevicePolicyManagerSetGlobalSetting = binder.FirstCallTransaction + 181 TransactionIDevicePolicyManagerSetSystemSetting = binder.FirstCallTransaction + 182 TransactionIDevicePolicyManagerSetSecureSetting = binder.FirstCallTransaction + 183 TransactionIDevicePolicyManagerSetConfiguredNetworksLockdownState = binder.FirstCallTransaction + 184 TransactionIDevicePolicyManagerHasLockdownAdminConfiguredNetworks = binder.FirstCallTransaction + 185 TransactionIDevicePolicyManagerSetLocationEnabled = binder.FirstCallTransaction + 186 TransactionIDevicePolicyManagerSetTime = binder.FirstCallTransaction + 187 TransactionIDevicePolicyManagerSetTimeZone = binder.FirstCallTransaction + 188 TransactionIDevicePolicyManagerSetMasterVolumeMuted = binder.FirstCallTransaction + 189 TransactionIDevicePolicyManagerIsMasterVolumeMuted = binder.FirstCallTransaction + 190 TransactionIDevicePolicyManagerNotifyLockTaskModeChanged = binder.FirstCallTransaction + 191 TransactionIDevicePolicyManagerSetUninstallBlocked = binder.FirstCallTransaction + 192 TransactionIDevicePolicyManagerIsUninstallBlocked = binder.FirstCallTransaction + 193 TransactionIDevicePolicyManagerSetCrossProfileCallerIdDisabled = binder.FirstCallTransaction + 194 TransactionIDevicePolicyManagerGetCrossProfileCallerIdDisabled = binder.FirstCallTransaction + 195 TransactionIDevicePolicyManagerGetCrossProfileCallerIdDisabledForUser = binder.FirstCallTransaction + 196 TransactionIDevicePolicyManagerSetCrossProfileContactsSearchDisabled = binder.FirstCallTransaction + 197 TransactionIDevicePolicyManagerGetCrossProfileContactsSearchDisabled = binder.FirstCallTransaction + 198 TransactionIDevicePolicyManagerGetCrossProfileContactsSearchDisabledForUser = binder.FirstCallTransaction + 199 TransactionIDevicePolicyManagerStartManagedQuickContact = binder.FirstCallTransaction + 200 TransactionIDevicePolicyManagerSetManagedProfileCallerIdAccessPolicy = binder.FirstCallTransaction + 201 TransactionIDevicePolicyManagerGetManagedProfileCallerIdAccessPolicy = binder.FirstCallTransaction + 202 TransactionIDevicePolicyManagerHasManagedProfileCallerIdAccess = binder.FirstCallTransaction + 203 TransactionIDevicePolicyManagerSetCredentialManagerPolicy = binder.FirstCallTransaction + 204 TransactionIDevicePolicyManagerGetCredentialManagerPolicy = binder.FirstCallTransaction + 205 TransactionIDevicePolicyManagerSetManagedProfileContactsAccessPolicy = binder.FirstCallTransaction + 206 TransactionIDevicePolicyManagerGetManagedProfileContactsAccessPolicy = binder.FirstCallTransaction + 207 TransactionIDevicePolicyManagerHasManagedProfileContactsAccess = binder.FirstCallTransaction + 208 TransactionIDevicePolicyManagerSetBluetoothContactSharingDisabled = binder.FirstCallTransaction + 209 TransactionIDevicePolicyManagerGetBluetoothContactSharingDisabled = binder.FirstCallTransaction + 210 TransactionIDevicePolicyManagerGetBluetoothContactSharingDisabledForUser = binder.FirstCallTransaction + 211 TransactionIDevicePolicyManagerSetTrustAgentConfiguration = binder.FirstCallTransaction + 212 TransactionIDevicePolicyManagerGetTrustAgentConfiguration = binder.FirstCallTransaction + 213 TransactionIDevicePolicyManagerAddCrossProfileWidgetProvider = binder.FirstCallTransaction + 214 TransactionIDevicePolicyManagerRemoveCrossProfileWidgetProvider = binder.FirstCallTransaction + 215 TransactionIDevicePolicyManagerGetCrossProfileWidgetProviders = binder.FirstCallTransaction + 216 TransactionIDevicePolicyManagerSetAutoTimeRequired = binder.FirstCallTransaction + 217 TransactionIDevicePolicyManagerGetAutoTimeRequired = binder.FirstCallTransaction + 218 TransactionIDevicePolicyManagerSetAutoTimeEnabled = binder.FirstCallTransaction + 219 TransactionIDevicePolicyManagerGetAutoTimeEnabled = binder.FirstCallTransaction + 220 TransactionIDevicePolicyManagerSetAutoTimeZoneEnabled = binder.FirstCallTransaction + 221 TransactionIDevicePolicyManagerGetAutoTimeZoneEnabled = binder.FirstCallTransaction + 222 TransactionIDevicePolicyManagerSetForceEphemeralUsers = binder.FirstCallTransaction + 223 TransactionIDevicePolicyManagerGetForceEphemeralUsers = binder.FirstCallTransaction + 224 TransactionIDevicePolicyManagerIsRemovingAdmin = binder.FirstCallTransaction + 225 TransactionIDevicePolicyManagerSetUserIcon = binder.FirstCallTransaction + 226 TransactionIDevicePolicyManagerSetSystemUpdatePolicy = binder.FirstCallTransaction + 227 TransactionIDevicePolicyManagerGetSystemUpdatePolicy = binder.FirstCallTransaction + 228 TransactionIDevicePolicyManagerClearSystemUpdatePolicyFreezePeriodRecord = binder.FirstCallTransaction + 229 TransactionIDevicePolicyManagerSetKeyguardDisabled = binder.FirstCallTransaction + 230 TransactionIDevicePolicyManagerSetStatusBarDisabled = binder.FirstCallTransaction + 231 TransactionIDevicePolicyManagerIsStatusBarDisabled = binder.FirstCallTransaction + 232 TransactionIDevicePolicyManagerGetDoNotAskCredentialsOnBoot = binder.FirstCallTransaction + 233 TransactionIDevicePolicyManagerNotifyPendingSystemUpdate = binder.FirstCallTransaction + 234 TransactionIDevicePolicyManagerGetPendingSystemUpdate = binder.FirstCallTransaction + 235 TransactionIDevicePolicyManagerSetPermissionPolicy = binder.FirstCallTransaction + 236 TransactionIDevicePolicyManagerGetPermissionPolicy = binder.FirstCallTransaction + 237 TransactionIDevicePolicyManagerSetPermissionGrantState = binder.FirstCallTransaction + 238 TransactionIDevicePolicyManagerGetPermissionGrantState = binder.FirstCallTransaction + 239 TransactionIDevicePolicyManagerIsProvisioningAllowed = binder.FirstCallTransaction + 240 TransactionIDevicePolicyManagerCheckProvisioningPrecondition = binder.FirstCallTransaction + 241 TransactionIDevicePolicyManagerSetKeepUninstalledPackages = binder.FirstCallTransaction + 242 TransactionIDevicePolicyManagerGetKeepUninstalledPackages = binder.FirstCallTransaction + 243 TransactionIDevicePolicyManagerIsManagedProfile = binder.FirstCallTransaction + 244 TransactionIDevicePolicyManagerGetWifiMacAddress = binder.FirstCallTransaction + 245 TransactionIDevicePolicyManagerReboot = binder.FirstCallTransaction + 246 TransactionIDevicePolicyManagerSetShortSupportMessage = binder.FirstCallTransaction + 247 TransactionIDevicePolicyManagerGetShortSupportMessage = binder.FirstCallTransaction + 248 TransactionIDevicePolicyManagerSetLongSupportMessage = binder.FirstCallTransaction + 249 TransactionIDevicePolicyManagerGetLongSupportMessage = binder.FirstCallTransaction + 250 TransactionIDevicePolicyManagerGetShortSupportMessageForUser = binder.FirstCallTransaction + 251 TransactionIDevicePolicyManagerGetLongSupportMessageForUser = binder.FirstCallTransaction + 252 TransactionIDevicePolicyManagerSetOrganizationColor = binder.FirstCallTransaction + 253 TransactionIDevicePolicyManagerSetOrganizationColorForUser = binder.FirstCallTransaction + 254 TransactionIDevicePolicyManagerClearOrganizationIdForUser = binder.FirstCallTransaction + 255 TransactionIDevicePolicyManagerGetOrganizationColor = binder.FirstCallTransaction + 256 TransactionIDevicePolicyManagerGetOrganizationColorForUser = binder.FirstCallTransaction + 257 TransactionIDevicePolicyManagerSetOrganizationName = binder.FirstCallTransaction + 258 TransactionIDevicePolicyManagerGetOrganizationName = binder.FirstCallTransaction + 259 TransactionIDevicePolicyManagerGetDeviceOwnerOrganizationName = binder.FirstCallTransaction + 260 TransactionIDevicePolicyManagerGetOrganizationNameForUser = binder.FirstCallTransaction + 261 TransactionIDevicePolicyManagerGetUserProvisioningState = binder.FirstCallTransaction + 262 TransactionIDevicePolicyManagerSetUserProvisioningState = binder.FirstCallTransaction + 263 TransactionIDevicePolicyManagerSetAffiliationIds = binder.FirstCallTransaction + 264 TransactionIDevicePolicyManagerGetAffiliationIds = binder.FirstCallTransaction + 265 TransactionIDevicePolicyManagerIsCallingUserAffiliated = binder.FirstCallTransaction + 266 TransactionIDevicePolicyManagerIsAffiliatedUser = binder.FirstCallTransaction + 267 TransactionIDevicePolicyManagerSetSecurityLoggingEnabled = binder.FirstCallTransaction + 268 TransactionIDevicePolicyManagerIsSecurityLoggingEnabled = binder.FirstCallTransaction + 269 TransactionIDevicePolicyManagerRetrieveSecurityLogs = binder.FirstCallTransaction + 270 TransactionIDevicePolicyManagerRetrievePreRebootSecurityLogs = binder.FirstCallTransaction + 271 TransactionIDevicePolicyManagerForceNetworkLogs = binder.FirstCallTransaction + 272 TransactionIDevicePolicyManagerForceSecurityLogs = binder.FirstCallTransaction + 273 TransactionIDevicePolicyManagerSetAuditLogEnabled = binder.FirstCallTransaction + 274 TransactionIDevicePolicyManagerIsAuditLogEnabled = binder.FirstCallTransaction + 275 TransactionIDevicePolicyManagerSetAuditLogEventsCallback = binder.FirstCallTransaction + 276 TransactionIDevicePolicyManagerIsUninstallInQueue = binder.FirstCallTransaction + 277 TransactionIDevicePolicyManagerUninstallPackageWithActiveAdmins = binder.FirstCallTransaction + 278 TransactionIDevicePolicyManagerIsDeviceProvisioned = binder.FirstCallTransaction + 279 TransactionIDevicePolicyManagerIsDeviceProvisioningConfigApplied = binder.FirstCallTransaction + 280 TransactionIDevicePolicyManagerSetDeviceProvisioningConfigApplied = binder.FirstCallTransaction + 281 TransactionIDevicePolicyManagerForceUpdateUserSetupComplete = binder.FirstCallTransaction + 282 TransactionIDevicePolicyManagerSetBackupServiceEnabled = binder.FirstCallTransaction + 283 TransactionIDevicePolicyManagerIsBackupServiceEnabled = binder.FirstCallTransaction + 284 TransactionIDevicePolicyManagerSetNetworkLoggingEnabled = binder.FirstCallTransaction + 285 TransactionIDevicePolicyManagerIsNetworkLoggingEnabled = binder.FirstCallTransaction + 286 TransactionIDevicePolicyManagerRetrieveNetworkLogs = binder.FirstCallTransaction + 287 TransactionIDevicePolicyManagerBindDeviceAdminServiceAsUser = binder.FirstCallTransaction + 288 TransactionIDevicePolicyManagerGetBindDeviceAdminTargetUsers = binder.FirstCallTransaction + 289 TransactionIDevicePolicyManagerIsEphemeralUser = binder.FirstCallTransaction + 290 TransactionIDevicePolicyManagerGetLastSecurityLogRetrievalTime = binder.FirstCallTransaction + 291 TransactionIDevicePolicyManagerGetLastBugReportRequestTime = binder.FirstCallTransaction + 292 TransactionIDevicePolicyManagerGetLastNetworkLogRetrievalTime = binder.FirstCallTransaction + 293 TransactionIDevicePolicyManagerSetResetPasswordToken = binder.FirstCallTransaction + 294 TransactionIDevicePolicyManagerClearResetPasswordToken = binder.FirstCallTransaction + 295 TransactionIDevicePolicyManagerIsResetPasswordTokenActive = binder.FirstCallTransaction + 296 TransactionIDevicePolicyManagerResetPasswordWithToken = binder.FirstCallTransaction + 297 TransactionIDevicePolicyManagerIsCurrentInputMethodSetByOwner = binder.FirstCallTransaction + 298 TransactionIDevicePolicyManagerGetOwnerInstalledCaCerts = binder.FirstCallTransaction + 299 TransactionIDevicePolicyManagerClearApplicationUserData = binder.FirstCallTransaction + 300 TransactionIDevicePolicyManagerSetLogoutEnabled = binder.FirstCallTransaction + 301 TransactionIDevicePolicyManagerIsLogoutEnabled = binder.FirstCallTransaction + 302 TransactionIDevicePolicyManagerGetDisallowedSystemApps = binder.FirstCallTransaction + 303 TransactionIDevicePolicyManagerTransferOwnership = binder.FirstCallTransaction + 304 TransactionIDevicePolicyManagerGetTransferOwnershipBundle = binder.FirstCallTransaction + 305 TransactionIDevicePolicyManagerSetStartUserSessionMessage = binder.FirstCallTransaction + 306 TransactionIDevicePolicyManagerSetEndUserSessionMessage = binder.FirstCallTransaction + 307 TransactionIDevicePolicyManagerGetStartUserSessionMessage = binder.FirstCallTransaction + 308 TransactionIDevicePolicyManagerGetEndUserSessionMessage = binder.FirstCallTransaction + 309 TransactionIDevicePolicyManagerSetMeteredDataDisabledPackages = binder.FirstCallTransaction + 310 TransactionIDevicePolicyManagerGetMeteredDataDisabledPackages = binder.FirstCallTransaction + 311 TransactionIDevicePolicyManagerAddOverrideApn = binder.FirstCallTransaction + 312 TransactionIDevicePolicyManagerUpdateOverrideApn = binder.FirstCallTransaction + 313 TransactionIDevicePolicyManagerRemoveOverrideApn = binder.FirstCallTransaction + 314 TransactionIDevicePolicyManagerGetOverrideApns = binder.FirstCallTransaction + 315 TransactionIDevicePolicyManagerSetOverrideApnsEnabled = binder.FirstCallTransaction + 316 TransactionIDevicePolicyManagerIsOverrideApnEnabled = binder.FirstCallTransaction + 317 TransactionIDevicePolicyManagerIsMeteredDataDisabledPackageForUser = binder.FirstCallTransaction + 318 TransactionIDevicePolicyManagerSetGlobalPrivateDns = binder.FirstCallTransaction + 319 TransactionIDevicePolicyManagerGetGlobalPrivateDnsMode = binder.FirstCallTransaction + 320 TransactionIDevicePolicyManagerGetGlobalPrivateDnsHost = binder.FirstCallTransaction + 321 TransactionIDevicePolicyManagerSetProfileOwnerOnOrganizationOwnedDevice = binder.FirstCallTransaction + 322 TransactionIDevicePolicyManagerInstallUpdateFromFile = binder.FirstCallTransaction + 323 TransactionIDevicePolicyManagerSetCrossProfileCalendarPackages = binder.FirstCallTransaction + 324 TransactionIDevicePolicyManagerGetCrossProfileCalendarPackages = binder.FirstCallTransaction + 325 TransactionIDevicePolicyManagerIsPackageAllowedToAccessCalendarForUser = binder.FirstCallTransaction + 326 TransactionIDevicePolicyManagerGetCrossProfileCalendarPackagesForUser = binder.FirstCallTransaction + 327 TransactionIDevicePolicyManagerSetCrossProfilePackages = binder.FirstCallTransaction + 328 TransactionIDevicePolicyManagerGetCrossProfilePackages = binder.FirstCallTransaction + 329 TransactionIDevicePolicyManagerGetAllCrossProfilePackages = binder.FirstCallTransaction + 330 TransactionIDevicePolicyManagerGetDefaultCrossProfilePackages = binder.FirstCallTransaction + 331 TransactionIDevicePolicyManagerIsManagedKiosk = binder.FirstCallTransaction + 332 TransactionIDevicePolicyManagerIsUnattendedManagedKiosk = binder.FirstCallTransaction + 333 TransactionIDevicePolicyManagerStartViewCalendarEventInManagedProfile = binder.FirstCallTransaction + 334 TransactionIDevicePolicyManagerSetKeyGrantForApp = binder.FirstCallTransaction + 335 TransactionIDevicePolicyManagerGetKeyPairGrants = binder.FirstCallTransaction + 336 TransactionIDevicePolicyManagerSetKeyGrantToWifiAuth = binder.FirstCallTransaction + 337 TransactionIDevicePolicyManagerIsKeyPairGrantedToWifiAuth = binder.FirstCallTransaction + 338 TransactionIDevicePolicyManagerSetUserControlDisabledPackages = binder.FirstCallTransaction + 339 TransactionIDevicePolicyManagerGetUserControlDisabledPackages = binder.FirstCallTransaction + 340 TransactionIDevicePolicyManagerSetCommonCriteriaModeEnabled = binder.FirstCallTransaction + 341 TransactionIDevicePolicyManagerIsCommonCriteriaModeEnabled = binder.FirstCallTransaction + 342 TransactionIDevicePolicyManagerGetPersonalAppsSuspendedReasons = binder.FirstCallTransaction + 343 TransactionIDevicePolicyManagerSetPersonalAppsSuspended = binder.FirstCallTransaction + 344 TransactionIDevicePolicyManagerGetManagedProfileMaximumTimeOff = binder.FirstCallTransaction + 345 TransactionIDevicePolicyManagerSetManagedProfileMaximumTimeOff = binder.FirstCallTransaction + 346 TransactionIDevicePolicyManagerAcknowledgeDeviceCompliant = binder.FirstCallTransaction + 347 TransactionIDevicePolicyManagerIsComplianceAcknowledgementRequired = binder.FirstCallTransaction + 348 TransactionIDevicePolicyManagerCanProfileOwnerResetPasswordWhenLocked = binder.FirstCallTransaction + 349 TransactionIDevicePolicyManagerSetNextOperationSafety = binder.FirstCallTransaction + 350 TransactionIDevicePolicyManagerIsSafeOperation = binder.FirstCallTransaction + 351 TransactionIDevicePolicyManagerGetEnrollmentSpecificId = binder.FirstCallTransaction + 352 TransactionIDevicePolicyManagerSetOrganizationIdForUser = binder.FirstCallTransaction + 353 TransactionIDevicePolicyManagerCreateAndProvisionManagedProfile = binder.FirstCallTransaction + 354 TransactionIDevicePolicyManagerProvisionFullyManagedDevice = binder.FirstCallTransaction + 355 TransactionIDevicePolicyManagerFinalizeWorkProfileProvisioning = binder.FirstCallTransaction + 356 TransactionIDevicePolicyManagerSetDeviceOwnerType = binder.FirstCallTransaction + 357 TransactionIDevicePolicyManagerGetDeviceOwnerType = binder.FirstCallTransaction + 358 TransactionIDevicePolicyManagerResetDefaultCrossProfileIntentFilters = binder.FirstCallTransaction + 359 TransactionIDevicePolicyManagerCanAdminGrantSensorsPermissions = binder.FirstCallTransaction + 360 TransactionIDevicePolicyManagerSetUsbDataSignalingEnabled = binder.FirstCallTransaction + 361 TransactionIDevicePolicyManagerIsUsbDataSignalingEnabled = binder.FirstCallTransaction + 362 TransactionIDevicePolicyManagerCanUsbDataSignalingBeDisabled = binder.FirstCallTransaction + 363 TransactionIDevicePolicyManagerSetMinimumRequiredWifiSecurityLevel = binder.FirstCallTransaction + 364 TransactionIDevicePolicyManagerGetMinimumRequiredWifiSecurityLevel = binder.FirstCallTransaction + 365 TransactionIDevicePolicyManagerSetWifiSsidPolicy = binder.FirstCallTransaction + 366 TransactionIDevicePolicyManagerGetWifiSsidPolicy = binder.FirstCallTransaction + 367 TransactionIDevicePolicyManagerIsTheftDetectionTriggered = binder.FirstCallTransaction + 368 TransactionIDevicePolicyManagerListForegroundAffiliatedUsers = binder.FirstCallTransaction + 369 TransactionIDevicePolicyManagerSetDrawables = binder.FirstCallTransaction + 370 TransactionIDevicePolicyManagerResetDrawables = binder.FirstCallTransaction + 371 TransactionIDevicePolicyManagerGetDrawable = binder.FirstCallTransaction + 372 TransactionIDevicePolicyManagerIsDpcDownloaded = binder.FirstCallTransaction + 373 TransactionIDevicePolicyManagerSetDpcDownloaded = binder.FirstCallTransaction + 374 TransactionIDevicePolicyManagerSetStrings = binder.FirstCallTransaction + 375 TransactionIDevicePolicyManagerResetStrings = binder.FirstCallTransaction + 376 TransactionIDevicePolicyManagerGetString = binder.FirstCallTransaction + 377 TransactionIDevicePolicyManagerResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState = binder.FirstCallTransaction + 378 TransactionIDevicePolicyManagerShouldAllowBypassingDevicePolicyManagementRoleQualification = binder.FirstCallTransaction + 379 TransactionIDevicePolicyManagerGetPolicyManagedProfiles = binder.FirstCallTransaction + 380 TransactionIDevicePolicyManagerSetApplicationExemptions = binder.FirstCallTransaction + 381 TransactionIDevicePolicyManagerGetApplicationExemptions = binder.FirstCallTransaction + 382 TransactionIDevicePolicyManagerSetMtePolicy = binder.FirstCallTransaction + 383 TransactionIDevicePolicyManagerGetMtePolicy = binder.FirstCallTransaction + 384 TransactionIDevicePolicyManagerSetManagedSubscriptionsPolicy = binder.FirstCallTransaction + 385 TransactionIDevicePolicyManagerGetManagedSubscriptionsPolicy = binder.FirstCallTransaction + 386 TransactionIDevicePolicyManagerGetDevicePolicyState = binder.FirstCallTransaction + 387 TransactionIDevicePolicyManagerTriggerDevicePolicyEngineMigration = binder.FirstCallTransaction + 388 TransactionIDevicePolicyManagerIsDeviceFinanced = binder.FirstCallTransaction + 389 TransactionIDevicePolicyManagerGetFinancedDeviceKioskRoleHolder = binder.FirstCallTransaction + 390 TransactionIDevicePolicyManagerCalculateHasIncompatibleAccounts = binder.FirstCallTransaction + 391 TransactionIDevicePolicyManagerSetContentProtectionPolicy = binder.FirstCallTransaction + 392 TransactionIDevicePolicyManagerGetContentProtectionPolicy = binder.FirstCallTransaction + 393 TransactionIDevicePolicyManagerGetSubscriptionIds = binder.FirstCallTransaction + 394 TransactionIDevicePolicyManagerSetMaxPolicyStorageLimit = binder.FirstCallTransaction + 395 TransactionIDevicePolicyManagerGetMaxPolicyStorageLimit = binder.FirstCallTransaction + 396 )
const ( MethodIDevicePolicyManagerSetPasswordQuality = "setPasswordQuality" MethodIDevicePolicyManagerGetPasswordQuality = "getPasswordQuality" MethodIDevicePolicyManagerSetPasswordMinimumLength = "setPasswordMinimumLength" MethodIDevicePolicyManagerGetPasswordMinimumLength = "getPasswordMinimumLength" MethodIDevicePolicyManagerSetPasswordMinimumUpperCase = "setPasswordMinimumUpperCase" MethodIDevicePolicyManagerGetPasswordMinimumUpperCase = "getPasswordMinimumUpperCase" MethodIDevicePolicyManagerSetPasswordMinimumLowerCase = "setPasswordMinimumLowerCase" MethodIDevicePolicyManagerGetPasswordMinimumLowerCase = "getPasswordMinimumLowerCase" MethodIDevicePolicyManagerSetPasswordMinimumLetters = "setPasswordMinimumLetters" MethodIDevicePolicyManagerGetPasswordMinimumLetters = "getPasswordMinimumLetters" MethodIDevicePolicyManagerSetPasswordMinimumNumeric = "setPasswordMinimumNumeric" MethodIDevicePolicyManagerGetPasswordMinimumNumeric = "getPasswordMinimumNumeric" MethodIDevicePolicyManagerSetPasswordMinimumSymbols = "setPasswordMinimumSymbols" MethodIDevicePolicyManagerGetPasswordMinimumSymbols = "getPasswordMinimumSymbols" MethodIDevicePolicyManagerSetPasswordMinimumNonLetter = "setPasswordMinimumNonLetter" MethodIDevicePolicyManagerGetPasswordMinimumNonLetter = "getPasswordMinimumNonLetter" MethodIDevicePolicyManagerGetPasswordMinimumMetrics = "getPasswordMinimumMetrics" MethodIDevicePolicyManagerSetPasswordHistoryLength = "setPasswordHistoryLength" MethodIDevicePolicyManagerGetPasswordHistoryLength = "getPasswordHistoryLength" MethodIDevicePolicyManagerSetPasswordExpirationTimeout = "setPasswordExpirationTimeout" MethodIDevicePolicyManagerGetPasswordExpirationTimeout = "getPasswordExpirationTimeout" MethodIDevicePolicyManagerGetPasswordExpiration = "getPasswordExpiration" MethodIDevicePolicyManagerIsActivePasswordSufficient = "isActivePasswordSufficient" MethodIDevicePolicyManagerIsActivePasswordSufficientForDeviceRequirement = "isActivePasswordSufficientForDeviceRequirement" MethodIDevicePolicyManagerIsPasswordSufficientAfterProfileUnification = "isPasswordSufficientAfterProfileUnification" MethodIDevicePolicyManagerGetPasswordComplexity = "getPasswordComplexity" MethodIDevicePolicyManagerSetRequiredPasswordComplexity = "setRequiredPasswordComplexity" MethodIDevicePolicyManagerGetRequiredPasswordComplexity = "getRequiredPasswordComplexity" MethodIDevicePolicyManagerGetAggregatedPasswordComplexityForUser = "getAggregatedPasswordComplexityForUser" MethodIDevicePolicyManagerIsUsingUnifiedPassword = "isUsingUnifiedPassword" MethodIDevicePolicyManagerGetCurrentFailedPasswordAttempts = "getCurrentFailedPasswordAttempts" MethodIDevicePolicyManagerGetProfileWithMinimumFailedPasswordsForWipe = "getProfileWithMinimumFailedPasswordsForWipe" MethodIDevicePolicyManagerSetMaximumFailedPasswordsForWipe = "setMaximumFailedPasswordsForWipe" MethodIDevicePolicyManagerGetMaximumFailedPasswordsForWipe = "getMaximumFailedPasswordsForWipe" MethodIDevicePolicyManagerResetPassword = "resetPassword" MethodIDevicePolicyManagerSetMaximumTimeToLock = "setMaximumTimeToLock" MethodIDevicePolicyManagerGetMaximumTimeToLock = "getMaximumTimeToLock" MethodIDevicePolicyManagerSetRequiredStrongAuthTimeout = "setRequiredStrongAuthTimeout" MethodIDevicePolicyManagerGetRequiredStrongAuthTimeout = "getRequiredStrongAuthTimeout" MethodIDevicePolicyManagerLockNow = "lockNow" MethodIDevicePolicyManagerWipeDataWithReason = "wipeDataWithReason" MethodIDevicePolicyManagerSetFactoryResetProtectionPolicy = "setFactoryResetProtectionPolicy" MethodIDevicePolicyManagerGetFactoryResetProtectionPolicy = "getFactoryResetProtectionPolicy" MethodIDevicePolicyManagerIsFactoryResetProtectionPolicySupported = "isFactoryResetProtectionPolicySupported" MethodIDevicePolicyManagerSendLostModeLocationUpdate = "sendLostModeLocationUpdate" MethodIDevicePolicyManagerSetGlobalProxy = "setGlobalProxy" MethodIDevicePolicyManagerGetGlobalProxyAdmin = "getGlobalProxyAdmin" MethodIDevicePolicyManagerSetRecommendedGlobalProxy = "setRecommendedGlobalProxy" MethodIDevicePolicyManagerSetStorageEncryption = "setStorageEncryption" MethodIDevicePolicyManagerGetStorageEncryption = "getStorageEncryption" MethodIDevicePolicyManagerGetStorageEncryptionStatus = "getStorageEncryptionStatus" MethodIDevicePolicyManagerRequestBugreport = "requestBugreport" MethodIDevicePolicyManagerSetCameraDisabled = "setCameraDisabled" MethodIDevicePolicyManagerGetCameraDisabled = "getCameraDisabled" MethodIDevicePolicyManagerSetScreenCaptureDisabled = "setScreenCaptureDisabled" MethodIDevicePolicyManagerGetScreenCaptureDisabled = "getScreenCaptureDisabled" MethodIDevicePolicyManagerSetNearbyNotificationStreamingPolicy = "setNearbyNotificationStreamingPolicy" MethodIDevicePolicyManagerGetNearbyNotificationStreamingPolicy = "getNearbyNotificationStreamingPolicy" MethodIDevicePolicyManagerSetNearbyAppStreamingPolicy = "setNearbyAppStreamingPolicy" MethodIDevicePolicyManagerGetNearbyAppStreamingPolicy = "getNearbyAppStreamingPolicy" MethodIDevicePolicyManagerSetKeyguardDisabledFeatures = "setKeyguardDisabledFeatures" MethodIDevicePolicyManagerGetKeyguardDisabledFeatures = "getKeyguardDisabledFeatures" MethodIDevicePolicyManagerSetActiveAdmin = "setActiveAdmin" MethodIDevicePolicyManagerIsAdminActive = "isAdminActive" MethodIDevicePolicyManagerGetActiveAdmins = "getActiveAdmins" MethodIDevicePolicyManagerPackageHasActiveAdmins = "packageHasActiveAdmins" MethodIDevicePolicyManagerGetRemoveWarning = "getRemoveWarning" MethodIDevicePolicyManagerRemoveActiveAdmin = "removeActiveAdmin" MethodIDevicePolicyManagerForceRemoveActiveAdmin = "forceRemoveActiveAdmin" MethodIDevicePolicyManagerHasGrantedPolicy = "hasGrantedPolicy" MethodIDevicePolicyManagerReportPasswordChanged = "reportPasswordChanged" MethodIDevicePolicyManagerReportFailedPasswordAttempt = "reportFailedPasswordAttempt" MethodIDevicePolicyManagerReportSuccessfulPasswordAttempt = "reportSuccessfulPasswordAttempt" MethodIDevicePolicyManagerReportFailedBiometricAttempt = "reportFailedBiometricAttempt" MethodIDevicePolicyManagerReportSuccessfulBiometricAttempt = "reportSuccessfulBiometricAttempt" MethodIDevicePolicyManagerReportKeyguardDismissed = "reportKeyguardDismissed" MethodIDevicePolicyManagerReportKeyguardSecured = "reportKeyguardSecured" MethodIDevicePolicyManagerSetDeviceOwner = "setDeviceOwner" MethodIDevicePolicyManagerGetDeviceOwnerComponent = "getDeviceOwnerComponent" MethodIDevicePolicyManagerGetDeviceOwnerComponentOnUser = "getDeviceOwnerComponentOnUser" MethodIDevicePolicyManagerHasDeviceOwner = "hasDeviceOwner" MethodIDevicePolicyManagerGetDeviceOwnerName = "getDeviceOwnerName" MethodIDevicePolicyManagerClearDeviceOwner = "clearDeviceOwner" MethodIDevicePolicyManagerGetDeviceOwnerUserId = "getDeviceOwnerUserId" MethodIDevicePolicyManagerSetProfileOwner = "setProfileOwner" MethodIDevicePolicyManagerGetProfileOwnerAsUser = "getProfileOwnerAsUser" MethodIDevicePolicyManagerGetProfileOwnerOrDeviceOwnerSupervisionComponent = "getProfileOwnerOrDeviceOwnerSupervisionComponent" MethodIDevicePolicyManagerIsSupervisionComponent = "isSupervisionComponent" MethodIDevicePolicyManagerGetProfileOwnerName = "getProfileOwnerName" MethodIDevicePolicyManagerSetProfileEnabled = "setProfileEnabled" MethodIDevicePolicyManagerSetProfileName = "setProfileName" MethodIDevicePolicyManagerClearProfileOwner = "clearProfileOwner" MethodIDevicePolicyManagerHasUserSetupCompleted = "hasUserSetupCompleted" MethodIDevicePolicyManagerIsOrganizationOwnedDeviceWithManagedProfile = "isOrganizationOwnedDeviceWithManagedProfile" MethodIDevicePolicyManagerCheckDeviceIdentifierAccess = "checkDeviceIdentifierAccess" MethodIDevicePolicyManagerSetDeviceOwnerLockScreenInfo = "setDeviceOwnerLockScreenInfo" MethodIDevicePolicyManagerGetDeviceOwnerLockScreenInfo = "getDeviceOwnerLockScreenInfo" MethodIDevicePolicyManagerSetPackagesSuspended = "setPackagesSuspended" MethodIDevicePolicyManagerIsPackageSuspended = "isPackageSuspended" MethodIDevicePolicyManagerListPolicyExemptApps = "listPolicyExemptApps" MethodIDevicePolicyManagerInstallCaCert = "installCaCert" MethodIDevicePolicyManagerUninstallCaCerts = "uninstallCaCerts" MethodIDevicePolicyManagerEnforceCanManageCaCerts = "enforceCanManageCaCerts" MethodIDevicePolicyManagerApproveCaCert = "approveCaCert" MethodIDevicePolicyManagerIsCaCertApproved = "isCaCertApproved" MethodIDevicePolicyManagerInstallKeyPair = "installKeyPair" MethodIDevicePolicyManagerRemoveKeyPair = "removeKeyPair" MethodIDevicePolicyManagerHasKeyPair = "hasKeyPair" MethodIDevicePolicyManagerGenerateKeyPair = "generateKeyPair" MethodIDevicePolicyManagerSetKeyPairCertificate = "setKeyPairCertificate" MethodIDevicePolicyManagerChoosePrivateKeyAlias = "choosePrivateKeyAlias" MethodIDevicePolicyManagerSetDelegatedScopes = "setDelegatedScopes" MethodIDevicePolicyManagerGetDelegatedScopes = "getDelegatedScopes" MethodIDevicePolicyManagerGetDelegatePackages = "getDelegatePackages" MethodIDevicePolicyManagerSetCertInstallerPackage = "setCertInstallerPackage" MethodIDevicePolicyManagerGetCertInstallerPackage = "getCertInstallerPackage" MethodIDevicePolicyManagerSetAlwaysOnVpnPackage = "setAlwaysOnVpnPackage" MethodIDevicePolicyManagerGetAlwaysOnVpnPackage = "getAlwaysOnVpnPackage" MethodIDevicePolicyManagerGetAlwaysOnVpnPackageForUser = "getAlwaysOnVpnPackageForUser" MethodIDevicePolicyManagerIsAlwaysOnVpnLockdownEnabled = "isAlwaysOnVpnLockdownEnabled" MethodIDevicePolicyManagerIsAlwaysOnVpnLockdownEnabledForUser = "isAlwaysOnVpnLockdownEnabledForUser" MethodIDevicePolicyManagerGetAlwaysOnVpnLockdownAllowlist = "getAlwaysOnVpnLockdownAllowlist" MethodIDevicePolicyManagerAddPersistentPreferredActivity = "addPersistentPreferredActivity" MethodIDevicePolicyManagerClearPackagePersistentPreferredActivities = "clearPackagePersistentPreferredActivities" MethodIDevicePolicyManagerSetDefaultSmsApplication = "setDefaultSmsApplication" MethodIDevicePolicyManagerSetDefaultDialerApplication = "setDefaultDialerApplication" MethodIDevicePolicyManagerSetApplicationRestrictions = "setApplicationRestrictions" MethodIDevicePolicyManagerGetApplicationRestrictions = "getApplicationRestrictions" MethodIDevicePolicyManagerSetApplicationRestrictionsManagingPackage = "setApplicationRestrictionsManagingPackage" MethodIDevicePolicyManagerGetApplicationRestrictionsManagingPackage = "getApplicationRestrictionsManagingPackage" MethodIDevicePolicyManagerIsCallerApplicationRestrictionsManagingPackage = "isCallerApplicationRestrictionsManagingPackage" MethodIDevicePolicyManagerSetRestrictionsProvider = "setRestrictionsProvider" MethodIDevicePolicyManagerGetRestrictionsProvider = "getRestrictionsProvider" MethodIDevicePolicyManagerSetUserRestriction = "setUserRestriction" MethodIDevicePolicyManagerSetUserRestrictionGlobally = "setUserRestrictionGlobally" MethodIDevicePolicyManagerGetUserRestrictions = "getUserRestrictions" MethodIDevicePolicyManagerGetUserRestrictionsGlobally = "getUserRestrictionsGlobally" MethodIDevicePolicyManagerAddCrossProfileIntentFilter = "addCrossProfileIntentFilter" MethodIDevicePolicyManagerClearCrossProfileIntentFilters = "clearCrossProfileIntentFilters" MethodIDevicePolicyManagerSetPermittedAccessibilityServices = "setPermittedAccessibilityServices" MethodIDevicePolicyManagerGetPermittedAccessibilityServices = "getPermittedAccessibilityServices" MethodIDevicePolicyManagerGetPermittedAccessibilityServicesForUser = "getPermittedAccessibilityServicesForUser" MethodIDevicePolicyManagerIsAccessibilityServicePermittedByAdmin = "isAccessibilityServicePermittedByAdmin" MethodIDevicePolicyManagerSetPermittedInputMethods = "setPermittedInputMethods" MethodIDevicePolicyManagerGetPermittedInputMethods = "getPermittedInputMethods" MethodIDevicePolicyManagerGetPermittedInputMethodsAsUser = "getPermittedInputMethodsAsUser" MethodIDevicePolicyManagerIsInputMethodPermittedByAdmin = "isInputMethodPermittedByAdmin" MethodIDevicePolicyManagerSetPermittedCrossProfileNotificationListeners = "setPermittedCrossProfileNotificationListeners" MethodIDevicePolicyManagerGetPermittedCrossProfileNotificationListeners = "getPermittedCrossProfileNotificationListeners" MethodIDevicePolicyManagerIsNotificationListenerServicePermitted = "isNotificationListenerServicePermitted" MethodIDevicePolicyManagerCreateAdminSupportIntent = "createAdminSupportIntent" MethodIDevicePolicyManagerGetEnforcingAdminAndUserDetails = "getEnforcingAdminAndUserDetails" MethodIDevicePolicyManagerGetEnforcingAdminsForRestriction = "getEnforcingAdminsForRestriction" MethodIDevicePolicyManagerSetApplicationHidden = "setApplicationHidden" MethodIDevicePolicyManagerIsApplicationHidden = "isApplicationHidden" MethodIDevicePolicyManagerCreateAndManageUser = "createAndManageUser" MethodIDevicePolicyManagerRemoveUser = "removeUser" MethodIDevicePolicyManagerSwitchUser = "switchUser" MethodIDevicePolicyManagerStartUserInBackground = "startUserInBackground" MethodIDevicePolicyManagerStopUser = "stopUser" MethodIDevicePolicyManagerLogoutUser = "logoutUser" MethodIDevicePolicyManagerLogoutUserInternal = "logoutUserInternal" MethodIDevicePolicyManagerGetLogoutUserId = "getLogoutUserId" MethodIDevicePolicyManagerGetSecondaryUsers = "getSecondaryUsers" MethodIDevicePolicyManagerAcknowledgeNewUserDisclaimer = "acknowledgeNewUserDisclaimer" MethodIDevicePolicyManagerIsNewUserDisclaimerAcknowledged = "isNewUserDisclaimerAcknowledged" MethodIDevicePolicyManagerEnableSystemApp = "enableSystemApp" MethodIDevicePolicyManagerEnableSystemAppWithIntent = "enableSystemAppWithIntent" MethodIDevicePolicyManagerInstallExistingPackage = "installExistingPackage" MethodIDevicePolicyManagerSetAccountManagementDisabled = "setAccountManagementDisabled" MethodIDevicePolicyManagerGetAccountTypesWithManagementDisabled = "getAccountTypesWithManagementDisabled" MethodIDevicePolicyManagerGetAccountTypesWithManagementDisabledAsUser = "getAccountTypesWithManagementDisabledAsUser" MethodIDevicePolicyManagerSetSecondaryLockscreenEnabled = "setSecondaryLockscreenEnabled" MethodIDevicePolicyManagerIsSecondaryLockscreenEnabled = "isSecondaryLockscreenEnabled" MethodIDevicePolicyManagerSetPreferentialNetworkServiceConfigs = "setPreferentialNetworkServiceConfigs" MethodIDevicePolicyManagerGetPreferentialNetworkServiceConfigs = "getPreferentialNetworkServiceConfigs" MethodIDevicePolicyManagerSetLockTaskPackages = "setLockTaskPackages" MethodIDevicePolicyManagerGetLockTaskPackages = "getLockTaskPackages" MethodIDevicePolicyManagerIsLockTaskPermitted = "isLockTaskPermitted" MethodIDevicePolicyManagerSetLockTaskFeatures = "setLockTaskFeatures" MethodIDevicePolicyManagerGetLockTaskFeatures = "getLockTaskFeatures" MethodIDevicePolicyManagerSetGlobalSetting = "setGlobalSetting" MethodIDevicePolicyManagerSetSystemSetting = "setSystemSetting" MethodIDevicePolicyManagerSetSecureSetting = "setSecureSetting" MethodIDevicePolicyManagerSetConfiguredNetworksLockdownState = "setConfiguredNetworksLockdownState" MethodIDevicePolicyManagerHasLockdownAdminConfiguredNetworks = "hasLockdownAdminConfiguredNetworks" MethodIDevicePolicyManagerSetLocationEnabled = "setLocationEnabled" MethodIDevicePolicyManagerSetTime = "setTime" MethodIDevicePolicyManagerSetTimeZone = "setTimeZone" MethodIDevicePolicyManagerSetMasterVolumeMuted = "setMasterVolumeMuted" MethodIDevicePolicyManagerIsMasterVolumeMuted = "isMasterVolumeMuted" MethodIDevicePolicyManagerNotifyLockTaskModeChanged = "notifyLockTaskModeChanged" MethodIDevicePolicyManagerSetUninstallBlocked = "setUninstallBlocked" MethodIDevicePolicyManagerIsUninstallBlocked = "isUninstallBlocked" MethodIDevicePolicyManagerSetCrossProfileCallerIdDisabled = "setCrossProfileCallerIdDisabled" MethodIDevicePolicyManagerGetCrossProfileCallerIdDisabled = "getCrossProfileCallerIdDisabled" MethodIDevicePolicyManagerGetCrossProfileCallerIdDisabledForUser = "getCrossProfileCallerIdDisabledForUser" MethodIDevicePolicyManagerSetCrossProfileContactsSearchDisabled = "setCrossProfileContactsSearchDisabled" MethodIDevicePolicyManagerGetCrossProfileContactsSearchDisabled = "getCrossProfileContactsSearchDisabled" MethodIDevicePolicyManagerGetCrossProfileContactsSearchDisabledForUser = "getCrossProfileContactsSearchDisabledForUser" MethodIDevicePolicyManagerStartManagedQuickContact = "startManagedQuickContact" MethodIDevicePolicyManagerSetManagedProfileCallerIdAccessPolicy = "setManagedProfileCallerIdAccessPolicy" MethodIDevicePolicyManagerGetManagedProfileCallerIdAccessPolicy = "getManagedProfileCallerIdAccessPolicy" MethodIDevicePolicyManagerHasManagedProfileCallerIdAccess = "hasManagedProfileCallerIdAccess" MethodIDevicePolicyManagerSetCredentialManagerPolicy = "setCredentialManagerPolicy" MethodIDevicePolicyManagerGetCredentialManagerPolicy = "getCredentialManagerPolicy" MethodIDevicePolicyManagerSetManagedProfileContactsAccessPolicy = "setManagedProfileContactsAccessPolicy" MethodIDevicePolicyManagerGetManagedProfileContactsAccessPolicy = "getManagedProfileContactsAccessPolicy" MethodIDevicePolicyManagerHasManagedProfileContactsAccess = "hasManagedProfileContactsAccess" MethodIDevicePolicyManagerSetBluetoothContactSharingDisabled = "setBluetoothContactSharingDisabled" MethodIDevicePolicyManagerGetBluetoothContactSharingDisabled = "getBluetoothContactSharingDisabled" MethodIDevicePolicyManagerGetBluetoothContactSharingDisabledForUser = "getBluetoothContactSharingDisabledForUser" MethodIDevicePolicyManagerSetTrustAgentConfiguration = "setTrustAgentConfiguration" MethodIDevicePolicyManagerGetTrustAgentConfiguration = "getTrustAgentConfiguration" MethodIDevicePolicyManagerAddCrossProfileWidgetProvider = "addCrossProfileWidgetProvider" MethodIDevicePolicyManagerRemoveCrossProfileWidgetProvider = "removeCrossProfileWidgetProvider" MethodIDevicePolicyManagerGetCrossProfileWidgetProviders = "getCrossProfileWidgetProviders" MethodIDevicePolicyManagerSetAutoTimeRequired = "setAutoTimeRequired" MethodIDevicePolicyManagerGetAutoTimeRequired = "getAutoTimeRequired" MethodIDevicePolicyManagerSetAutoTimeEnabled = "setAutoTimeEnabled" MethodIDevicePolicyManagerGetAutoTimeEnabled = "getAutoTimeEnabled" MethodIDevicePolicyManagerSetAutoTimeZoneEnabled = "setAutoTimeZoneEnabled" MethodIDevicePolicyManagerGetAutoTimeZoneEnabled = "getAutoTimeZoneEnabled" MethodIDevicePolicyManagerSetForceEphemeralUsers = "setForceEphemeralUsers" MethodIDevicePolicyManagerGetForceEphemeralUsers = "getForceEphemeralUsers" MethodIDevicePolicyManagerIsRemovingAdmin = "isRemovingAdmin" MethodIDevicePolicyManagerSetUserIcon = "setUserIcon" MethodIDevicePolicyManagerSetSystemUpdatePolicy = "setSystemUpdatePolicy" MethodIDevicePolicyManagerGetSystemUpdatePolicy = "getSystemUpdatePolicy" MethodIDevicePolicyManagerClearSystemUpdatePolicyFreezePeriodRecord = "clearSystemUpdatePolicyFreezePeriodRecord" MethodIDevicePolicyManagerSetKeyguardDisabled = "setKeyguardDisabled" MethodIDevicePolicyManagerSetStatusBarDisabled = "setStatusBarDisabled" MethodIDevicePolicyManagerIsStatusBarDisabled = "isStatusBarDisabled" MethodIDevicePolicyManagerGetDoNotAskCredentialsOnBoot = "getDoNotAskCredentialsOnBoot" MethodIDevicePolicyManagerNotifyPendingSystemUpdate = "notifyPendingSystemUpdate" MethodIDevicePolicyManagerGetPendingSystemUpdate = "getPendingSystemUpdate" MethodIDevicePolicyManagerSetPermissionPolicy = "setPermissionPolicy" MethodIDevicePolicyManagerGetPermissionPolicy = "getPermissionPolicy" MethodIDevicePolicyManagerSetPermissionGrantState = "setPermissionGrantState" MethodIDevicePolicyManagerGetPermissionGrantState = "getPermissionGrantState" MethodIDevicePolicyManagerIsProvisioningAllowed = "isProvisioningAllowed" MethodIDevicePolicyManagerCheckProvisioningPrecondition = "checkProvisioningPrecondition" MethodIDevicePolicyManagerSetKeepUninstalledPackages = "setKeepUninstalledPackages" MethodIDevicePolicyManagerGetKeepUninstalledPackages = "getKeepUninstalledPackages" MethodIDevicePolicyManagerIsManagedProfile = "isManagedProfile" MethodIDevicePolicyManagerGetWifiMacAddress = "getWifiMacAddress" MethodIDevicePolicyManagerReboot = "reboot" MethodIDevicePolicyManagerSetShortSupportMessage = "setShortSupportMessage" MethodIDevicePolicyManagerGetShortSupportMessage = "getShortSupportMessage" MethodIDevicePolicyManagerSetLongSupportMessage = "setLongSupportMessage" MethodIDevicePolicyManagerGetLongSupportMessage = "getLongSupportMessage" MethodIDevicePolicyManagerGetShortSupportMessageForUser = "getShortSupportMessageForUser" MethodIDevicePolicyManagerGetLongSupportMessageForUser = "getLongSupportMessageForUser" MethodIDevicePolicyManagerSetOrganizationColor = "setOrganizationColor" MethodIDevicePolicyManagerSetOrganizationColorForUser = "setOrganizationColorForUser" MethodIDevicePolicyManagerClearOrganizationIdForUser = "clearOrganizationIdForUser" MethodIDevicePolicyManagerGetOrganizationColor = "getOrganizationColor" MethodIDevicePolicyManagerGetOrganizationColorForUser = "getOrganizationColorForUser" MethodIDevicePolicyManagerSetOrganizationName = "setOrganizationName" MethodIDevicePolicyManagerGetOrganizationName = "getOrganizationName" MethodIDevicePolicyManagerGetDeviceOwnerOrganizationName = "getDeviceOwnerOrganizationName" MethodIDevicePolicyManagerGetOrganizationNameForUser = "getOrganizationNameForUser" MethodIDevicePolicyManagerGetUserProvisioningState = "getUserProvisioningState" MethodIDevicePolicyManagerSetUserProvisioningState = "setUserProvisioningState" MethodIDevicePolicyManagerSetAffiliationIds = "setAffiliationIds" MethodIDevicePolicyManagerGetAffiliationIds = "getAffiliationIds" MethodIDevicePolicyManagerIsCallingUserAffiliated = "isCallingUserAffiliated" MethodIDevicePolicyManagerIsAffiliatedUser = "isAffiliatedUser" MethodIDevicePolicyManagerSetSecurityLoggingEnabled = "setSecurityLoggingEnabled" MethodIDevicePolicyManagerIsSecurityLoggingEnabled = "isSecurityLoggingEnabled" MethodIDevicePolicyManagerRetrieveSecurityLogs = "retrieveSecurityLogs" MethodIDevicePolicyManagerRetrievePreRebootSecurityLogs = "retrievePreRebootSecurityLogs" MethodIDevicePolicyManagerForceNetworkLogs = "forceNetworkLogs" MethodIDevicePolicyManagerForceSecurityLogs = "forceSecurityLogs" MethodIDevicePolicyManagerSetAuditLogEnabled = "setAuditLogEnabled" MethodIDevicePolicyManagerIsAuditLogEnabled = "isAuditLogEnabled" MethodIDevicePolicyManagerSetAuditLogEventsCallback = "setAuditLogEventsCallback" MethodIDevicePolicyManagerIsUninstallInQueue = "isUninstallInQueue" MethodIDevicePolicyManagerUninstallPackageWithActiveAdmins = "uninstallPackageWithActiveAdmins" MethodIDevicePolicyManagerIsDeviceProvisioned = "isDeviceProvisioned" MethodIDevicePolicyManagerIsDeviceProvisioningConfigApplied = "isDeviceProvisioningConfigApplied" MethodIDevicePolicyManagerSetDeviceProvisioningConfigApplied = "setDeviceProvisioningConfigApplied" MethodIDevicePolicyManagerForceUpdateUserSetupComplete = "forceUpdateUserSetupComplete" MethodIDevicePolicyManagerSetBackupServiceEnabled = "setBackupServiceEnabled" MethodIDevicePolicyManagerIsBackupServiceEnabled = "isBackupServiceEnabled" MethodIDevicePolicyManagerSetNetworkLoggingEnabled = "setNetworkLoggingEnabled" MethodIDevicePolicyManagerIsNetworkLoggingEnabled = "isNetworkLoggingEnabled" MethodIDevicePolicyManagerRetrieveNetworkLogs = "retrieveNetworkLogs" MethodIDevicePolicyManagerBindDeviceAdminServiceAsUser = "bindDeviceAdminServiceAsUser" MethodIDevicePolicyManagerGetBindDeviceAdminTargetUsers = "getBindDeviceAdminTargetUsers" MethodIDevicePolicyManagerIsEphemeralUser = "isEphemeralUser" MethodIDevicePolicyManagerGetLastSecurityLogRetrievalTime = "getLastSecurityLogRetrievalTime" MethodIDevicePolicyManagerGetLastBugReportRequestTime = "getLastBugReportRequestTime" MethodIDevicePolicyManagerGetLastNetworkLogRetrievalTime = "getLastNetworkLogRetrievalTime" MethodIDevicePolicyManagerSetResetPasswordToken = "setResetPasswordToken" MethodIDevicePolicyManagerClearResetPasswordToken = "clearResetPasswordToken" MethodIDevicePolicyManagerIsResetPasswordTokenActive = "isResetPasswordTokenActive" MethodIDevicePolicyManagerResetPasswordWithToken = "resetPasswordWithToken" MethodIDevicePolicyManagerIsCurrentInputMethodSetByOwner = "isCurrentInputMethodSetByOwner" MethodIDevicePolicyManagerGetOwnerInstalledCaCerts = "getOwnerInstalledCaCerts" MethodIDevicePolicyManagerClearApplicationUserData = "clearApplicationUserData" MethodIDevicePolicyManagerSetLogoutEnabled = "setLogoutEnabled" MethodIDevicePolicyManagerIsLogoutEnabled = "isLogoutEnabled" MethodIDevicePolicyManagerGetDisallowedSystemApps = "getDisallowedSystemApps" MethodIDevicePolicyManagerTransferOwnership = "transferOwnership" MethodIDevicePolicyManagerGetTransferOwnershipBundle = "getTransferOwnershipBundle" MethodIDevicePolicyManagerSetStartUserSessionMessage = "setStartUserSessionMessage" MethodIDevicePolicyManagerSetEndUserSessionMessage = "setEndUserSessionMessage" MethodIDevicePolicyManagerGetStartUserSessionMessage = "getStartUserSessionMessage" MethodIDevicePolicyManagerGetEndUserSessionMessage = "getEndUserSessionMessage" MethodIDevicePolicyManagerSetMeteredDataDisabledPackages = "setMeteredDataDisabledPackages" MethodIDevicePolicyManagerGetMeteredDataDisabledPackages = "getMeteredDataDisabledPackages" MethodIDevicePolicyManagerAddOverrideApn = "addOverrideApn" MethodIDevicePolicyManagerUpdateOverrideApn = "updateOverrideApn" MethodIDevicePolicyManagerRemoveOverrideApn = "removeOverrideApn" MethodIDevicePolicyManagerGetOverrideApns = "getOverrideApns" MethodIDevicePolicyManagerSetOverrideApnsEnabled = "setOverrideApnsEnabled" MethodIDevicePolicyManagerIsOverrideApnEnabled = "isOverrideApnEnabled" MethodIDevicePolicyManagerIsMeteredDataDisabledPackageForUser = "isMeteredDataDisabledPackageForUser" MethodIDevicePolicyManagerSetGlobalPrivateDns = "setGlobalPrivateDns" MethodIDevicePolicyManagerGetGlobalPrivateDnsMode = "getGlobalPrivateDnsMode" MethodIDevicePolicyManagerGetGlobalPrivateDnsHost = "getGlobalPrivateDnsHost" MethodIDevicePolicyManagerSetProfileOwnerOnOrganizationOwnedDevice = "setProfileOwnerOnOrganizationOwnedDevice" MethodIDevicePolicyManagerInstallUpdateFromFile = "installUpdateFromFile" MethodIDevicePolicyManagerSetCrossProfileCalendarPackages = "setCrossProfileCalendarPackages" MethodIDevicePolicyManagerGetCrossProfileCalendarPackages = "getCrossProfileCalendarPackages" MethodIDevicePolicyManagerIsPackageAllowedToAccessCalendarForUser = "isPackageAllowedToAccessCalendarForUser" MethodIDevicePolicyManagerGetCrossProfileCalendarPackagesForUser = "getCrossProfileCalendarPackagesForUser" MethodIDevicePolicyManagerSetCrossProfilePackages = "setCrossProfilePackages" MethodIDevicePolicyManagerGetCrossProfilePackages = "getCrossProfilePackages" MethodIDevicePolicyManagerGetAllCrossProfilePackages = "getAllCrossProfilePackages" MethodIDevicePolicyManagerGetDefaultCrossProfilePackages = "getDefaultCrossProfilePackages" MethodIDevicePolicyManagerIsManagedKiosk = "isManagedKiosk" MethodIDevicePolicyManagerIsUnattendedManagedKiosk = "isUnattendedManagedKiosk" MethodIDevicePolicyManagerStartViewCalendarEventInManagedProfile = "startViewCalendarEventInManagedProfile" MethodIDevicePolicyManagerSetKeyGrantForApp = "setKeyGrantForApp" MethodIDevicePolicyManagerGetKeyPairGrants = "getKeyPairGrants" MethodIDevicePolicyManagerSetKeyGrantToWifiAuth = "setKeyGrantToWifiAuth" MethodIDevicePolicyManagerIsKeyPairGrantedToWifiAuth = "isKeyPairGrantedToWifiAuth" MethodIDevicePolicyManagerSetUserControlDisabledPackages = "setUserControlDisabledPackages" MethodIDevicePolicyManagerGetUserControlDisabledPackages = "getUserControlDisabledPackages" MethodIDevicePolicyManagerSetCommonCriteriaModeEnabled = "setCommonCriteriaModeEnabled" MethodIDevicePolicyManagerIsCommonCriteriaModeEnabled = "isCommonCriteriaModeEnabled" MethodIDevicePolicyManagerGetPersonalAppsSuspendedReasons = "getPersonalAppsSuspendedReasons" MethodIDevicePolicyManagerSetPersonalAppsSuspended = "setPersonalAppsSuspended" MethodIDevicePolicyManagerGetManagedProfileMaximumTimeOff = "getManagedProfileMaximumTimeOff" MethodIDevicePolicyManagerSetManagedProfileMaximumTimeOff = "setManagedProfileMaximumTimeOff" MethodIDevicePolicyManagerAcknowledgeDeviceCompliant = "acknowledgeDeviceCompliant" MethodIDevicePolicyManagerIsComplianceAcknowledgementRequired = "isComplianceAcknowledgementRequired" MethodIDevicePolicyManagerCanProfileOwnerResetPasswordWhenLocked = "canProfileOwnerResetPasswordWhenLocked" MethodIDevicePolicyManagerSetNextOperationSafety = "setNextOperationSafety" MethodIDevicePolicyManagerIsSafeOperation = "isSafeOperation" MethodIDevicePolicyManagerGetEnrollmentSpecificId = "getEnrollmentSpecificId" MethodIDevicePolicyManagerSetOrganizationIdForUser = "setOrganizationIdForUser" MethodIDevicePolicyManagerCreateAndProvisionManagedProfile = "createAndProvisionManagedProfile" MethodIDevicePolicyManagerProvisionFullyManagedDevice = "provisionFullyManagedDevice" MethodIDevicePolicyManagerFinalizeWorkProfileProvisioning = "finalizeWorkProfileProvisioning" MethodIDevicePolicyManagerSetDeviceOwnerType = "setDeviceOwnerType" MethodIDevicePolicyManagerGetDeviceOwnerType = "getDeviceOwnerType" MethodIDevicePolicyManagerResetDefaultCrossProfileIntentFilters = "resetDefaultCrossProfileIntentFilters" MethodIDevicePolicyManagerCanAdminGrantSensorsPermissions = "canAdminGrantSensorsPermissions" MethodIDevicePolicyManagerSetUsbDataSignalingEnabled = "setUsbDataSignalingEnabled" MethodIDevicePolicyManagerIsUsbDataSignalingEnabled = "isUsbDataSignalingEnabled" MethodIDevicePolicyManagerCanUsbDataSignalingBeDisabled = "canUsbDataSignalingBeDisabled" MethodIDevicePolicyManagerSetMinimumRequiredWifiSecurityLevel = "setMinimumRequiredWifiSecurityLevel" MethodIDevicePolicyManagerGetMinimumRequiredWifiSecurityLevel = "getMinimumRequiredWifiSecurityLevel" MethodIDevicePolicyManagerSetWifiSsidPolicy = "setWifiSsidPolicy" MethodIDevicePolicyManagerGetWifiSsidPolicy = "getWifiSsidPolicy" MethodIDevicePolicyManagerIsTheftDetectionTriggered = "isTheftDetectionTriggered" MethodIDevicePolicyManagerListForegroundAffiliatedUsers = "listForegroundAffiliatedUsers" MethodIDevicePolicyManagerSetDrawables = "setDrawables" MethodIDevicePolicyManagerResetDrawables = "resetDrawables" MethodIDevicePolicyManagerGetDrawable = "getDrawable" MethodIDevicePolicyManagerIsDpcDownloaded = "isDpcDownloaded" MethodIDevicePolicyManagerSetDpcDownloaded = "setDpcDownloaded" MethodIDevicePolicyManagerSetStrings = "setStrings" MethodIDevicePolicyManagerResetStrings = "resetStrings" MethodIDevicePolicyManagerGetString = "getString" MethodIDevicePolicyManagerResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState = "resetShouldAllowBypassingDevicePolicyManagementRoleQualificationState" MethodIDevicePolicyManagerShouldAllowBypassingDevicePolicyManagementRoleQualification = "shouldAllowBypassingDevicePolicyManagementRoleQualification" MethodIDevicePolicyManagerGetPolicyManagedProfiles = "getPolicyManagedProfiles" MethodIDevicePolicyManagerSetApplicationExemptions = "setApplicationExemptions" MethodIDevicePolicyManagerGetApplicationExemptions = "getApplicationExemptions" MethodIDevicePolicyManagerSetMtePolicy = "setMtePolicy" MethodIDevicePolicyManagerGetMtePolicy = "getMtePolicy" MethodIDevicePolicyManagerSetManagedSubscriptionsPolicy = "setManagedSubscriptionsPolicy" MethodIDevicePolicyManagerGetManagedSubscriptionsPolicy = "getManagedSubscriptionsPolicy" MethodIDevicePolicyManagerGetDevicePolicyState = "getDevicePolicyState" MethodIDevicePolicyManagerTriggerDevicePolicyEngineMigration = "triggerDevicePolicyEngineMigration" MethodIDevicePolicyManagerIsDeviceFinanced = "isDeviceFinanced" MethodIDevicePolicyManagerGetFinancedDeviceKioskRoleHolder = "getFinancedDeviceKioskRoleHolder" MethodIDevicePolicyManagerCalculateHasIncompatibleAccounts = "calculateHasIncompatibleAccounts" MethodIDevicePolicyManagerSetContentProtectionPolicy = "setContentProtectionPolicy" MethodIDevicePolicyManagerGetContentProtectionPolicy = "getContentProtectionPolicy" MethodIDevicePolicyManagerGetSubscriptionIds = "getSubscriptionIds" MethodIDevicePolicyManagerSetMaxPolicyStorageLimit = "setMaxPolicyStorageLimit" MethodIDevicePolicyManagerGetMaxPolicyStorageLimit = "getMaxPolicyStorageLimit" )
const ( TransactionIKeyguardCallbackOnRemoteContentReady = binder.FirstCallTransaction + 0 TransactionIKeyguardCallbackOnDismiss = binder.FirstCallTransaction + 1 )
const ( MethodIKeyguardCallbackOnRemoteContentReady = "onRemoteContentReady" MethodIKeyguardCallbackOnDismiss = "onDismiss" )
const DescriptorIAuditLogEventsCallback = "android.app.admin.IAuditLogEventsCallback"
const DescriptorIDeviceAdminService = "android.app.admin.IDeviceAdminService"
const DescriptorIDevicePolicyManager = "android.app.admin.IDevicePolicyManager"
const DescriptorIKeyguardCallback = "android.app.admin.IKeyguardCallback"
const DescriptorIKeyguardClient = "android.app.admin.IKeyguardClient"
const DescriptorStartInstallingUpdateCallback = "android.app.admin.StartInstallingUpdateCallback"
const (
MethodIAuditLogEventsCallbackOnNewAuditLogEvents = "onNewAuditLogEvents"
)
const (
MethodIKeyguardClientOnCreateKeyguardSurface = "onCreateKeyguardSurface"
)
const (
MethodStartInstallingUpdateCallbackOnStartInstallingUpdateError = "onStartInstallingUpdateError"
)
const (
TransactionIAuditLogEventsCallbackOnNewAuditLogEvents = binder.FirstCallTransaction + 0
)
const (
TransactionIKeyguardClientOnCreateKeyguardSurface = binder.FirstCallTransaction + 0
)
const (
TransactionStartInstallingUpdateCallbackOnStartInstallingUpdateError = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogEventsCallbackProxy ¶
func NewAuditLogEventsCallbackProxy ¶
func NewAuditLogEventsCallbackProxy( remote binder.IBinder, ) *AuditLogEventsCallbackProxy
func (*AuditLogEventsCallbackProxy) AsBinder ¶
func (p *AuditLogEventsCallbackProxy) AsBinder() binder.IBinder
func (*AuditLogEventsCallbackProxy) OnNewAuditLogEvents ¶
func (p *AuditLogEventsCallbackProxy) OnNewAuditLogEvents( ctx context.Context, events []SecurityLogSecurityEvent, ) error
type AuditLogEventsCallbackStub ¶
type AuditLogEventsCallbackStub struct {
Impl IAuditLogEventsCallback
Transport binder.VersionAwareTransport
}
AuditLogEventsCallbackStub dispatches incoming binder transactions to a typed IAuditLogEventsCallback implementation.
func (*AuditLogEventsCallbackStub) Descriptor ¶
func (s *AuditLogEventsCallbackStub) Descriptor() string
func (*AuditLogEventsCallbackStub) OnTransaction ¶
func (s *AuditLogEventsCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ConnectEvent ¶
type ConnectEvent struct {
ParcelTokenConnectEvent int32
IpAddress string
Port int32
PackageName string
Timestamp int64
Id int64
}
func (*ConnectEvent) MarshalParcel ¶
func (s *ConnectEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*ConnectEvent) UnmarshalParcel ¶
func (s *ConnectEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceAdminServiceProxy ¶
func NewDeviceAdminServiceProxy ¶
func NewDeviceAdminServiceProxy( remote binder.IBinder, ) *DeviceAdminServiceProxy
func (*DeviceAdminServiceProxy) AsBinder ¶
func (p *DeviceAdminServiceProxy) AsBinder() binder.IBinder
type DeviceAdminServiceStub ¶
type DeviceAdminServiceStub struct {
Impl IDeviceAdminService
Transport binder.VersionAwareTransport
}
DeviceAdminServiceStub dispatches incoming binder transactions to a typed IDeviceAdminService implementation.
func (*DeviceAdminServiceStub) Descriptor ¶
func (s *DeviceAdminServiceStub) Descriptor() string
func (*DeviceAdminServiceStub) OnTransaction ¶
func (s *DeviceAdminServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DevicePolicyDrawableResource ¶
type DevicePolicyDrawableResource struct {
DrawableId string
DrawableStyle string
DrawableSource string
ResourceIdInCallingPackage int32
}
func (*DevicePolicyDrawableResource) MarshalParcel ¶
func (s *DevicePolicyDrawableResource) MarshalParcel( p *parcel.Parcel, ) error
func (*DevicePolicyDrawableResource) UnmarshalParcel ¶
func (s *DevicePolicyDrawableResource) UnmarshalParcel( p *parcel.Parcel, ) error
type DevicePolicyManagerProxy ¶
func GetDevicePolicyManager ¶
func GetDevicePolicyManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*DevicePolicyManagerProxy, error)
GetDevicePolicyManager retrieves the DevicePolicyService service and returns a typed proxy.
func NewDevicePolicyManagerProxy ¶
func NewDevicePolicyManagerProxy( remote binder.IBinder, ) *DevicePolicyManagerProxy
func (*DevicePolicyManagerProxy) AcknowledgeDeviceCompliant ¶
func (p *DevicePolicyManagerProxy) AcknowledgeDeviceCompliant( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) AcknowledgeNewUserDisclaimer ¶
func (p *DevicePolicyManagerProxy) AcknowledgeNewUserDisclaimer( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) AddCrossProfileIntentFilter ¶
func (p *DevicePolicyManagerProxy) AddCrossProfileIntentFilter( ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, flags int32, ) error
func (*DevicePolicyManagerProxy) AddCrossProfileWidgetProvider ¶
func (p *DevicePolicyManagerProxy) AddCrossProfileWidgetProvider( ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) AddOverrideApn ¶
func (p *DevicePolicyManagerProxy) AddOverrideApn( ctx context.Context, admin content.ComponentName, apnSetting data.ApnSetting, ) (int32, error)
func (*DevicePolicyManagerProxy) AddPersistentPreferredActivity ¶
func (p *DevicePolicyManagerProxy) AddPersistentPreferredActivity( ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, activity content.ComponentName, ) error
func (*DevicePolicyManagerProxy) ApproveCaCert ¶
func (*DevicePolicyManagerProxy) AsBinder ¶
func (p *DevicePolicyManagerProxy) AsBinder() binder.IBinder
func (*DevicePolicyManagerProxy) BindDeviceAdminServiceAsUser ¶
func (p *DevicePolicyManagerProxy) BindDeviceAdminServiceAsUser( ctx context.Context, admin content.ComponentName, caller app.IApplicationThread, token binder.IBinder, service content.Intent, connection app.IServiceConnection, flags int64, targetUserId int32, ) (bool, error)
func (*DevicePolicyManagerProxy) CalculateHasIncompatibleAccounts ¶
func (p *DevicePolicyManagerProxy) CalculateHasIncompatibleAccounts( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) CanAdminGrantSensorsPermissions ¶
func (p *DevicePolicyManagerProxy) CanAdminGrantSensorsPermissions( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) CanProfileOwnerResetPasswordWhenLocked ¶
func (p *DevicePolicyManagerProxy) CanProfileOwnerResetPasswordWhenLocked( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) CanUsbDataSignalingBeDisabled ¶
func (p *DevicePolicyManagerProxy) CanUsbDataSignalingBeDisabled( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) CheckDeviceIdentifierAccess ¶
func (*DevicePolicyManagerProxy) CheckProvisioningPrecondition ¶
func (*DevicePolicyManagerProxy) ChoosePrivateKeyAlias ¶
func (*DevicePolicyManagerProxy) ClearApplicationUserData ¶
func (p *DevicePolicyManagerProxy) ClearApplicationUserData( ctx context.Context, admin content.ComponentName, packageName string, callback pm.IPackageDataObserver, ) error
func (*DevicePolicyManagerProxy) ClearCrossProfileIntentFilters ¶
func (p *DevicePolicyManagerProxy) ClearCrossProfileIntentFilters( ctx context.Context, admin content.ComponentName, callerPackageName string, ) error
func (*DevicePolicyManagerProxy) ClearDeviceOwner ¶
func (p *DevicePolicyManagerProxy) ClearDeviceOwner( ctx context.Context, packageName string, ) error
func (*DevicePolicyManagerProxy) ClearOrganizationIdForUser ¶
func (p *DevicePolicyManagerProxy) ClearOrganizationIdForUser( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ClearPackagePersistentPreferredActivities ¶
func (p *DevicePolicyManagerProxy) ClearPackagePersistentPreferredActivities( ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, ) error
func (*DevicePolicyManagerProxy) ClearProfileOwner ¶
func (p *DevicePolicyManagerProxy) ClearProfileOwner( ctx context.Context, who content.ComponentName, ) error
func (*DevicePolicyManagerProxy) ClearResetPasswordToken ¶
func (p *DevicePolicyManagerProxy) ClearResetPasswordToken( ctx context.Context, admin content.ComponentName, callerPackageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) ClearSystemUpdatePolicyFreezePeriodRecord ¶
func (p *DevicePolicyManagerProxy) ClearSystemUpdatePolicyFreezePeriodRecord( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) CreateAdminSupportIntent ¶
func (*DevicePolicyManagerProxy) CreateAndManageUser ¶
func (p *DevicePolicyManagerProxy) CreateAndManageUser( ctx context.Context, who content.ComponentName, name string, profileOwner content.ComponentName, adminExtras os.PersistableBundle, flags int32, ) (os.UserHandle, error)
func (*DevicePolicyManagerProxy) CreateAndProvisionManagedProfile ¶
func (p *DevicePolicyManagerProxy) CreateAndProvisionManagedProfile( ctx context.Context, provisioningParams ManagedProfileProvisioningParams, callerPackage string, ) (os.UserHandle, error)
func (*DevicePolicyManagerProxy) EnableSystemApp ¶
func (p *DevicePolicyManagerProxy) EnableSystemApp( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, ) error
func (*DevicePolicyManagerProxy) EnableSystemAppWithIntent ¶
func (p *DevicePolicyManagerProxy) EnableSystemAppWithIntent( ctx context.Context, admin content.ComponentName, callerPackage string, intent content.Intent, ) (int32, error)
func (*DevicePolicyManagerProxy) EnforceCanManageCaCerts ¶
func (p *DevicePolicyManagerProxy) EnforceCanManageCaCerts( ctx context.Context, admin content.ComponentName, callerPackage string, ) error
func (*DevicePolicyManagerProxy) FinalizeWorkProfileProvisioning ¶
func (p *DevicePolicyManagerProxy) FinalizeWorkProfileProvisioning( ctx context.Context, managedProfileUser os.UserHandle, migratedAccount accounts.Account, ) error
func (*DevicePolicyManagerProxy) ForceNetworkLogs ¶
func (p *DevicePolicyManagerProxy) ForceNetworkLogs( ctx context.Context, ) (int64, error)
func (*DevicePolicyManagerProxy) ForceRemoveActiveAdmin ¶
func (p *DevicePolicyManagerProxy) ForceRemoveActiveAdmin( ctx context.Context, policyReceiver content.ComponentName, ) error
func (*DevicePolicyManagerProxy) ForceSecurityLogs ¶
func (p *DevicePolicyManagerProxy) ForceSecurityLogs( ctx context.Context, ) (int64, error)
func (*DevicePolicyManagerProxy) ForceUpdateUserSetupComplete ¶
func (p *DevicePolicyManagerProxy) ForceUpdateUserSetupComplete( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) GenerateKeyPair ¶
func (p *DevicePolicyManagerProxy) GenerateKeyPair( ctx context.Context, who content.ComponentName, callerPackage string, algorithm string, keySpec keystore.ParcelableKeyGenParameterSpec, idAttestationFlags int32, attestationChain keymaster.KeymasterCertificateChain, ) (bool, error)
func (*DevicePolicyManagerProxy) GetAccountTypesWithManagementDisabled ¶
func (*DevicePolicyManagerProxy) GetAccountTypesWithManagementDisabledAsUser ¶
func (*DevicePolicyManagerProxy) GetActiveAdmins ¶
func (p *DevicePolicyManagerProxy) GetActiveAdmins( ctx context.Context, ) ([]content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetAffiliationIds ¶
func (p *DevicePolicyManagerProxy) GetAffiliationIds( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetAggregatedPasswordComplexityForUser ¶
func (*DevicePolicyManagerProxy) GetAllCrossProfilePackages ¶
func (p *DevicePolicyManagerProxy) GetAllCrossProfilePackages( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetAlwaysOnVpnLockdownAllowlist ¶
func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnLockdownAllowlist( ctx context.Context, who content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetAlwaysOnVpnPackage ¶
func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnPackage( ctx context.Context, who content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetAlwaysOnVpnPackageForUser ¶
func (p *DevicePolicyManagerProxy) GetAlwaysOnVpnPackageForUser( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetApplicationExemptions ¶
func (*DevicePolicyManagerProxy) GetApplicationRestrictions ¶
func (p *DevicePolicyManagerProxy) GetApplicationRestrictions( ctx context.Context, who content.ComponentName, callerPackage string, packageName string, ) (os.Bundle, error)
func (*DevicePolicyManagerProxy) GetApplicationRestrictionsManagingPackage ¶
func (p *DevicePolicyManagerProxy) GetApplicationRestrictionsManagingPackage( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetAutoTimeEnabled ¶
func (p *DevicePolicyManagerProxy) GetAutoTimeEnabled( ctx context.Context, who content.ComponentName, callerPackageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) GetAutoTimeRequired ¶
func (p *DevicePolicyManagerProxy) GetAutoTimeRequired( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) GetAutoTimeZoneEnabled ¶
func (p *DevicePolicyManagerProxy) GetAutoTimeZoneEnabled( ctx context.Context, who content.ComponentName, callerPackageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) GetBindDeviceAdminTargetUsers ¶
func (p *DevicePolicyManagerProxy) GetBindDeviceAdminTargetUsers( ctx context.Context, admin content.ComponentName, ) ([]os.UserHandle, error)
func (*DevicePolicyManagerProxy) GetBluetoothContactSharingDisabled ¶
func (p *DevicePolicyManagerProxy) GetBluetoothContactSharingDisabled( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) GetBluetoothContactSharingDisabledForUser ¶
func (p *DevicePolicyManagerProxy) GetBluetoothContactSharingDisabledForUser( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCameraDisabled ¶
func (p *DevicePolicyManagerProxy) GetCameraDisabled( ctx context.Context, who content.ComponentName, callerPackageName string, parent bool, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCertInstallerPackage ¶
func (p *DevicePolicyManagerProxy) GetCertInstallerPackage( ctx context.Context, who content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetContentProtectionPolicy ¶
func (p *DevicePolicyManagerProxy) GetContentProtectionPolicy( ctx context.Context, who content.ComponentName, callerPackageName string, ) (int32, error)
func (*DevicePolicyManagerProxy) GetCredentialManagerPolicy ¶
func (p *DevicePolicyManagerProxy) GetCredentialManagerPolicy( ctx context.Context, ) (PackagePolicy, error)
func (*DevicePolicyManagerProxy) GetCrossProfileCalendarPackages ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileCalendarPackages( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetCrossProfileCalendarPackagesForUser ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileCalendarPackagesForUser( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabled ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabled( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabledForUser ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileCallerIdDisabledForUser( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabled ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabled( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabledForUser ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileContactsSearchDisabledForUser( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) GetCrossProfilePackages ¶
func (p *DevicePolicyManagerProxy) GetCrossProfilePackages( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetCrossProfileWidgetProviders ¶
func (p *DevicePolicyManagerProxy) GetCrossProfileWidgetProviders( ctx context.Context, admin content.ComponentName, callerPackageName string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetCurrentFailedPasswordAttempts ¶
func (*DevicePolicyManagerProxy) GetDefaultCrossProfilePackages ¶
func (p *DevicePolicyManagerProxy) GetDefaultCrossProfilePackages( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetDelegatePackages ¶
func (p *DevicePolicyManagerProxy) GetDelegatePackages( ctx context.Context, who content.ComponentName, scope string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetDelegatedScopes ¶
func (p *DevicePolicyManagerProxy) GetDelegatedScopes( ctx context.Context, who content.ComponentName, delegatePackage string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerComponent ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerComponent( ctx context.Context, callingUserOnly bool, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerComponentOnUser ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerComponentOnUser( ctx context.Context, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerLockScreenInfo ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerLockScreenInfo( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerName ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerName( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerOrganizationName ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerOrganizationName( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerType ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerType( ctx context.Context, admin content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) GetDeviceOwnerUserId ¶
func (p *DevicePolicyManagerProxy) GetDeviceOwnerUserId( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetDevicePolicyState ¶
func (p *DevicePolicyManagerProxy) GetDevicePolicyState( ctx context.Context, ) (DevicePolicyState, error)
func (*DevicePolicyManagerProxy) GetDisallowedSystemApps ¶
func (p *DevicePolicyManagerProxy) GetDisallowedSystemApps( ctx context.Context, admin content.ComponentName, provisioningAction string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetDoNotAskCredentialsOnBoot ¶
func (p *DevicePolicyManagerProxy) GetDoNotAskCredentialsOnBoot( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) GetDrawable ¶
func (p *DevicePolicyManagerProxy) GetDrawable( ctx context.Context, drawableId string, drawableStyle string, drawableSource string, ) (ParcelableResource, error)
func (*DevicePolicyManagerProxy) GetEndUserSessionMessage ¶
func (p *DevicePolicyManagerProxy) GetEndUserSessionMessage( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetEnforcingAdminAndUserDetails ¶
func (*DevicePolicyManagerProxy) GetEnforcingAdminsForRestriction ¶
func (p *DevicePolicyManagerProxy) GetEnforcingAdminsForRestriction( ctx context.Context, restriction string, ) ([]EnforcingAdmin, error)
func (*DevicePolicyManagerProxy) GetEnrollmentSpecificId ¶
func (*DevicePolicyManagerProxy) GetFactoryResetProtectionPolicy ¶
func (p *DevicePolicyManagerProxy) GetFactoryResetProtectionPolicy( ctx context.Context, who content.ComponentName, ) (FactoryResetProtectionPolicy, error)
func (*DevicePolicyManagerProxy) GetFinancedDeviceKioskRoleHolder ¶
func (*DevicePolicyManagerProxy) GetForceEphemeralUsers ¶
func (p *DevicePolicyManagerProxy) GetForceEphemeralUsers( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) GetGlobalPrivateDnsHost ¶
func (p *DevicePolicyManagerProxy) GetGlobalPrivateDnsHost( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetGlobalPrivateDnsMode ¶
func (p *DevicePolicyManagerProxy) GetGlobalPrivateDnsMode( ctx context.Context, admin content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) GetGlobalProxyAdmin ¶
func (p *DevicePolicyManagerProxy) GetGlobalProxyAdmin( ctx context.Context, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetKeepUninstalledPackages ¶
func (p *DevicePolicyManagerProxy) GetKeepUninstalledPackages( ctx context.Context, admin content.ComponentName, callerPackage string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetKeyPairGrants ¶
func (p *DevicePolicyManagerProxy) GetKeyPairGrants( ctx context.Context, callerPackage string, alias string, ) (ParcelableGranteeMap, error)
func (*DevicePolicyManagerProxy) GetKeyguardDisabledFeatures ¶
func (p *DevicePolicyManagerProxy) GetKeyguardDisabledFeatures( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetLastBugReportRequestTime ¶
func (p *DevicePolicyManagerProxy) GetLastBugReportRequestTime( ctx context.Context, ) (int64, error)
func (*DevicePolicyManagerProxy) GetLastNetworkLogRetrievalTime ¶
func (p *DevicePolicyManagerProxy) GetLastNetworkLogRetrievalTime( ctx context.Context, ) (int64, error)
func (*DevicePolicyManagerProxy) GetLastSecurityLogRetrievalTime ¶
func (p *DevicePolicyManagerProxy) GetLastSecurityLogRetrievalTime( ctx context.Context, ) (int64, error)
func (*DevicePolicyManagerProxy) GetLockTaskFeatures ¶
func (p *DevicePolicyManagerProxy) GetLockTaskFeatures( ctx context.Context, who content.ComponentName, callerPackageName string, ) (int32, error)
func (*DevicePolicyManagerProxy) GetLockTaskPackages ¶
func (p *DevicePolicyManagerProxy) GetLockTaskPackages( ctx context.Context, who content.ComponentName, callerPackageName string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetLogoutUserId ¶
func (p *DevicePolicyManagerProxy) GetLogoutUserId( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetLongSupportMessage ¶
func (p *DevicePolicyManagerProxy) GetLongSupportMessage( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetLongSupportMessageForUser ¶
func (p *DevicePolicyManagerProxy) GetLongSupportMessageForUser( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetManagedProfileCallerIdAccessPolicy ¶
func (p *DevicePolicyManagerProxy) GetManagedProfileCallerIdAccessPolicy( ctx context.Context, ) (PackagePolicy, error)
func (*DevicePolicyManagerProxy) GetManagedProfileContactsAccessPolicy ¶
func (p *DevicePolicyManagerProxy) GetManagedProfileContactsAccessPolicy( ctx context.Context, ) (PackagePolicy, error)
func (*DevicePolicyManagerProxy) GetManagedProfileMaximumTimeOff ¶
func (p *DevicePolicyManagerProxy) GetManagedProfileMaximumTimeOff( ctx context.Context, admin content.ComponentName, ) (int64, error)
func (*DevicePolicyManagerProxy) GetManagedSubscriptionsPolicy ¶
func (p *DevicePolicyManagerProxy) GetManagedSubscriptionsPolicy( ctx context.Context, ) (ManagedSubscriptionsPolicy, error)
func (*DevicePolicyManagerProxy) GetMaxPolicyStorageLimit ¶
func (*DevicePolicyManagerProxy) GetMaximumFailedPasswordsForWipe ¶
func (p *DevicePolicyManagerProxy) GetMaximumFailedPasswordsForWipe( ctx context.Context, admin content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetMaximumTimeToLock ¶
func (p *DevicePolicyManagerProxy) GetMaximumTimeToLock( ctx context.Context, who content.ComponentName, parent bool, ) (int64, error)
func (*DevicePolicyManagerProxy) GetMeteredDataDisabledPackages ¶
func (p *DevicePolicyManagerProxy) GetMeteredDataDisabledPackages( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetMinimumRequiredWifiSecurityLevel ¶
func (p *DevicePolicyManagerProxy) GetMinimumRequiredWifiSecurityLevel( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetMtePolicy ¶
func (*DevicePolicyManagerProxy) GetNearbyAppStreamingPolicy ¶
func (p *DevicePolicyManagerProxy) GetNearbyAppStreamingPolicy( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetNearbyNotificationStreamingPolicy ¶
func (p *DevicePolicyManagerProxy) GetNearbyNotificationStreamingPolicy( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetOrganizationColor ¶
func (p *DevicePolicyManagerProxy) GetOrganizationColor( ctx context.Context, admin content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) GetOrganizationColorForUser ¶
func (p *DevicePolicyManagerProxy) GetOrganizationColorForUser( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetOrganizationName ¶
func (p *DevicePolicyManagerProxy) GetOrganizationName( ctx context.Context, admin content.ComponentName, callerPackageName string, ) (string, error)
func (*DevicePolicyManagerProxy) GetOrganizationNameForUser ¶
func (p *DevicePolicyManagerProxy) GetOrganizationNameForUser( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetOverrideApns ¶
func (p *DevicePolicyManagerProxy) GetOverrideApns( ctx context.Context, admin content.ComponentName, ) ([]data.ApnSetting, error)
func (*DevicePolicyManagerProxy) GetOwnerInstalledCaCerts ¶
func (p *DevicePolicyManagerProxy) GetOwnerInstalledCaCerts( ctx context.Context, user os.UserHandle, ) (pm.StringParceledListSlice, error)
func (*DevicePolicyManagerProxy) GetPasswordComplexity ¶
func (*DevicePolicyManagerProxy) GetPasswordExpiration ¶
func (p *DevicePolicyManagerProxy) GetPasswordExpiration( ctx context.Context, who content.ComponentName, parent bool, ) (int64, error)
func (*DevicePolicyManagerProxy) GetPasswordExpirationTimeout ¶
func (p *DevicePolicyManagerProxy) GetPasswordExpirationTimeout( ctx context.Context, who content.ComponentName, parent bool, ) (int64, error)
func (*DevicePolicyManagerProxy) GetPasswordHistoryLength ¶
func (p *DevicePolicyManagerProxy) GetPasswordHistoryLength( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumLength ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumLength( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumLetters ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumLetters( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumLowerCase ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumLowerCase( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumMetrics ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumMetrics( ctx context.Context, deviceWideOnly bool, ) (PasswordMetrics, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumNonLetter ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumNonLetter( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumNumeric ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumNumeric( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumSymbols ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumSymbols( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordMinimumUpperCase ¶
func (p *DevicePolicyManagerProxy) GetPasswordMinimumUpperCase( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPasswordQuality ¶
func (p *DevicePolicyManagerProxy) GetPasswordQuality( ctx context.Context, who content.ComponentName, parent bool, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPendingSystemUpdate ¶
func (p *DevicePolicyManagerProxy) GetPendingSystemUpdate( ctx context.Context, admin content.ComponentName, callerPackage string, ) (SystemUpdateInfo, error)
func (*DevicePolicyManagerProxy) GetPermissionGrantState ¶
func (p *DevicePolicyManagerProxy) GetPermissionGrantState( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPermissionPolicy ¶
func (p *DevicePolicyManagerProxy) GetPermissionPolicy( ctx context.Context, admin content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPermittedAccessibilityServices ¶
func (p *DevicePolicyManagerProxy) GetPermittedAccessibilityServices( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetPermittedAccessibilityServicesForUser ¶
func (p *DevicePolicyManagerProxy) GetPermittedAccessibilityServicesForUser( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetPermittedCrossProfileNotificationListeners ¶
func (p *DevicePolicyManagerProxy) GetPermittedCrossProfileNotificationListeners( ctx context.Context, admin content.ComponentName, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetPermittedInputMethods ¶
func (p *DevicePolicyManagerProxy) GetPermittedInputMethods( ctx context.Context, admin content.ComponentName, callerPackageName string, parent bool, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetPermittedInputMethodsAsUser ¶
func (p *DevicePolicyManagerProxy) GetPermittedInputMethodsAsUser( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetPersonalAppsSuspendedReasons ¶
func (p *DevicePolicyManagerProxy) GetPersonalAppsSuspendedReasons( ctx context.Context, admin content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) GetPolicyManagedProfiles ¶
func (p *DevicePolicyManagerProxy) GetPolicyManagedProfiles( ctx context.Context, userHandle os.UserHandle, ) ([]os.UserHandle, error)
func (*DevicePolicyManagerProxy) GetPreferentialNetworkServiceConfigs ¶
func (p *DevicePolicyManagerProxy) GetPreferentialNetworkServiceConfigs( ctx context.Context, ) ([]PreferentialNetworkServiceConfig, error)
func (*DevicePolicyManagerProxy) GetProfileOwnerAsUser ¶
func (p *DevicePolicyManagerProxy) GetProfileOwnerAsUser( ctx context.Context, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetProfileOwnerName ¶
func (p *DevicePolicyManagerProxy) GetProfileOwnerName( ctx context.Context, ) (string, error)
func (*DevicePolicyManagerProxy) GetProfileOwnerOrDeviceOwnerSupervisionComponent ¶
func (p *DevicePolicyManagerProxy) GetProfileOwnerOrDeviceOwnerSupervisionComponent( ctx context.Context, userHandle os.UserHandle, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetProfileWithMinimumFailedPasswordsForWipe ¶
func (*DevicePolicyManagerProxy) GetRemoveWarning ¶
func (p *DevicePolicyManagerProxy) GetRemoveWarning( ctx context.Context, policyReceiver content.ComponentName, result os.RemoteCallback, ) error
func (*DevicePolicyManagerProxy) GetRequiredPasswordComplexity ¶
func (*DevicePolicyManagerProxy) GetRequiredStrongAuthTimeout ¶
func (p *DevicePolicyManagerProxy) GetRequiredStrongAuthTimeout( ctx context.Context, who content.ComponentName, parent bool, ) (int64, error)
func (*DevicePolicyManagerProxy) GetRestrictionsProvider ¶
func (p *DevicePolicyManagerProxy) GetRestrictionsProvider( ctx context.Context, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) GetScreenCaptureDisabled ¶
func (p *DevicePolicyManagerProxy) GetScreenCaptureDisabled( ctx context.Context, who content.ComponentName, parent bool, ) (bool, error)
func (*DevicePolicyManagerProxy) GetSecondaryUsers ¶
func (p *DevicePolicyManagerProxy) GetSecondaryUsers( ctx context.Context, who content.ComponentName, ) ([]os.UserHandle, error)
func (*DevicePolicyManagerProxy) GetShortSupportMessage ¶
func (p *DevicePolicyManagerProxy) GetShortSupportMessage( ctx context.Context, admin content.ComponentName, callerPackageName string, ) (string, error)
func (*DevicePolicyManagerProxy) GetShortSupportMessageForUser ¶
func (p *DevicePolicyManagerProxy) GetShortSupportMessageForUser( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetStartUserSessionMessage ¶
func (p *DevicePolicyManagerProxy) GetStartUserSessionMessage( ctx context.Context, admin content.ComponentName, ) (string, error)
func (*DevicePolicyManagerProxy) GetStorageEncryption ¶
func (p *DevicePolicyManagerProxy) GetStorageEncryption( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) GetStorageEncryptionStatus ¶
func (*DevicePolicyManagerProxy) GetString ¶
func (p *DevicePolicyManagerProxy) GetString( ctx context.Context, stringId string, ) (ParcelableResource, error)
func (*DevicePolicyManagerProxy) GetSubscriptionIds ¶
func (*DevicePolicyManagerProxy) GetSystemUpdatePolicy ¶
func (p *DevicePolicyManagerProxy) GetSystemUpdatePolicy( ctx context.Context, ) (SystemUpdatePolicy, error)
func (*DevicePolicyManagerProxy) GetTransferOwnershipBundle ¶
func (p *DevicePolicyManagerProxy) GetTransferOwnershipBundle( ctx context.Context, ) (os.PersistableBundle, error)
func (*DevicePolicyManagerProxy) GetTrustAgentConfiguration ¶
func (p *DevicePolicyManagerProxy) GetTrustAgentConfiguration( ctx context.Context, admin content.ComponentName, agent content.ComponentName, parent bool, ) ([]os.PersistableBundle, error)
func (*DevicePolicyManagerProxy) GetUserControlDisabledPackages ¶
func (p *DevicePolicyManagerProxy) GetUserControlDisabledPackages( ctx context.Context, admin content.ComponentName, callerPackageName string, ) ([]string, error)
func (*DevicePolicyManagerProxy) GetUserProvisioningState ¶
func (p *DevicePolicyManagerProxy) GetUserProvisioningState( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) GetUserRestrictions ¶
func (p *DevicePolicyManagerProxy) GetUserRestrictions( ctx context.Context, who content.ComponentName, callerPackage string, parent bool, ) (os.Bundle, error)
func (*DevicePolicyManagerProxy) GetUserRestrictionsGlobally ¶
func (*DevicePolicyManagerProxy) GetWifiMacAddress ¶
func (p *DevicePolicyManagerProxy) GetWifiMacAddress( ctx context.Context, admin content.ComponentName, callerPackageName string, ) (string, error)
func (*DevicePolicyManagerProxy) GetWifiSsidPolicy ¶
func (p *DevicePolicyManagerProxy) GetWifiSsidPolicy( ctx context.Context, callerPackageName string, ) (WifiSsidPolicy, error)
func (*DevicePolicyManagerProxy) HasDeviceOwner ¶
func (p *DevicePolicyManagerProxy) HasDeviceOwner( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) HasGrantedPolicy ¶
func (p *DevicePolicyManagerProxy) HasGrantedPolicy( ctx context.Context, policyReceiver content.ComponentName, usesPolicy int32, ) (bool, error)
func (*DevicePolicyManagerProxy) HasKeyPair ¶
func (*DevicePolicyManagerProxy) HasLockdownAdminConfiguredNetworks ¶
func (p *DevicePolicyManagerProxy) HasLockdownAdminConfiguredNetworks( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) HasManagedProfileCallerIdAccess ¶
func (*DevicePolicyManagerProxy) HasManagedProfileContactsAccess ¶
func (*DevicePolicyManagerProxy) HasUserSetupCompleted ¶
func (p *DevicePolicyManagerProxy) HasUserSetupCompleted( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) InstallCaCert ¶
func (p *DevicePolicyManagerProxy) InstallCaCert( ctx context.Context, admin content.ComponentName, callerPackage string, certBuffer []byte, ) (bool, error)
func (*DevicePolicyManagerProxy) InstallExistingPackage ¶
func (p *DevicePolicyManagerProxy) InstallExistingPackage( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) InstallKeyPair ¶
func (*DevicePolicyManagerProxy) InstallUpdateFromFile ¶
func (p *DevicePolicyManagerProxy) InstallUpdateFromFile( ctx context.Context, admin content.ComponentName, callerPackageName string, updateFileDescriptor int32, listener StartInstallingUpdateCallback, ) error
func (*DevicePolicyManagerProxy) IsAccessibilityServicePermittedByAdmin ¶
func (p *DevicePolicyManagerProxy) IsAccessibilityServicePermittedByAdmin( ctx context.Context, admin content.ComponentName, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsActivePasswordSufficient ¶
func (*DevicePolicyManagerProxy) IsActivePasswordSufficientForDeviceRequirement ¶
func (p *DevicePolicyManagerProxy) IsActivePasswordSufficientForDeviceRequirement( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsAdminActive ¶
func (p *DevicePolicyManagerProxy) IsAdminActive( ctx context.Context, policyReceiver content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsAffiliatedUser ¶
func (p *DevicePolicyManagerProxy) IsAffiliatedUser( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabled ¶
func (p *DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabled( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabledForUser ¶
func (p *DevicePolicyManagerProxy) IsAlwaysOnVpnLockdownEnabledForUser( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsApplicationHidden ¶
func (p *DevicePolicyManagerProxy) IsApplicationHidden( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, parent bool, ) (bool, error)
func (*DevicePolicyManagerProxy) IsAuditLogEnabled ¶
func (*DevicePolicyManagerProxy) IsBackupServiceEnabled ¶
func (p *DevicePolicyManagerProxy) IsBackupServiceEnabled( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsCaCertApproved ¶
func (*DevicePolicyManagerProxy) IsCallerApplicationRestrictionsManagingPackage ¶
func (*DevicePolicyManagerProxy) IsCallingUserAffiliated ¶
func (p *DevicePolicyManagerProxy) IsCallingUserAffiliated( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsCommonCriteriaModeEnabled ¶
func (p *DevicePolicyManagerProxy) IsCommonCriteriaModeEnabled( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsComplianceAcknowledgementRequired ¶
func (p *DevicePolicyManagerProxy) IsComplianceAcknowledgementRequired( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsCurrentInputMethodSetByOwner ¶
func (p *DevicePolicyManagerProxy) IsCurrentInputMethodSetByOwner( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsDeviceFinanced ¶
func (*DevicePolicyManagerProxy) IsDeviceProvisioned ¶
func (p *DevicePolicyManagerProxy) IsDeviceProvisioned( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsDeviceProvisioningConfigApplied ¶
func (p *DevicePolicyManagerProxy) IsDeviceProvisioningConfigApplied( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsDpcDownloaded ¶
func (p *DevicePolicyManagerProxy) IsDpcDownloaded( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsEphemeralUser ¶
func (p *DevicePolicyManagerProxy) IsEphemeralUser( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsFactoryResetProtectionPolicySupported ¶
func (p *DevicePolicyManagerProxy) IsFactoryResetProtectionPolicySupported( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsInputMethodPermittedByAdmin ¶
func (p *DevicePolicyManagerProxy) IsInputMethodPermittedByAdmin( ctx context.Context, admin content.ComponentName, packageName string, parent bool, ) (bool, error)
func (*DevicePolicyManagerProxy) IsKeyPairGrantedToWifiAuth ¶
func (*DevicePolicyManagerProxy) IsLockTaskPermitted ¶
func (*DevicePolicyManagerProxy) IsLogoutEnabled ¶
func (p *DevicePolicyManagerProxy) IsLogoutEnabled( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsManagedKiosk ¶
func (p *DevicePolicyManagerProxy) IsManagedKiosk( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsManagedProfile ¶
func (p *DevicePolicyManagerProxy) IsManagedProfile( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsMasterVolumeMuted ¶
func (p *DevicePolicyManagerProxy) IsMasterVolumeMuted( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsMeteredDataDisabledPackageForUser ¶
func (p *DevicePolicyManagerProxy) IsMeteredDataDisabledPackageForUser( ctx context.Context, admin content.ComponentName, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsNetworkLoggingEnabled ¶
func (p *DevicePolicyManagerProxy) IsNetworkLoggingEnabled( ctx context.Context, admin content.ComponentName, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsNewUserDisclaimerAcknowledged ¶
func (p *DevicePolicyManagerProxy) IsNewUserDisclaimerAcknowledged( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsNotificationListenerServicePermitted ¶
func (*DevicePolicyManagerProxy) IsOrganizationOwnedDeviceWithManagedProfile ¶
func (p *DevicePolicyManagerProxy) IsOrganizationOwnedDeviceWithManagedProfile( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsOverrideApnEnabled ¶
func (p *DevicePolicyManagerProxy) IsOverrideApnEnabled( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsPackageAllowedToAccessCalendarForUser ¶
func (*DevicePolicyManagerProxy) IsPackageSuspended ¶
func (p *DevicePolicyManagerProxy) IsPackageSuspended( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsPasswordSufficientAfterProfileUnification ¶
func (*DevicePolicyManagerProxy) IsProvisioningAllowed ¶
func (*DevicePolicyManagerProxy) IsRemovingAdmin ¶
func (p *DevicePolicyManagerProxy) IsRemovingAdmin( ctx context.Context, adminReceiver content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsResetPasswordTokenActive ¶
func (p *DevicePolicyManagerProxy) IsResetPasswordTokenActive( ctx context.Context, admin content.ComponentName, callerPackageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsSafeOperation ¶
func (*DevicePolicyManagerProxy) IsSecondaryLockscreenEnabled ¶
func (p *DevicePolicyManagerProxy) IsSecondaryLockscreenEnabled( ctx context.Context, userHandle os.UserHandle, ) (bool, error)
func (*DevicePolicyManagerProxy) IsSecurityLoggingEnabled ¶
func (p *DevicePolicyManagerProxy) IsSecurityLoggingEnabled( ctx context.Context, admin content.ComponentName, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) IsStatusBarDisabled ¶
func (*DevicePolicyManagerProxy) IsSupervisionComponent ¶
func (p *DevicePolicyManagerProxy) IsSupervisionComponent( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) IsTheftDetectionTriggered ¶
func (*DevicePolicyManagerProxy) IsUnattendedManagedKiosk ¶
func (p *DevicePolicyManagerProxy) IsUnattendedManagedKiosk( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) IsUninstallBlocked ¶
func (*DevicePolicyManagerProxy) IsUninstallInQueue ¶
func (*DevicePolicyManagerProxy) IsUsbDataSignalingEnabled ¶
func (*DevicePolicyManagerProxy) IsUsingUnifiedPassword ¶
func (p *DevicePolicyManagerProxy) IsUsingUnifiedPassword( ctx context.Context, admin content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) ListForegroundAffiliatedUsers ¶
func (p *DevicePolicyManagerProxy) ListForegroundAffiliatedUsers( ctx context.Context, ) ([]os.UserHandle, error)
func (*DevicePolicyManagerProxy) ListPolicyExemptApps ¶
func (p *DevicePolicyManagerProxy) ListPolicyExemptApps( ctx context.Context, ) ([]string, error)
func (*DevicePolicyManagerProxy) LogoutUser ¶
func (p *DevicePolicyManagerProxy) LogoutUser( ctx context.Context, who content.ComponentName, ) (int32, error)
func (*DevicePolicyManagerProxy) LogoutUserInternal ¶
func (p *DevicePolicyManagerProxy) LogoutUserInternal( ctx context.Context, ) (int32, error)
func (*DevicePolicyManagerProxy) NotifyLockTaskModeChanged ¶
func (*DevicePolicyManagerProxy) NotifyPendingSystemUpdate ¶
func (p *DevicePolicyManagerProxy) NotifyPendingSystemUpdate( ctx context.Context, info SystemUpdateInfo, ) error
func (*DevicePolicyManagerProxy) PackageHasActiveAdmins ¶
func (*DevicePolicyManagerProxy) ProvisionFullyManagedDevice ¶
func (p *DevicePolicyManagerProxy) ProvisionFullyManagedDevice( ctx context.Context, provisioningParams FullyManagedDeviceProvisioningParams, callerPackage string, ) error
func (*DevicePolicyManagerProxy) Reboot ¶
func (p *DevicePolicyManagerProxy) Reboot( ctx context.Context, admin content.ComponentName, ) error
func (*DevicePolicyManagerProxy) RemoveActiveAdmin ¶
func (p *DevicePolicyManagerProxy) RemoveActiveAdmin( ctx context.Context, policyReceiver content.ComponentName, ) error
func (*DevicePolicyManagerProxy) RemoveCrossProfileWidgetProvider ¶
func (p *DevicePolicyManagerProxy) RemoveCrossProfileWidgetProvider( ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) RemoveKeyPair ¶
func (p *DevicePolicyManagerProxy) RemoveKeyPair( ctx context.Context, who content.ComponentName, callerPackage string, alias string, ) (bool, error)
func (*DevicePolicyManagerProxy) RemoveOverrideApn ¶
func (p *DevicePolicyManagerProxy) RemoveOverrideApn( ctx context.Context, admin content.ComponentName, apnId int32, ) (bool, error)
func (*DevicePolicyManagerProxy) RemoveUser ¶
func (p *DevicePolicyManagerProxy) RemoveUser( ctx context.Context, who content.ComponentName, userHandle os.UserHandle, ) (bool, error)
func (*DevicePolicyManagerProxy) ReportFailedBiometricAttempt ¶
func (p *DevicePolicyManagerProxy) ReportFailedBiometricAttempt( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ReportFailedPasswordAttempt ¶
func (p *DevicePolicyManagerProxy) ReportFailedPasswordAttempt( ctx context.Context, parent bool, ) error
func (*DevicePolicyManagerProxy) ReportKeyguardDismissed ¶
func (p *DevicePolicyManagerProxy) ReportKeyguardDismissed( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ReportKeyguardSecured ¶
func (p *DevicePolicyManagerProxy) ReportKeyguardSecured( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ReportPasswordChanged ¶
func (p *DevicePolicyManagerProxy) ReportPasswordChanged( ctx context.Context, metrics PasswordMetrics, ) error
func (*DevicePolicyManagerProxy) ReportSuccessfulBiometricAttempt ¶
func (p *DevicePolicyManagerProxy) ReportSuccessfulBiometricAttempt( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ReportSuccessfulPasswordAttempt ¶
func (p *DevicePolicyManagerProxy) ReportSuccessfulPasswordAttempt( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) RequestBugreport ¶
func (p *DevicePolicyManagerProxy) RequestBugreport( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) ResetDefaultCrossProfileIntentFilters ¶
func (p *DevicePolicyManagerProxy) ResetDefaultCrossProfileIntentFilters( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ResetDrawables ¶
func (p *DevicePolicyManagerProxy) ResetDrawables( ctx context.Context, drawableIds []string, ) error
func (*DevicePolicyManagerProxy) ResetPassword ¶
func (*DevicePolicyManagerProxy) ResetPasswordWithToken ¶
func (*DevicePolicyManagerProxy) ResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState ¶
func (p *DevicePolicyManagerProxy) ResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) ResetStrings ¶
func (p *DevicePolicyManagerProxy) ResetStrings( ctx context.Context, stringIds []string, ) error
func (*DevicePolicyManagerProxy) RetrieveNetworkLogs ¶
func (p *DevicePolicyManagerProxy) RetrieveNetworkLogs( ctx context.Context, admin content.ComponentName, packageName string, batchToken int64, ) ([]NetworkEvent, error)
func (*DevicePolicyManagerProxy) RetrievePreRebootSecurityLogs ¶
func (p *DevicePolicyManagerProxy) RetrievePreRebootSecurityLogs( ctx context.Context, admin content.ComponentName, packageName string, ) (pm.ParceledListSlice, error)
func (*DevicePolicyManagerProxy) RetrieveSecurityLogs ¶
func (p *DevicePolicyManagerProxy) RetrieveSecurityLogs( ctx context.Context, admin content.ComponentName, packageName string, ) (pm.ParceledListSlice, error)
func (*DevicePolicyManagerProxy) SendLostModeLocationUpdate ¶
func (p *DevicePolicyManagerProxy) SendLostModeLocationUpdate( ctx context.Context, future infra.AndroidFuture, ) error
func (*DevicePolicyManagerProxy) SetAccountManagementDisabled ¶
func (p *DevicePolicyManagerProxy) SetAccountManagementDisabled( ctx context.Context, who content.ComponentName, callerPackageName string, accountType string, disabled bool, parent bool, ) error
func (*DevicePolicyManagerProxy) SetActiveAdmin ¶
func (p *DevicePolicyManagerProxy) SetActiveAdmin( ctx context.Context, policyReceiver content.ComponentName, refreshing bool, ) error
func (*DevicePolicyManagerProxy) SetAffiliationIds ¶
func (p *DevicePolicyManagerProxy) SetAffiliationIds( ctx context.Context, admin content.ComponentName, ids []string, ) error
func (*DevicePolicyManagerProxy) SetAlwaysOnVpnPackage ¶
func (p *DevicePolicyManagerProxy) SetAlwaysOnVpnPackage( ctx context.Context, who content.ComponentName, vpnPackage string, lockdown bool, lockdownAllowlist []string, ) (bool, error)
func (*DevicePolicyManagerProxy) SetApplicationExemptions ¶
func (*DevicePolicyManagerProxy) SetApplicationHidden ¶
func (*DevicePolicyManagerProxy) SetApplicationRestrictions ¶
func (p *DevicePolicyManagerProxy) SetApplicationRestrictions( ctx context.Context, who content.ComponentName, callerPackage string, packageName string, settings os.Bundle, ) error
func (*DevicePolicyManagerProxy) SetApplicationRestrictionsManagingPackage ¶
func (p *DevicePolicyManagerProxy) SetApplicationRestrictionsManagingPackage( ctx context.Context, admin content.ComponentName, packageName string, ) (bool, error)
func (*DevicePolicyManagerProxy) SetAuditLogEnabled ¶
func (*DevicePolicyManagerProxy) SetAuditLogEventsCallback ¶
func (p *DevicePolicyManagerProxy) SetAuditLogEventsCallback( ctx context.Context, callerPackage string, callback IAuditLogEventsCallback, ) error
func (*DevicePolicyManagerProxy) SetAutoTimeEnabled ¶
func (p *DevicePolicyManagerProxy) SetAutoTimeEnabled( ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetAutoTimeRequired ¶
func (p *DevicePolicyManagerProxy) SetAutoTimeRequired( ctx context.Context, who content.ComponentName, required bool, ) error
func (*DevicePolicyManagerProxy) SetAutoTimeZoneEnabled ¶
func (p *DevicePolicyManagerProxy) SetAutoTimeZoneEnabled( ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetBackupServiceEnabled ¶
func (p *DevicePolicyManagerProxy) SetBackupServiceEnabled( ctx context.Context, admin content.ComponentName, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetBluetoothContactSharingDisabled ¶
func (p *DevicePolicyManagerProxy) SetBluetoothContactSharingDisabled( ctx context.Context, who content.ComponentName, disabled bool, ) error
func (*DevicePolicyManagerProxy) SetCameraDisabled ¶
func (p *DevicePolicyManagerProxy) SetCameraDisabled( ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool, ) error
func (*DevicePolicyManagerProxy) SetCertInstallerPackage ¶
func (p *DevicePolicyManagerProxy) SetCertInstallerPackage( ctx context.Context, who content.ComponentName, installerPackage string, ) error
func (*DevicePolicyManagerProxy) SetCommonCriteriaModeEnabled ¶
func (p *DevicePolicyManagerProxy) SetCommonCriteriaModeEnabled( ctx context.Context, admin content.ComponentName, callerPackageName string, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetConfiguredNetworksLockdownState ¶
func (p *DevicePolicyManagerProxy) SetConfiguredNetworksLockdownState( ctx context.Context, who content.ComponentName, callerPackageName string, lockdown bool, ) error
func (*DevicePolicyManagerProxy) SetContentProtectionPolicy ¶
func (p *DevicePolicyManagerProxy) SetContentProtectionPolicy( ctx context.Context, who content.ComponentName, callerPackageName string, policy int32, ) error
func (*DevicePolicyManagerProxy) SetCredentialManagerPolicy ¶
func (p *DevicePolicyManagerProxy) SetCredentialManagerPolicy( ctx context.Context, policy PackagePolicy, ) error
func (*DevicePolicyManagerProxy) SetCrossProfileCalendarPackages ¶
func (p *DevicePolicyManagerProxy) SetCrossProfileCalendarPackages( ctx context.Context, admin content.ComponentName, packageNames []string, ) error
func (*DevicePolicyManagerProxy) SetCrossProfileCallerIdDisabled ¶
func (p *DevicePolicyManagerProxy) SetCrossProfileCallerIdDisabled( ctx context.Context, who content.ComponentName, disabled bool, ) error
func (*DevicePolicyManagerProxy) SetCrossProfileContactsSearchDisabled ¶
func (p *DevicePolicyManagerProxy) SetCrossProfileContactsSearchDisabled( ctx context.Context, who content.ComponentName, disabled bool, ) error
func (*DevicePolicyManagerProxy) SetCrossProfilePackages ¶
func (p *DevicePolicyManagerProxy) SetCrossProfilePackages( ctx context.Context, admin content.ComponentName, packageNames []string, ) error
func (*DevicePolicyManagerProxy) SetDefaultDialerApplication ¶
func (p *DevicePolicyManagerProxy) SetDefaultDialerApplication( ctx context.Context, packageName string, ) error
func (*DevicePolicyManagerProxy) SetDefaultSmsApplication ¶
func (p *DevicePolicyManagerProxy) SetDefaultSmsApplication( ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, parent bool, ) error
func (*DevicePolicyManagerProxy) SetDelegatedScopes ¶
func (p *DevicePolicyManagerProxy) SetDelegatedScopes( ctx context.Context, who content.ComponentName, delegatePackage string, scopes []string, ) error
func (*DevicePolicyManagerProxy) SetDeviceOwner ¶
func (p *DevicePolicyManagerProxy) SetDeviceOwner( ctx context.Context, who content.ComponentName, setProfileOwnerOnCurrentUserIfNecessary bool, ) (bool, error)
func (*DevicePolicyManagerProxy) SetDeviceOwnerLockScreenInfo ¶
func (p *DevicePolicyManagerProxy) SetDeviceOwnerLockScreenInfo( ctx context.Context, who content.ComponentName, deviceOwnerInfo string, ) error
func (*DevicePolicyManagerProxy) SetDeviceOwnerType ¶
func (p *DevicePolicyManagerProxy) SetDeviceOwnerType( ctx context.Context, admin content.ComponentName, deviceOwnerType int32, ) error
func (*DevicePolicyManagerProxy) SetDeviceProvisioningConfigApplied ¶
func (p *DevicePolicyManagerProxy) SetDeviceProvisioningConfigApplied( ctx context.Context, ) error
func (*DevicePolicyManagerProxy) SetDpcDownloaded ¶
func (p *DevicePolicyManagerProxy) SetDpcDownloaded( ctx context.Context, downloaded bool, ) error
func (*DevicePolicyManagerProxy) SetDrawables ¶
func (p *DevicePolicyManagerProxy) SetDrawables( ctx context.Context, drawables []DevicePolicyDrawableResource, ) error
func (*DevicePolicyManagerProxy) SetEndUserSessionMessage ¶
func (p *DevicePolicyManagerProxy) SetEndUserSessionMessage( ctx context.Context, admin content.ComponentName, endUserSessionMessage string, ) error
func (*DevicePolicyManagerProxy) SetFactoryResetProtectionPolicy ¶
func (p *DevicePolicyManagerProxy) SetFactoryResetProtectionPolicy( ctx context.Context, who content.ComponentName, callerPackageName string, policy FactoryResetProtectionPolicy, ) error
func (*DevicePolicyManagerProxy) SetForceEphemeralUsers ¶
func (p *DevicePolicyManagerProxy) SetForceEphemeralUsers( ctx context.Context, who content.ComponentName, forceEpehemeralUsers bool, ) error
func (*DevicePolicyManagerProxy) SetGlobalPrivateDns ¶
func (p *DevicePolicyManagerProxy) SetGlobalPrivateDns( ctx context.Context, admin content.ComponentName, mode int32, privateDnsHost string, ) (int32, error)
func (*DevicePolicyManagerProxy) SetGlobalProxy ¶
func (p *DevicePolicyManagerProxy) SetGlobalProxy( ctx context.Context, admin content.ComponentName, proxySpec string, exclusionList string, ) (content.ComponentName, error)
func (*DevicePolicyManagerProxy) SetGlobalSetting ¶
func (p *DevicePolicyManagerProxy) SetGlobalSetting( ctx context.Context, who content.ComponentName, setting string, value string, ) error
func (*DevicePolicyManagerProxy) SetKeepUninstalledPackages ¶
func (p *DevicePolicyManagerProxy) SetKeepUninstalledPackages( ctx context.Context, admin content.ComponentName, callerPackage string, packageList []string, ) error
func (*DevicePolicyManagerProxy) SetKeyGrantForApp ¶
func (*DevicePolicyManagerProxy) SetKeyGrantToWifiAuth ¶
func (*DevicePolicyManagerProxy) SetKeyPairCertificate ¶
func (*DevicePolicyManagerProxy) SetKeyguardDisabled ¶
func (p *DevicePolicyManagerProxy) SetKeyguardDisabled( ctx context.Context, admin content.ComponentName, disabled bool, ) (bool, error)
func (*DevicePolicyManagerProxy) SetKeyguardDisabledFeatures ¶
func (p *DevicePolicyManagerProxy) SetKeyguardDisabledFeatures( ctx context.Context, who content.ComponentName, callerPackageName string, which int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetLocationEnabled ¶
func (p *DevicePolicyManagerProxy) SetLocationEnabled( ctx context.Context, who content.ComponentName, locationEnabled bool, ) error
func (*DevicePolicyManagerProxy) SetLockTaskFeatures ¶
func (p *DevicePolicyManagerProxy) SetLockTaskFeatures( ctx context.Context, who content.ComponentName, callerPackageName string, flags int32, ) error
func (*DevicePolicyManagerProxy) SetLockTaskPackages ¶
func (p *DevicePolicyManagerProxy) SetLockTaskPackages( ctx context.Context, who content.ComponentName, callerPackageName string, packages []string, ) error
func (*DevicePolicyManagerProxy) SetLogoutEnabled ¶
func (p *DevicePolicyManagerProxy) SetLogoutEnabled( ctx context.Context, admin content.ComponentName, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetLongSupportMessage ¶
func (p *DevicePolicyManagerProxy) SetLongSupportMessage( ctx context.Context, admin content.ComponentName, message string, ) error
func (*DevicePolicyManagerProxy) SetManagedProfileCallerIdAccessPolicy ¶
func (p *DevicePolicyManagerProxy) SetManagedProfileCallerIdAccessPolicy( ctx context.Context, policy PackagePolicy, ) error
func (*DevicePolicyManagerProxy) SetManagedProfileContactsAccessPolicy ¶
func (p *DevicePolicyManagerProxy) SetManagedProfileContactsAccessPolicy( ctx context.Context, policy PackagePolicy, ) error
func (*DevicePolicyManagerProxy) SetManagedProfileMaximumTimeOff ¶
func (p *DevicePolicyManagerProxy) SetManagedProfileMaximumTimeOff( ctx context.Context, admin content.ComponentName, timeoutMs int64, ) error
func (*DevicePolicyManagerProxy) SetManagedSubscriptionsPolicy ¶
func (p *DevicePolicyManagerProxy) SetManagedSubscriptionsPolicy( ctx context.Context, policy ManagedSubscriptionsPolicy, ) error
func (*DevicePolicyManagerProxy) SetMasterVolumeMuted ¶
func (p *DevicePolicyManagerProxy) SetMasterVolumeMuted( ctx context.Context, admin content.ComponentName, on bool, ) error
func (*DevicePolicyManagerProxy) SetMaxPolicyStorageLimit ¶
func (*DevicePolicyManagerProxy) SetMaximumFailedPasswordsForWipe ¶
func (p *DevicePolicyManagerProxy) SetMaximumFailedPasswordsForWipe( ctx context.Context, admin content.ComponentName, callerPackageName string, num int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetMaximumTimeToLock ¶
func (p *DevicePolicyManagerProxy) SetMaximumTimeToLock( ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool, ) error
func (*DevicePolicyManagerProxy) SetMeteredDataDisabledPackages ¶
func (p *DevicePolicyManagerProxy) SetMeteredDataDisabledPackages( ctx context.Context, admin content.ComponentName, packageNames []string, ) ([]string, error)
func (*DevicePolicyManagerProxy) SetMinimumRequiredWifiSecurityLevel ¶
func (*DevicePolicyManagerProxy) SetMtePolicy ¶
func (*DevicePolicyManagerProxy) SetNearbyAppStreamingPolicy ¶
func (p *DevicePolicyManagerProxy) SetNearbyAppStreamingPolicy( ctx context.Context, policy int32, ) error
func (*DevicePolicyManagerProxy) SetNearbyNotificationStreamingPolicy ¶
func (p *DevicePolicyManagerProxy) SetNearbyNotificationStreamingPolicy( ctx context.Context, policy int32, ) error
func (*DevicePolicyManagerProxy) SetNetworkLoggingEnabled ¶
func (p *DevicePolicyManagerProxy) SetNetworkLoggingEnabled( ctx context.Context, admin content.ComponentName, packageName string, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetNextOperationSafety ¶
func (*DevicePolicyManagerProxy) SetOrganizationColor ¶
func (p *DevicePolicyManagerProxy) SetOrganizationColor( ctx context.Context, admin content.ComponentName, color int32, ) error
func (*DevicePolicyManagerProxy) SetOrganizationColorForUser ¶
func (p *DevicePolicyManagerProxy) SetOrganizationColorForUser( ctx context.Context, color int32, ) error
func (*DevicePolicyManagerProxy) SetOrganizationIdForUser ¶
func (*DevicePolicyManagerProxy) SetOrganizationName ¶
func (p *DevicePolicyManagerProxy) SetOrganizationName( ctx context.Context, admin content.ComponentName, callerPackageName string, title string, ) error
func (*DevicePolicyManagerProxy) SetOverrideApnsEnabled ¶
func (p *DevicePolicyManagerProxy) SetOverrideApnsEnabled( ctx context.Context, admin content.ComponentName, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetPackagesSuspended ¶
func (p *DevicePolicyManagerProxy) SetPackagesSuspended( ctx context.Context, admin content.ComponentName, callerPackage string, packageNames []string, suspended bool, ) ([]string, error)
func (*DevicePolicyManagerProxy) SetPasswordExpirationTimeout ¶
func (p *DevicePolicyManagerProxy) SetPasswordExpirationTimeout( ctx context.Context, who content.ComponentName, callerPackageName string, expiration int64, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordHistoryLength ¶
func (p *DevicePolicyManagerProxy) SetPasswordHistoryLength( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumLength ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumLength( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumLetters ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumLetters( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumLowerCase ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumLowerCase( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumNonLetter ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumNonLetter( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumNumeric ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumNumeric( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumSymbols ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumSymbols( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordMinimumUpperCase ¶
func (p *DevicePolicyManagerProxy) SetPasswordMinimumUpperCase( ctx context.Context, who content.ComponentName, length int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPasswordQuality ¶
func (p *DevicePolicyManagerProxy) SetPasswordQuality( ctx context.Context, who content.ComponentName, quality int32, parent bool, ) error
func (*DevicePolicyManagerProxy) SetPermissionGrantState ¶
func (p *DevicePolicyManagerProxy) SetPermissionGrantState( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string, grantState int32, resultReceiver os.RemoteCallback, ) error
func (*DevicePolicyManagerProxy) SetPermissionPolicy ¶
func (p *DevicePolicyManagerProxy) SetPermissionPolicy( ctx context.Context, admin content.ComponentName, callerPackage string, policy int32, ) error
func (*DevicePolicyManagerProxy) SetPermittedAccessibilityServices ¶
func (p *DevicePolicyManagerProxy) SetPermittedAccessibilityServices( ctx context.Context, admin content.ComponentName, packageList []string, ) (bool, error)
func (*DevicePolicyManagerProxy) SetPermittedCrossProfileNotificationListeners ¶
func (p *DevicePolicyManagerProxy) SetPermittedCrossProfileNotificationListeners( ctx context.Context, admin content.ComponentName, packageList []string, ) (bool, error)
func (*DevicePolicyManagerProxy) SetPermittedInputMethods ¶
func (p *DevicePolicyManagerProxy) SetPermittedInputMethods( ctx context.Context, admin content.ComponentName, callerPackageName string, packageList []string, parent bool, ) (bool, error)
func (*DevicePolicyManagerProxy) SetPersonalAppsSuspended ¶
func (p *DevicePolicyManagerProxy) SetPersonalAppsSuspended( ctx context.Context, admin content.ComponentName, suspended bool, ) error
func (*DevicePolicyManagerProxy) SetPreferentialNetworkServiceConfigs ¶
func (p *DevicePolicyManagerProxy) SetPreferentialNetworkServiceConfigs( ctx context.Context, preferentialNetworkServiceConfigs []PreferentialNetworkServiceConfig, ) error
func (*DevicePolicyManagerProxy) SetProfileEnabled ¶
func (p *DevicePolicyManagerProxy) SetProfileEnabled( ctx context.Context, who content.ComponentName, ) error
func (*DevicePolicyManagerProxy) SetProfileName ¶
func (p *DevicePolicyManagerProxy) SetProfileName( ctx context.Context, who content.ComponentName, profileName string, ) error
func (*DevicePolicyManagerProxy) SetProfileOwner ¶
func (p *DevicePolicyManagerProxy) SetProfileOwner( ctx context.Context, who content.ComponentName, ) (bool, error)
func (*DevicePolicyManagerProxy) SetProfileOwnerOnOrganizationOwnedDevice ¶
func (p *DevicePolicyManagerProxy) SetProfileOwnerOnOrganizationOwnedDevice( ctx context.Context, who content.ComponentName, isProfileOwnerOnOrganizationOwnedDevice bool, ) error
func (*DevicePolicyManagerProxy) SetRecommendedGlobalProxy ¶
func (p *DevicePolicyManagerProxy) SetRecommendedGlobalProxy( ctx context.Context, admin content.ComponentName, proxyInfo any, ) error
func (*DevicePolicyManagerProxy) SetRequiredPasswordComplexity ¶
func (*DevicePolicyManagerProxy) SetRequiredStrongAuthTimeout ¶
func (p *DevicePolicyManagerProxy) SetRequiredStrongAuthTimeout( ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool, ) error
func (*DevicePolicyManagerProxy) SetResetPasswordToken ¶
func (p *DevicePolicyManagerProxy) SetResetPasswordToken( ctx context.Context, admin content.ComponentName, callerPackageName string, token []byte, ) (bool, error)
func (*DevicePolicyManagerProxy) SetRestrictionsProvider ¶
func (p *DevicePolicyManagerProxy) SetRestrictionsProvider( ctx context.Context, who content.ComponentName, provider content.ComponentName, ) error
func (*DevicePolicyManagerProxy) SetScreenCaptureDisabled ¶
func (p *DevicePolicyManagerProxy) SetScreenCaptureDisabled( ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool, ) error
func (*DevicePolicyManagerProxy) SetSecondaryLockscreenEnabled ¶
func (p *DevicePolicyManagerProxy) SetSecondaryLockscreenEnabled( ctx context.Context, who content.ComponentName, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetSecureSetting ¶
func (p *DevicePolicyManagerProxy) SetSecureSetting( ctx context.Context, who content.ComponentName, setting string, value string, ) error
func (*DevicePolicyManagerProxy) SetSecurityLoggingEnabled ¶
func (p *DevicePolicyManagerProxy) SetSecurityLoggingEnabled( ctx context.Context, admin content.ComponentName, packageName string, enabled bool, ) error
func (*DevicePolicyManagerProxy) SetShortSupportMessage ¶
func (p *DevicePolicyManagerProxy) SetShortSupportMessage( ctx context.Context, admin content.ComponentName, callerPackageName string, message string, ) error
func (*DevicePolicyManagerProxy) SetStartUserSessionMessage ¶
func (p *DevicePolicyManagerProxy) SetStartUserSessionMessage( ctx context.Context, admin content.ComponentName, startUserSessionMessage string, ) error
func (*DevicePolicyManagerProxy) SetStatusBarDisabled ¶
func (p *DevicePolicyManagerProxy) SetStatusBarDisabled( ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, ) (bool, error)
func (*DevicePolicyManagerProxy) SetStorageEncryption ¶
func (p *DevicePolicyManagerProxy) SetStorageEncryption( ctx context.Context, who content.ComponentName, encrypt bool, ) (int32, error)
func (*DevicePolicyManagerProxy) SetStrings ¶
func (p *DevicePolicyManagerProxy) SetStrings( ctx context.Context, strings []DevicePolicyStringResource, ) error
func (*DevicePolicyManagerProxy) SetSystemSetting ¶
func (p *DevicePolicyManagerProxy) SetSystemSetting( ctx context.Context, who content.ComponentName, setting string, value string, ) error
func (*DevicePolicyManagerProxy) SetSystemUpdatePolicy ¶
func (p *DevicePolicyManagerProxy) SetSystemUpdatePolicy( ctx context.Context, who content.ComponentName, callerPackageName string, policy SystemUpdatePolicy, ) error
func (*DevicePolicyManagerProxy) SetTime ¶
func (p *DevicePolicyManagerProxy) SetTime( ctx context.Context, who content.ComponentName, callerPackageName string, millis int64, ) (bool, error)
func (*DevicePolicyManagerProxy) SetTimeZone ¶
func (p *DevicePolicyManagerProxy) SetTimeZone( ctx context.Context, who content.ComponentName, callerPackageName string, timeZone string, ) (bool, error)
func (*DevicePolicyManagerProxy) SetTrustAgentConfiguration ¶
func (p *DevicePolicyManagerProxy) SetTrustAgentConfiguration( ctx context.Context, admin content.ComponentName, callerPackageName string, agent content.ComponentName, args os.PersistableBundle, parent bool, ) error
func (*DevicePolicyManagerProxy) SetUninstallBlocked ¶
func (p *DevicePolicyManagerProxy) SetUninstallBlocked( ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, uninstallBlocked bool, ) error
func (*DevicePolicyManagerProxy) SetUsbDataSignalingEnabled ¶
func (*DevicePolicyManagerProxy) SetUserControlDisabledPackages ¶
func (p *DevicePolicyManagerProxy) SetUserControlDisabledPackages( ctx context.Context, admin content.ComponentName, callerPackageName string, packages []string, ) error
func (*DevicePolicyManagerProxy) SetUserIcon ¶
func (p *DevicePolicyManagerProxy) SetUserIcon( ctx context.Context, admin content.ComponentName, icon graphics.Bitmap, ) error
func (*DevicePolicyManagerProxy) SetUserProvisioningState ¶
func (p *DevicePolicyManagerProxy) SetUserProvisioningState( ctx context.Context, state int32, ) error
func (*DevicePolicyManagerProxy) SetUserRestriction ¶
func (p *DevicePolicyManagerProxy) SetUserRestriction( ctx context.Context, who content.ComponentName, callerPackage string, key string, enable bool, parent bool, ) error
func (*DevicePolicyManagerProxy) SetUserRestrictionGlobally ¶
func (*DevicePolicyManagerProxy) SetWifiSsidPolicy ¶
func (p *DevicePolicyManagerProxy) SetWifiSsidPolicy( ctx context.Context, callerPackageName string, policy WifiSsidPolicy, ) error
func (*DevicePolicyManagerProxy) ShouldAllowBypassingDevicePolicyManagementRoleQualification ¶
func (p *DevicePolicyManagerProxy) ShouldAllowBypassingDevicePolicyManagementRoleQualification( ctx context.Context, ) (bool, error)
func (*DevicePolicyManagerProxy) StartManagedQuickContact ¶
func (*DevicePolicyManagerProxy) StartUserInBackground ¶
func (p *DevicePolicyManagerProxy) StartUserInBackground( ctx context.Context, who content.ComponentName, userHandle os.UserHandle, ) (int32, error)
func (*DevicePolicyManagerProxy) StartViewCalendarEventInManagedProfile ¶
func (*DevicePolicyManagerProxy) StopUser ¶
func (p *DevicePolicyManagerProxy) StopUser( ctx context.Context, who content.ComponentName, userHandle os.UserHandle, ) (int32, error)
func (*DevicePolicyManagerProxy) SwitchUser ¶
func (p *DevicePolicyManagerProxy) SwitchUser( ctx context.Context, who content.ComponentName, userHandle os.UserHandle, ) (bool, error)
func (*DevicePolicyManagerProxy) TransferOwnership ¶
func (p *DevicePolicyManagerProxy) TransferOwnership( ctx context.Context, admin content.ComponentName, target content.ComponentName, bundle os.PersistableBundle, ) error
func (*DevicePolicyManagerProxy) TriggerDevicePolicyEngineMigration ¶
func (*DevicePolicyManagerProxy) UninstallCaCerts ¶
func (p *DevicePolicyManagerProxy) UninstallCaCerts( ctx context.Context, admin content.ComponentName, callerPackage string, aliases []string, ) error
func (*DevicePolicyManagerProxy) UninstallPackageWithActiveAdmins ¶
func (p *DevicePolicyManagerProxy) UninstallPackageWithActiveAdmins( ctx context.Context, packageName string, ) error
func (*DevicePolicyManagerProxy) UpdateOverrideApn ¶
func (p *DevicePolicyManagerProxy) UpdateOverrideApn( ctx context.Context, admin content.ComponentName, apnId int32, apnSetting data.ApnSetting, ) (bool, error)
type DevicePolicyManagerStub ¶
type DevicePolicyManagerStub struct {
Impl IDevicePolicyManager
Transport binder.VersionAwareTransport
}
DevicePolicyManagerStub dispatches incoming binder transactions to a typed IDevicePolicyManager implementation.
func (*DevicePolicyManagerStub) Descriptor ¶
func (s *DevicePolicyManagerStub) Descriptor() string
func (*DevicePolicyManagerStub) OnTransaction ¶
func (s *DevicePolicyManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DevicePolicyState ¶
type DevicePolicyState struct {
}
func (*DevicePolicyState) MarshalParcel ¶
func (s *DevicePolicyState) MarshalParcel( p *parcel.Parcel, ) error
func (*DevicePolicyState) UnmarshalParcel ¶
func (s *DevicePolicyState) UnmarshalParcel( p *parcel.Parcel, ) error
type DevicePolicyStringResource ¶
func (*DevicePolicyStringResource) MarshalParcel ¶
func (s *DevicePolicyStringResource) MarshalParcel( p *parcel.Parcel, ) error
func (*DevicePolicyStringResource) UnmarshalParcel ¶
func (s *DevicePolicyStringResource) UnmarshalParcel( p *parcel.Parcel, ) error
type DnsEvent ¶
type EnforcingAdmin ¶
type EnforcingAdmin struct {
PackageName string
ComponentName *content.ComponentName
}
func (*EnforcingAdmin) MarshalParcel ¶
func (s *EnforcingAdmin) MarshalParcel( p *parcel.Parcel, ) error
func (*EnforcingAdmin) UnmarshalParcel ¶
func (s *EnforcingAdmin) UnmarshalParcel( p *parcel.Parcel, ) error
type FactoryResetProtectionPolicy ¶
func (*FactoryResetProtectionPolicy) MarshalParcel ¶
func (s *FactoryResetProtectionPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*FactoryResetProtectionPolicy) UnmarshalParcel ¶
func (s *FactoryResetProtectionPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type FullyManagedDeviceProvisioningParams ¶
type FullyManagedDeviceProvisioningParams struct {
OwnerName string
LeaveAllSystemAppsEnabled bool
TimeZone string
LocalTime int64
DeviceOwnerCanGrantSensorsPermissions bool
DemoDevice bool
}
func (*FullyManagedDeviceProvisioningParams) MarshalParcel ¶
func (s *FullyManagedDeviceProvisioningParams) MarshalParcel( p *parcel.Parcel, ) error
func (*FullyManagedDeviceProvisioningParams) UnmarshalParcel ¶
func (s *FullyManagedDeviceProvisioningParams) UnmarshalParcel( p *parcel.Parcel, ) error
type IAuditLogEventsCallback ¶
type IAuditLogEventsCallback interface {
AsBinder() binder.IBinder
OnNewAuditLogEvents(ctx context.Context, events []SecurityLogSecurityEvent) error
}
func NewAuditLogEventsCallbackStub ¶
func NewAuditLogEventsCallbackStub( impl IAuditLogEventsCallbackServer, ) IAuditLogEventsCallback
NewAuditLogEventsCallbackStub creates a server-side IAuditLogEventsCallback wrapping the given server implementation. The returned value satisfies IAuditLogEventsCallback 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 IAuditLogEventsCallbackServer ¶
type IAuditLogEventsCallbackServer interface {
OnNewAuditLogEvents(ctx context.Context, events []SecurityLogSecurityEvent) error
}
IAuditLogEventsCallbackServer is the server-side interface that user implementations provide to NewAuditLogEventsCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDeviceAdminService ¶
func NewDeviceAdminServiceStub ¶
func NewDeviceAdminServiceStub( impl IDeviceAdminServiceServer, ) IDeviceAdminService
NewDeviceAdminServiceStub creates a server-side IDeviceAdminService wrapping the given server implementation. The returned value satisfies IDeviceAdminService 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 IDeviceAdminServiceServer ¶
type IDeviceAdminServiceServer interface {
}
IDeviceAdminServiceServer is the server-side interface that user implementations provide to NewDeviceAdminServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDevicePolicyManager ¶
type IDevicePolicyManager interface {
AsBinder() binder.IBinder
SetPasswordQuality(ctx context.Context, who content.ComponentName, quality int32, parent bool) error
GetPasswordQuality(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
GetPasswordMinimumMetrics(ctx context.Context, deviceWideOnly bool) (PasswordMetrics, error)
SetPasswordHistoryLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordHistoryLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, expiration int64, parent bool) error
GetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
GetPasswordExpiration(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
IsActivePasswordSufficient(ctx context.Context, callerPackageName string, parent bool) (bool, error)
IsActivePasswordSufficientForDeviceRequirement(ctx context.Context) (bool, error)
IsPasswordSufficientAfterProfileUnification(ctx context.Context, profileUser int32) (bool, error)
GetPasswordComplexity(ctx context.Context, parent bool) (int32, error)
SetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, passwordComplexity int32, parent bool) error
GetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, parent bool) (int32, error)
GetAggregatedPasswordComplexityForUser(ctx context.Context, deviceWideOnly bool) (int32, error)
IsUsingUnifiedPassword(ctx context.Context, admin content.ComponentName) (bool, error)
GetCurrentFailedPasswordAttempts(ctx context.Context, callerPackageName string, parent bool) (int32, error)
GetProfileWithMinimumFailedPasswordsForWipe(ctx context.Context, parent bool) (int32, error)
SetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, callerPackageName string, num int32, parent bool) error
GetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, parent bool) (int32, error)
ResetPassword(ctx context.Context, password string, flags int32) (bool, error)
SetMaximumTimeToLock(ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool) error
GetMaximumTimeToLock(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
SetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool) error
GetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
LockNow(ctx context.Context, flags int32, callerPackageName string, parent bool) error
WipeDataWithReason(ctx context.Context, callerPackageName string, flags int32, wipeReasonForUser string, parent bool, factoryReset bool) error
SetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy FactoryResetProtectionPolicy) error
GetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName) (FactoryResetProtectionPolicy, error)
IsFactoryResetProtectionPolicySupported(ctx context.Context) (bool, error)
SendLostModeLocationUpdate(ctx context.Context, future infra.AndroidFuture) error
SetGlobalProxy(ctx context.Context, admin content.ComponentName, proxySpec string, exclusionList string) (content.ComponentName, error)
GetGlobalProxyAdmin(ctx context.Context) (content.ComponentName, error)
SetRecommendedGlobalProxy(ctx context.Context, admin content.ComponentName, proxyInfo any) error
SetStorageEncryption(ctx context.Context, who content.ComponentName, encrypt bool) (int32, error)
GetStorageEncryption(ctx context.Context, who content.ComponentName) (bool, error)
GetStorageEncryptionStatus(ctx context.Context, callerPackage string) (int32, error)
RequestBugreport(ctx context.Context, who content.ComponentName) (bool, error)
SetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool) error
GetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, parent bool) (bool, error)
SetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool) error
GetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, parent bool) (bool, error)
SetNearbyNotificationStreamingPolicy(ctx context.Context, policy int32) error
GetNearbyNotificationStreamingPolicy(ctx context.Context) (int32, error)
SetNearbyAppStreamingPolicy(ctx context.Context, policy int32) error
GetNearbyAppStreamingPolicy(ctx context.Context) (int32, error)
SetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, which int32, parent bool) error
GetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetActiveAdmin(ctx context.Context, policyReceiver content.ComponentName, refreshing bool) error
IsAdminActive(ctx context.Context, policyReceiver content.ComponentName) (bool, error)
GetActiveAdmins(ctx context.Context) ([]content.ComponentName, error)
PackageHasActiveAdmins(ctx context.Context, packageName string) (bool, error)
GetRemoveWarning(ctx context.Context, policyReceiver content.ComponentName, result os.RemoteCallback) error
RemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
ForceRemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
HasGrantedPolicy(ctx context.Context, policyReceiver content.ComponentName, usesPolicy int32) (bool, error)
ReportPasswordChanged(ctx context.Context, metrics PasswordMetrics) error
ReportFailedPasswordAttempt(ctx context.Context, parent bool) error
ReportSuccessfulPasswordAttempt(ctx context.Context) error
ReportFailedBiometricAttempt(ctx context.Context) error
ReportSuccessfulBiometricAttempt(ctx context.Context) error
ReportKeyguardDismissed(ctx context.Context) error
ReportKeyguardSecured(ctx context.Context) error
SetDeviceOwner(ctx context.Context, who content.ComponentName, setProfileOwnerOnCurrentUserIfNecessary bool) (bool, error)
GetDeviceOwnerComponent(ctx context.Context, callingUserOnly bool) (content.ComponentName, error)
GetDeviceOwnerComponentOnUser(ctx context.Context) (content.ComponentName, error)
HasDeviceOwner(ctx context.Context) (bool, error)
GetDeviceOwnerName(ctx context.Context) (string, error)
ClearDeviceOwner(ctx context.Context, packageName string) error
GetDeviceOwnerUserId(ctx context.Context) (int32, error)
SetProfileOwner(ctx context.Context, who content.ComponentName) (bool, error)
GetProfileOwnerAsUser(ctx context.Context) (content.ComponentName, error)
GetProfileOwnerOrDeviceOwnerSupervisionComponent(ctx context.Context, userHandle os.UserHandle) (content.ComponentName, error)
IsSupervisionComponent(ctx context.Context, who content.ComponentName) (bool, error)
GetProfileOwnerName(ctx context.Context) (string, error)
SetProfileEnabled(ctx context.Context, who content.ComponentName) error
SetProfileName(ctx context.Context, who content.ComponentName, profileName string) error
ClearProfileOwner(ctx context.Context, who content.ComponentName) error
HasUserSetupCompleted(ctx context.Context) (bool, error)
IsOrganizationOwnedDeviceWithManagedProfile(ctx context.Context) (bool, error)
CheckDeviceIdentifierAccess(ctx context.Context, packageName string, pid int32, uid int32) (bool, error)
SetDeviceOwnerLockScreenInfo(ctx context.Context, who content.ComponentName, deviceOwnerInfo string) error
GetDeviceOwnerLockScreenInfo(ctx context.Context) (string, error)
SetPackagesSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, packageNames []string, suspended bool) ([]string, error)
IsPackageSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) (bool, error)
ListPolicyExemptApps(ctx context.Context) ([]string, error)
InstallCaCert(ctx context.Context, admin content.ComponentName, callerPackage string, certBuffer []byte) (bool, error)
UninstallCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string, aliases []string) error
EnforceCanManageCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string) error
ApproveCaCert(ctx context.Context, alias string, approval bool) (bool, error)
IsCaCertApproved(ctx context.Context, alias string) (bool, error)
InstallKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, privKeyBuffer []byte, certBuffer []byte, certChainBuffer []byte, alias string, requestAccess bool, isUserSelectable bool) (bool, error)
RemoveKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, alias string) (bool, error)
HasKeyPair(ctx context.Context, callerPackage string, alias string) (bool, error)
GenerateKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, algorithm string, keySpec keystore.ParcelableKeyGenParameterSpec, idAttestationFlags int32, attestationChain keymaster.KeymasterCertificateChain) (bool, error)
SetKeyPairCertificate(ctx context.Context, who content.ComponentName, callerPackage string, alias string, certBuffer []byte, certChainBuffer []byte, isUserSelectable bool) (bool, error)
ChoosePrivateKeyAlias(ctx context.Context, uid int32, uri net.Uri, alias string, aliasCallback binder.IBinder) error
SetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string, scopes []string) error
GetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string) ([]string, error)
GetDelegatePackages(ctx context.Context, who content.ComponentName, scope string) ([]string, error)
SetCertInstallerPackage(ctx context.Context, who content.ComponentName, installerPackage string) error
GetCertInstallerPackage(ctx context.Context, who content.ComponentName) (string, error)
SetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName, vpnPackage string, lockdown bool, lockdownAllowlist []string) (bool, error)
GetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName) (string, error)
GetAlwaysOnVpnPackageForUser(ctx context.Context) (string, error)
IsAlwaysOnVpnLockdownEnabled(ctx context.Context, who content.ComponentName) (bool, error)
IsAlwaysOnVpnLockdownEnabledForUser(ctx context.Context) (bool, error)
GetAlwaysOnVpnLockdownAllowlist(ctx context.Context, who content.ComponentName) ([]string, error)
AddPersistentPreferredActivity(ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, activity content.ComponentName) error
ClearPackagePersistentPreferredActivities(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) error
SetDefaultSmsApplication(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, parent bool) error
SetDefaultDialerApplication(ctx context.Context, packageName string) error
SetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, packageName string, settings os.Bundle) error
GetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, packageName string) (os.Bundle, error)
SetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
GetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName) (string, error)
IsCallerApplicationRestrictionsManagingPackage(ctx context.Context, callerPackage string) (bool, error)
SetRestrictionsProvider(ctx context.Context, who content.ComponentName, provider content.ComponentName) error
GetRestrictionsProvider(ctx context.Context) (content.ComponentName, error)
SetUserRestriction(ctx context.Context, who content.ComponentName, callerPackage string, key string, enable bool, parent bool) error
SetUserRestrictionGlobally(ctx context.Context, callerPackage string, key string) error
GetUserRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, parent bool) (os.Bundle, error)
GetUserRestrictionsGlobally(ctx context.Context, callerPackage string) (os.Bundle, error)
AddCrossProfileIntentFilter(ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, flags int32) error
ClearCrossProfileIntentFilters(ctx context.Context, admin content.ComponentName, callerPackageName string) error
SetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
GetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName) ([]string, error)
GetPermittedAccessibilityServicesForUser(ctx context.Context) ([]string, error)
IsAccessibilityServicePermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
SetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, packageList []string, parent bool) (bool, error)
GetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, parent bool) ([]string, error)
GetPermittedInputMethodsAsUser(ctx context.Context) ([]string, error)
IsInputMethodPermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string, parent bool) (bool, error)
SetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
GetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName) ([]string, error)
IsNotificationListenerServicePermitted(ctx context.Context, packageName string) (bool, error)
CreateAdminSupportIntent(ctx context.Context, restriction string) (content.Intent, error)
GetEnforcingAdminAndUserDetails(ctx context.Context, restriction string) (os.Bundle, error)
GetEnforcingAdminsForRestriction(ctx context.Context, restriction string) ([]EnforcingAdmin, error)
SetApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, hidden bool, parent bool) (bool, error)
IsApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, parent bool) (bool, error)
CreateAndManageUser(ctx context.Context, who content.ComponentName, name string, profileOwner content.ComponentName, adminExtras os.PersistableBundle, flags int32) (os.UserHandle, error)
RemoveUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
SwitchUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
StartUserInBackground(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
StopUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
LogoutUser(ctx context.Context, who content.ComponentName) (int32, error)
LogoutUserInternal(ctx context.Context) (int32, error)
GetLogoutUserId(ctx context.Context) (int32, error)
GetSecondaryUsers(ctx context.Context, who content.ComponentName) ([]os.UserHandle, error)
AcknowledgeNewUserDisclaimer(ctx context.Context) error
IsNewUserDisclaimerAcknowledged(ctx context.Context) (bool, error)
EnableSystemApp(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) error
EnableSystemAppWithIntent(ctx context.Context, admin content.ComponentName, callerPackage string, intent content.Intent) (int32, error)
InstallExistingPackage(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) (bool, error)
SetAccountManagementDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, accountType string, disabled bool, parent bool) error
GetAccountTypesWithManagementDisabled(ctx context.Context, callerPackageName string) ([]string, error)
GetAccountTypesWithManagementDisabledAsUser(ctx context.Context, callerPackageName string, parent bool) ([]string, error)
SetSecondaryLockscreenEnabled(ctx context.Context, who content.ComponentName, enabled bool) error
IsSecondaryLockscreenEnabled(ctx context.Context, userHandle os.UserHandle) (bool, error)
SetPreferentialNetworkServiceConfigs(ctx context.Context, preferentialNetworkServiceConfigs []PreferentialNetworkServiceConfig) error
GetPreferentialNetworkServiceConfigs(ctx context.Context) ([]PreferentialNetworkServiceConfig, error)
SetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string, packages []string) error
GetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string) ([]string, error)
IsLockTaskPermitted(ctx context.Context, pkg string) (bool, error)
SetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, flags int32) error
GetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
SetGlobalSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetSystemSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetSecureSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetConfiguredNetworksLockdownState(ctx context.Context, who content.ComponentName, callerPackageName string, lockdown bool) error
HasLockdownAdminConfiguredNetworks(ctx context.Context, who content.ComponentName) (bool, error)
SetLocationEnabled(ctx context.Context, who content.ComponentName, locationEnabled bool) error
SetTime(ctx context.Context, who content.ComponentName, callerPackageName string, millis int64) (bool, error)
SetTimeZone(ctx context.Context, who content.ComponentName, callerPackageName string, timeZone string) (bool, error)
SetMasterVolumeMuted(ctx context.Context, admin content.ComponentName, on bool) error
IsMasterVolumeMuted(ctx context.Context, admin content.ComponentName) (bool, error)
NotifyLockTaskModeChanged(ctx context.Context, isEnabled bool, pkg string) error
SetUninstallBlocked(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, uninstallBlocked bool) error
IsUninstallBlocked(ctx context.Context, packageName string) (bool, error)
SetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetCrossProfileCallerIdDisabledForUser(ctx context.Context) (bool, error)
SetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetCrossProfileContactsSearchDisabledForUser(ctx context.Context) (bool, error)
StartManagedQuickContact(ctx context.Context, lookupKey string, contactId int64, isContactIdIgnored bool, directoryId int64, originalIntent content.Intent) error
SetManagedProfileCallerIdAccessPolicy(ctx context.Context, policy PackagePolicy) error
GetManagedProfileCallerIdAccessPolicy(ctx context.Context) (PackagePolicy, error)
HasManagedProfileCallerIdAccess(ctx context.Context, packageName string) (bool, error)
SetCredentialManagerPolicy(ctx context.Context, policy PackagePolicy) error
GetCredentialManagerPolicy(ctx context.Context) (PackagePolicy, error)
SetManagedProfileContactsAccessPolicy(ctx context.Context, policy PackagePolicy) error
GetManagedProfileContactsAccessPolicy(ctx context.Context) (PackagePolicy, error)
HasManagedProfileContactsAccess(ctx context.Context, packageName string) (bool, error)
SetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetBluetoothContactSharingDisabledForUser(ctx context.Context) (bool, error)
SetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, callerPackageName string, agent content.ComponentName, args os.PersistableBundle, parent bool) error
GetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, agent content.ComponentName, parent bool) ([]os.PersistableBundle, error)
AddCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) (bool, error)
RemoveCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) (bool, error)
GetCrossProfileWidgetProviders(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
SetAutoTimeRequired(ctx context.Context, who content.ComponentName, required bool) error
GetAutoTimeRequired(ctx context.Context) (bool, error)
SetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool) error
GetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
SetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool) error
GetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
SetForceEphemeralUsers(ctx context.Context, who content.ComponentName, forceEpehemeralUsers bool) error
GetForceEphemeralUsers(ctx context.Context, who content.ComponentName) (bool, error)
IsRemovingAdmin(ctx context.Context, adminReceiver content.ComponentName) (bool, error)
SetUserIcon(ctx context.Context, admin content.ComponentName, icon graphics.Bitmap) error
SetSystemUpdatePolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy SystemUpdatePolicy) error
GetSystemUpdatePolicy(ctx context.Context) (SystemUpdatePolicy, error)
ClearSystemUpdatePolicyFreezePeriodRecord(ctx context.Context) error
SetKeyguardDisabled(ctx context.Context, admin content.ComponentName, disabled bool) (bool, error)
SetStatusBarDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool) (bool, error)
IsStatusBarDisabled(ctx context.Context, callerPackage string) (bool, error)
GetDoNotAskCredentialsOnBoot(ctx context.Context) (bool, error)
NotifyPendingSystemUpdate(ctx context.Context, info SystemUpdateInfo) error
GetPendingSystemUpdate(ctx context.Context, admin content.ComponentName, callerPackage string) (SystemUpdateInfo, error)
SetPermissionPolicy(ctx context.Context, admin content.ComponentName, callerPackage string, policy int32) error
GetPermissionPolicy(ctx context.Context, admin content.ComponentName) (int32, error)
SetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string, grantState int32, resultReceiver os.RemoteCallback) error
GetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string) (int32, error)
IsProvisioningAllowed(ctx context.Context, action string, packageName string) (bool, error)
CheckProvisioningPrecondition(ctx context.Context, action string, packageName string) (int32, error)
SetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string, packageList []string) error
GetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string) ([]string, error)
IsManagedProfile(ctx context.Context, admin content.ComponentName) (bool, error)
GetWifiMacAddress(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
Reboot(ctx context.Context, admin content.ComponentName) error
SetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string, message string) error
GetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
SetLongSupportMessage(ctx context.Context, admin content.ComponentName, message string) error
GetLongSupportMessage(ctx context.Context, admin content.ComponentName) (string, error)
GetShortSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
GetLongSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
SetOrganizationColor(ctx context.Context, admin content.ComponentName, color int32) error
SetOrganizationColorForUser(ctx context.Context, color int32) error
ClearOrganizationIdForUser(ctx context.Context) error
GetOrganizationColor(ctx context.Context, admin content.ComponentName) (int32, error)
GetOrganizationColorForUser(ctx context.Context) (int32, error)
SetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string, title string) error
GetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
GetDeviceOwnerOrganizationName(ctx context.Context) (string, error)
GetOrganizationNameForUser(ctx context.Context) (string, error)
GetUserProvisioningState(ctx context.Context) (int32, error)
SetUserProvisioningState(ctx context.Context, state int32) error
SetAffiliationIds(ctx context.Context, admin content.ComponentName, ids []string) error
GetAffiliationIds(ctx context.Context, admin content.ComponentName) ([]string, error)
IsCallingUserAffiliated(ctx context.Context) (bool, error)
IsAffiliatedUser(ctx context.Context) (bool, error)
SetSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, enabled bool) error
IsSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
RetrieveSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
RetrievePreRebootSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
ForceNetworkLogs(ctx context.Context) (int64, error)
ForceSecurityLogs(ctx context.Context) (int64, error)
SetAuditLogEnabled(ctx context.Context, callerPackage string, enabled bool) error
IsAuditLogEnabled(ctx context.Context, callerPackage string) (bool, error)
SetAuditLogEventsCallback(ctx context.Context, callerPackage string, callback IAuditLogEventsCallback) error
IsUninstallInQueue(ctx context.Context, packageName string) (bool, error)
UninstallPackageWithActiveAdmins(ctx context.Context, packageName string) error
IsDeviceProvisioned(ctx context.Context) (bool, error)
IsDeviceProvisioningConfigApplied(ctx context.Context) (bool, error)
SetDeviceProvisioningConfigApplied(ctx context.Context) error
ForceUpdateUserSetupComplete(ctx context.Context) error
SetBackupServiceEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsBackupServiceEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
SetNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, enabled bool) error
IsNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
RetrieveNetworkLogs(ctx context.Context, admin content.ComponentName, packageName string, batchToken int64) ([]NetworkEvent, error)
BindDeviceAdminServiceAsUser(ctx context.Context, admin content.ComponentName, caller app.IApplicationThread, token binder.IBinder, service content.Intent, connection app.IServiceConnection, flags int64, targetUserId int32) (bool, error)
GetBindDeviceAdminTargetUsers(ctx context.Context, admin content.ComponentName) ([]os.UserHandle, error)
IsEphemeralUser(ctx context.Context, admin content.ComponentName) (bool, error)
GetLastSecurityLogRetrievalTime(ctx context.Context) (int64, error)
GetLastBugReportRequestTime(ctx context.Context) (int64, error)
GetLastNetworkLogRetrievalTime(ctx context.Context) (int64, error)
SetResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string, token []byte) (bool, error)
ClearResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
IsResetPasswordTokenActive(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
ResetPasswordWithToken(ctx context.Context, admin content.ComponentName, callerPackageName string, password string, token []byte, flags int32) (bool, error)
IsCurrentInputMethodSetByOwner(ctx context.Context) (bool, error)
GetOwnerInstalledCaCerts(ctx context.Context, user os.UserHandle) (pm.StringParceledListSlice, error)
ClearApplicationUserData(ctx context.Context, admin content.ComponentName, packageName string, callback pm.IPackageDataObserver) error
SetLogoutEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsLogoutEnabled(ctx context.Context) (bool, error)
GetDisallowedSystemApps(ctx context.Context, admin content.ComponentName, provisioningAction string) ([]string, error)
TransferOwnership(ctx context.Context, admin content.ComponentName, target content.ComponentName, bundle os.PersistableBundle) error
GetTransferOwnershipBundle(ctx context.Context) (os.PersistableBundle, error)
SetStartUserSessionMessage(ctx context.Context, admin content.ComponentName, startUserSessionMessage string) error
SetEndUserSessionMessage(ctx context.Context, admin content.ComponentName, endUserSessionMessage string) error
GetStartUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
GetEndUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
SetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName, packageNames []string) ([]string, error)
GetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
AddOverrideApn(ctx context.Context, admin content.ComponentName, apnSetting data.ApnSetting) (int32, error)
UpdateOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32, apnSetting data.ApnSetting) (bool, error)
RemoveOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32) (bool, error)
GetOverrideApns(ctx context.Context, admin content.ComponentName) ([]data.ApnSetting, error)
SetOverrideApnsEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsOverrideApnEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
IsMeteredDataDisabledPackageForUser(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
SetGlobalPrivateDns(ctx context.Context, admin content.ComponentName, mode int32, privateDnsHost string) (int32, error)
GetGlobalPrivateDnsMode(ctx context.Context, admin content.ComponentName) (int32, error)
GetGlobalPrivateDnsHost(ctx context.Context, admin content.ComponentName) (string, error)
SetProfileOwnerOnOrganizationOwnedDevice(ctx context.Context, who content.ComponentName, isProfileOwnerOnOrganizationOwnedDevice bool) error
InstallUpdateFromFile(ctx context.Context, admin content.ComponentName, callerPackageName string, updateFileDescriptor int32, listener StartInstallingUpdateCallback) error
SetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
GetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
IsPackageAllowedToAccessCalendarForUser(ctx context.Context, packageName string) (bool, error)
GetCrossProfileCalendarPackagesForUser(ctx context.Context) ([]string, error)
SetCrossProfilePackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
GetCrossProfilePackages(ctx context.Context, admin content.ComponentName) ([]string, error)
GetAllCrossProfilePackages(ctx context.Context) ([]string, error)
GetDefaultCrossProfilePackages(ctx context.Context) ([]string, error)
IsManagedKiosk(ctx context.Context) (bool, error)
IsUnattendedManagedKiosk(ctx context.Context) (bool, error)
StartViewCalendarEventInManagedProfile(ctx context.Context, packageName string, eventId int64, start int64, end int64, allDay bool, flags int32) (bool, error)
SetKeyGrantForApp(ctx context.Context, admin content.ComponentName, callerPackage string, alias string, packageName string, hasGrant bool) (bool, error)
GetKeyPairGrants(ctx context.Context, callerPackage string, alias string) (ParcelableGranteeMap, error)
SetKeyGrantToWifiAuth(ctx context.Context, callerPackage string, alias string, hasGrant bool) (bool, error)
IsKeyPairGrantedToWifiAuth(ctx context.Context, callerPackage string, alias string) (bool, error)
SetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string, packages []string) error
GetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
SetCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName, callerPackageName string, enabled bool) error
IsCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
GetPersonalAppsSuspendedReasons(ctx context.Context, admin content.ComponentName) (int32, error)
SetPersonalAppsSuspended(ctx context.Context, admin content.ComponentName, suspended bool) error
GetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName) (int64, error)
SetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName, timeoutMs int64) error
AcknowledgeDeviceCompliant(ctx context.Context) error
IsComplianceAcknowledgementRequired(ctx context.Context) (bool, error)
CanProfileOwnerResetPasswordWhenLocked(ctx context.Context) (bool, error)
SetNextOperationSafety(ctx context.Context, operation int32, reason int32) error
IsSafeOperation(ctx context.Context, reason int32) (bool, error)
GetEnrollmentSpecificId(ctx context.Context, callerPackage string) (string, error)
SetOrganizationIdForUser(ctx context.Context, callerPackage string, enterpriseId string) error
CreateAndProvisionManagedProfile(ctx context.Context, provisioningParams ManagedProfileProvisioningParams, callerPackage string) (os.UserHandle, error)
ProvisionFullyManagedDevice(ctx context.Context, provisioningParams FullyManagedDeviceProvisioningParams, callerPackage string) error
FinalizeWorkProfileProvisioning(ctx context.Context, managedProfileUser os.UserHandle, migratedAccount accounts.Account) error
SetDeviceOwnerType(ctx context.Context, admin content.ComponentName, deviceOwnerType int32) error
GetDeviceOwnerType(ctx context.Context, admin content.ComponentName) (int32, error)
ResetDefaultCrossProfileIntentFilters(ctx context.Context) error
CanAdminGrantSensorsPermissions(ctx context.Context) (bool, error)
SetUsbDataSignalingEnabled(ctx context.Context, callerPackage string, enabled bool) error
IsUsbDataSignalingEnabled(ctx context.Context, callerPackage string) (bool, error)
CanUsbDataSignalingBeDisabled(ctx context.Context) (bool, error)
SetMinimumRequiredWifiSecurityLevel(ctx context.Context, callerPackageName string, level int32) error
GetMinimumRequiredWifiSecurityLevel(ctx context.Context) (int32, error)
SetWifiSsidPolicy(ctx context.Context, callerPackageName string, policy WifiSsidPolicy) error
GetWifiSsidPolicy(ctx context.Context, callerPackageName string) (WifiSsidPolicy, error)
IsTheftDetectionTriggered(ctx context.Context, callerPackageName string) (bool, error)
ListForegroundAffiliatedUsers(ctx context.Context) ([]os.UserHandle, error)
SetDrawables(ctx context.Context, drawables []DevicePolicyDrawableResource) error
ResetDrawables(ctx context.Context, drawableIds []string) error
GetDrawable(ctx context.Context, drawableId string, drawableStyle string, drawableSource string) (ParcelableResource, error)
IsDpcDownloaded(ctx context.Context) (bool, error)
SetDpcDownloaded(ctx context.Context, downloaded bool) error
SetStrings(ctx context.Context, strings []DevicePolicyStringResource) error
ResetStrings(ctx context.Context, stringIds []string) error
GetString(ctx context.Context, stringId string) (ParcelableResource, error)
ResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState(ctx context.Context) error
ShouldAllowBypassingDevicePolicyManagementRoleQualification(ctx context.Context) (bool, error)
GetPolicyManagedProfiles(ctx context.Context, userHandle os.UserHandle) ([]os.UserHandle, error)
SetApplicationExemptions(ctx context.Context, callerPackage string, packageName string, exemptions []int32) error
GetApplicationExemptions(ctx context.Context, packageName string) ([]int32, error)
SetMtePolicy(ctx context.Context, flag int32, callerPackageName string) error
GetMtePolicy(ctx context.Context, callerPackageName string) (int32, error)
SetManagedSubscriptionsPolicy(ctx context.Context, policy ManagedSubscriptionsPolicy) error
GetManagedSubscriptionsPolicy(ctx context.Context) (ManagedSubscriptionsPolicy, error)
GetDevicePolicyState(ctx context.Context) (DevicePolicyState, error)
TriggerDevicePolicyEngineMigration(ctx context.Context, forceMigration bool) (bool, error)
IsDeviceFinanced(ctx context.Context, callerPackageName string) (bool, error)
GetFinancedDeviceKioskRoleHolder(ctx context.Context, callerPackageName string) (string, error)
CalculateHasIncompatibleAccounts(ctx context.Context) error
SetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy int32) error
GetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
GetSubscriptionIds(ctx context.Context, callerPackageName string) ([]int32, error)
SetMaxPolicyStorageLimit(ctx context.Context, packageName string, storageLimit int32) error
GetMaxPolicyStorageLimit(ctx context.Context, packageName string) (int32, error)
}
func NewDevicePolicyManagerStub ¶
func NewDevicePolicyManagerStub( impl IDevicePolicyManagerServer, ) IDevicePolicyManager
NewDevicePolicyManagerStub creates a server-side IDevicePolicyManager wrapping the given server implementation. The returned value satisfies IDevicePolicyManager 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 IDevicePolicyManagerServer ¶
type IDevicePolicyManagerServer interface {
SetPasswordQuality(ctx context.Context, who content.ComponentName, quality int32, parent bool) error
GetPasswordQuality(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumUpperCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLowerCase(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumLetters(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumNumeric(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumSymbols(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordMinimumNonLetter(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
GetPasswordMinimumMetrics(ctx context.Context, deviceWideOnly bool) (PasswordMetrics, error)
SetPasswordHistoryLength(ctx context.Context, who content.ComponentName, length int32, parent bool) error
GetPasswordHistoryLength(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, expiration int64, parent bool) error
GetPasswordExpirationTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
GetPasswordExpiration(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
IsActivePasswordSufficient(ctx context.Context, callerPackageName string, parent bool) (bool, error)
IsActivePasswordSufficientForDeviceRequirement(ctx context.Context) (bool, error)
IsPasswordSufficientAfterProfileUnification(ctx context.Context, profileUser int32) (bool, error)
GetPasswordComplexity(ctx context.Context, parent bool) (int32, error)
SetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, passwordComplexity int32, parent bool) error
GetRequiredPasswordComplexity(ctx context.Context, callerPackageName string, parent bool) (int32, error)
GetAggregatedPasswordComplexityForUser(ctx context.Context, deviceWideOnly bool) (int32, error)
IsUsingUnifiedPassword(ctx context.Context, admin content.ComponentName) (bool, error)
GetCurrentFailedPasswordAttempts(ctx context.Context, callerPackageName string, parent bool) (int32, error)
GetProfileWithMinimumFailedPasswordsForWipe(ctx context.Context, parent bool) (int32, error)
SetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, callerPackageName string, num int32, parent bool) error
GetMaximumFailedPasswordsForWipe(ctx context.Context, admin content.ComponentName, parent bool) (int32, error)
ResetPassword(ctx context.Context, password string, flags int32) (bool, error)
SetMaximumTimeToLock(ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool) error
GetMaximumTimeToLock(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
SetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, callerPackageName string, timeMs int64, parent bool) error
GetRequiredStrongAuthTimeout(ctx context.Context, who content.ComponentName, parent bool) (int64, error)
LockNow(ctx context.Context, flags int32, callerPackageName string, parent bool) error
WipeDataWithReason(ctx context.Context, callerPackageName string, flags int32, wipeReasonForUser string, parent bool, factoryReset bool) error
SetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy FactoryResetProtectionPolicy) error
GetFactoryResetProtectionPolicy(ctx context.Context, who content.ComponentName) (FactoryResetProtectionPolicy, error)
IsFactoryResetProtectionPolicySupported(ctx context.Context) (bool, error)
SendLostModeLocationUpdate(ctx context.Context, future infra.AndroidFuture) error
SetGlobalProxy(ctx context.Context, admin content.ComponentName, proxySpec string, exclusionList string) (content.ComponentName, error)
GetGlobalProxyAdmin(ctx context.Context) (content.ComponentName, error)
SetRecommendedGlobalProxy(ctx context.Context, admin content.ComponentName, proxyInfo any) error
SetStorageEncryption(ctx context.Context, who content.ComponentName, encrypt bool) (int32, error)
GetStorageEncryption(ctx context.Context, who content.ComponentName) (bool, error)
GetStorageEncryptionStatus(ctx context.Context, callerPackage string) (int32, error)
RequestBugreport(ctx context.Context, who content.ComponentName) (bool, error)
SetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool) error
GetCameraDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, parent bool) (bool, error)
SetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool, parent bool) error
GetScreenCaptureDisabled(ctx context.Context, who content.ComponentName, parent bool) (bool, error)
SetNearbyNotificationStreamingPolicy(ctx context.Context, policy int32) error
GetNearbyNotificationStreamingPolicy(ctx context.Context) (int32, error)
SetNearbyAppStreamingPolicy(ctx context.Context, policy int32) error
GetNearbyAppStreamingPolicy(ctx context.Context) (int32, error)
SetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, which int32, parent bool) error
GetKeyguardDisabledFeatures(ctx context.Context, who content.ComponentName, parent bool) (int32, error)
SetActiveAdmin(ctx context.Context, policyReceiver content.ComponentName, refreshing bool) error
IsAdminActive(ctx context.Context, policyReceiver content.ComponentName) (bool, error)
GetActiveAdmins(ctx context.Context) ([]content.ComponentName, error)
PackageHasActiveAdmins(ctx context.Context, packageName string) (bool, error)
GetRemoveWarning(ctx context.Context, policyReceiver content.ComponentName, result os.RemoteCallback) error
RemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
ForceRemoveActiveAdmin(ctx context.Context, policyReceiver content.ComponentName) error
HasGrantedPolicy(ctx context.Context, policyReceiver content.ComponentName, usesPolicy int32) (bool, error)
ReportPasswordChanged(ctx context.Context, metrics PasswordMetrics) error
ReportFailedPasswordAttempt(ctx context.Context, parent bool) error
ReportSuccessfulPasswordAttempt(ctx context.Context) error
ReportFailedBiometricAttempt(ctx context.Context) error
ReportSuccessfulBiometricAttempt(ctx context.Context) error
ReportKeyguardDismissed(ctx context.Context) error
ReportKeyguardSecured(ctx context.Context) error
SetDeviceOwner(ctx context.Context, who content.ComponentName, setProfileOwnerOnCurrentUserIfNecessary bool) (bool, error)
GetDeviceOwnerComponent(ctx context.Context, callingUserOnly bool) (content.ComponentName, error)
GetDeviceOwnerComponentOnUser(ctx context.Context) (content.ComponentName, error)
HasDeviceOwner(ctx context.Context) (bool, error)
GetDeviceOwnerName(ctx context.Context) (string, error)
ClearDeviceOwner(ctx context.Context, packageName string) error
GetDeviceOwnerUserId(ctx context.Context) (int32, error)
SetProfileOwner(ctx context.Context, who content.ComponentName) (bool, error)
GetProfileOwnerAsUser(ctx context.Context) (content.ComponentName, error)
GetProfileOwnerOrDeviceOwnerSupervisionComponent(ctx context.Context, userHandle os.UserHandle) (content.ComponentName, error)
IsSupervisionComponent(ctx context.Context, who content.ComponentName) (bool, error)
GetProfileOwnerName(ctx context.Context) (string, error)
SetProfileEnabled(ctx context.Context, who content.ComponentName) error
SetProfileName(ctx context.Context, who content.ComponentName, profileName string) error
ClearProfileOwner(ctx context.Context, who content.ComponentName) error
HasUserSetupCompleted(ctx context.Context) (bool, error)
IsOrganizationOwnedDeviceWithManagedProfile(ctx context.Context) (bool, error)
CheckDeviceIdentifierAccess(ctx context.Context, packageName string, pid int32, uid int32) (bool, error)
SetDeviceOwnerLockScreenInfo(ctx context.Context, who content.ComponentName, deviceOwnerInfo string) error
GetDeviceOwnerLockScreenInfo(ctx context.Context) (string, error)
SetPackagesSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, packageNames []string, suspended bool) ([]string, error)
IsPackageSuspended(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) (bool, error)
ListPolicyExemptApps(ctx context.Context) ([]string, error)
InstallCaCert(ctx context.Context, admin content.ComponentName, callerPackage string, certBuffer []byte) (bool, error)
UninstallCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string, aliases []string) error
EnforceCanManageCaCerts(ctx context.Context, admin content.ComponentName, callerPackage string) error
ApproveCaCert(ctx context.Context, alias string, approval bool) (bool, error)
IsCaCertApproved(ctx context.Context, alias string) (bool, error)
InstallKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, privKeyBuffer []byte, certBuffer []byte, certChainBuffer []byte, alias string, requestAccess bool, isUserSelectable bool) (bool, error)
RemoveKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, alias string) (bool, error)
HasKeyPair(ctx context.Context, callerPackage string, alias string) (bool, error)
GenerateKeyPair(ctx context.Context, who content.ComponentName, callerPackage string, algorithm string, keySpec keystore.ParcelableKeyGenParameterSpec, idAttestationFlags int32, attestationChain keymaster.KeymasterCertificateChain) (bool, error)
SetKeyPairCertificate(ctx context.Context, who content.ComponentName, callerPackage string, alias string, certBuffer []byte, certChainBuffer []byte, isUserSelectable bool) (bool, error)
ChoosePrivateKeyAlias(ctx context.Context, uid int32, uri net.Uri, alias string, aliasCallback binder.IBinder) error
SetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string, scopes []string) error
GetDelegatedScopes(ctx context.Context, who content.ComponentName, delegatePackage string) ([]string, error)
GetDelegatePackages(ctx context.Context, who content.ComponentName, scope string) ([]string, error)
SetCertInstallerPackage(ctx context.Context, who content.ComponentName, installerPackage string) error
GetCertInstallerPackage(ctx context.Context, who content.ComponentName) (string, error)
SetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName, vpnPackage string, lockdown bool, lockdownAllowlist []string) (bool, error)
GetAlwaysOnVpnPackage(ctx context.Context, who content.ComponentName) (string, error)
GetAlwaysOnVpnPackageForUser(ctx context.Context) (string, error)
IsAlwaysOnVpnLockdownEnabled(ctx context.Context, who content.ComponentName) (bool, error)
IsAlwaysOnVpnLockdownEnabledForUser(ctx context.Context) (bool, error)
GetAlwaysOnVpnLockdownAllowlist(ctx context.Context, who content.ComponentName) ([]string, error)
AddPersistentPreferredActivity(ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, activity content.ComponentName) error
ClearPackagePersistentPreferredActivities(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) error
SetDefaultSmsApplication(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string, parent bool) error
SetDefaultDialerApplication(ctx context.Context, packageName string) error
SetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, packageName string, settings os.Bundle) error
GetApplicationRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, packageName string) (os.Bundle, error)
SetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
GetApplicationRestrictionsManagingPackage(ctx context.Context, admin content.ComponentName) (string, error)
IsCallerApplicationRestrictionsManagingPackage(ctx context.Context, callerPackage string) (bool, error)
SetRestrictionsProvider(ctx context.Context, who content.ComponentName, provider content.ComponentName) error
GetRestrictionsProvider(ctx context.Context) (content.ComponentName, error)
SetUserRestriction(ctx context.Context, who content.ComponentName, callerPackage string, key string, enable bool, parent bool) error
SetUserRestrictionGlobally(ctx context.Context, callerPackage string, key string) error
GetUserRestrictions(ctx context.Context, who content.ComponentName, callerPackage string, parent bool) (os.Bundle, error)
GetUserRestrictionsGlobally(ctx context.Context, callerPackage string) (os.Bundle, error)
AddCrossProfileIntentFilter(ctx context.Context, admin content.ComponentName, callerPackageName string, filter content.IntentFilter, flags int32) error
ClearCrossProfileIntentFilters(ctx context.Context, admin content.ComponentName, callerPackageName string) error
SetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
GetPermittedAccessibilityServices(ctx context.Context, admin content.ComponentName) ([]string, error)
GetPermittedAccessibilityServicesForUser(ctx context.Context) ([]string, error)
IsAccessibilityServicePermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
SetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, packageList []string, parent bool) (bool, error)
GetPermittedInputMethods(ctx context.Context, admin content.ComponentName, callerPackageName string, parent bool) ([]string, error)
GetPermittedInputMethodsAsUser(ctx context.Context) ([]string, error)
IsInputMethodPermittedByAdmin(ctx context.Context, admin content.ComponentName, packageName string, parent bool) (bool, error)
SetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName, packageList []string) (bool, error)
GetPermittedCrossProfileNotificationListeners(ctx context.Context, admin content.ComponentName) ([]string, error)
IsNotificationListenerServicePermitted(ctx context.Context, packageName string) (bool, error)
CreateAdminSupportIntent(ctx context.Context, restriction string) (content.Intent, error)
GetEnforcingAdminAndUserDetails(ctx context.Context, restriction string) (os.Bundle, error)
GetEnforcingAdminsForRestriction(ctx context.Context, restriction string) ([]EnforcingAdmin, error)
SetApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, hidden bool, parent bool) (bool, error)
IsApplicationHidden(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, parent bool) (bool, error)
CreateAndManageUser(ctx context.Context, who content.ComponentName, name string, profileOwner content.ComponentName, adminExtras os.PersistableBundle, flags int32) (os.UserHandle, error)
RemoveUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
SwitchUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (bool, error)
StartUserInBackground(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
StopUser(ctx context.Context, who content.ComponentName, userHandle os.UserHandle) (int32, error)
LogoutUser(ctx context.Context, who content.ComponentName) (int32, error)
LogoutUserInternal(ctx context.Context) (int32, error)
GetLogoutUserId(ctx context.Context) (int32, error)
GetSecondaryUsers(ctx context.Context, who content.ComponentName) ([]os.UserHandle, error)
AcknowledgeNewUserDisclaimer(ctx context.Context) error
IsNewUserDisclaimerAcknowledged(ctx context.Context) (bool, error)
EnableSystemApp(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) error
EnableSystemAppWithIntent(ctx context.Context, admin content.ComponentName, callerPackage string, intent content.Intent) (int32, error)
InstallExistingPackage(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string) (bool, error)
SetAccountManagementDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, accountType string, disabled bool, parent bool) error
GetAccountTypesWithManagementDisabled(ctx context.Context, callerPackageName string) ([]string, error)
GetAccountTypesWithManagementDisabledAsUser(ctx context.Context, callerPackageName string, parent bool) ([]string, error)
SetSecondaryLockscreenEnabled(ctx context.Context, who content.ComponentName, enabled bool) error
IsSecondaryLockscreenEnabled(ctx context.Context, userHandle os.UserHandle) (bool, error)
SetPreferentialNetworkServiceConfigs(ctx context.Context, preferentialNetworkServiceConfigs []PreferentialNetworkServiceConfig) error
GetPreferentialNetworkServiceConfigs(ctx context.Context) ([]PreferentialNetworkServiceConfig, error)
SetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string, packages []string) error
GetLockTaskPackages(ctx context.Context, who content.ComponentName, callerPackageName string) ([]string, error)
IsLockTaskPermitted(ctx context.Context, pkg string) (bool, error)
SetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string, flags int32) error
GetLockTaskFeatures(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
SetGlobalSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetSystemSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetSecureSetting(ctx context.Context, who content.ComponentName, setting string, value string) error
SetConfiguredNetworksLockdownState(ctx context.Context, who content.ComponentName, callerPackageName string, lockdown bool) error
HasLockdownAdminConfiguredNetworks(ctx context.Context, who content.ComponentName) (bool, error)
SetLocationEnabled(ctx context.Context, who content.ComponentName, locationEnabled bool) error
SetTime(ctx context.Context, who content.ComponentName, callerPackageName string, millis int64) (bool, error)
SetTimeZone(ctx context.Context, who content.ComponentName, callerPackageName string, timeZone string) (bool, error)
SetMasterVolumeMuted(ctx context.Context, admin content.ComponentName, on bool) error
IsMasterVolumeMuted(ctx context.Context, admin content.ComponentName) (bool, error)
NotifyLockTaskModeChanged(ctx context.Context, isEnabled bool, pkg string) error
SetUninstallBlocked(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, uninstallBlocked bool) error
IsUninstallBlocked(ctx context.Context, packageName string) (bool, error)
SetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetCrossProfileCallerIdDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetCrossProfileCallerIdDisabledForUser(ctx context.Context) (bool, error)
SetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetCrossProfileContactsSearchDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetCrossProfileContactsSearchDisabledForUser(ctx context.Context) (bool, error)
StartManagedQuickContact(ctx context.Context, lookupKey string, contactId int64, isContactIdIgnored bool, directoryId int64, originalIntent content.Intent) error
SetManagedProfileCallerIdAccessPolicy(ctx context.Context, policy PackagePolicy) error
GetManagedProfileCallerIdAccessPolicy(ctx context.Context) (PackagePolicy, error)
HasManagedProfileCallerIdAccess(ctx context.Context, packageName string) (bool, error)
SetCredentialManagerPolicy(ctx context.Context, policy PackagePolicy) error
GetCredentialManagerPolicy(ctx context.Context) (PackagePolicy, error)
SetManagedProfileContactsAccessPolicy(ctx context.Context, policy PackagePolicy) error
GetManagedProfileContactsAccessPolicy(ctx context.Context) (PackagePolicy, error)
HasManagedProfileContactsAccess(ctx context.Context, packageName string) (bool, error)
SetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName, disabled bool) error
GetBluetoothContactSharingDisabled(ctx context.Context, who content.ComponentName) (bool, error)
GetBluetoothContactSharingDisabledForUser(ctx context.Context) (bool, error)
SetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, callerPackageName string, agent content.ComponentName, args os.PersistableBundle, parent bool) error
GetTrustAgentConfiguration(ctx context.Context, admin content.ComponentName, agent content.ComponentName, parent bool) ([]os.PersistableBundle, error)
AddCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) (bool, error)
RemoveCrossProfileWidgetProvider(ctx context.Context, admin content.ComponentName, callerPackageName string, packageName string) (bool, error)
GetCrossProfileWidgetProviders(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
SetAutoTimeRequired(ctx context.Context, who content.ComponentName, required bool) error
GetAutoTimeRequired(ctx context.Context) (bool, error)
SetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool) error
GetAutoTimeEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
SetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string, enabled bool) error
GetAutoTimeZoneEnabled(ctx context.Context, who content.ComponentName, callerPackageName string) (bool, error)
SetForceEphemeralUsers(ctx context.Context, who content.ComponentName, forceEpehemeralUsers bool) error
GetForceEphemeralUsers(ctx context.Context, who content.ComponentName) (bool, error)
IsRemovingAdmin(ctx context.Context, adminReceiver content.ComponentName) (bool, error)
SetUserIcon(ctx context.Context, admin content.ComponentName, icon graphics.Bitmap) error
SetSystemUpdatePolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy SystemUpdatePolicy) error
GetSystemUpdatePolicy(ctx context.Context) (SystemUpdatePolicy, error)
ClearSystemUpdatePolicyFreezePeriodRecord(ctx context.Context) error
SetKeyguardDisabled(ctx context.Context, admin content.ComponentName, disabled bool) (bool, error)
SetStatusBarDisabled(ctx context.Context, who content.ComponentName, callerPackageName string, disabled bool) (bool, error)
IsStatusBarDisabled(ctx context.Context, callerPackage string) (bool, error)
GetDoNotAskCredentialsOnBoot(ctx context.Context) (bool, error)
NotifyPendingSystemUpdate(ctx context.Context, info SystemUpdateInfo) error
GetPendingSystemUpdate(ctx context.Context, admin content.ComponentName, callerPackage string) (SystemUpdateInfo, error)
SetPermissionPolicy(ctx context.Context, admin content.ComponentName, callerPackage string, policy int32) error
GetPermissionPolicy(ctx context.Context, admin content.ComponentName) (int32, error)
SetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string, grantState int32, resultReceiver os.RemoteCallback) error
GetPermissionGrantState(ctx context.Context, admin content.ComponentName, callerPackage string, packageName string, permission string) (int32, error)
IsProvisioningAllowed(ctx context.Context, action string, packageName string) (bool, error)
CheckProvisioningPrecondition(ctx context.Context, action string, packageName string) (int32, error)
SetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string, packageList []string) error
GetKeepUninstalledPackages(ctx context.Context, admin content.ComponentName, callerPackage string) ([]string, error)
IsManagedProfile(ctx context.Context, admin content.ComponentName) (bool, error)
GetWifiMacAddress(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
Reboot(ctx context.Context, admin content.ComponentName) error
SetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string, message string) error
GetShortSupportMessage(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
SetLongSupportMessage(ctx context.Context, admin content.ComponentName, message string) error
GetLongSupportMessage(ctx context.Context, admin content.ComponentName) (string, error)
GetShortSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
GetLongSupportMessageForUser(ctx context.Context, admin content.ComponentName) (string, error)
SetOrganizationColor(ctx context.Context, admin content.ComponentName, color int32) error
SetOrganizationColorForUser(ctx context.Context, color int32) error
ClearOrganizationIdForUser(ctx context.Context) error
GetOrganizationColor(ctx context.Context, admin content.ComponentName) (int32, error)
GetOrganizationColorForUser(ctx context.Context) (int32, error)
SetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string, title string) error
GetOrganizationName(ctx context.Context, admin content.ComponentName, callerPackageName string) (string, error)
GetDeviceOwnerOrganizationName(ctx context.Context) (string, error)
GetOrganizationNameForUser(ctx context.Context) (string, error)
GetUserProvisioningState(ctx context.Context) (int32, error)
SetUserProvisioningState(ctx context.Context, state int32) error
SetAffiliationIds(ctx context.Context, admin content.ComponentName, ids []string) error
GetAffiliationIds(ctx context.Context, admin content.ComponentName) ([]string, error)
IsCallingUserAffiliated(ctx context.Context) (bool, error)
IsAffiliatedUser(ctx context.Context) (bool, error)
SetSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, enabled bool) error
IsSecurityLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
RetrieveSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
RetrievePreRebootSecurityLogs(ctx context.Context, admin content.ComponentName, packageName string) (pm.ParceledListSlice, error)
ForceNetworkLogs(ctx context.Context) (int64, error)
ForceSecurityLogs(ctx context.Context) (int64, error)
SetAuditLogEnabled(ctx context.Context, callerPackage string, enabled bool) error
IsAuditLogEnabled(ctx context.Context, callerPackage string) (bool, error)
SetAuditLogEventsCallback(ctx context.Context, callerPackage string, callback IAuditLogEventsCallback) error
IsUninstallInQueue(ctx context.Context, packageName string) (bool, error)
UninstallPackageWithActiveAdmins(ctx context.Context, packageName string) error
IsDeviceProvisioned(ctx context.Context) (bool, error)
IsDeviceProvisioningConfigApplied(ctx context.Context) (bool, error)
SetDeviceProvisioningConfigApplied(ctx context.Context) error
ForceUpdateUserSetupComplete(ctx context.Context) error
SetBackupServiceEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsBackupServiceEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
SetNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string, enabled bool) error
IsNetworkLoggingEnabled(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
RetrieveNetworkLogs(ctx context.Context, admin content.ComponentName, packageName string, batchToken int64) ([]NetworkEvent, error)
BindDeviceAdminServiceAsUser(ctx context.Context, admin content.ComponentName, caller app.IApplicationThread, token binder.IBinder, service content.Intent, connection app.IServiceConnection, flags int64, targetUserId int32) (bool, error)
GetBindDeviceAdminTargetUsers(ctx context.Context, admin content.ComponentName) ([]os.UserHandle, error)
IsEphemeralUser(ctx context.Context, admin content.ComponentName) (bool, error)
GetLastSecurityLogRetrievalTime(ctx context.Context) (int64, error)
GetLastBugReportRequestTime(ctx context.Context) (int64, error)
GetLastNetworkLogRetrievalTime(ctx context.Context) (int64, error)
SetResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string, token []byte) (bool, error)
ClearResetPasswordToken(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
IsResetPasswordTokenActive(ctx context.Context, admin content.ComponentName, callerPackageName string) (bool, error)
ResetPasswordWithToken(ctx context.Context, admin content.ComponentName, callerPackageName string, password string, token []byte, flags int32) (bool, error)
IsCurrentInputMethodSetByOwner(ctx context.Context) (bool, error)
GetOwnerInstalledCaCerts(ctx context.Context, user os.UserHandle) (pm.StringParceledListSlice, error)
ClearApplicationUserData(ctx context.Context, admin content.ComponentName, packageName string, callback pm.IPackageDataObserver) error
SetLogoutEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsLogoutEnabled(ctx context.Context) (bool, error)
GetDisallowedSystemApps(ctx context.Context, admin content.ComponentName, provisioningAction string) ([]string, error)
TransferOwnership(ctx context.Context, admin content.ComponentName, target content.ComponentName, bundle os.PersistableBundle) error
GetTransferOwnershipBundle(ctx context.Context) (os.PersistableBundle, error)
SetStartUserSessionMessage(ctx context.Context, admin content.ComponentName, startUserSessionMessage string) error
SetEndUserSessionMessage(ctx context.Context, admin content.ComponentName, endUserSessionMessage string) error
GetStartUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
GetEndUserSessionMessage(ctx context.Context, admin content.ComponentName) (string, error)
SetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName, packageNames []string) ([]string, error)
GetMeteredDataDisabledPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
AddOverrideApn(ctx context.Context, admin content.ComponentName, apnSetting data.ApnSetting) (int32, error)
UpdateOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32, apnSetting data.ApnSetting) (bool, error)
RemoveOverrideApn(ctx context.Context, admin content.ComponentName, apnId int32) (bool, error)
GetOverrideApns(ctx context.Context, admin content.ComponentName) ([]data.ApnSetting, error)
SetOverrideApnsEnabled(ctx context.Context, admin content.ComponentName, enabled bool) error
IsOverrideApnEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
IsMeteredDataDisabledPackageForUser(ctx context.Context, admin content.ComponentName, packageName string) (bool, error)
SetGlobalPrivateDns(ctx context.Context, admin content.ComponentName, mode int32, privateDnsHost string) (int32, error)
GetGlobalPrivateDnsMode(ctx context.Context, admin content.ComponentName) (int32, error)
GetGlobalPrivateDnsHost(ctx context.Context, admin content.ComponentName) (string, error)
SetProfileOwnerOnOrganizationOwnedDevice(ctx context.Context, who content.ComponentName, isProfileOwnerOnOrganizationOwnedDevice bool) error
InstallUpdateFromFile(ctx context.Context, admin content.ComponentName, callerPackageName string, updateFileDescriptor int32, listener StartInstallingUpdateCallback) error
SetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
GetCrossProfileCalendarPackages(ctx context.Context, admin content.ComponentName) ([]string, error)
IsPackageAllowedToAccessCalendarForUser(ctx context.Context, packageName string) (bool, error)
GetCrossProfileCalendarPackagesForUser(ctx context.Context) ([]string, error)
SetCrossProfilePackages(ctx context.Context, admin content.ComponentName, packageNames []string) error
GetCrossProfilePackages(ctx context.Context, admin content.ComponentName) ([]string, error)
GetAllCrossProfilePackages(ctx context.Context) ([]string, error)
GetDefaultCrossProfilePackages(ctx context.Context) ([]string, error)
IsManagedKiosk(ctx context.Context) (bool, error)
IsUnattendedManagedKiosk(ctx context.Context) (bool, error)
StartViewCalendarEventInManagedProfile(ctx context.Context, packageName string, eventId int64, start int64, end int64, allDay bool, flags int32) (bool, error)
SetKeyGrantForApp(ctx context.Context, admin content.ComponentName, callerPackage string, alias string, packageName string, hasGrant bool) (bool, error)
GetKeyPairGrants(ctx context.Context, callerPackage string, alias string) (ParcelableGranteeMap, error)
SetKeyGrantToWifiAuth(ctx context.Context, callerPackage string, alias string, hasGrant bool) (bool, error)
IsKeyPairGrantedToWifiAuth(ctx context.Context, callerPackage string, alias string) (bool, error)
SetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string, packages []string) error
GetUserControlDisabledPackages(ctx context.Context, admin content.ComponentName, callerPackageName string) ([]string, error)
SetCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName, callerPackageName string, enabled bool) error
IsCommonCriteriaModeEnabled(ctx context.Context, admin content.ComponentName) (bool, error)
GetPersonalAppsSuspendedReasons(ctx context.Context, admin content.ComponentName) (int32, error)
SetPersonalAppsSuspended(ctx context.Context, admin content.ComponentName, suspended bool) error
GetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName) (int64, error)
SetManagedProfileMaximumTimeOff(ctx context.Context, admin content.ComponentName, timeoutMs int64) error
AcknowledgeDeviceCompliant(ctx context.Context) error
IsComplianceAcknowledgementRequired(ctx context.Context) (bool, error)
CanProfileOwnerResetPasswordWhenLocked(ctx context.Context) (bool, error)
SetNextOperationSafety(ctx context.Context, operation int32, reason int32) error
IsSafeOperation(ctx context.Context, reason int32) (bool, error)
GetEnrollmentSpecificId(ctx context.Context, callerPackage string) (string, error)
SetOrganizationIdForUser(ctx context.Context, callerPackage string, enterpriseId string) error
CreateAndProvisionManagedProfile(ctx context.Context, provisioningParams ManagedProfileProvisioningParams, callerPackage string) (os.UserHandle, error)
ProvisionFullyManagedDevice(ctx context.Context, provisioningParams FullyManagedDeviceProvisioningParams, callerPackage string) error
FinalizeWorkProfileProvisioning(ctx context.Context, managedProfileUser os.UserHandle, migratedAccount accounts.Account) error
SetDeviceOwnerType(ctx context.Context, admin content.ComponentName, deviceOwnerType int32) error
GetDeviceOwnerType(ctx context.Context, admin content.ComponentName) (int32, error)
ResetDefaultCrossProfileIntentFilters(ctx context.Context) error
CanAdminGrantSensorsPermissions(ctx context.Context) (bool, error)
SetUsbDataSignalingEnabled(ctx context.Context, callerPackage string, enabled bool) error
IsUsbDataSignalingEnabled(ctx context.Context, callerPackage string) (bool, error)
CanUsbDataSignalingBeDisabled(ctx context.Context) (bool, error)
SetMinimumRequiredWifiSecurityLevel(ctx context.Context, callerPackageName string, level int32) error
GetMinimumRequiredWifiSecurityLevel(ctx context.Context) (int32, error)
SetWifiSsidPolicy(ctx context.Context, callerPackageName string, policy WifiSsidPolicy) error
GetWifiSsidPolicy(ctx context.Context, callerPackageName string) (WifiSsidPolicy, error)
IsTheftDetectionTriggered(ctx context.Context, callerPackageName string) (bool, error)
ListForegroundAffiliatedUsers(ctx context.Context) ([]os.UserHandle, error)
SetDrawables(ctx context.Context, drawables []DevicePolicyDrawableResource) error
ResetDrawables(ctx context.Context, drawableIds []string) error
GetDrawable(ctx context.Context, drawableId string, drawableStyle string, drawableSource string) (ParcelableResource, error)
IsDpcDownloaded(ctx context.Context) (bool, error)
SetDpcDownloaded(ctx context.Context, downloaded bool) error
SetStrings(ctx context.Context, strings []DevicePolicyStringResource) error
ResetStrings(ctx context.Context, stringIds []string) error
GetString(ctx context.Context, stringId string) (ParcelableResource, error)
ResetShouldAllowBypassingDevicePolicyManagementRoleQualificationState(ctx context.Context) error
ShouldAllowBypassingDevicePolicyManagementRoleQualification(ctx context.Context) (bool, error)
GetPolicyManagedProfiles(ctx context.Context, userHandle os.UserHandle) ([]os.UserHandle, error)
SetApplicationExemptions(ctx context.Context, callerPackage string, packageName string, exemptions []int32) error
GetApplicationExemptions(ctx context.Context, packageName string) ([]int32, error)
SetMtePolicy(ctx context.Context, flag int32, callerPackageName string) error
GetMtePolicy(ctx context.Context, callerPackageName string) (int32, error)
SetManagedSubscriptionsPolicy(ctx context.Context, policy ManagedSubscriptionsPolicy) error
GetManagedSubscriptionsPolicy(ctx context.Context) (ManagedSubscriptionsPolicy, error)
GetDevicePolicyState(ctx context.Context) (DevicePolicyState, error)
TriggerDevicePolicyEngineMigration(ctx context.Context, forceMigration bool) (bool, error)
IsDeviceFinanced(ctx context.Context, callerPackageName string) (bool, error)
GetFinancedDeviceKioskRoleHolder(ctx context.Context, callerPackageName string) (string, error)
CalculateHasIncompatibleAccounts(ctx context.Context) error
SetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string, policy int32) error
GetContentProtectionPolicy(ctx context.Context, who content.ComponentName, callerPackageName string) (int32, error)
GetSubscriptionIds(ctx context.Context, callerPackageName string) ([]int32, error)
SetMaxPolicyStorageLimit(ctx context.Context, packageName string, storageLimit int32) error
GetMaxPolicyStorageLimit(ctx context.Context, packageName string) (int32, error)
}
IDevicePolicyManagerServer is the server-side interface that user implementations provide to NewDevicePolicyManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IKeyguardCallback ¶
type IKeyguardCallback interface {
AsBinder() binder.IBinder
OnRemoteContentReady(ctx context.Context, surfacePackage view.SurfaceControlViewHostSurfacePackage) error
OnDismiss(ctx context.Context) error
}
func NewKeyguardCallbackStub ¶
func NewKeyguardCallbackStub( impl IKeyguardCallbackServer, ) IKeyguardCallback
NewKeyguardCallbackStub creates a server-side IKeyguardCallback wrapping the given server implementation. The returned value satisfies IKeyguardCallback 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 IKeyguardCallbackServer ¶
type IKeyguardCallbackServer interface {
OnRemoteContentReady(ctx context.Context, surfacePackage view.SurfaceControlViewHostSurfacePackage) error
OnDismiss(ctx context.Context) error
}
IKeyguardCallbackServer is the server-side interface that user implementations provide to NewKeyguardCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IKeyguardClient ¶
type IKeyguardClient interface {
AsBinder() binder.IBinder
OnCreateKeyguardSurface(ctx context.Context, hostInputToken binder.IBinder, keyguardCallback IKeyguardCallback) error
}
func NewKeyguardClientStub ¶
func NewKeyguardClientStub( impl IKeyguardClientServer, ) IKeyguardClient
NewKeyguardClientStub creates a server-side IKeyguardClient wrapping the given server implementation. The returned value satisfies IKeyguardClient 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 IKeyguardClientServer ¶
type IKeyguardClientServer interface {
OnCreateKeyguardSurface(ctx context.Context, hostInputToken binder.IBinder, keyguardCallback IKeyguardCallback) error
}
IKeyguardClientServer is the server-side interface that user implementations provide to NewKeyguardClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type KeyguardCallbackProxy ¶
func NewKeyguardCallbackProxy ¶
func NewKeyguardCallbackProxy( remote binder.IBinder, ) *KeyguardCallbackProxy
func (*KeyguardCallbackProxy) AsBinder ¶
func (p *KeyguardCallbackProxy) AsBinder() binder.IBinder
func (*KeyguardCallbackProxy) OnDismiss ¶
func (p *KeyguardCallbackProxy) OnDismiss( ctx context.Context, ) error
func (*KeyguardCallbackProxy) OnRemoteContentReady ¶
func (p *KeyguardCallbackProxy) OnRemoteContentReady( ctx context.Context, surfacePackage view.SurfaceControlViewHostSurfacePackage, ) error
type KeyguardCallbackStub ¶
type KeyguardCallbackStub struct {
Impl IKeyguardCallback
Transport binder.VersionAwareTransport
}
KeyguardCallbackStub dispatches incoming binder transactions to a typed IKeyguardCallback implementation.
func (*KeyguardCallbackStub) Descriptor ¶
func (s *KeyguardCallbackStub) Descriptor() string
func (*KeyguardCallbackStub) OnTransaction ¶
func (s *KeyguardCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type KeyguardClientProxy ¶
func NewKeyguardClientProxy ¶
func NewKeyguardClientProxy( remote binder.IBinder, ) *KeyguardClientProxy
func (*KeyguardClientProxy) AsBinder ¶
func (p *KeyguardClientProxy) AsBinder() binder.IBinder
func (*KeyguardClientProxy) OnCreateKeyguardSurface ¶
func (p *KeyguardClientProxy) OnCreateKeyguardSurface( ctx context.Context, hostInputToken binder.IBinder, keyguardCallback IKeyguardCallback, ) error
type KeyguardClientStub ¶
type KeyguardClientStub struct {
Impl IKeyguardClient
Transport binder.VersionAwareTransport
}
KeyguardClientStub dispatches incoming binder transactions to a typed IKeyguardClient implementation.
func (*KeyguardClientStub) Descriptor ¶
func (s *KeyguardClientStub) Descriptor() string
func (*KeyguardClientStub) OnTransaction ¶
func (s *KeyguardClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ManagedProfileProvisioningParams ¶
type ManagedProfileProvisioningParams struct {
OwnerName string
ProfileName string
LeaveAllSystemAppsEnabled bool
OrganizationOwnedProvisioning bool
KeepAccountOnMigration bool
}
func (*ManagedProfileProvisioningParams) MarshalParcel ¶
func (s *ManagedProfileProvisioningParams) MarshalParcel( p *parcel.Parcel, ) error
func (*ManagedProfileProvisioningParams) UnmarshalParcel ¶
func (s *ManagedProfileProvisioningParams) UnmarshalParcel( p *parcel.Parcel, ) error
type ManagedSubscriptionsPolicy ¶
type ManagedSubscriptionsPolicy struct {
PolicyType int32
}
func (*ManagedSubscriptionsPolicy) MarshalParcel ¶
func (s *ManagedSubscriptionsPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*ManagedSubscriptionsPolicy) UnmarshalParcel ¶
func (s *ManagedSubscriptionsPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type NetworkEvent ¶
type NetworkEvent struct {
}
func (*NetworkEvent) MarshalParcel ¶
func (s *NetworkEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*NetworkEvent) UnmarshalParcel ¶
func (s *NetworkEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type PackagePolicy ¶
type PackagePolicy struct {
PolicyType int32
}
func (*PackagePolicy) MarshalParcel ¶
func (s *PackagePolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*PackagePolicy) UnmarshalParcel ¶
func (s *PackagePolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelableGranteeMap ¶
type ParcelableGranteeMap struct {
}
func (*ParcelableGranteeMap) MarshalParcel ¶
func (s *ParcelableGranteeMap) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelableGranteeMap) UnmarshalParcel ¶
func (s *ParcelableGranteeMap) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelableResource ¶
type ParcelableResource struct {
ResourceId int32
PackageName string
ResourceName string
ResourceType int32
}
func (*ParcelableResource) MarshalParcel ¶
func (s *ParcelableResource) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelableResource) UnmarshalParcel ¶
func (s *ParcelableResource) UnmarshalParcel( p *parcel.Parcel, ) error
type PasswordMetrics ¶
type PasswordMetrics struct {
CredType int32
Length int32
Letters int32
UpperCase int32
LowerCase int32
Numeric int32
Symbols int32
NonLetter int32
NonNumeric int32
SeqLength int32
}
func (*PasswordMetrics) MarshalParcel ¶
func (s *PasswordMetrics) MarshalParcel( p *parcel.Parcel, ) error
func (*PasswordMetrics) UnmarshalParcel ¶
func (s *PasswordMetrics) UnmarshalParcel( p *parcel.Parcel, ) error
type PreferentialNetworkServiceConfig ¶
type PreferentialNetworkServiceConfig struct {
IsEnabled bool
AllowFallbackToDefaultConnection bool
ShouldBlockNonMatchingNetworks bool
NetworkId int32
}
func (*PreferentialNetworkServiceConfig) MarshalParcel ¶
func (s *PreferentialNetworkServiceConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*PreferentialNetworkServiceConfig) UnmarshalParcel ¶
func (s *PreferentialNetworkServiceConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type SecurityLogSecurityEvent ¶
type SecurityLogSecurityEvent struct {
}
func (*SecurityLogSecurityEvent) MarshalParcel ¶
func (s *SecurityLogSecurityEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*SecurityLogSecurityEvent) UnmarshalParcel ¶
func (s *SecurityLogSecurityEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type StartInstallingUpdateCallback ¶
type StartInstallingUpdateCallback interface {
AsBinder() binder.IBinder
OnStartInstallingUpdateError(ctx context.Context, errorCode int32, errorMessage string) error
}
func NewStartInstallingUpdateCallbackStub ¶
func NewStartInstallingUpdateCallbackStub( impl StartInstallingUpdateCallbackServer, ) StartInstallingUpdateCallback
NewStartInstallingUpdateCallbackStub creates a server-side StartInstallingUpdateCallback wrapping the given server implementation. The returned value satisfies StartInstallingUpdateCallback 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 StartInstallingUpdateCallbackProxy ¶
func NewStartInstallingUpdateCallbackProxy ¶
func NewStartInstallingUpdateCallbackProxy( remote binder.IBinder, ) *StartInstallingUpdateCallbackProxy
func (*StartInstallingUpdateCallbackProxy) AsBinder ¶
func (p *StartInstallingUpdateCallbackProxy) AsBinder() binder.IBinder
func (*StartInstallingUpdateCallbackProxy) OnStartInstallingUpdateError ¶
type StartInstallingUpdateCallbackServer ¶
type StartInstallingUpdateCallbackServer interface {
OnStartInstallingUpdateError(ctx context.Context, errorCode int32, errorMessage string) error
}
StartInstallingUpdateCallbackServer is the server-side interface that user implementations provide to NewStartInstallingUpdateCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type StartInstallingUpdateCallbackStub ¶
type StartInstallingUpdateCallbackStub struct {
Impl StartInstallingUpdateCallback
Transport binder.VersionAwareTransport
}
StartInstallingUpdateCallbackStub dispatches incoming binder transactions to a typed StartInstallingUpdateCallback implementation.
func (*StartInstallingUpdateCallbackStub) Descriptor ¶
func (s *StartInstallingUpdateCallbackStub) Descriptor() string
func (*StartInstallingUpdateCallbackStub) OnTransaction ¶
func (s *StartInstallingUpdateCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SystemUpdateInfo ¶
type SystemUpdateInfo struct {
}
func (*SystemUpdateInfo) MarshalParcel ¶
func (s *SystemUpdateInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*SystemUpdateInfo) UnmarshalParcel ¶
func (s *SystemUpdateInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type SystemUpdatePolicy ¶
type SystemUpdatePolicy struct {
PolicyType int32
MaintenanceWindowStart int32
MaintenanceWindowEnd int32
FreezeCount int32
}
func (*SystemUpdatePolicy) MarshalParcel ¶
func (s *SystemUpdatePolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*SystemUpdatePolicy) UnmarshalParcel ¶
func (s *SystemUpdatePolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type WifiSsidPolicy ¶
type WifiSsidPolicy struct {
PolicyType int32
}
func (*WifiSsidPolicy) MarshalParcel ¶
func (s *WifiSsidPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*WifiSsidPolicy) UnmarshalParcel ¶
func (s *WifiSsidPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- connectevent.go
- devicepolicydrawableresource.go
- devicepolicystate.go
- devicepolicystringresource.go
- dnsevent.go
- enforcingadmin.go
- factoryresetprotectionpolicy.go
- fullymanageddeviceprovisioningparams.go
- get_device_policy.go
- iauditlogeventscallback.go
- ideviceadminservice.go
- idevicepolicymanager.go
- ikeyguardcallback.go
- ikeyguardclient.go
- managedprofileprovisioningparams.go
- managedsubscriptionspolicy.go
- networkevent.go
- packagepolicy.go
- parcelablegranteemap.go
- parcelableresource.go
- passwordmetrics.go
- preferentialnetworkserviceconfig.go
- securitylog.securityevent.go
- startinstallingupdatecallback.go
- systemupdateinfo.go
- systemupdatepolicy.go
- wifissidpolicy.go