/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21128/test-app/src/android/security/cts/CVE_2023_21128_test/ |
D | DeviceTest.java | 35 import com.android.compatibility.common.util.AmUtils; 68 AmUtils.setStandbyBucket(helperAppPackage, STANDBY_BUCKET_ACTIVE); in testCVE_2023_21128() 69 final int firstStandbyBucketValue = AmUtils.getStandbyBucket(helperAppPackage); in testCVE_2023_21128() 70 AmUtils.setStandbyBucket(helperAppPackage, STANDBY_BUCKET_NEVER); in testCVE_2023_21128() 71 final int secondStandbyBucketValue = AmUtils.getStandbyBucket(helperAppPackage); in testCVE_2023_21128()
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastFreezerTest.java | 37 import com.android.compatibility.common.util.AmUtils; 90 AmUtils.waitForBroadcastBarrier(); in testBroadcastOptions_appFreezingDelayed() 107 AmUtils.waitForBroadcastBarrier(); in testBroadcastOptions_appFreezingDelayed() 160 AmUtils.waitForBroadcastBarrier(); in testBroadcastDelivery_syncTxnWhileFrozen() 188 AmUtils.waitForBroadcastBarrier(); in testBroadcastDelivery_pendingFreezeCancelled() 203 AmUtils.waitForBroadcastBarrier(); in testBroadcastDelivery_pendingFreezeCancelled()
|
D | BroadcastDeferralTest.java | 32 import com.android.compatibility.common.util.AmUtils; 91 AmUtils.waitForBroadcastBarrier(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive() 150 AmUtils.waitForBroadcastBarrier(); in testFgBroadcastDeliveryToFrozenApp()
|
D | BaseBroadcastTest.java | 41 import com.android.compatibility.common.util.AmUtils; 90 AmUtils.waitForBroadcastBarrier(); in setUp()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BatteryUtils.java | 133 AmUtils.waitForBroadcastBarrier(); in enableBatterySaver() 140 AmUtils.waitForBroadcastBarrier(); in enableBatterySaver() 148 AmUtils.waitForBroadcastBarrier(); in enableBatterySaver() 173 AmUtils.waitForBroadcastBarrier(); in turnOnScreen()
|
D | AmUtils.java | 18 public class AmUtils { class 25 private AmUtils() { in AmUtils() method in AmUtils
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BaseCarrierApiTest.java | 30 import com.android.compatibility.common.util.AmUtils; 97 AmUtils.waitForBroadcastBarrier(); in ensurePreconditionsMet()
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 53 import com.android.compatibility.common.util.AmUtils; 104 AmUtils.setStandbyBucket(APP1_PACKAGE, UsageStatsManager.STANDBY_BUCKET_ACTIVE); in setUp() 156 AmUtils.waitForBroadcastIdle(); in removeAllAccounts() 222 AmUtils.setStandbyBucket(APP1_PACKAGE, UsageStatsManager.STANDBY_BUCKET_ACTIVE); in testSoftErrorRetriesActiveApp() 257 AmUtils.setStandbyBucket(APP1_PACKAGE, UsageStatsManager.STANDBY_BUCKET_RARE); in testExpeditedJobSync() 287 AmUtils.setStandbyBucket(APP1_PACKAGE, UsageStatsManager.STANDBY_BUCKET_RARE); in testExpeditedJobSync_InDoze() 308 AmUtils.setStandbyBucket(APP1_PACKAGE, STANDBY_BUCKET_NEVER); in testInitialSyncInNeverBucket() 317 AmUtils.getStandbyBucket(APP1_PACKAGE) in testInitialSyncInNeverBucket()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | ActionChargingTest.java | 34 import com.android.compatibility.common.util.AmUtils; 142 AmUtils.waitForBroadcastIdle(); in checkActionChargingDeferred() 154 AmUtils.waitForBroadcastIdle(); in checkActionChargingDeferred()
|
D | BatterySaverBgServiceTest.java | 21 import static com.android.compatibility.common.util.AmUtils.runKill; 22 import static com.android.compatibility.common.util.AmUtils.runMakeUidIdle;
|
D | BatterySaverAlarmTest.java | 21 import static com.android.compatibility.common.util.AmUtils.runKill; 22 import static com.android.compatibility.common.util.AmUtils.runMakeUidIdle;
|
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/ |
D | BroadcastsTest.java | 32 import com.android.compatibility.common.util.AmUtils; 108 AmUtils.waitForBroadcastIdle(); in testNonSupportedBroadcastsNotDelivered()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | Utils.java | 32 import com.android.compatibility.common.util.AmUtils; 126 AmUtils.waitForBroadcastBarrier(); in toggleNotificationPolicyAccess()
|
/cts/tests/app/src/android/app/cts/fgs/bootcompleted/ |
D | BootCompletedFgsStartTest.java | 53 import com.android.compatibility.common.util.AmUtils; 115 AmUtils.waitForBroadcastBarrier(); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | ForceStopTest.java | 65 import com.android.compatibility.common.util.AmUtils; 107 AmUtils.waitForBroadcastBarrier(); in setUp() 318 AmUtils.waitForBroadcastBarrier(); in testBootCompletedBroadcasts_broadcast() 577 AmUtils.waitForBroadcastBarrier(); in waitForActivity()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | BaseNotificationManagerTest.java | 65 import com.android.compatibility.common.util.AmUtils; 367 AmUtils.waitForBroadcastBarrier(); in suspendPackage() 376 AmUtils.waitForBroadcastBarrier(); in toggleNotificationPolicyAccess()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTestsBase.java | 56 import com.android.compatibility.common.util.AmUtils; 134 AmUtils.waitForBroadcastBarrier(); in sendCommand()
|
D | AppEnumerationTests.java | 191 import com.android.compatibility.common.util.AmUtils; 397 AmUtils.waitForBroadcastBarrier(); in startActivityWithUriGrant_cannotSeeProviderAfterUpdated() 423 AmUtils.waitForBroadcastBarrier(); in startActivityWithPersistableUriGrant_canSeeProviderAfterUpdated()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 47 import com.android.compatibility.common.util.AmUtils; 294 AmUtils.waitForBroadcastBarrier(); in toggleNotificationPolicyAccess()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/pm/ |
D | PackageManagerHelperTest.java | 50 import com.android.compatibility.common.util.AmUtils; 308 AmUtils.waitForBroadcastBarrier(); in waitForActivity()
|
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/ |
D | DropBoxTests.java | 36 import com.android.compatibility.common.util.AmUtils; 122 AmUtils.waitForBroadcastIdle(); in setUp()
|
/cts/tests/backup/src/android/backup/cts/ |
D | AppLocalesBackupTest.java | 44 import com.android.compatibility.common.util.AmUtils; 182 AmUtils.waitForBroadcastIdle(); in testBackupRestore_appInstalledAfterRestore_doesLazyRestore()
|
/cts/tests/app/AppStartTest/src/android/app/cts/ |
D | ActivityManagerAppStartInfoTest.java | 44 import com.android.compatibility.common.util.AmUtils; 568 AmUtils.waitForBroadcastBarrier(); in waitForActivity()
|
/cts/tests/framework/base/locale/src/android/localemanager/cts/ |
D | LocaleManagerTests.java | 65 import com.android.compatibility.common.util.AmUtils; 147 AmUtils.waitForBroadcastIdle(); in setUp()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleTests.java | 90 import com.android.compatibility.common.util.AmUtils; 751 AmUtils.runKill(targetActivity.getPackageName(), true /* wait */); in testRestoreFromKill()
|