Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DPolicyTest.java51 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/
DZenPolicyTest.java190 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 …]
DZenModeFilteringTest.java126 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/
DNetworkPolicyEditor.java100 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/
DTarBackupReaderTest.java227 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/
DSetPersistentVrThreadTest.java93 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/
DZenModeControllerImplTest.java93 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/
DAlwaysOnDisplayPolicyTest.java63 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/
DINetworkPolicyManager.aidl35 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()
DNetworkPolicyManager.java213 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/
DPrivacy.cpp53 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()
DPrivacy.h52 uint8_t policy; member
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcherFactory.cpp23 const sp<InputDispatcherPolicyInterface>& policy) { in createInputDispatcher()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java67 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readDelta() local
101 StrictMode.ThreadPolicy policy = StrictMode.allowThreadDiskReads(); in readAbsolute() local
/frameworks/native/services/inputflinger/reader/
DInputReaderFactory.cpp23 sp<InputReaderInterface> createInputReader(const sp<InputReaderPolicyInterface>& policy, in createInputReader()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.h35 std::vector<std::vector<uint64_t>> policy; member
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolProvider.java31 ImagePoolPolicy policy = new ImagePoolPolicy( in get() local
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.cpp51 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/
DDisplayPolicyTests.java214 final DisplayPolicy policy = mDisplayContent.getDisplayPolicy(); in testShouldRotateSeamlessly() local
243 final DisplayPolicy policy = mDisplayContent.getDisplayPolicy(); in testShouldShowToastWhenScreenLocked() local
/frameworks/base/cmds/idmap2/libidmap2/
DPolicies.cpp42 for (const std::string& policy : policies) { in PoliciesToBitmask() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java443 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/
DAudioManagerInternal.java54 int ringerModeInternal, VolumePolicy policy); in onSetRingerModeExternal()
58 int ringerModeExternal, VolumePolicy policy); in onSetRingerModeInternal()
/frameworks/av/media/libaaudio/src/core/
DAudioGlobal.cpp32 aaudio_result_t AudioGlobal_setMMapPolicy(aaudio_policy_t policy) { in AudioGlobal_setMMapPolicy()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java318 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/
DKeyboardInterceptor.java46 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy) { in KeyboardInterceptor()
57 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy, in KeyboardInterceptor()

123456