Home
last modified time | relevance | path

Searched refs:throwException (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/art/test/542-inline-trycatch/src/
H A DMain.java67 throwException(); in testSingleBlockFromCatch()
106 throwException(); in testMultipleBlocksFromCatch()
113 throwException(); in testMultipleBlocksFromCatch()
142 throwException(); in testTryCatchFromCatch()
149 throwException(); in testTryCatchFromCatch()
175 private static void throwException() throws Exception { in throwException() method in Main
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java197 throwException(resources, id); in getDrawable()
258 throwException(resources, id); in getColorStateList()
300 throwException(resources, id); in getText()
451 throwException(resources, id); in getArrayResourceValue()
520 throwException(resources, id); in getAnimation()
599 throwException(resources, id); in getDimension()
628 throwException(resources, id); in getDimensionPixelOffset()
738 throwException(resid, null); in getResourceEntryName()
750 throwException(resid, null); in getResourceName()
760 throwException(resid, null); in getResourcePackageName()
[all …]
/aosp12/packages/modules/NetworkStack/tests/unit/jni/
H A Dapf_jni.cpp86 static void throwException(JNIEnv* env, const std::string& error) { in throwException() function
100 throwException(env, "pcap_open_dead failed"); in com_android_server_ApfTest_compileToBpf()
107 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compileToBpf()
132 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
140 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
147 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compareBpfApf()
153 throwException(env, "pcap_setfilter failed"); in com_android_server_ApfTest_compareBpfApf()
206 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_dropsAllPackets()
/aosp12/frameworks/base/core/java/android/view/inputmethod/
H A DInputContentInfo.java125 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) { in validateInternal() argument
127 if (throwException) { in validateInternal()
133 if (throwException) { in validateInternal()
140 if (throwException) { in validateInternal()
149 if (throwException) { in validateInternal()
/aosp12/packages/modules/Connectivity/service/jni/
H A Dcom_android_server_TestNetworkService.cpp48 static void throwException(JNIEnv* env, int error, const char* action, const char* iface) { in throwException() function
62 throwException(env, errno, "allocating", ifr.ifr_name); in createTunTapInterface()
71 throwException(env, errno, "activating", ifr.ifr_name); in createTunTapInterface()
/aosp12/art/test/718-zipfile-finalizer/src/
H A DMain.java25 new ZipFile(null, throwException(), null); in main()
37 public static int throwException() throws Exception { in throwException() method in Main
/aosp12/art/test/044-proxy/src/
H A DWrappedThrow.java75 if1.throwException(); in main()
135 public void throwException() throws BaseException; in throwException() method
147 public void throwException() throws SubException; in throwException() method
167 public void throwException() throws SubException {} in throwException() method in WTMix
/aosp12/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
H A DSettingsShimImpl.java46 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
48 throwException); in checkAndNoteWriteSettingsOperation()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp254 static void throwException(JNIEnv *env, int error, const char *message) in throwException() function
267 throwException(env, tun, "Cannot create interface"); in create()
277 throwException(env, SYSTEM_ERROR, "Cannot get interface name"); in getName()
302 throwException(env, count, "Cannot set address"); in setAddresses()
324 throwException(env, SYSTEM_ERROR, "Cannot reset interface"); in reset()
/aosp12/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
H A DSettingsShimImpl.java50 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
52 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/aosp12/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp74 static void throwException(JNIEnv* env, const char* className, const char* message) { in throwException() function
81 throwException(env, className, message); in throwIllegalStateException()
86 throwException(env, className, message); in throwIllegalArgumentException()
/aosp12/libnativehelper/tests_mts/jni/
H A Djni_helper_jni.cpp33 static void throwException(JNIEnv* env, jclass /*clazz*/, jstring className, jstring message) { in throwException() function
102 throwException), in JNI_OnLoad()
/aosp12/libnativehelper/tests_mts/src/com/android/art/libnativehelper/
H A DJniHelpTest.java37 private static native void throwException(String className, String message); in throwException() method in JniHelpTest
56 throwException("java/lang/RuntimeException", message); in testThrowException()
/aosp12/frameworks/base/telephony/common/com/android/internal/telephony/
H A DGsmAlphabet.java177 charToGsm(char c, boolean throwException) throws EncodeException { in charToGsm() argument
186 if (throwException) { in charToGsm()
398 boolean throwException, int languageTable, int languageShiftTable) in stringToGsm7BitPacked() argument
401 int septetCount = countGsmSeptetsUsingTables(data, !throwException, in stringToGsm7BitPacked()
423 if (throwException) { in stringToGsm7BitPacked()
/aosp12/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
H A DSettingsShim.java34 boolean throwException); in checkAndNoteWriteSettingsOperation() argument
/aosp12/frameworks/ex/framesequence/jni/
H A DBitmapDecoderJNI.cpp27 void throwException(JNIEnv* env, const char* error) { in throwException() function
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DApduSender.java112 AsyncResultHelper.throwException( in send()
118 AsyncResultHelper.throwException( in send()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
H A DAsyncResultHelper.java55 public static void throwException( in throwException() method in AsyncResultHelper
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DMockTetheringService.java48 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringService.java300 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
302 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbUserPermissionManager.java691 boolean throwException = false; in requestPermissionDialog()
700 throwException = true; in requestPermissionDialog()
703 throwException = true; in requestPermissionDialog()
705 if (throwException) in requestPermissionDialog()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelSingleUidTimeReaderTest.java319 public void letReadDataThrowException(boolean throwException) { in letReadDataThrowException() argument
320 mThrowExcpetion = throwException; in letReadDataThrowException()
/aosp12/frameworks/base/core/java/android/app/
H A DFragmentManager.java746 private void throwException(RuntimeException ex) { in throwException() method in FragmentManagerImpl
930 throwException(new IllegalStateException("Fragment " + fragment in putFragment()
944 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
963 throwException(new IllegalStateException("Fragment " + fragment in saveFragmentInstanceState()
1282 throwException(new IllegalArgumentException( in moveToState()
1295 throwException(new IllegalArgumentException( in moveToState()
2726 throwException(new IllegalStateException( in saveAllState()
2741 throwException(new IllegalStateException( in saveAllState()
2781 throwException(new IllegalStateException( in saveAllState()
2838 throwException(new IllegalStateException("Could not find active fragment " in restoreAllState()
[all …]
/aosp12/frameworks/base/core/java/android/provider/
H A DSettings.java17075 String callingPackage, boolean throwException) { in isCallingPackageAllowedToWriteSettings() argument
17078 throwException, AppOpsManager.OP_WRITE_SETTINGS, PM_WRITE_SETTINGS, in isCallingPackageAllowedToWriteSettings()
17091 @NonNull String callingPackage, boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
17093 throwException); in checkAndNoteWriteSettingsOperation()
17110 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
17112 callingPackage, callingAttributionTag, throwException, in checkAndNoteWriteSettingsOperation()
17125 String callingPackage, boolean throwException) { in isCallingPackageAllowedToDrawOverlays() argument
17143 String callingPackage, String callingAttributionTag, boolean throwException) { in checkAndNoteDrawOverlaysOperation() argument
17145 callingPackage, callingAttributionTag, throwException, in checkAndNoteDrawOverlaysOperation()
17158 int uid, String callingPackage, boolean throwException, int appOpsOpCode, in isCallingPackageAllowedToPerformAppOpsProtectedOperation() argument
[all …]
/aosp12/art/test/044-proxy/
H A Dexpected-stdout.txt76 Invoke public abstract void InterfaceW1.throwException() throws BaseException

12