Home
last modified time | relevance | path

Searched defs:policies (Results 1 – 25 of 43) 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.java66 int policies) { in MediaSession2Record()
190 public void setSessionPolicies(int policies) { in setSessionPolicies()
DMediaSessionRecordImpl.java174 public abstract void setSessionPolicies(@SessionPolicy int policies); in setSessionPolicies()
DMediaSessionRecord.java295 int policies) in MediaSessionRecord()
724 public void setSessionPolicies(int policies) { in setSessionPolicies()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java194 int[] policies = mCpuScalingPolicies.getPolicies(); in initPowerBracketsByCluster() local
222 int[] policies = mCpuScalingPolicies.getPolicies(); in initDefaultPowerBrackets() local
298 int[] policies = mCpuScalingPolicies.getPolicies(); in getCpuPowerBracketDescription() local
DSystemServicePowerCalculator.java50 int[] policies = cpuScalingPolicies.getPolicies(); in SystemServicePowerCalculator() local
DCpuPowerStatsProcessor.java82 int[] policies = scalingPolicies.getPolicies(); in CpuPowerStatsProcessor() local
219 int[] policies = mCpuScalingPolicies.getPolicies(); in initEnergyConsumerToPowerBracketMaps() local
/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/base/services/core/java/com/android/server/om/
DIdmapDaemon.java131 @Nullable String overlayName, int policies, boolean enforce, int userId) in createIdmap()
161 @Nullable String overlayName, int policies, boolean enforce, int userId) in verifyIdmap()
DIdmapManager.java112 int policies = calculateFulfilledPolicies(targetPackage, overlayPackageState, in createIdmap() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataSettingsManagerTest.java93 Set<Integer> policies = mDataSettingsManagerUT.getMobileDataPolicyEnabled("1, 2"); in testMobileDataPolicyParsing() local
/frameworks/base/core/jni/
Dcom_android_internal_content_om_OverlayConfig.cpp33 jobjectArray overlayPath, jobjectArray policies, in createIdmap()
/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/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl44 void config(in MediaResourcePolicyParcel[] policies); in config()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/
DPolicyRequestProcessor.kt51 private val policies: List<CapturePolicy>, in <lambda>() constant in com.android.systemui.screenshot.policy.PolicyRequestProcessor
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl52 void setNetworkPolicies(in NetworkPolicy[] policies); in setNetworkPolicies()
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl82 void setSessionPolicies(in MediaSession.Token token, int policies); in setSessionPolicies()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2635 NetworkPolicy[] policies = mService.getNetworkPolicies( in testStartToSupportCarrierUsagePolicy() local
2651 NetworkPolicy[] policies = mService.getNetworkPolicies( in testSupportedCarrierUsagePolicy() local
2758 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals() local
2771 private void setNetworkPolicies(NetworkPolicy... policies) { in setNetworkPolicies()

12