Home
last modified time | relevance | path

Searched defs:permName (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInterface.java80 PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo()
137 void removePermission(String permName); in removePermission()
148 int getPermissionFlags(String packageName, String permName, String deviceId, in getPermissionFlags()
162 void updatePermissionFlags(String packageName, String permName, int flagMask, int flagValues, in updatePermissionFlags()
190 @NonNull String permName, @PackageManager.PermissionWhitelistFlags int flags, in addAllowlistedRestrictedPermission()
283 @NonNull String permName, @PackageManager.PermissionWhitelistFlags int flags, in removeAllowlistedRestrictedPermission()
303 void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission()
325 void revokeRuntimePermission(String packageName, String permName, String deviceId, in revokeRuntimePermission()
349 boolean shouldShowRequestPermissionRationale(String packageName, String permName, in shouldShowRequestPermissionRationale()
364 boolean isPermissionRevokedByPolicy(String packageName, String permName, in isPermissionRevokedByPolicy()
[all …]
DPermissionManagerServiceTracingDecorator.java120 public PermissionInfo getPermissionInfo(@NonNull String permName, int flags, in getPermissionInfo()
152 public void removePermission(String permName) { in removePermission()
162 public int getPermissionFlags(String packageName, String permName, String deviceId, in getPermissionFlags()
173 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags()
221 @NonNull String permName, int flags, int userId) { in addAllowlistedRestrictedPermission()
246 @NonNull String permName, int flags, int userId) { in removeAllowlistedRestrictedPermission()
258 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission()
270 public void revokeRuntimePermission(String packageName, String permName, String deviceId, in revokeRuntimePermission()
293 public boolean shouldShowRequestPermissionRationale(String packageName, String permName, in shouldShowRequestPermissionRationale()
306 public boolean isPermissionRevokedByPolicy(String packageName, String permName, String deviceId, in isPermissionRevokedByPolicy()
[all …]
DPermissionManagerServiceLoggingDecorator.java97 public PermissionInfo getPermissionInfo(@NonNull String permName, int flags, in getPermissionInfo()
118 public void removePermission(String permName) { in removePermission()
124 public int getPermissionFlags(String packageName, String permName, String deviceId, in getPermissionFlags()
132 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags()
164 @NonNull String permName, int flags, int userId) { in addAllowlistedRestrictedPermission()
180 @NonNull String permName, int flags, int userId) { in removeAllowlistedRestrictedPermission()
187 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission()
195 public void revokeRuntimePermission(String packageName, String permName, String deviceId, in revokeRuntimePermission()
211 public boolean shouldShowRequestPermissionRationale(String packageName, String permName, in shouldShowRequestPermissionRationale()
221 public boolean isPermissionRevokedByPolicy(String packageName, String permName, String deviceId, in isPermissionRevokedByPolicy()
[all …]
DPermissionManagerServiceImpl.java568 public PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo()
678 public void removePermission(String permName) { in removePermission()
701 public int getPermissionFlags(String packageName, String permName, String deviceId, in getPermissionFlags()
708 String packageName, String permName, int callingUid, int userId) { in getPermissionFlagsInternal()
744 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags()
773 private void updatePermissionFlagsInternal(String packageName, String permName, int flagMask, in updatePermissionFlagsInternal()
929 private int checkPermission(String pkgName, String permName, int userId) { in checkPermission()
935 public int checkPermission(String pkgName, String permName, String deviceId, int userId) { in checkPermission()
1001 private int checkUidPermission(int uid, String permName) { in checkUidPermission()
1006 public int checkUidPermission(int uid, String permName, String deviceId) { in checkUidPermission()
[all …]
DPermissionManagerServiceTestingShim.java114 public PermissionInfo getPermissionInfo(@NonNull String permName, int flags, in getPermissionInfo()
151 public void removePermission(String permName) { in removePermission()
157 public int getPermissionFlags(String packageName, String permName, String deviceId, in getPermissionFlags()
169 public void updatePermissionFlags(String packageName, String permName, int flagMask, in updatePermissionFlags()
198 @NonNull String permName, int flags, int userId) { in addAllowlistedRestrictedPermission()
227 @NonNull String permName, int flags, int userId) { in removeAllowlistedRestrictedPermission()
240 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission()
247 public void revokeRuntimePermission(String packageName, String permName, String deviceId, in revokeRuntimePermission()
261 public boolean shouldShowRequestPermissionRationale(String packageName, String permName, in shouldShowRequestPermissionRationale()
275 public boolean isPermissionRevokedByPolicy(String packageName, String permName, String deviceId, in isPermissionRevokedByPolicy()
[all …]
DPermissionManagerServiceInternal.java165 Permission getPermissionTEMP(@NonNull String permName); in getPermissionTEMP()
DPermissionManagerService.java830 public Permission getPermissionTEMP(String permName) { in getPermissionTEMP()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java145 public PermissionInfo getPermissionInfo(@NonNull String permName, int flags) in getPermissionInfo()
242 public int checkPermission(@NonNull String permName, @NonNull String packageName) { in checkPermission()
247 public boolean isPermissionRevokedByPolicy(@NonNull String permName, in isPermissionRevokedByPolicy()
263 public void removePermission(@NonNull String permName) { in removePermission()
268 public void grantRuntimePermission(@NonNull String packageName, @NonNull String permName, in grantRuntimePermission()
274 public void revokeRuntimePermission(@NonNull String packageName, @NonNull String permName, in revokeRuntimePermission()
280 public int getPermissionFlags(@NonNull String permName, @NonNull String packageName, in getPermissionFlags()
286 public void updatePermissionFlags(@NonNull String permName, @NonNull String packageName, in updatePermissionFlags()
292 public boolean shouldShowRequestPermissionRationale(@NonNull String permName) { in shouldShowRequestPermissionRationale()
/frameworks/base/core/java/android/permission/
DPermissionManager.java1862 final String permName; field in PermissionManager.PackageNamePermissionQuery
1868 PackageNamePermissionQuery(@Nullable String permName, @Nullable String pkgName, in PackageNamePermissionQuery()
1909 String permName, String pkgName, String persistentDeviceId, @UserIdInt int userId) { in checkPackageNamePermissionUncached()
1939 public int checkPackageNamePermission(String permName, String pkgName, in checkPackageNamePermission()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java445 public PermissionInfo getPermissionInfo(String permName, int flags) in getPermissionInfo()
845 public int checkPermission(String permName, String pkgName) { in checkPermission()
851 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
904 public void revokeRuntimePermission(String packageName, String permName, UserHandle user) { in revokeRuntimePermission()
909 public void revokeRuntimePermission(String packageName, String permName, UserHandle user, in revokeRuntimePermission()
915 public int getPermissionFlags(String permName, String packageName, UserHandle user) { in getPermissionFlags()
920 public void updatePermissionFlags(String permName, String packageName, in updatePermissionFlags()
934 @NonNull String permName, @PermissionWhitelistFlags int flags) { in addWhitelistedRestrictedPermission()
951 @NonNull String permName, @PermissionWhitelistFlags int flags) { in removeWhitelistedRestrictedPermission()
958 public boolean shouldShowRequestPermissionRationale(String permName) { in shouldShowRequestPermissionRationale()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java225 public final int checkPermission(String permName, String pkgName, int userId) { in checkPermission()
237 public final int checkUidPermission(String permName, int uid) { in checkUidPermission()
865 public final void grantRuntimePermission(String packageName, String permName, in grantRuntimePermission()
1110 public final void removePermission(String permName) { in removePermission()
DComputer.java288 int checkUidPermission(String permName, int uid); in checkUidPermission()
DComputerEngine.java2697 public final int checkUidPermission(String permName, int uid) { in checkUidPermission()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java6013 public abstract PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo()
6518 public abstract int checkPermission(@NonNull String permName, in checkPermission()
6535 public abstract boolean isPermissionRevokedByPolicy(@NonNull String permName, in isPermissionRevokedByPolicy()
6626 public abstract void removePermission(@NonNull String permName); in removePermission()
6682 @NonNull String permName, @NonNull UserHandle user); in grantRuntimePermission()
6710 @NonNull String permName, @NonNull UserHandle user); in revokeRuntimePermission()
6738 @NonNull String permName, @NonNull UserHandle user, @NonNull String reason) { in revokeRuntimePermission()
6761 public abstract int getPermissionFlags(@NonNull String permName, in getPermissionFlags()
6783 public abstract void updatePermissionFlags(@NonNull String permName, in updatePermissionFlags()
6902 @NonNull String permName, @PermissionWhitelistFlags int whitelistFlags) { in addWhitelistedRestrictedPermission()
[all …]
DIPackageManager.aidl789 int checkPermission(String permName, String pkgName, int userId); in checkPermission()
799 int checkUidPermission(String permName, int uid); in checkUidPermission()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java266 public int checkPermission(String permName, String pkgName) { in checkPermission()
271 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java209 public int checkPermission(String permName, String pkgName) { in checkPermission()
214 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java236 public int checkPermission(String permName, String pkgName) { in checkPermission()
246 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java2193 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermGained() local
2223 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermLost() local
/frameworks/base/core/java/android/content/
DContext.java7173 public void revokeSelfPermissionOnKill(@NonNull String permName) { in revokeSelfPermissionOnKill()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...