/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | ContactsIndexerMultiUserTest.java | 52 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 54 testInfo.getDevice().isMultiUserSupported()); in setUpClass() 56 sSecondaryUserId = testInfo.getDevice().createUser("Test User #1"); in setUpClass() 57 assertThat(testInfo.getDevice().startUser(sSecondaryUserId)).isTrue(); in setUpClass() 58 sPrevContactsIndexerEnabled = testInfo.getDevice().executeShellCommand( in setUpClass() 68 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 70 testInfo.getDevice().removeUser(sSecondaryUserId); in tearDownClass() 73 String currContactsIndexerEnabled = testInfo.getDevice().executeShellCommand( in tearDownClass() 79 deleteCiFlag(testInfo.getDevice()); in tearDownClass() 81 setCiEnabled(testInfo.getDevice(), in tearDownClass()
|
D | EnterpriseContactsMultiUserTest.java | 63 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 64 ITestDevice device = testInfo.getDevice(); in setUpClass() 72 setUpEnterpriseProfile(testInfo.getDevice())); in setUpClass() 74 installPackageAsUser(testInfo, sMainUserId); in setUpClass() 75 installPackageAsUser(testInfo, sSecondaryUserId); in setUpClass() 76 installPackageAsUser(testInfo, sEnterpriseUserId); in setUpClass() 80 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 82 installer.tearDown(testInfo, null); in tearDownClass() 85 testInfo.getDevice().removeUser(sSecondaryUserId); in tearDownClass() 88 testInfo.getDevice().removeUser(sEnterpriseUserId); in tearDownClass() [all …]
|
D | AppSearchMultiUserTest.java | 54 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 56 testInfo.getDevice().isMultiUserSupported()); in setUpClass() 58 sInitialUserId = testInfo.getDevice().getPrimaryUserId(); in setUpClass() 59 sSecondaryUserId = testInfo.getDevice().createUser("Test_User"); in setUpClass() 60 assertThat(testInfo.getDevice().startUser(sSecondaryUserId)).isTrue(); in setUpClass() 76 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 78 testInfo.getDevice().removeUser(sSecondaryUserId); in tearDownClass()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/ |
D | ContactsSharingTest.java | 66 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 67 assertThat(testInfo.getDevice()).isNotNull(); in beforeClassWithDevice() 68 AppCloningBaseHostTest.setDevice(testInfo.getDevice()); in beforeClassWithDevice() 71 assumeTrue(isAtLeastU(testInfo.getDevice())); in beforeClassWithDevice() 73 isAppCloningBuildingBlockConfigEnabled(testInfo.getDevice())); in beforeClassWithDevice() 75 AppCloningBaseHostTest.baseHostSetup(testInfo.getDevice()); in beforeClassWithDevice() 78 sTestContactsDataManager = new TestContactsDataManager(testInfo.getDevice()); in beforeClassWithDevice() 86 public static void afterClass(TestInformation testInfo) throws Exception { in afterClass() argument 87 if (doesDeviceSupportContactSharing(testInfo)) { in afterClass() 94 private static boolean doesDeviceSupportContactSharing(TestInformation testInfo) in doesDeviceSupportContactSharing() argument [all …]
|
D | ManagedProfileContactsAccessTest.java | 75 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 76 assertThat(testInfo.getDevice()).isNotNull(); in beforeClassWithDevice() 77 AppCloningBaseHostTest.setDevice(testInfo.getDevice()); in beforeClassWithDevice() 79 assumeTrue(isAtLeastU(testInfo.getDevice())); in beforeClassWithDevice() 83 isAppCloningBuildingBlockConfigEnabled(testInfo.getDevice())); in beforeClassWithDevice() 86 AppCloningBaseHostTest.baseHostSetup(testInfo.getDevice()); in beforeClassWithDevice() 90 sTestContactsDataManager = new TestContactsDataManager(testInfo.getDevice()); in beforeClassWithDevice() 96 public static void afterClass(TestInformation testInfo) throws Exception { in afterClass() argument 98 && doesDeviceSupportCloneContactSharing(testInfo.getDevice()) in afterClass()
|
/cts/hostsidetests/tagging/src/com/android/cts/tagging/ |
D | MemtagBootctlTest.java | 48 public static void setUp(TestInformation testInfo) throws Exception { in setUp() argument 50 testInfo.getDevice().getProperty("ro.arm64.memtag.bootctl_supported"), in setUp() 52 mPreviousState = testInfo.getDevice().getProperty("arm64.memtag.bootctl"); in setUp() 59 public static void tearDown(TestInformation testInfo) throws Exception { in tearDown() argument 61 testInfo.getDevice().setProperty("arm64.memtag.bootctl", mPreviousState); in tearDown() 62 testInfo.getDevice().reboot(); in tearDown()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/intent/ |
D | IntentRedirectionTest.java | 59 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 60 assertThat(testInfo.getDevice()).isNotNull(); in beforeClassWithDevice() 63 AppCloningBaseHostTest.setDevice(testInfo.getDevice()); in beforeClassWithDevice() 64 assumeTrue(isAtLeastU(testInfo.getDevice())); in beforeClassWithDevice() 66 isAppCloningBuildingBlockConfigEnabled(testInfo.getDevice())); in beforeClassWithDevice() 68 AppCloningBaseHostTest.baseHostSetup(testInfo.getDevice()); in beforeClassWithDevice() 73 public static void afterClass(TestInformation testInfo) throws Exception { in afterClass() argument 74 if (isAtLeastU(testInfo.getDevice()) in afterClass() 75 && isAppCloningBuildingBlockConfigEnabled(testInfo.getDevice())) { in afterClass()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsSsDataTest.java | 268 ImsCallForwardInfo testInfo = unparceledData.getCallForwardInfo().get(0); in testSetCallForwardingInfo() local 269 assertEquals(info.getCondition(), testInfo.getCondition()); in testSetCallForwardingInfo() 270 assertEquals(info.getStatus(), testInfo.getStatus()); in testSetCallForwardingInfo() 271 assertEquals(info.getToA(), testInfo.getToA()); in testSetCallForwardingInfo() 272 assertEquals(info.getServiceClass(), testInfo.getServiceClass()); in testSetCallForwardingInfo() 273 assertEquals(info.getNumber(), testInfo.getNumber()); in testSetCallForwardingInfo() 274 assertEquals(info.getTimeSeconds(), testInfo.getTimeSeconds()); in testSetCallForwardingInfo() 298 ImsSsInfo testInfo = unparceledData.getSuppServiceInfo().get(0); in testSetSuppServiceInfo() local 300 testInfo.getIncomingCommunicationBarringNumber()); in testSetSuppServiceInfo() 301 assertEquals(info.getProvisionStatus(), testInfo.getProvisionStatus()); in testSetSuppServiceInfo() [all …]
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | ShellCommandFromAppTest.java | 43 private void runDeviceTestMethodWithoutHiddenApiCheck(TestInfo testInfo, boolean instant) in runDeviceTestMethodWithoutHiddenApiCheck() argument 50 runDeviceTests(new DeviceTestRunOptions(testInfo.testPackage) in runDeviceTestMethodWithoutHiddenApiCheck() 53 .setTestClassName(testInfo.testClass) in runDeviceTestMethodWithoutHiddenApiCheck() 54 .setTestMethodName(testInfo.testMethod)); in runDeviceTestMethodWithoutHiddenApiCheck()
|
/cts/hostsidetests/media/src/android/media/router/cts/ |
D | MediaRouter2HostSideTest.java | 88 public static void installApps(TestInformation testInfo) in installApps() argument 90 installTestApp(testInfo, MEDIA_ROUTER_PROVIDER_1_APK); in installApps() 91 installTestApp(testInfo, MEDIA_ROUTER_PROVIDER_2_APK); in installApps() 92 installTestApp(testInfo, MEDIA_ROUTER_PROVIDER_3_APK); in installApps() 93 installTestApp(testInfo, MEDIA_ROUTER_PROVIDER_SELF_SCAN_ONLY_APK); in installApps() 94 installTestApp(testInfo, MEDIA_ROUTER_TEST_APK); in installApps() 95 installTestApp(testInfo, MEDIA_ROUTER_TEST_WITH_MODIFY_AUDIO_ROUTING_APK); in installApps() 99 public static void uninstallApps(TestInformation testInfo) throws DeviceNotAvailableException { in uninstallApps() argument 100 ITestDevice device = testInfo.getDevice(); in uninstallApps() 535 private static void installTestApp(TestInformation testInfo, String apkName) in installTestApp() argument [all …]
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BlobStoreMultiUserTest.java | 45 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 47 isMultiUserSupported(testInfo.getDevice())); in setUpClass() 49 mPrimaryUserId = testInfo.getDevice().getPrimaryUserId(); in setUpClass() 50 mSecondaryUserId = testInfo.getDevice().createUser("Test_User"); in setUpClass() 51 assertThat(testInfo.getDevice().startUser(mSecondaryUserId)).isTrue(); in setUpClass() 71 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 73 testInfo.getDevice().removeUser(mSecondaryUserId); in tearDownClass()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/storage/ |
D | AppCloningStorageHostTest.java | 49 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 50 assertThat(testInfo.getDevice()).isNotNull(); in beforeClassWithDevice() 51 AppCloningBaseHostTest.baseHostSetup(testInfo.getDevice()); in beforeClassWithDevice()
|
D | AppCloningPublicVolumeTest.java | 56 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 57 assertThat(testInfo.getDevice()).isNotNull(); in beforeClassWithDevice() 58 AppCloningBaseHostTest.baseHostSetup(testInfo.getDevice()); in beforeClassWithDevice()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | CarWifiHostTest.java | 75 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 77 sTetheringStatusBefore = testInfo.getDevice().executeShellCommand(CMD_DUMPSYS_WIFI) in beforeClassWithDevice() 79 sTetheringPersistingBefore = testInfo.getDevice().executeShellCommand( in beforeClassWithDevice() 90 public static void afterClassWithInfo(TestInformation testInfo) throws Exception { in afterClassWithInfo() argument 92 testInfo.getDevice().executeShellCommand(hotspotCommand); in afterClassWithInfo() 97 testInfo.getDevice().executeShellCommand(persistTetheringCommand); in afterClassWithInfo()
|
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/ |
D | UserUtil.java | 33 public UserUtil(TestInformation testInfo) { in UserUtil() argument 34 mTestInfo = testInfo; in UserUtil()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | AppCloningMediaProviderHostTest.java | 72 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 73 sDevice = testInfo.getDevice(); in beforeClassWithDevice() 107 public static void afterClass(TestInformation testInfo) throws Exception { in afterClass() argument 108 ITestDevice device = testInfo.getDevice(); in afterClass() 111 testInfo.getDevice().executeShellCommand("pm remove-user " + sCloneUserId); in afterClass()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | ReportProcessor.java | 143 TestInformation testInfo, in runDeviceTest() argument 165 instrTest.run(testInfo, new MediaBitstreamsListener()); in runDeviceTest() 183 void processDeviceReport(TestInformation testInfo, in processDeviceReport() argument 188 while (!runDeviceTest(testInfo, device, method, reportKey, 0, 0)) { in processDeviceReport()
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
D | LibcoreTest.java | 59 …public void run(TestInformation testInfo, ITestInvocationListener listener) throws DeviceNotAvaila… in run() argument 74 super.run(testInfo, listener); in run()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 555 TestPositionInfo testInfo = activity 596 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 607 screenshot = mScreenshotter.takeScreenshot(testInfo); 648 TestPositionInfo testInfo = activity.enqueueRenderSpecAndWait( 661 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 692 TestPositionInfo testInfo = activity.enqueueRenderSpecAndWait( 697 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 728 TestPositionInfo testInfo = activity.enqueueRenderSpecAndWait( 734 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 765 TestPositionInfo testInfo = activity.enqueueRenderSpecAndWait( [all …]
|
/cts/common/device-side/nativetesthelper/jni/ |
D | gtest_wrapper.cpp | 115 virtual void OnTestStart(const testing::TestInfo &testInfo) override { in OnTestStart() argument 117 … createTestDescription(mEnv, mClassName, testInfo.test_case_name(), testInfo.name())); in OnTestStart() 213 auto testInfo = testCase->GetTestInfo(testIndex); in Java_com_android_gtestrunner_GtestRunner_nInitialize() local 215 createTestDescription(env, className, testCase->name(), testInfo->name())); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
|
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/ |
D | FgsTimeoutMessageReceiver.java | 68 FgsTimeoutMessage testInfo = FgsTimeoutHelper.getCurrentTestInfo(); in isMessageCurrent() local 69 if (testInfo.getLastTestEndUptime() > 0) { in isMessageCurrent() 74 if (m.getTimestamp() < testInfo.getLastTestStartUptime()) { in isMessageCurrent()
|
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/ |
D | StrictJavaPackagesTest.java | 557 public static void setupOnce(TestInformation testInfo) throws Exception { in setupOnce() argument 558 if (testInfo.getDevice() == null || testInfo.getBuildInfo() == null) { in setupOnce() 561 DeviceSdkLevel deviceSdkLevel = new DeviceSdkLevel(testInfo.getDevice()); in setupOnce() 563 sBootclasspathJars = Classpaths.getJarsOnClasspath(testInfo.getDevice(), BOOTCLASSPATH); in setupOnce() 565 Classpaths.getJarsOnClasspath(testInfo.getDevice(), SYSTEMSERVERCLASSPATH); in setupOnce() 567 ? Classpaths.getSharedLibraryInfos(testInfo.getDevice(), testInfo.getBuildInfo()) in setupOnce() 572 .filter(file -> doesFileExist(file, testInfo.getDevice())) in setupOnce() 597 jar = pullJarFromDevice(testInfo.getDevice(), jarPath); in setupOnce()
|
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/ |
D | ShortFgsMessageReceiver.java | 75 ShortFgsMessage testInfo = ShortFgsHelper.getCurrentTestInfo(); in isMessageCurrent() local 76 if (testInfo.getLastTestEndUptime() > 0) { in isMessageCurrent() 81 if (m.getTimestamp() < testInfo.getLastTestStartUptime()) { in isMessageCurrent()
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | Utils.java | 44 public Utils(TestInformation testInfo) throws Exception { in Utils() argument 45 assertThat(testInfo.getDevice()).isNotNull(); in Utils() 46 mTestInfo = testInfo; in Utils()
|
/cts/libs/install/src/android/cts/install/lib/host/ |
D | InstallUtilsHost.java | 63 public InstallUtilsHost(TestInformation testInfo) { in InstallUtilsHost() argument 64 assertThat(testInfo).isNotNull(); in InstallUtilsHost() 65 mTestInfo = testInfo; in InstallUtilsHost()
|