Searched defs: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/core/java/android/view/inputmethod/
H A DInputContentInfo.java74 validateInternal(contentUri, description, linkUri, true /* throwException */);
85 return validateInternal(mContentUri, mDescription, mLinkUri, false /* throwException */);
99 * @param throwException {@code true} if this method should throw an
104 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) {
106 if (throwException) {
112 if (throwException) {
119 if (throwException) {
128 if (throwException) {
103 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/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/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/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/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/opt/net/wifi/service/jni/
H A Djni_helper.cpp71 void JNIHelper::throwException(const char *message, int line) function in class:android::JNIHelper
/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/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp160 throwException(mVm, mMessage);
163 static void throwException(JavaVM* vm, const std::string& message) { function in class:android::RenderingException
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentManager.java566 private void throwException(RuntimeException ex) { method in class:FragmentManagerImpl
679 throwException(new IllegalStateException("Fragment " + fragment
692 throwException(new IllegalStateException("Fragment no longer exists for key "
697 throwException(new IllegalStateException("Fragment no longer exists for key "
711 throwException( new IllegalStateException("Fragment " + fragment
1092 throwException(new IllegalArgumentException(
1105 throwException(new IllegalArgumentException(
1925 throwException(new IllegalStateException(
1940 throwException(new IllegalStateException(
1981 throwException(ne
[all...]
/frameworks/base/core/java/android/provider/
H A DSettings.java9514 String callingPackage, boolean throwException) {
9516 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9532 String callingPackage, boolean throwException) {
9534 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9552 String callingPackage, boolean throwException) {
9558 callingPackage, throwException, AppOpsManager.OP_WRITE_SETTINGS,
9570 String callingPackage, boolean throwException) {
9572 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
9587 callingPackage, boolean throwException) {
9589 callingPackage, throwException, AppOpsManage
9513 isCallingPackageAllowedToWriteSettings(Context context, int uid, String callingPackage, boolean throwException) argument
9531 checkAndNoteWriteSettingsOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9551 checkAndNoteChangeNetworkStateOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9569 isCallingPackageAllowedToDrawOverlays(Context context, int uid, String callingPackage, boolean throwException) argument
9586 checkAndNoteDrawOverlaysOperation(Context context, int uid, String callingPackage, boolean throwException) argument
9599 isCallingPackageAllowedToPerformAppOpsProtectedOperation(Context context, int uid, String callingPackage, boolean throwException, int appOpsOpCode, String[] permissions, boolean makeNote) argument
[all...]

Completed in 7271 milliseconds