/frameworks/av/services/audioflinger/afutils/ |
D | PropertyUtils.cpp | 30 std::string getMmapPolicyProperty(AudioMMapPolicyType policyType) { in getMmapPolicyProperty() argument 31 switch (policyType) { in getMmapPolicyProperty() 41 int getDefaultPolicyFromType(AudioMMapPolicyType policyType) { in getDefaultPolicyFromType() argument 42 switch (policyType) { in getDefaultPolicyFromType() 68 AudioMMapPolicyType policyType, std::vector<AudioMMapPolicyInfo> *policyInfos) { in getMmapPolicyInfosFromSystemProperty() argument 70 const std::string propertyStr = getMmapPolicyProperty(policyType); in getMmapPolicyInfosFromSystemProperty() 75 property_get_int32(propertyStr.c_str(), getDefaultPolicyFromType(policyType))); in getMmapPolicyInfosFromSystemProperty()
|
D | PropertyUtils.h | 25 media::audio::common::AudioMMapPolicyType policyType,
|
/frameworks/base/core/java/android/app/admin/ |
D | PackagePolicy.java | 98 public PackagePolicy(@PackagePolicyType int policyType) { in PackagePolicy() argument 99 this(policyType, Collections.emptySet()); in PackagePolicy() 107 public PackagePolicy(@PackagePolicyType int policyType, @NonNull Set<String> packageNames) { in PackagePolicy() argument 108 if (policyType != PACKAGE_POLICY_BLOCKLIST in PackagePolicy() 109 && policyType != PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in PackagePolicy() 110 && policyType != PACKAGE_POLICY_ALLOWLIST) { in PackagePolicy() 113 mPolicyType = policyType; in PackagePolicy()
|
D | WifiSsidPolicy.java | 84 public WifiSsidPolicy(@WifiSsidPolicyType int policyType, @NonNull Set<WifiSsid> ssids) { in WifiSsidPolicy() argument 88 if (policyType != WIFI_SSID_POLICY_TYPE_ALLOWLIST in WifiSsidPolicy() 89 && policyType != WIFI_SSID_POLICY_TYPE_DENYLIST) { in WifiSsidPolicy() 92 mPolicyType = policyType; in WifiSsidPolicy()
|
D | ManagedSubscriptionsPolicy.java | 69 public ManagedSubscriptionsPolicy(@ManagedSubscriptionsPolicyType int policyType) { in ManagedSubscriptionsPolicy() argument 70 if (policyType != TYPE_ALL_PERSONAL_SUBSCRIPTIONS in ManagedSubscriptionsPolicy() 71 && policyType != TYPE_ALL_MANAGED_SUBSCRIPTIONS) { in ManagedSubscriptionsPolicy() 74 mPolicyType = policyType; in ManagedSubscriptionsPolicy()
|
/frameworks/base/core/java/android/companion/virtualnative/ |
D | IVirtualDeviceManagerNative.aidl | 66 int getDevicePolicy(int deviceId, int policyType); in getDevicePolicy() argument
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PackagePolicyTest.java | 55 final int policyType = PACKAGE_POLICY_BLOCKLIST; in testParceling() local 60 PackagePolicy packagePolicy = new PackagePolicy(policyType, packageNames); in testParceling() 69 assertEquals(policyType, packagePolicy.getPolicyType()); in testParceling()
|
/frameworks/av/services/audioflinger/datapath/ |
D | AudioHwDevice.cpp | 176 AudioMMapPolicyType policyType, std::vector<AudioMMapPolicyInfo> *policyInfos) const { in getMmapPolicyInfos() argument 177 return mHwDevice->getMmapPolicyInfos(policyType, policyInfos); in getMmapPolicyInfos()
|
D | AudioHwDevice.h | 108 media::audio::common::AudioMMapPolicyType policyType,
|
/frameworks/base/core/java/android/companion/virtual/ |
D | IVirtualDevice.aidl | 79 int getDevicePolicy(int policyType); in getDevicePolicy() argument 96 void setDevicePolicy(int policyType, int devicePolicy); in setDevicePolicy() argument
|
D | IVirtualDeviceManager.aidl | 96 int getDevicePolicy(int deviceId, int policyType); in getDevicePolicy() argument
|
D | VirtualDeviceManager.java | 341 int deviceId, @VirtualDeviceParams.PolicyType int policyType) { in getDevicePolicy() argument 351 return mService.getDevicePolicy(deviceId, policyType); in getDevicePolicy() 740 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() argument 742 mVirtualDeviceInternal.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceParams.java | 498 public @DevicePolicy int getDevicePolicy(@PolicyType int policyType) { in getDevicePolicy() argument 499 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT); in getDevicePolicy() 996 public Builder setDevicePolicy(@PolicyType int policyType, @DevicePolicy int devicePolicy) { in setDevicePolicy() argument 997 mDevicePolicies.put(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceInternal.java | 251 void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() argument 254 mVirtualDevice.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 423 @VirtualDeviceParams.PolicyType int policyType) { 426 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT); 429 return mParams.getDevicePolicy(policyType); 656 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, 663 switch (policyType) { 666 mDevicePolicies.put(policyType, devicePolicy); 675 mDevicePolicies.put(policyType, devicePolicy); 686 mDevicePolicies.put(policyType, devicePolicy); 691 throw new IllegalArgumentException("Device policy " + policyType
|
D | VirtualDeviceManagerService.java | 557 public int getDevicePolicy(int deviceId, @VirtualDeviceParams.PolicyType int policyType) { in getDevicePolicy() argument 561 ? virtualDevice.getDevicePolicy(policyType) : DEVICE_POLICY_DEFAULT; in getDevicePolicy() 710 public int getDevicePolicy(int deviceId, int policyType) { in getDevicePolicy() argument 711 return mImpl.getDevicePolicy(deviceId, policyType); in getDevicePolicy()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 141 media::audio::common::AudioMMapPolicyType policyType,
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioFlingerService.aidl | 227 AudioMMapPolicyInfo[] getMmapPolicyInfos(AudioMMapPolicyType policyType); in getMmapPolicyInfos() argument
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.h | 115 media::audio::common::AudioMMapPolicyType policyType __unused, in getMmapPolicyInfos()
|
D | DeviceHalAidl.h | 161 status_t getMmapPolicyInfos(media::audio::common::AudioMMapPolicyType policyType __unused,
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | StandardWifiEntry.java | 1011 int policyType = policy.getPolicyType(); in updateAdminRestrictions() local 1014 if (policyType == WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_ALLOWLIST in updateAdminRestrictions() 1020 if (policyType == WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_DENYLIST in updateAdminRestrictions()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 359 media::audio::common::AudioMMapPolicyType policyType, 493 media::audio::common::AudioMMapPolicyType policyType, 736 media::audio::common::AudioMMapPolicyType policyType,
|
D | AudioSystem.h | 793 media::audio::common::AudioMMapPolicyType policyType,
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 792 AudioMMapPolicyType policyType, std::vector<AudioMMapPolicyInfo> *policyInfos) { in getMmapPolicyInfos() argument 793 return statusTFromBinderStatus(mDelegate->getMmapPolicyInfos(policyType, policyInfos)); in getMmapPolicyInfos() 1397 AudioMMapPolicyType policyType, std::vector<AudioMMapPolicyInfo> *_aidl_return) { in getMmapPolicyInfos() argument 1398 return Status::fromStatusT(mDelegate->getMmapPolicyInfos(policyType, _aidl_return)); in getMmapPolicyInfos()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 353 AudioMMapPolicyType policyType, std::vector<AudioMMapPolicyInfo> *policyInfos) { in getMmapPolicyInfos() argument 355 if (const auto it = mPolicyInfos.find(policyType); it != mPolicyInfos.end()) { in getMmapPolicyInfos() 364 status_t status = dev->getMmapPolicyInfos(policyType, &infos); in getMmapPolicyInfos() 372 mPolicyInfos[policyType] = *policyInfos; in getMmapPolicyInfos() 374 getMmapPolicyInfosFromSystemProperty(policyType, policyInfos); in getMmapPolicyInfos() 375 mPolicyInfos[policyType] = *policyInfos; in getMmapPolicyInfos()
|