Home
last modified time | relevance | path

Searched refs:policies (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libmedia/
DIResourceManagerService.cpp66 virtual void config(const Vector<MediaResourcePolicy> &policies) { in config() argument
69 writeToParcel(&data, policies); in config()
123 Vector<MediaResourcePolicy> policies; in onTransact() local
124 readFromParcel(data, &policies); in onTransact()
125 config(policies); in onTransact()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java61 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in read() local
65 for (NetworkPolicy policy : policies) { in read()
85 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]); in writeAsync() local
89 write(policies); in writeAsync()
95 public void write(NetworkPolicy[] policies) { in write() argument
96 mPolicyManager.setNetworkPolicies(policies); in write()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java181 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); in findNetworkPolicy()
182 if (policies == null) return null; in findNetworkPolicy()
183 final int N = policies.length; in findNetworkPolicy()
185 final NetworkPolicy policy = policies[i]; in findNetworkPolicy()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java126 List<Policy> policies = new ArrayList<>(); in readInstallPolicy() local
149 policies.add(readSignerOrThrow(parser)); in readInstallPolicy()
175 Collections.sort(policies, policySort); in readInstallPolicy()
183 sPolicies.addAll(policies); in readInstallPolicy()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp211 void ResourceManagerService::config(const Vector<MediaResourcePolicy> &policies) { in config() argument
212 String8 log = String8::format("config(%s)", getString(policies).string()); in config()
216 for (size_t i = 0; i < policies.size(); ++i) { in config()
217 String8 type = policies[i].mType; in config()
218 String8 value = policies[i].mValue; in config()
DResourceManagerService.h60 virtual void config(const Vector<MediaResourcePolicy> &policies);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java853 NetworkPolicy[] policies = networkPolicyManager.getNetworkPolicies(); in getNetworkPolicies() local
855 if (policies != null && policies.length != 0) { in getNetworkPolicies()
859 out.writeInt(policies.length); in getNetworkPolicies()
860 for (NetworkPolicy policy : policies) { in getNetworkPolicies()
904 NetworkPolicy[] policies = new NetworkPolicy[length]; in restoreNetworkPolicies() local
911 policies[i] = NetworkPolicy.getNetworkPolicyFromBackup( in restoreNetworkPolicies()
915 networkPolicyManager.setNetworkPolicies(policies); in restoreNetworkPolicies()
/frameworks/av/media/libmedia/include/media/
DIResourceManagerService.h38 virtual void config(const Vector<MediaResourcePolicy> &policies) = 0;
/frameworks/av/include/media/
DIResourceManagerService.h38 virtual void config(const Vector<MediaResourcePolicy> &policies) = 0;
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl44 void setNetworkPolicies(in NetworkPolicy[] policies); in setNetworkPolicies() argument
DNetworkPolicyManager.java216 public void setNetworkPolicies(NetworkPolicy[] policies) { in setNetworkPolicies() argument
218 mService.setNetworkPolicies(policies); in setNetworkPolicies()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1637 NetworkPolicy[] policies = new NetworkPolicy[3]; in testSetNetworkPolicies_withNullPolicies_doesNotThrow() local
1638 policies[1] = buildDefaultFakeMobilePolicy(); in testSetNetworkPolicies_withNullPolicies_doesNotThrow()
1639 setNetworkPolicies(policies); in testSetNetworkPolicies_withNullPolicies_doesNotThrow()
1699 NetworkPolicy[] policies = mService.getNetworkPolicies( in assertNetworkPolicyEquals() local
1701 assertEquals("Unexpected number of network policies", 1, policies.length); in assertNetworkPolicyEquals()
1702 NetworkPolicy actualPolicy = policies[0]; in assertNetworkPolicyEquals()
1712 private void setNetworkPolicies(NetworkPolicy... policies) { in setNetworkPolicies() argument
1713 mService.setNetworkPolicies(policies); in setNetworkPolicies()
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc30policies differ significantly from other platforms. In particular, Android does not allow loading …
38 …he application's knowledge or consent. These violate Android's security policies and will not be s…
42 … Android N and later, because this location is writable by adb, SELinux policies prevent mapping c…
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java295 final NetworkPolicy[] policies = mNPM.getNetworkPolicies(); in getUserPolicyOpportunisticQuotaBytes() local
296 for (NetworkPolicy policy : policies) { in getUserPolicyOpportunisticQuotaBytes()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2654 public void setNetworkPolicies(NetworkPolicy[] policies) { in setNetworkPolicies() argument
2661 normalizePoliciesNL(policies); in setNetworkPolicies()
2671 NetworkPolicy[] policies = getNetworkPolicies(mContext.getOpPackageName()); in addNetworkPolicyAL() local
2672 policies = ArrayUtils.appendElement(NetworkPolicy.class, policies, policy); in addNetworkPolicyAL()
2673 setNetworkPolicies(policies); in addNetworkPolicyAL()
2694 final NetworkPolicy[] policies = new NetworkPolicy[size]; in getNetworkPolicies() local
2696 policies[i] = mNetworkPolicy.valueAt(i); in getNetworkPolicies()
2698 return policies; in getNetworkPolicies()
2706 private void normalizePoliciesNL(NetworkPolicy[] policies) { in normalizePoliciesNL() argument
2708 for (NetworkPolicy policy : policies) { in normalizePoliciesNL()
[all …]