Searched defs:throwException (Results 1 - 11 of 11) sorted by relevance

/frameworks/ex/framesequence/jni/
H A DBitmapDecoderJNI.cpp27 void throwException(JNIEnv* env, const char* error) { function
/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/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/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/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/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/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java209 throwException(resources, id);
270 throwException(resources, id);
312 throwException(resources, id);
444 throwException(resources, id);
486 throwException(resources, id);
512 throwException(resources, id);
562 throwException(resources, id);
591 throwException(resources, id);
620 throwException(resources, id);
647 throwException(resource
1073 private static void throwException(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate
1077 private static void throwException(int id, @Nullable Pair<ResourceType, String> resourceInfo) { method in class:Resources_Delegate
[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
/frameworks/base/core/java/android/app/
H A DFragmentManager.java723 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
907 throwException(new IllegalStateException("Fragment " + fragment
921 throwException(new IllegalStateException("Fragment no longer exists for key "
940 throwException(new IllegalStateException("Fragment " + fragment
1258 throwException(new IllegalArgumentException(
1271 throwException(new IllegalArgumentException(
2702 throwException(new IllegalStateException(
2717 throwException(new IllegalStateException(
2757 throwException(new IllegalStateException(
2814 throwException(ne
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentManager.java753 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
890 throwException(new IllegalStateException("Fragment " + fragment
904 throwException(new IllegalStateException("Fragment no longer exists for key "
953 throwException( new IllegalStateException("Fragment " + fragment
1398 throwException(new IllegalArgumentException(
1411 throwException(new IllegalArgumentException(
2913 throwException(new IllegalStateException(
2928 throwException(new IllegalStateException(
2968 throwException(new IllegalStateException(
3027 throwException(ne
[all...]
/frameworks/base/core/java/android/provider/
H A DSettings.java11128 String callingPackage, boolean throwException) {
11130 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
11146 String callingPackage, boolean throwException) {
11148 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
11166 String callingPackage, boolean throwException) {
11172 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
11184 String callingPackage, boolean throwException) {
11186 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
11201 callingPackage, boolean throwException) {
11203 callingPackage, throwException, AppOpsManage
11127 isCallingPackageAllowedToWriteSettings(Context context, int uid, String callingPackage, boolean throwException) argument
11145 checkAndNoteWriteSettingsOperation(Context context, int uid, String callingPackage, boolean throwException) argument
11165 checkAndNoteChangeNetworkStateOperation(Context context, int uid, String callingPackage, boolean throwException) argument
11183 isCallingPackageAllowedToDrawOverlays(Context context, int uid, String callingPackage, boolean throwException) argument
11200 checkAndNoteDrawOverlaysOperation(Context context, int uid, String callingPackage, boolean throwException) argument
11213 isCallingPackageAllowedToPerformAppOpsProtectedOperation(Context context, int uid, String callingPackage, boolean throwException, int appOpsOpCode, String[] permissions, boolean makeNote) argument
[all...]

Completed in 431 milliseconds