Home
last modified time | relevance | path

Searched refs:enforce (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java131 @Nullable String overlayName, int policies, boolean enforce, int userId) in createIdmap() argument
138 + enforce + ", " + userId + ")"); in createIdmap()
143 policies, enforce, userId); in createIdmap()
161 @Nullable String overlayName, int policies, boolean enforce, int userId) in verifyIdmap() argument
168 + enforce + ", " + userId + ")"); in verifyIdmap()
173 policies, enforce, userId); in verifyIdmap()
DIdmapManager.java114 boolean enforce = enforceOverlayable(overlayPackageState, overlayPackage); in createIdmap()
116 enforce, userId)) { in createIdmap()
120 overlayName, policies, enforce, userId) != null; in createIdmap()
/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
DTestableContext.java429 mTestablePermissions.enforce(permission); in enforceCallingOrSelfPermission()
438 mTestablePermissions.enforce(permission); in enforceCallingPermission()
447 mTestablePermissions.enforce(permission); in enforcePermission()
472 mTestablePermissions.enforce(uri, modeFlags); in enforceCallingOrSelfUriPermission()
506 mTestablePermissions.enforce(uri, modeFlags); in enforceCallingUriPermission()
515 mTestablePermissions.enforce(uri, modeFlags); in enforceUriPermission()
525 mTestablePermissions.enforce(uri, modeFlags); in enforceUriPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DSaferIntentUtils.java220 final boolean enforce = Flags.blockNullActionIntents() in blockNullAction()
249 UNSAFE_INTENT_EVENT_REPORTED__EVENT_TYPE__NULL_ACTION_MATCH, enforce); in blockNullAction()
250 if (enforce) { in blockNullAction()
369 final boolean enforce = in filterNonExportedComponents()
387 if (!enforce) { in filterNonExportedComponents()
396 enforce); in filterNonExportedComponents()
/frameworks/base/tests/EnforcePermission/service-app/
DAndroid.bp29 ":frameworks-enforce-permission-test-aidl",
37 ":frameworks-enforce-permission-test-aidl",
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp267 media_status_t MediaSampleReaderNDK::setEnforceSequentialAccess(bool enforce) { in setEnforceSequentialAccess() argument
268 LOG(DEBUG) << "setEnforceSequentialAccess( " << enforce << " )"; in setEnforceSequentialAccess()
272 if (mEnforceSequentialAccess && !enforce) { in setEnforceSequentialAccess()
278 } else if (!mEnforceSequentialAccess && enforce && mExtractorTrackIndex >= 0) { in setEnforceSequentialAccess()
316 mEnforceSequentialAccess = enforce; in setEnforceSequentialAccess()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1795 public static boolean checkPermissionAndAppOp(Context context, boolean enforce, int pid, in checkPermissionAndAppOp() argument
1797 return checkPermissionAndAppOp(context, enforce, pid, uid, packageName, featureId, in checkPermissionAndAppOp()
1805 public static boolean checkPermissionAndCheckOp(Context context, boolean enforce, in checkPermissionAndCheckOp() argument
1807 return checkPermissionAndAppOp(context, enforce, pid, uid, packageName, in checkPermissionAndCheckOp()
1815 private static boolean checkPermissionAndAppOp(Context context, boolean enforce, int pid, in checkPermissionAndAppOp() argument
1819 if (enforce) { in checkPermissionAndAppOp()
1835 if (enforce) { in checkPermissionAndAppOp()
1849 if (enforce) { in checkPermissionAndAppOp()
1862 private boolean checkPermissionAndAppOp(boolean enforce, int pid, int uid, String packageName, in checkPermissionAndAppOp() argument
1864 return checkPermissionAndAppOp(mContext, enforce, pid, uid, packageName, featureId, in checkPermissionAndAppOp()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaSampleReader.h85 virtual media_status_t setEnforceSequentialAccess(bool enforce) = 0;
DMediaSampleReaderNDK.h52 media_status_t setEnforceSequentialAccess(bool enforce) override;
/frameworks/base/tests/EnforcePermission/
DAndroid.bp21 name: "frameworks-enforce-permission-test-aidl",
/frameworks/base/tests/EnforcePermission/test-app/
DAndroid.bp24 ":frameworks-enforce-permission-test-aidl",
/frameworks/base/tests/EnforcePermission/perf-app/
DAndroid.bp24 ":frameworks-enforce-permission-test-aidl",
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java110 public void enforce(long changeId, String packageName) in enforce() method in OverrideAllowedState
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java483 int policies, boolean enforce, int userId) { in createIdmap() argument
485 getCrc(overlayPath), targetPath, overlayName, policies, enforce)); in createIdmap()
496 boolean enforce, int userId) { in verifyIdmap() argument
502 enforce); in verifyIdmap()
/frameworks/opt/telephony/flags/
Dsubscription.aconfig18 …description: "Enabled flag means subscriptions enforce filtering result base on calling user handl…
/frameworks/libs/modules-utils/build/
DAndroid.bp26 // dependency to enforce that.
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp151 void setEnforceSequentialAccess(bool enforce) { in setEnforceSequentialAccess() argument
152 media_status_t status = mSampleReader->setEnforceSequentialAccess(enforce); in setEnforceSequentialAccess()
/frameworks/proto_logging/stats/atoms/devicelock/
Ddevicelock_extension_atoms.proto97 // Failed due to unable to enforce policies
/frameworks/base/services/core/java/com/android/server/compat/
DCompatChange.java223 allowedState.enforce(getId(), pname); in removePackageOverride()
DCompatConfig.java343 allowedState.enforce(changeId, packageName); in addOverrideUnsafe()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Dsysui.md41 As a result, we enforce explicit interfaces between SysUI and Shell components, and the
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DImmutable.md54 Java/Kotlin collection interfaces, so that we can enforce that a number of standard Java/Kotlin
64 In order to leverage the type system to enforce immutability, the core idea is to have both an
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp176 media_status_t setEnforceSequentialAccess(bool enforce __unused) override { return AMEDIA_OK; } in setEnforceSequentialAccess()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java2044 private void setVpnForcedLocked(boolean enforce) { in setVpnForcedLocked() argument
2054 if (enforce) { in setVpnForcedLocked()
2102 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRangeParcel> ranges) { in setAllowOnlyVpnForUids() argument
2112 mConnectivityManager.setRequireVpnForUids(enforce, integerRanges); in setAllowOnlyVpnForUids()
2114 Log.e(TAG, "Updating blocked=" + enforce in setAllowOnlyVpnForUids()
2118 if (enforce) { in setAllowOnlyVpnForUids()

12