Home
last modified time | relevance | path

Searched refs:exceptionMessage (Results 1 – 11 of 11) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt132 private var exceptionMessage = "" variable in com.android.healthconnect.controller.tests.utils.di.FakeLoadDataAggregationsUseCase
143 fun setFailure(exceptionMessage: String) { in setFailure()
145 this.exceptionMessage = exceptionMessage in setFailure()
157 UseCaseResults.Failed(IllegalStateException(exceptionMessage)) in invoke()
172 exceptionMessage = "" in reset()
199 private var exceptionMessage = "" variable
206 fun setFailure(exceptionMessage: String) { in setFailure()
208 this.exceptionMessage = exceptionMessage in setFailure()
214 return if (forceFail) UseCaseResults.Failed(Exception(this.exceptionMessage)) in clusterSleepSessions()
220 exceptionMessage = "" in reset()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSerialDexLoaderUnitTest.java137 public void throwExceptionOnGetDexListWithMessage(String exceptionMessage) { in throwExceptionOnGetDexListWithMessage() argument
138 mExceptionOnGetDexList = new IOException(exceptionMessage); in throwExceptionOnGetDexListWithMessage()
141 public void throwExceptionOnLoadDexSymbolsWithMessage(String exceptionMessage) { in throwExceptionOnLoadDexSymbolsWithMessage() argument
142 mExceptionOnLoadDexSymbols = new IOException(exceptionMessage); in throwExceptionOnLoadDexSymbolsWithMessage()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastServiceMetrics.java277 public void logMessageError(int type, String exceptionMessage) { in logMessageError() argument
279 Log.d(TAG, "logMessageError : " + type + " " + exceptionMessage); in logMessageError()
282 type, exceptionMessage); in logMessageError()
/packages/modules/NeuralNetworks/runtime/packageinfo/
DPackageInfo.cpp48 << status.exceptionMessage().c_str(); in ANeuralNetworks_fetch_PackageInfo()
57 << status.exceptionMessage().c_str(); in ANeuralNetworks_fetch_PackageInfo()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPermissionUtilsTest.kt139 val exceptionMessage = "test exception message" in testEnforceSystemFeature() constant
142 enforceSystemFeature(mockContext, systemFeature, exceptionMessage) in testEnforceSystemFeature()
144 assertEquals(exceptionMessage, e.message) in testEnforceSystemFeature()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DVerificationLogsHelper.java134 static void logException(String exceptionMessage) { in logException() argument
135 Log.d(TAG + "Exception", exceptionMessage); in logException()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRuleTest.java791 StringSubject exceptionMessage = in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local
793 exceptionMessage.contains(Range.forRange(ruleLevel.getLevel(), S2.getLevel()).toString()); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT()
794 exceptionMessage.contains(REASON); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT()
809 StringSubject exceptionMessage = in testThrewWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local
811 exceptionMessage.matches( in testThrewWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT()
915 StringSubject exceptionMessage = in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithZ() local
917 exceptionMessage.contains(Range.forAtLeast(annotationLevel.getLevel()).toString()); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithZ()
918 exceptionMessage.contains(REASON); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithZ()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java811 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); in insert()
940 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); in update()
1470 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); in delete()
1541 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); in delete()
1830 throw new UnsupportedOperationException(mDbHelper.exceptionMessage(uri)); in query()
1838 throw new IllegalArgumentException(mDbHelper.exceptionMessage(uri)); in query()
2015 throw new IllegalArgumentException(mDbHelper.exceptionMessage(uri)); in getType()
DContactsProvider2.java3084 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in resolveAccount()
3098 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in resolveAccount()
3909 mDbHelper.get().exceptionMessage("Missing a lookup key", uri)); in deleteInTransaction()
4401 mDbHelper.get().exceptionMessage("Missing a lookup key", uri)); in updateInTransaction()
6262 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in queryLocal()
6295 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in queryLocal()
6342 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in queryLocal()
6582 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in queryLocal()
8941 throw new IllegalArgumentException(mDbHelper.get().exceptionMessage( in getAccountWithDataSetFromUri()
9163 mDbHelper.get().exceptionMessage("Missing a lookup key", uri)); in openAssetFileInner()
[all …]
DContactsDatabaseHelper.java4686 public String exceptionMessage(Uri uri) { in exceptionMessage() method in ContactsDatabaseHelper
4687 return exceptionMessage(null, uri); in exceptionMessage()
4694 public String exceptionMessage(String message, Uri uri) { in exceptionMessage() method in ContactsDatabaseHelper
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java1777 String exceptionMessage = "Some exception message"; in testMetricsWhenTunnelClosedWithWrappedException() local
1778 Exception mockException = spy(new IllegalStateException(exceptionMessage)); in testMetricsWhenTunnelClosedWithWrappedException()