Home
last modified time | relevance | path

Searched refs:CtsAppTestUtils (Results 1 – 12 of 12) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java104 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 …]
DActivityManagerFgsBgStartTest.java156 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 …]
DBroadcastOptionsIntegrationTest.java50 CtsAppTestUtils.executeShellCmd(instrumentation, in setUp()
57 CtsAppTestUtils.executeShellCmd(instrumentation, in tearDown()
DActivityManagerApi29Test.java115 CtsAppTestUtils.turnScreenOn(sInstrumentation, sContext); in setUp()
116 CtsAppTestUtils.makeUidIdle(sInstrumentation, PACKAGE_NAME); in setUp()
139 CtsAppTestUtils.makeUidIdle(sInstrumentation, PACKAGE_NAME); in tearDown()
DActivityManagerProcessStateTest.java194 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()
DServiceTest.java2208 String[] dumpLines = CtsAppTestUtils.executeShellCmd( in testBindServiceFlagsLongInternal()
2210 assertNotNull(CtsAppTestUtils.findLine(dumpLines, in testBindServiceFlagsLongInternal()
DDialogTest.java98 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setup()
/cts/tests/app/shared/src/android/app/cts/
DCtsAppTestUtils.java28 public class CtsAppTestUtils { class
29 private static final String TAG = CtsAppTestUtils.class.getName();
DNotificationTemplateTestBase.kt48 CtsAppTestUtils.turnScreenOn(InstrumentationRegistry.getInstrumentation(), context) in <lambda>()
/cts/tests/app/src/android/app/cts/fgs/bootcompleted/
DBootCompletedFgsStartTest.java39 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/
DNotificationTemplateTest.kt22 import android.app.cts.CtsAppTestUtils.platformNull in <lambda>()
DNotificationManagerZenTest.java80 import android.app.cts.CtsAppTestUtils;
2878 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in turnScreenOffAndOn()