Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/jni/
Dapf_jni.cpp64 static void throwException(JNIEnv* env, const std::string& error) { in throwException() function
78 throwException(env, "pcap_open_dead failed"); in com_android_server_ApfTest_compileToBpf()
85 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compileToBpf()
111 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
119 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
126 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compareBpfApf()
132 throwException(env, "pcap_setfilter failed"); in com_android_server_ApfTest_compareBpfApf()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java146 throwException(resources, id); in getDrawable()
207 throwException(resources, id); in getColorStateList()
249 throwException(resources, id); in getText()
373 throwException(resources, id); in getArrayResourceValue()
437 throwException(resources, id); in getLayout()
472 throwException(resources, id); in getAnimation()
522 throwException(resources, id); in getDimension()
551 throwException(resources, id); in getDimensionPixelOffset()
580 throwException(resources, id); in getDimensionPixelSize()
607 throwException(resources, id); in getInteger()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp252 static void throwException(JNIEnv *env, int error, const char *message) in throwException() function
265 throwException(env, tun, "Cannot create interface"); in create()
275 throwException(env, SYSTEM_ERROR, "Cannot get interface name"); in getName()
300 throwException(env, count, "Cannot set address"); in setAddresses()
322 throwException(env, SYSTEM_ERROR, "Cannot reset interface"); in reset()
/frameworks/base/packages/PrintSpooler/jni/
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()
/frameworks/ex/framesequence/jni/
DBitmapDecoderJNI.cpp27 void throwException(JNIEnv* env, const char* error) { in throwException() function
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java164 charToGsm(char c, boolean throwException) throws EncodeException { in charToGsm() argument
173 if (throwException) { in charToGsm()
381 boolean throwException, int languageTable, int languageShiftTable) in stringToGsm7BitPacked() argument
384 int septetCount = countGsmSeptetsUsingTables(data, !throwException, in stringToGsm7BitPacked()
405 if (throwException) { in stringToGsm7BitPacked()
/frameworks/opt/net/wifi/service/jni/
Djni_helper.h75 void throwException(const char *message, int line);
178 #define THROW(env, message) (env).throwException(message, __LINE__)
Djni_helper.cpp71 void JNIHelper::throwException(const char *message, int line) in throwException() function in android::JNIHelper
/frameworks/base/core/java/android/app/
DFragmentManager.java487 private void throwException(RuntimeException ex) { in throwException() method in FragmentManagerImpl
648 throwException(new IllegalStateException("Fragment " + fragment in putFragment()
661 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
666 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
675 throwException(new IllegalStateException("Fragment " + fragment in saveFragmentInstanceState()
974 throwException(new IllegalArgumentException( in moveToState()
987 throwException(new IllegalArgumentException( in moveToState()
1809 throwException(new IllegalStateException( in saveAllState()
1824 throwException(new IllegalStateException( in saveAllState()
1865 throwException(new IllegalStateException( in saveAllState()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentManager.java557 private void throwException(RuntimeException ex) { in throwException() method in FragmentManagerImpl
670 throwException(new IllegalStateException("Fragment " + fragment in putFragment()
683 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
688 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
702 throwException( new IllegalStateException("Fragment " + fragment in saveFragmentInstanceState()
1083 throwException(new IllegalArgumentException( in moveToState()
1096 throwException(new IllegalArgumentException( in moveToState()
1914 throwException(new IllegalStateException( in saveAllState()
1929 throwException(new IllegalStateException( in saveAllState()
1970 throwException(new IllegalStateException( in saveAllState()
[all …]
/frameworks/base/core/java/android/provider/
DSettings.java9236 String callingPackage, boolean throwException) { in isCallingPackageAllowedToWriteSettings() argument
9238 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS, in isCallingPackageAllowedToWriteSettings()
9254 String callingPackage, boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
9256 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS, in checkAndNoteWriteSettingsOperation()
9274 String callingPackage, boolean throwException) { in checkAndNoteChangeNetworkStateOperation() argument
9280 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS, in checkAndNoteChangeNetworkStateOperation()
9292 String callingPackage, boolean throwException) { in isCallingPackageAllowedToDrawOverlays() argument
9294 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in isCallingPackageAllowedToDrawOverlays()
9309 callingPackage, boolean throwException) { in checkAndNoteDrawOverlaysOperation() argument
9311 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in checkAndNoteDrawOverlaysOperation()
[all …]
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp133 throwException(mVm, mMessage); in handleMessage()
136 static void throwException(JavaVM* vm, const std::string& message) { in throwException() function in android::RenderingException
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44223 …method public void throwException() throws java.nio.BufferOverflowException, java.nio.BufferUnderf…
/frameworks/base/api/
Dcurrent.txt53709 method public void throwException() throws java.nio.charset.CharacterCodingException;
Dsystem-current.txt57066 method public void throwException() throws java.nio.charset.CharacterCodingException;
Dtest-current.txt53789 method public void throwException() throws java.nio.charset.CharacterCodingException;