Searched refs:CtsAppTestUtils (Results 1 – 12 of 12) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsDelegateTest.java | 104 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setUp() 138 CtsAppTestUtils.executeShellCmd(mInstrumentation, in prepareProcess() 146 CtsAppTestUtils.executeShellCmd(mInstrumentation, in prepareProcess() 161 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate() 163 assertNotNull(CtsAppTestUtils.findLine(dumpLines, "isForeground=true")); in testFgsDelegate() 164 assertNotNull(CtsAppTestUtils.findLine(dumpLines, "isFgsDelegate=true")); in testFgsDelegate() 169 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate() 171 assertNull(CtsAppTestUtils.findLine(dumpLines, "isForeground=true")); in testFgsDelegate() 172 assertNull(CtsAppTestUtils.findLine(dumpLines, "isFgsDelegate=true")); in testFgsDelegate() 177 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate() [all …]
|
D | ActivityManagerFgsBgStartTest.java | 156 CtsAppTestUtils.makeUidIdle(mInstrumentation, PACKAGE_NAMES[i]); in setUp() 163 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setUp() 174 CtsAppTestUtils.makeUidIdle(mInstrumentation, PACKAGE_NAMES[i]); in tearDown() 1312 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList() 1330 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList() 1453 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testVisibleActivityGracePeriod() 1491 CtsAppTestUtils.executeShellCmd(mInstrumentation, "input keyevent " + keyCode); in testVisibleActivityGracePeriodInternal() 1619 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground() 1626 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground() 1742 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartVpnInternal() [all …]
|
D | BroadcastOptionsIntegrationTest.java | 50 CtsAppTestUtils.executeShellCmd(instrumentation, in setUp() 57 CtsAppTestUtils.executeShellCmd(instrumentation, in tearDown()
|
D | ActivityManagerApi29Test.java | 115 CtsAppTestUtils.turnScreenOn(sInstrumentation, sContext); in setUp() 116 CtsAppTestUtils.makeUidIdle(sInstrumentation, PACKAGE_NAME); in setUp() 139 CtsAppTestUtils.makeUidIdle(sInstrumentation, PACKAGE_NAME); in tearDown()
|
D | ActivityManagerProcessStateTest.java | 194 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setUp() 276 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists() 278 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists() 617 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testBackgroundCheckService() 1030 final String expectedActivityState = (CtsAppTestUtils.isScreenInteractive(mContext) in testBackgroundCheckActivityService() 1031 && !CtsAppTestUtils.isKeyguardLocked(mContext)) in testBackgroundCheckActivityService() 1181 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testForegroundServiceAppOp() 2477 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStickyInternal() 2603 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testProcessDeathBindings() 2675 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testProcessDeathBindings_anotherClient()
|
D | ServiceTest.java | 2208 String[] dumpLines = CtsAppTestUtils.executeShellCmd( in testBindServiceFlagsLongInternal() 2210 assertNotNull(CtsAppTestUtils.findLine(dumpLines, in testBindServiceFlagsLongInternal()
|
D | DialogTest.java | 98 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setup()
|
/cts/tests/app/shared/src/android/app/cts/ |
D | CtsAppTestUtils.java | 28 public class CtsAppTestUtils { class 29 private static final String TAG = CtsAppTestUtils.class.getName();
|
D | NotificationTemplateTestBase.kt | 48 CtsAppTestUtils.turnScreenOn(InstrumentationRegistry.getInstrumentation(), context) in <lambda>()
|
/cts/tests/app/src/android/app/cts/fgs/bootcompleted/ |
D | BootCompletedFgsStartTest.java | 39 import android.app.cts.CtsAppTestUtils; 98 CtsAppTestUtils.executeShellCmd(mInstrumentation, "am compat " + action in enableFgsRestriction() 103 CtsAppTestUtils.executeShellCmd(mInstrumentation, ALLOW_FGS_START_CMD + pkg + extra); in startFgsBootCompleted()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationTemplateTest.kt | 22 import android.app.cts.CtsAppTestUtils.platformNull in <lambda>()
|
D | NotificationManagerZenTest.java | 80 import android.app.cts.CtsAppTestUtils; 2878 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in turnScreenOffAndOn()
|