/cts/tests/tests/media/src/android/media/cts/ |
D | VideoDecoderPerfTest.java | 79 protected void setUp() throws Exception { in setUp() 86 protected void tearDown() throws Exception { in tearDown() 90 private void decode(String name, final String resource, MediaFormat format) throws Exception { in decode() 129 int round, long maxTimeMs) throws Exception { in doDecode() 301 private MediaFormat[] getVideoTrackFormats(String... resources) throws Exception { in getVideoTrackFormats() 310 private void count(final String[] resources, int numGoog, int numOther) throws Exception { in count() 316 private void perf(final String[] resources, boolean isGoog, int ix) throws Exception { in perf() 350 public void testAvcCount0320x0240() throws Exception { count(sAvcMedia0320x0240, 2, 4); } in testAvcCount0320x0240() 351 public void testAvcGoog0Perf0320x0240() throws Exception { perf(sAvcMedia0320x0240, GOOG, 0); } in testAvcGoog0Perf0320x0240() 352 public void testAvcGoog1Perf0320x0240() throws Exception { perf(sAvcMedia0320x0240, GOOG, 1); } in testAvcGoog1Perf0320x0240() [all …]
|
D | VideoCodecTest.java | 92 private void internalTestBasic(String codecMimeType, int bitRateMode) throws Exception { in internalTestBasic() 154 private void internalTestAsyncEncoding(String codecMimeType, int bitRateMode) throws Exception { in internalTestAsyncEncoding() 230 String codecMimeType, int bitRateMode, boolean useNdk) throws Exception { in internalTestSyncFrame() 282 String codecMimeType, int bitRateMode, boolean useNdk) throws Exception { in internalTestDynamicBitrateChange() 351 private void internalTestParallelEncodingAndDecoding(String codecMimeType) throws Exception { in internalTestParallelEncodingAndDecoding() 364 final Exception[] exceptionEncoder = new Exception[1]; in internalTestParallelEncodingAndDecoding() 365 final Exception[] exceptionDecoder = new Exception[1]; in internalTestParallelEncodingAndDecoding() 391 } catch (Exception e) { in internalTestParallelEncodingAndDecoding() 406 } catch (Exception e) { in internalTestParallelEncodingAndDecoding() 461 throws Exception { in internalTestEncoderQuality() [all …]
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 68 protected void setUp() throws Exception { in setUp() 79 protected void tearDown() throws Exception { in tearDown() 88 public void testInstallOriginalSucceeds() throws Exception { in testInstallOriginalSucceeds() 94 public void testInstallV1OneSignerMD5withRSA() throws Exception { in testInstallV1OneSignerMD5withRSA() 102 public void testInstallV1OneSignerSHA1withRSA() throws Exception { in testInstallV1OneSignerSHA1withRSA() 110 public void testInstallV1OneSignerSHA224withRSA() throws Exception { in testInstallV1OneSignerSHA224withRSA() 118 public void testInstallV1OneSignerSHA256withRSA() throws Exception { in testInstallV1OneSignerSHA256withRSA() 126 public void testInstallV1OneSignerSHA384withRSA() throws Exception { in testInstallV1OneSignerSHA384withRSA() 134 public void testInstallV1OneSignerSHA512withRSA() throws Exception { in testInstallV1OneSignerSHA512withRSA() 142 public void testInstallV1OneSignerSHA1withECDSA() throws Exception { in testInstallV1OneSignerSHA1withECDSA() [all …]
|
D | SplitTests.java | 124 public void setUp() throws Exception { in setUp() 131 public void tearDown() throws Exception { in tearDown() 138 public void testSingleBase_full() throws Exception { in testSingleBase_full() 143 public void testSingleBase_instant() throws Exception { in testSingleBase_instant() 146 private void testSingleBase(boolean instant) throws Exception { in testSingleBase() 153 public void testDensitySingle_full() throws Exception { in testDensitySingle_full() 158 public void testDensitySingle_instant() throws Exception { in testDensitySingle_instant() 161 private void testDensitySingle(boolean instant) throws Exception { in testDensitySingle() 168 public void testDensityAll_full() throws Exception { in testDensityAll_full() 173 public void testDensityAll_instant() throws Exception { in testDensityAll_instant() [all …]
|
D | DocumentsTest.java | 41 protected void setUp() throws Exception { in setUp() 51 protected void tearDown() throws Exception { in tearDown() 58 public void testOpenSimple() throws Exception { in testOpenSimple() 62 public void testOpenVirtual() throws Exception { in testOpenVirtual() 66 public void testCreateNew() throws Exception { in testCreateNew() 70 public void testCreateExisting() throws Exception { in testCreateExisting() 74 public void testTree() throws Exception { in testTree() 78 public void testGetContent_rootsShowing() throws Exception { in testGetContent_rootsShowing() 82 public void testGetContentWithQuery_matchingFileShowing() throws Exception { in testGetContentWithQuery_matchingFileShowing() 87 public void testGetContent_returnsResultToCallingActivity() throws Exception { in testGetContent_returnsResultToCallingActivity() [all …]
|
D | IsolatedSplitsTests.java | 73 public void setUp() throws Exception { in setUp() 79 public void tearDown() throws Exception { in tearDown() 85 public void testInstallBase_full() throws Exception { in testInstallBase_full() 91 public void testInstallBase_instant() throws Exception { in testInstallBase_instant() 95 private void testInstallBase(boolean instant) throws Exception { in testInstallBase() 102 public void testInstallBaseAndConfigSplit_full() throws Exception { in testInstallBaseAndConfigSplit_full() 108 public void testInstallBaseAndConfigSplit_instant() throws Exception { in testInstallBaseAndConfigSplit_instant() 112 private void testInstallBaseAndConfigSplit(boolean instant) throws Exception { in testInstallBaseAndConfigSplit() 119 public void testInstallMissingDependency_usesSplit_full() throws Exception { in testInstallMissingDependency_usesSplit_full() 125 public void testInstallMissingDependency_usesSplit_instant() throws Exception { in testInstallMissingDependency_usesSplit_instant() [all …]
|
D | UseProcessTest.java | 48 public void setUp() throws Exception { in setUp() 54 public void tearDown() throws Exception { in tearDown() 60 public void testInstallUsePackageSuccess_full() throws Exception { in testInstallUsePackageSuccess_full() 65 public void testInstallUsePackageSuccess_instant() throws Exception { in testInstallUsePackageSuccess_instant() 68 private void testInstallUsePackageSuccess(boolean instant) throws Exception { in testInstallUsePackageSuccess() 77 public void testInstallUsePackageFailApplication_full() throws Exception { in testInstallUsePackageFailApplication_full() 82 public void testInstallUsePackageFailApplication_instant() throws Exception { in testInstallUsePackageFailApplication_instant() 85 private void testInstallUsePackageFailApplication(boolean instant) throws Exception { in testInstallUsePackageFailApplication() 94 public void testInstallUsePackageFailActivity_full() throws Exception { in testInstallUsePackageFailActivity_full() 99 public void testInstallUsePackageFailActivity_instant() throws Exception { in testInstallUsePackageFailActivity_instant() [all …]
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | H263QcifShortPlayerTest.java | 48 public void testPlay00() throws Exception { in testPlay00() 52 public void testPlay01() throws Exception { in testPlay01() 56 public void testPlay02() throws Exception { in testPlay02() 60 public void testPlay03() throws Exception { in testPlay03() 64 public void testPlay04() throws Exception { in testPlay04() 68 public void testPlay05() throws Exception { in testPlay05() 72 public void testPlay06() throws Exception { in testPlay06() 76 public void testPlay07() throws Exception { in testPlay07() 80 public void testPlay08() throws Exception { in testPlay08() 84 public void testPlay09() throws Exception { in testPlay09() [all …]
|
D | H264R720pAacShortPlayerTest.java | 37 public void testPlay00() throws Exception { in testPlay00() 41 public void testPlay01() throws Exception { in testPlay01() 45 public void testPlay02() throws Exception { in testPlay02() 49 public void testPlay03() throws Exception { in testPlay03() 53 public void testPlay04() throws Exception { in testPlay04() 57 public void testPlay05() throws Exception { in testPlay05() 61 public void testPlay06() throws Exception { in testPlay06() 65 public void testPlay07() throws Exception { in testPlay07() 69 public void testPlay08() throws Exception { in testPlay08() 73 public void testPlay09() throws Exception { in testPlay09() [all …]
|
D | H264R480pAacShortPlayerTest.java | 36 public void testPlay00() throws Exception { in testPlay00() 40 public void testPlay01() throws Exception { in testPlay01() 44 public void testPlay02() throws Exception { in testPlay02() 48 public void testPlay03() throws Exception { in testPlay03() 52 public void testPlay04() throws Exception { in testPlay04() 56 public void testPlay05() throws Exception { in testPlay05() 60 public void testPlay06() throws Exception { in testPlay06() 64 public void testPlay07() throws Exception { in testPlay07() 68 public void testPlay08() throws Exception { in testPlay08() 72 public void testPlay09() throws Exception { in testPlay09() [all …]
|
D | H264R480x360AacShortPlayerTest.java | 36 public void testPlay00() throws Exception { in testPlay00() 40 public void testPlay01() throws Exception { in testPlay01() 44 public void testPlay02() throws Exception { in testPlay02() 48 public void testPlay03() throws Exception { in testPlay03() 52 public void testPlay04() throws Exception { in testPlay04() 56 public void testPlay05() throws Exception { in testPlay05() 60 public void testPlay06() throws Exception { in testPlay06() 64 public void testPlay07() throws Exception { in testPlay07() 68 public void testPlay08() throws Exception { in testPlay08() 72 public void testPlay09() throws Exception { in testPlay09() [all …]
|
D | Vp8R480x360ShortPlayerTest.java | 36 public void testPlay00() throws Exception { in testPlay00() 40 public void testPlay01() throws Exception { in testPlay01() 44 public void testPlay02() throws Exception { in testPlay02() 48 public void testPlay03() throws Exception { in testPlay03() 52 public void testPlay04() throws Exception { in testPlay04() 56 public void testPlay05() throws Exception { in testPlay05() 60 public void testPlay06() throws Exception { in testPlay06() 64 public void testPlay07() throws Exception { in testPlay07() 68 public void testPlay08() throws Exception { in testPlay08() 72 public void testPlay09() throws Exception { in testPlay09() [all …]
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 147 protected void setUp() throws Exception { in setUp() 158 protected void tearDown() throws Exception { in tearDown() 171 throws Exception { in count() 178 private void perf(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { in perf() 183 private void qual(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { in qual() 189 throws Exception { in qual() 200 public void testAvcCount0320x0240() throws Exception { count(AVC, 320, 240, 2, 4); } in testAvcCount0320x0240() 201 public void testAvcGoog0Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 0); } in testAvcGoog0Qual0320x0240() 202 public void testAvcGoog0Perf0320x0240() throws Exception { perf(AVC, 320, 240, GOOG, 0); } in testAvcGoog0Perf0320x0240() 203 public void testAvcGoog1Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 1); } in testAvcGoog1Qual0320x0240() [all …]
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | LegacyStorageHostTest.java | 46 void runDeviceTest(String phase) throws Exception { in runDeviceTest() 55 private void grantPermissions(String... perms) throws Exception { in grantPermissions() 63 private void revokePermissions(String... perms) throws Exception { in revokePermissions() 75 private void createFileAsShell(String filePath) throws Exception { in createFileAsShell() 80 private void setupExternalStorage() throws Exception { in setupExternalStorage() 88 public void setup() throws Exception { in setup() 100 public void tearDown() throws Exception { in tearDown() 107 public void testCreateFilesInRandomPlaces_hasW() throws Exception { in testCreateFilesInRandomPlaces_hasW() 114 public void testMkdirInRandomPlaces_hasW() throws Exception { in testMkdirInRandomPlaces_hasW() 121 public void testReadOnlyExternalStorage_hasR() throws Exception { in testReadOnlyExternalStorage_hasR() [all …]
|
D | ScopedStorageHostTest.java | 44 void runDeviceTest(String phase) throws Exception { in runDeviceTest() 54 void runDeviceTestWithDisabledIsolatedStorage(String phase) throws Exception { in runDeviceTestWithDisabledIsolatedStorage() 62 private void setupExternalStorage() throws Exception { in setupExternalStorage() 70 public void setup() throws Exception { in setup() 77 public void revokeStoragePermissions() throws Exception { in revokeStoragePermissions() 83 public void tearDown() throws Exception { in tearDown() 88 public void testManageExternalStorageCanDeleteOtherAppsContents() throws Exception { in testManageExternalStorageCanDeleteOtherAppsContents() 98 public void testManageExternalStorageCanRenameOtherAppsContents() throws Exception { in testManageExternalStorageCanRenameOtherAppsContents() 108 public void testManageExternalStorageCannotRenameAndroid() throws Exception { in testManageExternalStorageCannotRenameAndroid() 118 public void testManageExternalStorageCantReadWriteOtherAppExternalDir() throws Exception { in testManageExternalStorageCantReadWriteOtherAppExternalDir() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | DESedeCipherTestBase.java | 41 public void testGetProvider() throws Exception { in testGetProvider() 48 public void testGetAlgorithm() throws Exception { in testGetAlgorithm() 55 public void testGetBlockSize() throws Exception { in testGetBlockSize() 62 public void testGetExemptionMechanism() throws Exception { in testGetExemptionMechanism() 69 public void testUpdateCopySafe() throws Exception { in testUpdateCopySafe() 76 public void testUpdateAndDoFinalNotSupportedInWrapAndUnwrapModes() throws Exception { in testUpdateAndDoFinalNotSupportedInWrapAndUnwrapModes() 83 public void testKeyDoesNotSurviveReinitialization() throws Exception { in testKeyDoesNotSurviveReinitialization() 90 public void testKatOneShotEncryptUsingDoFinal() throws Exception { in testKatOneShotEncryptUsingDoFinal() 97 public void testKatOneShotDecryptUsingDoFinal() throws Exception { in testKatOneShotDecryptUsingDoFinal() 104 public void testKatEncryptOneByteAtATime() throws Exception { in testKatEncryptOneByteAtATime() [all …]
|
D | RsaSignaturePerformanceTest.java | 32 public void testNONEwithRSA() throws Exception { in testNONEwithRSA() 41 public void testMD5withRSA() throws Exception { in testMD5withRSA() 45 public void testSHA1withRSA() throws Exception { in testSHA1withRSA() 49 public void testSHA224withRSA() throws Exception { in testSHA224withRSA() 53 public void testSHA256withRSA() throws Exception { in testSHA256withRSA() 57 public void testSHA384withRSA() throws Exception { in testSHA384withRSA() 61 public void testSHA512withRSA() throws Exception { in testSHA512withRSA() 65 public void testSHA1withRSA_PSS() throws Exception { in testSHA1withRSA_PSS() 69 public void testSHA224withRSA_PSS() throws Exception { in testSHA224withRSA_PSS() 73 public void testSHA256withRSA_PSS() throws Exception { in testSHA256withRSA_PSS() [all …]
|
D | EcdsaSignaturePerformanceTest.java | 32 public void testNONEwithECDSA() throws Exception { in testNONEwithECDSA() 36 public void testSHA1withECDSA() throws Exception { in testSHA1withECDSA() 40 public void testSHA224withECDSA() throws Exception { in testSHA224withECDSA() 44 public void testSHA256withECDSA() throws Exception { in testSHA256withECDSA() 48 public void testSHA384withECDSA() throws Exception { in testSHA384withECDSA() 52 public void testSHA512withECDSA() throws Exception { in testSHA512withECDSA() 56 private void testEcdsaSign(String algorithm, int[] messageSizes) throws Exception { in testEcdsaSign() 78 DefaultKeystoreEcKeyGenerator(String algorithm, int keySize) throws Exception { in DefaultKeystoreEcKeyGenerator() 86 AndroidKeystoreEcKeyGenerator(String algorithm, int keySize) throws Exception { in AndroidKeystoreEcKeyGenerator() 104 throws Exception { in KeystoreEcSignMeasurable() [all …]
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | MixedManagedProfileOwnerTest.java | 53 public void setUp() throws Exception { in setUp() 61 private void createManagedProfile() throws Exception { in createManagedProfile() 72 public void tearDown() throws Exception { in tearDown() 86 public void testScreenCaptureDisabled_allowedPrimaryUser() throws Exception { in testScreenCaptureDisabled_allowedPrimaryUser() 98 public void testScreenCaptureDisabled_assist_allowedPrimaryUser() throws Exception { in testScreenCaptureDisabled_assist_allowedPrimaryUser() 129 public void testDisallowSetWallpaper_allowed() throws Exception { in testDisallowSetWallpaper_allowed() 135 public void testAudioRestriction() throws Exception { in testAudioRestriction() 141 public void testSetGetPreferentialNetworkServiceStatus() throws Exception { in testSetGetPreferentialNetworkServiceStatus() 147 public void testSetPreferentialNetworkServiceStatusLogged() throws Exception { in testSetPreferentialNetworkServiceStatusLogged() 165 public void testAlwaysOnVpn() throws Exception { in testAlwaysOnVpn() [all …]
|
D | MixedDeviceOwnerTest.java | 58 public void setUp() throws Exception { in setUp() 82 public void tearDown() throws Exception { in tearDown() 91 public void testLockTask_unaffiliatedUser() throws Exception { in testLockTask_unaffiliatedUser() 110 public void testDelegatedCertInstallerDeviceIdAttestation() throws Exception { in testDelegatedCertInstallerDeviceIdAttestation() 120 public void testCaCertManagement() throws Exception { in testCaCertManagement() 127 public void testCannotRemoveUserIfRestrictionSet() throws Exception { in testCannotRemoveUserIfRestrictionSet() 134 public void testInstallCaCertLogged() throws Exception { in testInstallCaCertLogged() 140 public void testWifi() throws Exception { in testWifi() 152 public void testAdminConfiguredNetworks() throws Exception { in testAdminConfiguredNetworks() 160 public void testApplicationRestrictions() throws Exception { in testApplicationRestrictions() [all …]
|
D | DeviceOwnerTest.java | 99 public void testDeviceOwnerSetup() throws Exception { in testDeviceOwnerSetup() 104 public void testProxyStaticProxyTest() throws Exception { in testProxyStaticProxyTest() 109 public void testProxyPacProxyTest() throws Exception { in testProxyPacProxyTest() 114 public void testRemoteBugreportWithTwoUsers() throws Exception { in testRemoteBugreportWithTwoUsers() 127 public void testCreateAndManageUser_LowStorage() throws Exception { in testCreateAndManageUser_LowStorage() 147 public void testCreateAndManageUser_MaxUsers() throws Exception { in testCreateAndManageUser_MaxUsers() 175 public void testCreateAndManageUser_GetSecondaryUsers() throws Exception { in testCreateAndManageUser_GetSecondaryUsers() 188 public void testCreateAndManageUser_SwitchUser() throws Exception { in testCreateAndManageUser_SwitchUser() 200 public void testCreateAndManageUser_CannotStopCurrentUser() throws Exception { in testCreateAndManageUser_CannotStopCurrentUser() 212 public void testCreateAndManageUser_StartInBackground() throws Exception { in testCreateAndManageUser_StartInBackground() [all …]
|
D | OrgOwnedProfileOwnerTest.java | 78 public void setUp() throws Exception { in setUp() 85 private void createManagedProfile() throws Exception { in createManagedProfile() 97 public void tearDown() throws Exception { in tearDown() 114 public void testCanRelinquishControlOverDevice() throws Exception { in testCanRelinquishControlOverDevice() 134 public void testLockScreenInfo() throws Exception { in testLockScreenInfo() 139 public void testProfileOwnerCanGetDeviceIdentifiers() throws Exception { in testProfileOwnerCanGetDeviceIdentifiers() 146 public void testDevicePolicyManagerParentSupport() throws Exception { in testDevicePolicyManagerParentSupport() 151 public void testUserRestrictionSetOnParentLogged() throws Exception { in testUserRestrictionSetOnParentLogged() 166 public void testUserRestrictionsSetOnParentAreNotPersisted() throws Exception { in testUserRestrictionsSetOnParentAreNotPersisted() 183 public void testPerProfileUserRestrictionOnParent() throws Exception { in testPerProfileUserRestrictionOnParent() [all …]
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | StagedInstallTest.java | 79 private void runPhase(String phase) throws Exception { in runPhase() 86 private void cleanUp() throws Exception { in cleanUp() 97 public void setUp() throws Exception { in setUp() 104 public void tearDown() throws Exception { in tearDown() 115 public void testInstallStagedApk() throws Exception { in testInstallStagedApk() 126 public void testFailInstallIfNoPermission() throws Exception { in testFailInstallIfNoPermission() 132 public void testAbandonStagedApkBeforeReboot() throws Exception { in testAbandonStagedApkBeforeReboot() 140 public void testAbandonStagedApkBeforeReady() throws Exception { in testAbandonStagedApkBeforeReady() 147 public void testStageAnotherSessionImmediatelyAfterAbandon() throws Exception { in testStageAnotherSessionImmediatelyAfterAbandon() 153 public void testStageAnotherSessionImmediatelyAfterAbandonMultiPackage() throws Exception { in testStageAnotherSessionImmediatelyAfterAbandonMultiPackage() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 148 public void testStagefright_cve_2019_2244() throws Exception { in testStagefright_cve_2019_2244() 154 public void testStagefright_bug_36725407() throws Exception { in testStagefright_bug_36725407() 160 public void testStagefright_cve_2016_3829() throws Exception { in testStagefright_cve_2016_3829() 166 public void testStagefright_cve_2017_0643() throws Exception { in testStagefright_cve_2017_0643() 172 public void testStagefright_cve_2017_0728() throws Exception { in testStagefright_cve_2017_0728() 178 public void testStagefright_bug_62187433() throws Exception { in testStagefright_bug_62187433() 184 public void testStagefrightANR_bug_62673844() throws Exception { in testStagefrightANR_bug_62673844() 190 public void testStagefright_bug_37079296() throws Exception { in testStagefright_bug_37079296() 196 public void testStagefright_bug_38342499() throws Exception { in testStagefright_bug_38342499() 202 public void testStagefright_bug_22771132() throws Exception { in testStagefright_bug_22771132() [all …]
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | InattentiveSleepTests.java | 77 public synchronized void setUp() throws Exception { in setUp() 89 public void tearDown() throws Exception { in tearDown() 95 private void wakeUpToHome() throws Exception { in wakeUpToHome() 100 private void wakeUp() throws Exception { in wakeUp() 104 private void startKeepScreenOnActivity() throws Exception { in startKeepScreenOnActivity() 109 private void setInattentiveSleepTimeout(long timeoutMs) throws Exception { in setInattentiveSleepTimeout() 114 public void testInattentiveSleep_noWarningIfStayOnIsEnabled() throws Exception { in testInattentiveSleep_noWarningIfStayOnIsEnabled() 125 public void testInattentiveSleep_warningShowsBeforeSleep() throws Exception { in testInattentiveSleep_warningShowsBeforeSleep() 133 public void testInattentiveSleep_keypressDismissesWarning() throws Exception { in testInattentiveSleep_keypressDismissesWarning() 141 public void testInattentiveSleep_warningHiddenAfterWakingUp() throws Exception { in testInattentiveSleep_warningHiddenAfterWakingUp() [all …]
|