Home
last modified time | relevance | path

Searched refs:newPackageState (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/permission/
DNativePermissionController.cpp72 Status NativePermissionController::updatePackagesForUid(const UidPackageState& newPackageState) { in updatePackagesForUid() argument
74 package_map_.insert_or_assign(newPackageState.uid, newPackageState.packageNames); in updatePackagesForUid()
75 const auto& cursor = package_map_.find(newPackageState.uid); in updatePackagesForUid()
77 if (newPackageState.packageNames.empty()) { in updatePackagesForUid()
83 cursor->second = newPackageState.packageNames; in updatePackagesForUid()
85 package_map_.insert({newPackageState.uid, newPackageState.packageNames}); in updatePackagesForUid()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionDefinitionsTest.kt341 val newPackageState = mockPackageState( in testPermissionChanged() constant
345 addPackageState(newPackageState, newState) in testPermissionChanged()
346 testAction(newPackageState) in testPermissionChanged()
416 val newPackageState = mockPackageState(APP_ID_0, mockAndroidPackage(PACKAGE_NAME_0)) in testPermissionDeclaration() constant
417 addPackageState(newPackageState, newState) in testPermissionDeclaration()
418 testAction(newPackageState) in testPermissionDeclaration()
442 val newPackageState = mockPackageState(APP_ID_0, mockSimpleAndroidPackage()) in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked() constant
443 addPackageState(newPackageState, newState) in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked()
444 testAction(newPackageState) in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked()
584 val newPackageState = mockPackageState( in testRevokePermissionsOnPackageUpdate() constant
[all …]
/frameworks/av/aidl/com/android/media/permission/
DINativePermissionController.aidl36 void updatePackagesForUid(in UidPackageState newPackageState); in updatePackagesForUid() argument
/frameworks/av/services/audiopolicy/permission/include/media/
DNativePermissionController.h36 Status updatePackagesForUid(const UidPackageState& newPackageState) final;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java5907 final PackageStateInternal newPackageState = in setApplicationHiddenSettingAsUser() local
5911 killApplication(packageName, newPackageState.getAppId(), userId, "hiding pkg", in setApplicationHiddenSettingAsUser()
5914 packageName, newPackageState, userId, in setApplicationHiddenSettingAsUser()
5918 newSnapshot, packageName, newPackageState, userId, in setApplicationHiddenSettingAsUser()