Home
last modified time | relevance | path

Searched defs:policies (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/cmds/idmap2/libidmap2/
DPolicyUtils.cpp30 Result<PolicyBitmask> PoliciesToBitmaskResult(const std::vector<std::string>& policies) { in PoliciesToBitmaskResult()
52 std::vector<std::string> policies; in BitmaskToPolicies() local
DResourceMapping.cpp39 std::string ConcatPolicies(const std::vector<std::string>& policies) { in ConcatPolicies()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DPolicyVersionUpgraderTest.java301 Document policies = readPolicies(ownerUser); in assertAdminSuspendedPackages() local
327 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningSetToFalse4To5() local
346 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningIsToFalse4To6() local
369 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningIsToFalse3To6() local
389 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningMissingInV5() local
407 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningTrueInV5() local
425 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningFalseInV5() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java59 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in read() local
83 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]); in writeAsync() local
93 public void write(NetworkPolicy[] policies) { in write()
/frameworks/base/cmds/idmap2/libidmap2_policies/include/idmap2/
DPolicies.h58 inline static std::string PoliciesToDebugString(PolicyBitmask policies) { in PoliciesToDebugString()
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp55 std::vector<std::string> policies; in Create() local
DCreateMultiple.cpp56 std::vector<std::string> policies; in CreateMultiple() local
/frameworks/base/services/core/java/com/android/server/media/
DMediaSession2Record.java58 Looper handlerLooper, int policies) { in MediaSession2Record()
162 public void setSessionPolicies(int policies) { in setSessionPolicies()
DMediaSessionRecordImpl.java150 void setSessionPolicies(@SessionPolicy int policies); in setSessionPolicies()
DMediaSessionRecord.java211 MediaSessionService service, Looper handlerLooper, int policies) in MediaSessionRecord()
553 public void setSessionPolicies(int policies) { in setSessionPolicies()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyState.java42 public DevicePolicyState(Map<UserHandle, Map<PolicyKey, PolicyState<?>>> policies) { in DevicePolicyState()
DPolicyState.java78 LinkedHashMap<EnforcingAdmin, V> policies = new LinkedHashMap<>(); in getPoliciesSetByAdmins() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataSettingsManagerTest.java89 Set<Integer> policies = mDataSettingsManagerUT.getMobileDataPolicyEnabled("1, 2"); in testMobileDataPolicyParsing() local
/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()
DIdmapManager.java112 int policies = calculateFulfilledPolicies(targetPackage, overlayPackageState, in createIdmap() local
/frameworks/base/core/jni/
Dcom_android_internal_content_om_OverlayConfig.cpp33 jobjectArray overlayPath, jobjectArray policies, in createIdmap()
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl44 void config(in MediaResourcePolicyParcel[] policies); in config()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java483 int policies, boolean enforce, int userId) { in createIdmap()
495 boolean verifyIdmap(String targetPath, String overlayPath, String overlayName, int policies, in verifyIdmap()
542 final int policies; field in OverlayManagerServiceImplTestsBase.FakeIdmapDaemon.IdmapHeader
546 String overlayName, int policies, boolean enforceOverlayable) { in IdmapHeader()
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl46 void setNetworkPolicies(in NetworkPolicy[] policies); in setNetworkPolicies()
DNetworkPolicyManager.java434 public void setNetworkPolicies(NetworkPolicy[] policies) { in setNetworkPolicies()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2162 NetworkPolicy[] policies = mService.getNetworkPolicies( in testStartToSupportCarrierUsagePolicy() local
2178 NetworkPolicy[] policies = mService.getNetworkPolicies( in testSupportedCarrierUsagePolicy() local
2285 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals() local
2298 private void setNetworkPolicies(NetworkPolicy... policies) { in setNetworkPolicies()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyEngine.java804 Map<PolicyKey, PolicyState<?>> policies, in getUserRestrictionPolicyKeysForAdminLocked()
893 Map<PolicyKey, PolicyState<?>> policies, PolicyDefinition<V> policyDefinition) { in getPolicyStateLocked()
1144 LinkedHashMap<EnforcingAdmin, PolicyValue<ComponentName>> policies = in removePersistentPreferredActivityPoliciesForPackage() local
1269 Map<UserHandle, Map<PolicyKey, android.app.admin.PolicyState<?>>> policies = in getDevicePolicyState() local
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl82 void setSessionPolicies(in MediaSession.Token token, int policies); in setSessionPolicies()
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java478 @NonNull String[] overlayPath, @NonNull String[] policies, boolean enforceOverlayable); in createIdmap()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java167 List<Policy> policies = new ArrayList<>(); in readInstallPolicy() local

12