Searched defs:policies (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libmedia/
H A DIResourceManagerService.cpp66 virtual void config(const Vector<MediaResourcePolicy> &policies) { argument
69 writeToParcel(&data, policies);
123 Vector<MediaResourcePolicy> policies; local
124 readFromParcel(data, &policies);
125 config(policies);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java40 * about which policies can coexist. This editor offers thread safety when
46 // TODO: be more robust when missing policies from service
58 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies();
62 for (NetworkPolicy policy : policies) {
76 // when we cleaned policies above, write back changes
82 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]);
86 write(policies);
92 public void write(NetworkPolicy[] policies) { argument
93 mPolicyManager.setNetworkPolicies(policies);
227 // Remove legacy unquoted policies whil
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java198 public void setNetworkPolicies(NetworkPolicy[] policies) { argument
200 mService.setNetworkPolicies(policies);
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp183 void ResourceManagerService::config(const Vector<MediaResourcePolicy> &policies) { argument
184 String8 log = String8::format("config(%s)", getString(policies).string());
188 for (size_t i = 0; i < policies.size(); ++i) {
189 String8 type = policies[i].mType;
190 String8 value = policies[i].mValue;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java804 private void setNetworkPolicies(NetworkPolicy... policies) { argument
805 mService.setNetworkPolicies(policies);
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp212 Vector<MediaResourcePolicy> policies; local
215 policies.push_back(
221 policies.push_back(
226 if (policies.size() > 0) {
233 service->config(policies);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java213 * as network policies).
320 /** Defined network policies. */
325 /** Defined UID policies. */
956 // ignore policies that aren't relevant to user
1268 // quickly compare them against all defined policies below.
1292 // Apply policies against all connected interfaces found above
1369 // keep track of lowest warning or limit of active policies
1638 // write all known network policies
1665 // write all known uid policies
1670 // skip writing empty policies
1904 setNetworkPolicies(NetworkPolicy[] policies) argument
1960 normalizePoliciesNL(NetworkPolicy[] policies) argument
[all...]

Completed in 4206 milliseconds