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

/frameworks/ex/framesequence/jni/
H A DBitmapDecoderJNI.cpp27 void throwException(JNIEnv* env, const char* error) { function
/frameworks/base/tests/net/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/core/java/android/view/inputmethod/
H A DInputContentInfo.java93 validateInternal(contentUri, description, linkUri, true /* throwException */);
106 return validateInternal(mContentUri, mDescription, mLinkUri, false /* throwException */);
120 * @param throwException {@code true} if this method should throw an
125 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) {
127 if (throwException) {
133 if (throwException) {
140 if (throwException) {
149 if (throwException) {
124 validateInternal(@onNull Uri contentUri, @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) argument
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DFontRequestEmojiCompatConfig.java123 throwException("provider not found");
126 throwException("fetchFonts failed (" + result.getStatusCode() + ")");
130 throwException("fetchFonts failed (empty result)");
135 throwException("fetchFonts result is not OK. (" + font.getResultCode() + ")");
145 throwException("Unable to open file.");
155 throwException("Failed to create Typeface.");
165 private static void throwException(String msg) { method in class:FontRequestEmojiCompatConfig
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java177 throwException(resources, id);
238 throwException(resources, id);
280 throwException(resources, id);
404 throwException(resources, id);
465 throwException(resources, id);
500 throwException(resources, id);
550 throwException(resources, id);
579 throwException(resources, id);
608 throwException(resources, id);
635 throwException(resource
998 private static void throwException(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate
1002 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.cpp253 static void throwException(JNIEnv *env, int error, const char *message) function in namespace:android
266 throwException(env, tun, "Cannot create interface");
276 throwException(env, SYSTEM_ERROR, "Cannot get interface name");
301 throwException(env, count, "Cannot set address");
323 throwException(env, SYSTEM_ERROR, "Cannot reset interface");
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.h119 #define THROW(env, message) (env).throwException(message, __LINE__)
/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/provider/
H A DSettings.java10799 String callingPackage, boolean throwException) {
10801 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
10817 String callingPackage, boolean throwException) {
10819 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
10837 String callingPackage, boolean throwException) {
10843 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
10855 String callingPackage, boolean throwException) {
10857 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
10872 callingPackage, boolean throwException) {
10874 callingPackage, throwException, AppOpsManage
10798 isCallingPackageAllowedToWriteSettings(Context context, int uid, String callingPackage, boolean throwException) argument
10816 checkAndNoteWriteSettingsOperation(Context context, int uid, String callingPackage, boolean throwException) argument
10836 checkAndNoteChangeNetworkStateOperation(Context context, int uid, String callingPackage, boolean throwException) argument
10854 isCallingPackageAllowedToDrawOverlays(Context context, int uid, String callingPackage, boolean throwException) argument
10871 checkAndNoteDrawOverlaysOperation(Context context, int uid, String callingPackage, boolean throwException) argument
10884 isCallingPackageAllowedToPerformAppOpsProtectedOperation(Context context, int uid, String callingPackage, boolean throwException, int appOpsOpCode, String[] permissions, boolean makeNote) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java722 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
906 throwException(new IllegalStateException("Fragment " + fragment
920 throwException(new IllegalStateException("Fragment no longer exists for key "
939 throwException(new IllegalStateException("Fragment " + fragment
1255 throwException(new IllegalArgumentException(
1268 throwException(new IllegalArgumentException(
2710 throwException(new IllegalStateException(
2725 throwException(new IllegalStateException(
2766 throwException(new IllegalStateException(
2824 throwException(ne
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentManager.java752 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
889 throwException(new IllegalStateException("Fragment " + fragment
903 throwException(new IllegalStateException("Fragment no longer exists for key "
952 throwException( new IllegalStateException("Fragment " + fragment
1397 throwException(new IllegalArgumentException(
1410 throwException(new IllegalArgumentException(
2911 throwException(new IllegalStateException(
2926 throwException(new IllegalStateException(
2966 throwException(new IllegalStateException(
3025 throwException(ne
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp137 throwException(mVm, mMessage);
140 static void throwException(JavaVM* vm, const std::string& message) { function in class:android::RenderingException

Completed in 1395 milliseconds