Searched refs:setDeviceConfigInt (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 429 private void setDeviceConfigInt(String key, int val) { in setDeviceConfigInt() method in QuotaControllerTest 2189 setDeviceConfigInt(QcConstants.KEY_MAX_JOB_COUNT_WORKING, 10); in testIsWithinQuotaLocked_UnderDuration_OverJobCountInWindow() 2250 setDeviceConfigInt(QcConstants.KEY_MAX_SESSION_COUNT_RARE, 3); in testIsWithinQuotaLocked_TimingSession() 2251 setDeviceConfigInt(QcConstants.KEY_MAX_SESSION_COUNT_FREQUENT, 4); in testIsWithinQuotaLocked_TimingSession() 2252 setDeviceConfigInt(QcConstants.KEY_MAX_SESSION_COUNT_WORKING, 5); in testIsWithinQuotaLocked_TimingSession() 2253 setDeviceConfigInt(QcConstants.KEY_MAX_SESSION_COUNT_ACTIVE, 6); in testIsWithinQuotaLocked_TimingSession() 2312 setDeviceConfigInt(QcConstants.KEY_MAX_JOB_COUNT_WORKING, 10); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2314 setDeviceConfigInt(QcConstants.KEY_QUOTA_BUMP_ADDITIONAL_JOB_COUNT, 0); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2315 setDeviceConfigInt(QcConstants.KEY_QUOTA_BUMP_ADDITIONAL_SESSION_COUNT, 0); in testIsWithinQuotaLocked_WithQuotaBump_Duration() 2317 setDeviceConfigInt(QcConstants.KEY_QUOTA_BUMP_LIMIT, 5); in testIsWithinQuotaLocked_WithQuotaBump_Duration() [all …]
|
D | FlexibilityControllerTest.java | 221 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in setup() 242 private void setDeviceConfigInt(String key, int val) { in setDeviceConfigInt() method in FlexibilityControllerTest 306 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in testAppliedConstraints() 339 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, in testAppliedConstraints() 352 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, CONSTRAINT_BATTERY_NOT_LOW); in testAppliedConstraints() 362 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, CONSTRAINT_CONNECTIVITY); in testAppliedConstraints() 373 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, CONSTRAINT_CHARGING); in testAppliedConstraints() 383 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, 0); in testAppliedConstraints() 395 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, CONSTRAINT_CONTENT_TRIGGER); in testAppliedConstraints() 410 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, 0); in testOnConstantsUpdated_AppliedConstraints() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 690 private void setDeviceConfigInt(String key, int val) { 811 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_QUOTA, 20); 812 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_COMPAT_QUOTA, 25); 821 setDeviceConfigInt(KEY_TEMPORARY_QUOTA_BUMP, 70); 840 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_QUOTA, -3); 842 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_QUOTA, 0); 845 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_COMPAT_QUOTA, -8); 847 setDeviceConfigInt(KEY_ALLOW_WHILE_IDLE_COMPAT_QUOTA, 0); 3550 setDeviceConfigInt(KEY_TEMPORARY_QUOTA_BUMP, 0); 3559 setDeviceConfigInt(KEY_TEMPORARY_QUOTA_BUMP, temporaryQuota); [all …]
|