Home
last modified time | relevance | path

Searched refs:Exception (Results 1 – 25 of 2199) sorted by relevance

12345678910>>...88

/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRRuleTest.java65 String golden) throws Exception { in runRecurrenceIteratorTest()
70 String golden, String advanceTo, String tz) throws Exception { in runRecurrenceIteratorTest()
88 String golden, String advanceTo, String endAt, String tz) throws Exception { in runRecurrenceIteratorTest()
143 public void testFrequencyLimits() throws Exception { in testFrequencyLimits()
159 public void testSimpleDaily() throws Exception { in testSimpleDaily()
164 public void testSimpleWeekly() throws Exception { in testSimpleWeekly()
169 public void testSimpleMonthly() throws Exception { in testSimpleMonthly()
174 public void testSimpleYearly() throws Exception { in testSimpleYearly()
180 public void testMultipleByParts() throws Exception { in testMultipleByParts()
185 public void testCountWithInterval() throws Exception { in testCountWithInterval()
[all …]
DRecurrenceProcessorTest.java63 throws Exception { in verifyRecurrence()
70 String last) throws Exception { in verifyRecurrence()
171 public void testMonthly0() throws Exception { in testMonthly0()
183 public void testMonthly1() throws Exception { in testMonthly1()
195 public void testMonthly2() throws Exception { in testMonthly2()
211 public void testMonthly3() throws Exception { in testMonthly3()
231 public void testMonthly4() throws Exception { in testMonthly4()
254 public void testMonthly5() throws Exception { in testMonthly5()
271 public void testMonthly6() throws Exception { in testMonthly6()
287 public void testMonthly7() throws Exception { in testMonthly7()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java50 protected void setUp() throws Exception { in setUp()
70 public void testMP3CBRGetDuration() throws Exception { in testMP3CBRGetDuration()
77 public void testMP3VBRGetDuration() throws Exception { in testMP3VBRGetDuration()
85 public void testMIDIGetDuration() throws Exception { in testMIDIGetDuration()
92 public void testAMRGetDuration() throws Exception { in testAMRGetDuration()
108 public void testMP3CBRGetCurrentPosition() throws Exception { in testMP3CBRGetCurrentPosition()
114 public void testMP3VBRGetCurrentPosition() throws Exception { in testMP3VBRGetCurrentPosition()
120 public void testMIDIGetCurrentPosition() throws Exception { in testMIDIGetCurrentPosition()
126 public void testAMRGetCurrentPosition() throws Exception { in testAMRGetCurrentPosition()
139 public void testMP3CBRPause() throws Exception { in testMP3CBRPause()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DPatternsTest.java31 public void testTldPattern() throws Exception { in testTldPattern()
62 public void testIanaTopLevelDomains_matchesValidTld() throws Exception { in testIanaTopLevelDomains_matchesValidTld()
68 public void testIanaTopLevelDomains_matchesValidNewTld() throws Exception { in testIanaTopLevelDomains_matchesValidNewTld()
74 public void testIanaTopLevelDomains_matchesPunycodeTld() throws Exception { in testIanaTopLevelDomains_matchesPunycodeTld()
80 public void testIanaTopLevelDomains_matchesIriTLD() throws Exception { in testIanaTopLevelDomains_matchesIriTLD()
86 public void testIanaTopLevelDomains_doesNotMatchWrongTld() throws Exception { in testIanaTopLevelDomains_doesNotMatchWrongTld()
92 public void testIanaTopLevelDomains_doesNotMatchWrongPunycodeTld() throws Exception { in testIanaTopLevelDomains_doesNotMatchWrongPunycodeTld()
100 public void testWebUrl_matchesValidUrlWithSchemeAndHostname() throws Exception { in testWebUrl_matchesValidUrlWithSchemeAndHostname()
107 public void testWebUrl_matchesValidUrlWithSchemeHostnameAndNewTld() throws Exception { in testWebUrl_matchesValidUrlWithSchemeHostnameAndNewTld()
114 public void testWebUrl_matchesValidUrlWithHostnameAndNewTld() throws Exception { in testWebUrl_matchesValidUrlWithHostnameAndNewTld()
[all …]
/frameworks/base/errorprone/refaster/
DEfficientXml.java32 void beforeToString(TypedXmlSerializer out, String n, int v) throws Exception { in beforeToString()
37 void beforeValueOf(TypedXmlSerializer out, String n, int v) throws Exception { in beforeValueOf()
42 void beforeUtils(TypedXmlSerializer out, String n, int v) throws Exception { in beforeUtils()
47 void beforeRadix(TypedXmlSerializer out, String n, int v) throws Exception { in beforeRadix()
52 void after(TypedXmlSerializer out, String n, int v) throws Exception { in after()
59 void beforeToHexString(TypedXmlSerializer out, String n, int v) throws Exception { in beforeToHexString()
64 void beforeRadix(TypedXmlSerializer out, String n, int v) throws Exception { in beforeRadix()
69 void after(TypedXmlSerializer out, String n, int v) throws Exception { in after()
76 int beforeParse(TypedXmlPullParser in, String n) throws Exception { in beforeParse()
81 int beforeUtils(TypedXmlPullParser in, String n) throws Exception { in beforeUtils()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java69 public void roundTrip_persistsCounterId() throws Exception { in roundTrip_persistsCounterId()
74 public void roundTrip_persistsSnapshotVersion() throws Exception { in roundTrip_persistsSnapshotVersion()
79 public void roundTrip_persistsMaxAttempts() throws Exception { in roundTrip_persistsMaxAttempts()
84 public void roundTrip_persistsRecoveryKey() throws Exception { in roundTrip_persistsRecoveryKey()
89 public void roundTrip_persistsServerParams() throws Exception { in roundTrip_persistsServerParams()
94 public void roundTrip_persistsCertPath() throws Exception { in roundTrip_persistsCertPath()
99 public void roundTrip_persistsParamsList() throws Exception { in roundTrip_persistsParamsList()
104 public void roundTripParams_persistsUserSecretType() throws Exception { in roundTripParams_persistsUserSecretType()
109 public void roundTripParams_persistsLockScreenUi() throws Exception { in roundTripParams_persistsLockScreenUi()
114 public void roundTripParams_persistsSalt() throws Exception { in roundTripParams_persistsSalt()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DLimitedLengthInputStreamTest.java34 protected void setUp() throws Exception { in setUp()
41 public void testConstructor_NegativeOffset_Failure() throws Exception { in testConstructor_NegativeOffset_Failure()
51 public void testConstructor_NegativeLength_Failure() throws Exception { in testConstructor_NegativeLength_Failure()
61 public void testConstructor_NullInputStream_Failure() throws Exception { in testConstructor_NullInputStream_Failure()
71 public void testConstructor_OffsetLengthOverflow_Fail() throws Exception { in testConstructor_OffsetLengthOverflow_Fail()
82 throws Exception { in checkReadBytesWithOffsetAndLength_WithString1()
100 throws Exception { in testReadBytesWithOffsetAndLength_ZeroOffset_PartialLength_Success()
106 throws Exception { in testReadBytesWithOffsetAndLength_NonZeroOffset_PartialLength_Success()
111 public void testReadBytesWithOffsetAndLength_ZeroOffset_FullLength_Success() throws Exception { in testReadBytesWithOffsetAndLength_ZeroOffset_FullLength_Success()
117 throws Exception { in testReadBytesWithOffsetAndLength_NonZeroOffset_FullLength_Success()
[all …]
DSigningDetailsTest.java108 public void hasAncestor_multipleSignersInLineageWithAncestor_returnsTrue() throws Exception { in hasAncestor_multipleSignersInLineageWithAncestor_returnsTrue()
121 throws Exception { in hasAncestor_oneSignerInLineageAgainstMultipleSignersInLineage_returnsFalse()
133 public void hasAncestor_multipleSignersInLineageAgainstSelf_returnsFalse() throws Exception { in hasAncestor_multipleSignersInLineageAgainstSelf_returnsFalse()
143 public void hasAncestor_oneSignerInLineageWithAncestor_returnsTrue() throws Exception { in hasAncestor_oneSignerInLineageWithAncestor_returnsTrue()
154 public void hasAncestor_singleSignerAgainstLineage_returnsFalse() throws Exception { in hasAncestor_singleSignerAgainstLineage_returnsFalse()
165 public void hasAncestor_multipleSigners_returnsFalse() throws Exception { in hasAncestor_multipleSigners_returnsFalse()
178 public void hasAncestor_unknownDetails_returnsFalse() throws Exception { in hasAncestor_unknownDetails_returnsFalse()
191 public void mergeLineageWith_neitherHasLineage_returnsOriginal() throws Exception { in mergeLineageWith_neitherHasLineage_returnsOriginal()
205 public void mergeLineageWith_oneHasNoLineage_returnsOther() throws Exception { in mergeLineageWith_oneHasNoLineage_returnsOther()
220 public void mergeLineageWith_bothHaveSameLineage_returnsOriginal() throws Exception { in mergeLineageWith_bothHaveSameLineage_returnsOriginal()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSignaturesTest.java116 public void setUp() throws Exception { in setUp()
122 public void testReadXmlWithOneSignerCompletesSuccessfully() throws Exception { in testReadXmlWithOneSignerCompletesSuccessfully()
129 public void testReadXmlWithTwoV1V2Signers() throws Exception { in testReadXmlWithTwoV1V2Signers()
137 public void testReadXmlFromTwoSigsTagsWithSameSigner() throws Exception { in testReadXmlFromTwoSigsTagsWithSameSigner()
154 public void testReadXmlWithSigningLineage() throws Exception { in testReadXmlWithSigningLineage()
165 public void testReadXmlWithInvalidPublicKeyInCertKey() throws Exception { in testReadXmlWithInvalidPublicKeyInCertKey()
180 public void testReadXmlWithMissingSigsCount() throws Exception { in testReadXmlWithMissingSigsCount()
188 public void testReadXmlWithMissingSchemeVersion() throws Exception { in testReadXmlWithMissingSchemeVersion()
196 public void testReadXmlWithSigningLineageWithMissingSchemeVersion() throws Exception { in testReadXmlWithSigningLineageWithMissingSchemeVersion()
206 public void testReadXmlWithInvalidCertIndex() throws Exception { in testReadXmlWithInvalidCertIndex()
[all …]
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java48 public void ensureNoOverlays() throws Exception { in ensureNoOverlays()
63 public void uninstallOverlays() throws Exception { in uninstallOverlays()
70 public void failToInstallNonPlatformSignedOverlayTargetPreQ() throws Exception { in failToInstallNonPlatformSignedOverlayTargetPreQ()
74 } catch (Exception e) { in failToInstallNonPlatformSignedOverlayTargetPreQ()
81 public void installedIsStaticOverlayIsMutable() throws Exception { in installedIsStaticOverlayIsMutable()
87 public void installPlatformSignedOverlay() throws Exception { in installPlatformSignedOverlay()
93 public void installPlatformSignedAppOverlayAndUpdate() throws Exception { in installPlatformSignedAppOverlayAndUpdate()
115 public void installPlatformSignedFrameworkOverlayAndUpdate() throws Exception { in installPlatformSignedFrameworkOverlayAndUpdate()
137 public void enabledFrameworkOverlayMustAffectNewlyInstalledPackage() throws Exception { in enabledFrameworkOverlayMustAffectNewlyInstalledPackage()
154 public void instantAppsNotVisibleToOMS() throws Exception { in instantAppsNotVisibleToOMS()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java57 public void testSetAndGetGlobalViaFrontEndApiForSystemUser() throws Exception { in testSetAndGetGlobalViaFrontEndApiForSystemUser()
62 public void testSetAndGetGlobalViaFrontEndApiForNonSystemUser() throws Exception { in testSetAndGetGlobalViaFrontEndApiForNonSystemUser()
73 public void testSetAndGetSecureViaFrontEndApiForSystemUser() throws Exception { in testSetAndGetSecureViaFrontEndApiForSystemUser()
78 public void testSetAndGetSecureViaFrontEndApiForNonSystemUser() throws Exception { in testSetAndGetSecureViaFrontEndApiForNonSystemUser()
89 public void testSetAndGetSystemViaFrontEndApiForSystemUser() throws Exception { in testSetAndGetSystemViaFrontEndApiForSystemUser()
94 public void testSetAndGetSystemViaFrontEndApiForNonSystemUser() throws Exception { in testSetAndGetSystemViaFrontEndApiForNonSystemUser()
105 public void testSetAndGetGlobalViaProviderApi() throws Exception { in testSetAndGetGlobalViaProviderApi()
110 public void testSetAndGetSecureViaProviderApi() throws Exception { in testSetAndGetSecureViaProviderApi()
115 public void testSetAndGetSystemViaProviderApi() throws Exception { in testSetAndGetSystemViaProviderApi()
120 public void testSelectAllGlobalViaProviderApi() throws Exception { in testSelectAllGlobalViaProviderApi()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLifecycleTest.java30 protected void setUp() throws Exception { in setUp()
39 public void testBasic() throws Exception { in testBasic()
46 public void testTabBasic() throws Exception { in testTabBasic()
54 public void testScreen() throws Exception { in testScreen()
63 public void testTabScreen() throws Exception { in testTabScreen()
70 public void testDialog() throws Exception { in testDialog()
77 public void testTabDialog() throws Exception { in testTabDialog()
83 public void testFinishCreate() throws Exception { in testFinishCreate()
90 public void testTabFinishCreate() throws Exception { in testTabFinishCreate()
96 public void testFinishStart() throws Exception { in testFinishStart()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DInflateTest.java35 protected void setUp() throws Exception { in setUp()
69 public void testLayout1() throws Exception { in testLayout1()
74 public void testLayout2() throws Exception { in testLayout2()
79 public void testLayout3() throws Exception { in testLayout3()
84 public void testLayout4() throws Exception { in testLayout4()
89 public void testLayout5() throws Exception { in testLayout5()
94 public void testLayout6() throws Exception { in testLayout6()
99 public void testCachedLayout1() throws Exception { in testCachedLayout1()
104 public void testCachedLayout2() throws Exception { in testCachedLayout2()
109 public void testCachedLayout3() throws Exception { in testCachedLayout3()
[all …]
DDrawableBgMinSizeTest.java55 protected void setUp() throws Exception { in setUp()
71 public void testSetUpConditions() throws Exception { in testSetUpConditions()
82 public void doMinimumSizeTest(View view) throws Exception { in doMinimumSizeTest()
90 public void testTextViewMinimumSize() throws Exception { in testTextViewMinimumSize()
95 public void testLinearLayoutMinimumSize() throws Exception { in testLinearLayoutMinimumSize()
100 public void testRelativeLayoutMinimumSize() throws Exception { in testRelativeLayoutMinimumSize()
105 public void testAbsoluteLayoutMinimumSize() throws Exception { in testAbsoluteLayoutMinimumSize()
110 public void testFrameLayoutMinimumSize() throws Exception { in testFrameLayoutMinimumSize()
114 public void doDiffBgMinimumSizeTest(final View view) throws Exception { in doDiffBgMinimumSizeTest()
127 public void testTextViewDiffBgMinimumSize() throws Exception { in testTextViewDiffBgMinimumSize()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java99 public static void setUpOnce() throws Exception { in setUpOnce()
112 public static void tearDownOnce() throws Exception { in tearDownOnce()
117 private static void bindService() throws Exception { in bindService()
152 public void testStartActivity_batterySaver() throws Exception { in testStartActivity_batterySaver()
162 public void testStartActivity_dataSaver() throws Exception { in testStartActivity_dataSaver()
172 public void testStartActivity_dozeMode() throws Exception { in testStartActivity_dozeMode()
182 public void testStartActivity_appStandby() throws Exception { in testStartActivity_appStandby()
196 public void testStartActivity_backgroundRestrict() throws Exception { in testStartActivity_backgroundRestrict()
205 private void testConnOnActivityStart(String testName) throws Exception { in testConnOnActivityStart()
220 private void setBatterySaverMode(boolean enabled) throws Exception { in setBatterySaverMode()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java77 public void decodeCert_readPemFile_succeeds_singleBlock() throws Exception { in decodeCert_readPemFile_succeeds_singleBlock()
84 public void decodeCert_readPemFile_succeeds_multipleBlocks() throws Exception { in decodeCert_readPemFile_succeeds_multipleBlocks()
91 public void decodeCert_readPemFile_throwsIfNoBeginEndLines() throws Exception { in decodeCert_readPemFile_throwsIfNoBeginEndLines()
97 public void decodeCert_readPemFile_throwsIfEmptyBlock() throws Exception { in decodeCert_readPemFile_throwsIfEmptyBlock()
103 public void decodeCert_readPemFile_throwsIfInvalidCert() throws Exception { in decodeCert_readPemFile_throwsIfInvalidCert()
109 public void decodeCert_readBytes_succeeds() throws Exception { in decodeCert_readBytes_succeeds()
116 public void decodeCert_readBytes_throwsIfInvalidCert() throws Exception { in decodeCert_readBytes_throwsIfInvalidCert()
123 public void decodeBase64_succeeds() throws Exception { in decodeBase64_succeeds()
128 public void decodeBase64_succeedsIfEmptyInput() throws Exception { in decodeBase64_succeedsIfEmptyInput()
133 public void decodeBase64_throwsIfInvalidInput() throws Exception { in decodeBase64_throwsIfInvalidInput()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java43 protected void setUp() throws Exception { in setUp()
58 protected void tearDown() throws Exception { in tearDown()
63 private void assertOpen() throws Exception { in assertOpen()
67 private void closeAndAssertClosed() throws Exception { in closeAndAssertClosed()
75 private void assertContents(byte[] expected) throws Exception { in assertContents()
79 public void testNoWriteNoSync() throws Exception { in testNoWriteNoSync()
84 public void testNoWriteSync() throws Exception { in testNoWriteSync()
90 public void testWriteNoSync() throws Exception { in testWriteNoSync()
97 public void testWriteSync() throws Exception { in testWriteSync()
105 public void testWriteSyncWrite() throws Exception { in testWriteSyncWrite()
[all …]
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java76 private void runPhase(String phase) throws Exception { in runPhase()
83 private void cleanUp() throws Exception { in cleanUp()
100 public void setUp() throws Exception { in setUp()
105 public void tearDown() throws Exception { in tearDown()
113 private void deleteFiles(String... files) throws Exception { in deleteFiles()
135 private void pushTestApex(String fileName) throws Exception { in pushTestApex()
145 private void pushTestVendorApexAllowList(String installerPackageName) throws Exception { in pushTestVendorApexAllowList()
167 public void testDuplicateApkInApexShouldFail() throws Exception { in testDuplicateApkInApexShouldFail()
177 public void testSystemServerRestartDoesNotAffectStagedSessions() throws Exception { in testSystemServerRestartDoesNotAffectStagedSessions()
185 public void testAdbStagdReadyTimeoutFlagWorks() throws Exception { in testAdbStagdReadyTimeoutFlagWorks()
[all …]
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java41 protected void setUp() throws Exception { in setUp()
49 public void testLoadNoTestCases() throws Exception { in testLoadNoTestCases()
59 public void testSetTestSuiteWithOneTestCase() throws Exception { in testSetTestSuiteWithOneTestCase()
69 public void testRunTest() throws Exception { in testRunTest()
80 public void testRunTestWithAndroidTestCase() throws Exception { in testRunTestWithAndroidTestCase()
96 public void testRunTestWithAndroidTestCaseInSuite() throws Exception { in testRunTestWithAndroidTestCaseInSuite()
112 public void testRunTestWithAndroidTestCaseInNestedSuite() throws Exception { in testRunTestWithAndroidTestCaseInNestedSuite()
128 public void testRunTestWithNullListener() throws Exception { in testRunTestWithNullListener()
139 public void testSetTestClassWithTestSuiteProvider() throws Exception { in testSetTestClassWithTestSuiteProvider()
151 public void testSetTestClassWithTestSuite() throws Exception { in testSetTestClassWithTestSuite()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java101 public void setUp() throws Exception { in setUp()
123 public void init_createsEncryptKeyWithCorrectAlias() throws Exception { in init_createsEncryptKeyWithCorrectAlias()
133 public void init_createsEncryptKeyWithCorrectPurposes() throws Exception { in init_createsEncryptKeyWithCorrectPurposes()
140 public void init_createsEncryptKeyWithCorrectPaddings() throws Exception { in init_createsEncryptKeyWithCorrectPaddings()
149 public void init_createsEncryptKeyWithCorrectBlockModes() throws Exception { in init_createsEncryptKeyWithCorrectBlockModes()
158 public void init_createsEncryptKeyWithoutAuthenticationRequired() throws Exception { in init_createsEncryptKeyWithoutAuthenticationRequired()
165 public void init_createsDecryptKeyWithCorrectAlias() throws Exception { in init_createsDecryptKeyWithCorrectAlias()
175 public void init_createsDecryptKeyWithCorrectPurposes() throws Exception { in init_createsDecryptKeyWithCorrectPurposes()
182 public void init_createsDecryptKeyWithCorrectPaddings() throws Exception { in init_createsDecryptKeyWithCorrectPaddings()
191 public void init_createsDecryptKeyWithCorrectBlockModes() throws Exception { in init_createsDecryptKeyWithCorrectBlockModes()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java67 protected void setUp() throws Exception { in setUp()
91 protected void tearDown() throws Exception { in tearDown()
128 public void testCameraPairwiseScenario01() throws Exception { in testCameraPairwiseScenario01()
138 public void testCameraPairwiseScenario02() throws Exception { in testCameraPairwiseScenario02()
148 public void testCameraPairwiseScenario03() throws Exception { in testCameraPairwiseScenario03()
158 public void testCameraPairwiseScenario04() throws Exception { in testCameraPairwiseScenario04()
168 public void testCameraPairwiseScenario05() throws Exception { in testCameraPairwiseScenario05()
178 public void testCameraPairwiseScenario06() throws Exception { in testCameraPairwiseScenario06()
188 public void testCameraPairwiseScenario07() throws Exception { in testCameraPairwiseScenario07()
198 public void testCameraPairwiseScenario08() throws Exception { in testCameraPairwiseScenario08()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCertBlacklisterTest.java45 private void overrideSettings(String key, String value) throws Exception { in overrideSettings()
50 public void testClearBlacklistPubkey() throws Exception { in testClearBlacklistPubkey()
59 public void testSetBlacklistPubkey() throws Exception { in testSetBlacklistPubkey()
70 public void testChangeBlacklistPubkey() throws Exception { in testChangeBlacklistPubkey()
79 public void testMultiBlacklistPubkey() throws Exception { in testMultiBlacklistPubkey()
86 public void testInvalidMultiBlacklistPubkey() throws Exception { in testInvalidMultiBlacklistPubkey()
93 public void testInvalidCharsBlacklistPubkey() throws Exception { in testInvalidCharsBlacklistPubkey()
100 public void testLotsOfBlacklistedPubkeys() throws Exception { in testLotsOfBlacklistedPubkeys()
110 public void testClearBlacklistSerial() throws Exception { in testClearBlacklistSerial()
119 public void testSetBlacklistSerial() throws Exception { in testSetBlacklistSerial()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFunctionalUtils.java101 void runOrThrow() throws Exception;
107 } catch (Exception ex) {
122 T getOrThrow() throws Exception;
128 } catch (Exception ex) {
142 void acceptOrThrow(T t) throws Exception;
148 } catch (Exception ex) {
187 R applyOrThrow(T t) throws Exception;
193 } catch (Exception ex) {
213 R applyOrThrow(T t, U u) throws Exception;
219 } catch (Exception ex) {
[all …]
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java52 public void build_setsCounterId() throws Exception { in build_setsCounterId()
57 public void build_setsSnapshotVersion() throws Exception { in build_setsSnapshotVersion()
62 public void build_setsMaxAttempts() throws Exception { in build_setsMaxAttempts()
67 public void build_setsServerParams() throws Exception { in build_setsServerParams()
72 public void build_setsRecoveryKeyBlob() throws Exception { in build_setsRecoveryKeyBlob()
78 public void build_setsCertPath() throws Exception { in build_setsCertPath()
83 public void build_setsKeyChainProtectionParams() throws Exception { in build_setsKeyChainProtectionParams()
97 public void build_setsWrappedApplicationKeys() throws Exception { in build_setsWrappedApplicationKeys()
108 public void writeToParcel_writesCounterId() throws Exception { in writeToParcel_writesCounterId()
115 public void writeToParcel_writesSnapshotVersion() throws Exception { in writeToParcel_writesSnapshotVersion()
[all …]
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java31 static ClassLoader loadDexFile(String filename) throws Exception { in loadDexFile()
39 public void loadTrivialDex() throws Exception { in loadTrivialDex()
45 public void return5() throws Exception { in return5()
53 public void returnInteger5() throws Exception { in returnInteger5()
61 public void returnParam() throws Exception { in returnParam()
70 public void returnStringLength() throws Exception { in returnStringLength()
78 public void returnIfZero() throws Exception { in returnIfZero()
87 public void returnIfNotZero() throws Exception { in returnIfNotZero()
96 public void backwardsBranch() throws Exception { in backwardsBranch()
104 public void returnNull() throws Exception { in returnNull()
[all …]

12345678910>>...88