Searched refs:mockChangeEnabled (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 2154 private void mockChangeEnabled(long changeId, boolean enabled) { 2162 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, true); 2163 mockChangeEnabled(AlarmManager.SCHEDULE_EXACT_ALARM_DENIED_BY_DEFAULT, true); 2174 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, true); 2191 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, true); 2202 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, false); 2218 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, true); 2219 mockChangeEnabled(AlarmManager.ENABLE_USE_EXACT_ALARM, true); 2256 mockChangeEnabled(AlarmManager.REQUIRE_EXACT_ALARM_PERMISSION, true); 2257 mockChangeEnabled(AlarmManager.ENABLE_USE_EXACT_ALARM, true); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 489 mockChangeEnabled(START_ACTIVITY_NEEDS_PENDING_INTENT, true); in testVersionUDoesNotBindsAllowBackgroundActivity() 512 mockChangeEnabled(START_ACTIVITY_NEEDS_PENDING_INTENT, false); in testVersionLessThanUBindsAllowBackgroundActivity() 560 private void mockChangeEnabled(long changeId, boolean enabled) { in mockChangeEnabled() method in TileLifecycleManagerTest
|