/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 51 Policy policy = new Policy(); in createPolicy() local 134 Policy policy = createPolicy(); in verifyParcelWithoutProtoPortMap() local 146 Policy policy = createPolicy(); in verifyParcelWithoutPreferredRoamingPartnerList() local 158 Policy policy = createPolicy(); in verifyParcelWithoutPolicyUpdate() local 184 Policy policy = createPolicy(); in verifyCopyConstructionWithFullPolicy() local 196 Policy policy = new Policy(); in validatePolicyWithDefault() local 218 Policy policy = createPolicy(); in validatePolicyWithoutPolicyUpdate() local 230 Policy policy = createPolicy(); in validatePolicyWithInvalidPolicyUpdate() local 242 Policy policy = createPolicy(); in validatePolicyWithRoamingPartnerWithoutFQDN() local 259 Policy policy = createPolicy(); in validatePolicyWithRoamingPartnerWithoutCountries() local [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 190 ZenPolicy policy = builder.build(); in testZenPolicyMessagesInvalid() local 201 ZenPolicy policy = builder.build(); in testZenPolicyCallsInvalid() local 210 ZenPolicy policy = builder.build(); in testEmptyZenPolicy() local 220 ZenPolicy policy = builder.build(); in testAllowReminders() local 237 ZenPolicy policy = builder.build(); in testAllowEvents() local 254 ZenPolicy policy = builder.build(); in testAllowMessages() local 292 ZenPolicy policy = builder.build(); in testAllowCalls() local 330 ZenPolicy policy = builder.build(); in testAllowRepeatCallers() local 347 ZenPolicy policy = builder.build(); in testAllowAlarms() local 364 ZenPolicy policy = builder.build(); in testAllowMedia() local [all …]
|
D | ZenModeFilteringTest.java | 126 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects() in testSuppressDNDInfo_yes_VisEffectsAllowed() local 137 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_yes_WrongId() local 147 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_yes_WrongPackage() local 157 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_no() local 168 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressAnything_yes_ZenModeOff() local 178 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressAnything_bypass_ZenModeOn() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 100 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() local 105 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() local 123 NetworkPolicy policy = getPolicy(template); in getPolicyMaybeUnquoted() local 152 final NetworkPolicy policy = getPolicy(template); in getPolicyCycleDay() local 162 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyCycleDay() local 170 final NetworkPolicy policy = getPolicy(template); in getPolicyWarningBytes() local 175 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyWarningBytesInner() local 192 final NetworkPolicy policy = getPolicy(template); in getPolicyLimitBytes() local 204 final NetworkPolicy policy = getOrCreatePolicy(template); in setPolicyLimitBytes() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 227 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_signaturesIsNull_returnsIgnore() local 248 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() local 273 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() local 299 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() local 324 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() local 351 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() local 386 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() local 425 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept() local 463 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_restoreAnyVersion_returnsAccept() local 505 RestorePolicy policy = tarBackupReader.chooseRestorePolicy(mPackageManagerStub, in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | SetPersistentVrThreadTest.java | 93 int vr_thread = 0, policy = 0; in testSetPersistentVrThreadAPISuccess() local 129 int vr_thread = 0, policy = 0; in testSetPersistentVrThreadAPIFailure() local 142 int vr_thread = 0, policy = 0; in testSetVrThreadAPIFailsInPersistentMode() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 93 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() local 104 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeSuppressed() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicyTest.java | 63 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNull_containsDefaultValue() local 79 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNotNull_containsValue() local
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyManager.aidl | 35 void setUidPolicy(int uid, int policy); in setUidPolicy() 36 void addUidPolicy(int uid, int policy); in addUidPolicy() 37 void removeUidPolicy(int uid, int policy); in removeUidPolicy() 40 int[] getUidsWithPolicy(int policy); in getUidsWithPolicy()
|
D | NetworkPolicyManager.java | 213 public void setUidPolicy(int uid, int policy) { in setUidPolicy() 230 public void addUidPolicy(int uid, int policy) { in addUidPolicy() 247 public void removeUidPolicy(int uid, int policy) { in removeUidPolicy() 267 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() 435 public static Iterator<Pair<ZonedDateTime, ZonedDateTime>> cycleIterator(NetworkPolicy policy) { in cycleIterator()
|
/frameworks/base/cmds/incidentd/src/ |
D | Privacy.cpp | 53 static bool isAllowed(const uint8_t policy, const uint8_t check) { in isAllowed() 97 uint8_t cleanup_privacy_policy(uint8_t policy) { in cleanup_privacy_policy()
|
D | Privacy.h | 52 uint8_t policy; member
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcherFactory.cpp | 23 const sp<InputDispatcherPolicyInterface>& policy) { in createInputDispatcher()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuSpeedReader.java | 67 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readDelta() local 101 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readAbsolute() local
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReaderFactory.cpp | 23 sp<InputReaderInterface> createInputReader(const sp<InputReaderPolicyInterface>& policy, in createInputReader()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 35 std::vector<std::vector<uint64_t>> policy; member
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolProvider.java | 31 ImagePoolPolicy policy = new ImagePoolPolicy( in get() local
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.cpp | 51 bool XmlNodeAction::Execute(XmlActionExecutorPolicy policy, std::vector<StringPiece>* bread_crumb, in Execute() 91 bool XmlActionExecutor::Execute(XmlActionExecutorPolicy policy, IDiagnostics* diag, in Execute()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTests.java | 214 final DisplayPolicy policy = mDisplayContent.getDisplayPolicy(); in testShouldRotateSeamlessly() local 243 final DisplayPolicy policy = mDisplayContent.getDisplayPolicy(); in testShouldShowToastWhenScreenLocked() local
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Policies.cpp | 42 for (const std::string& policy : policies) { in PoliciesToBitmask() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 443 private void setFreezePeriods(SystemUpdatePolicy policy, String... dates) throws Exception { in setFreezePeriods() 459 private void testSerialization(SystemUpdatePolicy policy, in testSerialization() 487 private void checkFreezePeriods(SystemUpdatePolicy policy, in checkFreezePeriods()
|
/frameworks/base/media/java/android/media/ |
D | AudioManagerInternal.java | 54 int ringerModeInternal, VolumePolicy policy); in onSetRingerModeExternal() 58 int ringerModeExternal, VolumePolicy policy); in onSetRingerModeInternal()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioGlobal.cpp | 32 aaudio_result_t AudioGlobal_setMMapPolicy(aaudio_policy_t policy) { in AudioGlobal_setMMapPolicy()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 318 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createAutomaticInstallPolicy() local 348 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createWindowedInstallPolicy() local 365 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createPostponeInstallPolicy() local 746 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in restoreFromXml() local
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 46 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy) { in KeyboardInterceptor() 57 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy, in KeyboardInterceptor()
|