Home
last modified time | relevance | path

Searched defs:enforce (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DTestablePermissions.java69 public void enforce(String permission) { in enforce() method in TestablePermissions
75 public void enforce(Uri uri, int modeFlags) { in enforce() method in TestablePermissions
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1780 public static boolean checkPermissionAndAppOp(Context context, boolean enforce, int pid, in checkPermissionAndAppOp()
1790 public static boolean checkPermissionAndCheckOp(Context context, boolean enforce, in checkPermissionAndCheckOp()
1800 private static boolean checkPermissionAndAppOp(Context context, boolean enforce, int pid, in checkPermissionAndAppOp()
1847 private boolean checkPermissionAndAppOp(boolean enforce, int pid, int uid, String packageName, in checkPermissionAndAppOp()
1853 private boolean noteAppOpAllowingLegacy(boolean enforce, in noteAppOpAllowingLegacy()
1885 public boolean checkPermissionReadAudio(boolean enforce, in checkPermissionReadAudio()
1896 public boolean checkPermissionWriteAudio(boolean enforce, in checkPermissionWriteAudio()
1907 public boolean checkPermissionReadVideo(boolean enforce, in checkPermissionReadVideo()
1918 public boolean checkPermissionWriteVideo(boolean enforce, in checkPermissionWriteVideo()
1929 public boolean checkPermissionReadImages(boolean enforce, in checkPermissionReadImages()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java124 @Nullable String overlayName, int policies, boolean enforce, int userId) in createIdmap()
154 @Nullable String overlayName, int policies, boolean enforce, int userId) in verifyIdmap()
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java110 public void enforce(long changeId, String packageName) in enforce() method in OverrideAllowedState
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp267 media_status_t MediaSampleReaderNDK::setEnforceSequentialAccess(bool enforce) { in setEnforceSequentialAccess()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java447 int policies, boolean enforce, int userId) { in createIdmap()
460 boolean enforce, int userId) { in verifyIdmap()
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp151 void setEnforceSequentialAccess(bool enforce) { in setEnforceSequentialAccess()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1898 private void setVpnForcedLocked(boolean enforce) { in setVpnForcedLocked()
1956 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRangeParcel> ranges) { in setAllowOnlyVpnForUids()
/frameworks/base/core/java/android/app/
DContextImpl.java2232 private void enforce( in enforce() method in ContextImpl