Searched refs:throwException (Results 1 - 12 of 12) sorted by relevance

/frameworks/ex/framesequence/jni/
H A DBitmapDecoderJNI.cpp27 void throwException(JNIEnv* env, const char* error) { function
/frameworks/base/services/tests/servicestests/jni/
H A Dapf_jni.cpp64 static void throwException(JNIEnv* env, const std::string& error) { function
78 throwException(env, "pcap_open_dead failed");
85 throwException(env, "pcap_compile failed");
111 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error));
119 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error));
126 throwException(env, "pcap_compile failed");
132 throwException(env, "pcap_setfilter failed");
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java146 throwException(resources, id);
207 throwException(resources, id);
249 throwException(resources, id);
373 throwException(resources, id);
437 throwException(resources, id);
472 throwException(resources, id);
522 throwException(resources, id);
551 throwException(resources, id);
580 throwException(resources, id);
607 throwException(resource
899 private static void throwException(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate
903 private static void throwException(int id, @Nullable Pair<ResourceType, String> resourceInfo) { method in class:Resources_Delegate
[all...]
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp74 static void throwException(JNIEnv* env, const char* className, const char* message) { function in namespace:android
81 throwException(env, className, message);
86 throwException(env, className, message);
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp252 static void throwException(JNIEnv *env, int error, const char *message) function in namespace:android
265 throwException(env, tun, "Cannot create interface");
275 throwException(env, SYSTEM_ERROR, "Cannot get interface name");
300 throwException(env, count, "Cannot set address");
322 throwException(env, SYSTEM_ERROR, "Cannot reset interface");
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.h75 void throwException(const char *message, int line);
178 #define THROW(env, message) (env).throwException(message, __LINE__)
H A Djni_helper.cpp71 void JNIHelper::throwException(const char *message, int line) function in class:android::JNIHelper
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java158 * @param throwException If true, throws EncodeException on invalid char.
160 * @throws EncodeException encode error when throwException is true
164 charToGsm(char c, boolean throwException) throws EncodeException { argument
173 if (throwException) {
371 * @param throwException If true, throws EncodeException on invalid char.
381 boolean throwException, int languageTable, int languageShiftTable)
384 int septetCount = countGsmSeptetsUsingTables(data, !throwException,
405 if (throwException) {
380 stringToGsm7BitPacked(String data, int startingSeptetOffset, boolean throwException, int languageTable, int languageShiftTable) argument
/frameworks/base/core/java/android/app/
H A DFragmentManager.java487 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
648 throwException(new IllegalStateException("Fragment " + fragment
661 throwException(new IllegalStateException("Fragment no longer exists for key "
666 throwException(new IllegalStateException("Fragment no longer exists for key "
675 throwException(new IllegalStateException("Fragment " + fragment
974 throwException(new IllegalArgumentException(
987 throwException(new IllegalArgumentException(
1809 throwException(new IllegalStateException(
1824 throwException(new IllegalStateException(
1865 throwException(ne
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java557 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
670 throwException(new IllegalStateException("Fragment " + fragment
683 throwException(new IllegalStateException("Fragment no longer exists for key "
688 throwException(new IllegalStateException("Fragment no longer exists for key "
702 throwException( new IllegalStateException("Fragment " + fragment
1083 throwException(new IllegalArgumentException(
1096 throwException(new IllegalArgumentException(
1914 throwException(new IllegalStateException(
1929 throwException(new IllegalStateException(
1970 throwException(ne
[all...]
/frameworks/base/core/java/android/provider/
H A DSettings.java9236 String callingPackage, boolean throwException) {
9238 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9254 String callingPackage, boolean throwException) {
9256 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9274 String callingPackage, boolean throwException) {
9280 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9292 String callingPackage, boolean throwException) {
9294 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
9309 callingPackage, boolean throwException) {
9311 callingPackage, throwException, AppOpsManage
9235 isCallingPackageAllowedToWriteSettings(Context context, int uid, String callingPackage, boolean throwException) argument
9253 checkAndNoteWriteSettingsOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9273 checkAndNoteChangeNetworkStateOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9291 isCallingPackageAllowedToDrawOverlays(Context context, int uid, String callingPackage, boolean throwException) argument
9308 checkAndNoteDrawOverlaysOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9321 isCallingPackageAllowedToPerformAppOpsProtectedOperation(Context context, int uid, String callingPackage, boolean throwException, int appOpsOpCode, String[] permissions, boolean makeNote) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp133 throwException(mVm, mMessage);
136 static void throwException(JavaVM* vm, const std::string& message) { function in class:android::RenderingException

Completed in 426 milliseconds