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

/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp316 static void throwException(JNIEnv *env, int error, const char *message) function in namespace:android
329 throwException(env, tun, "Cannot create interface");
339 throwException(env, SYSTEM_ERROR, "Cannot get interface name");
364 throwException(env, count, "Cannot set address");
397 throwException(env, count, "Cannot set route");
419 throwException(env, SYSTEM_ERROR, "Cannot reset interface");
444 throwException(env, SYSTEM_ERROR, "Cannot protect socket");
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java166 throwException(id);
187 throwException(id);
206 throwException(id);
229 throwException(id);
273 throwException(id);
307 throwException(id);
352 throwException(id);
380 throwException(id);
408 throwException(id);
440 throwException(i
676 private void throwException(int id) throws NotFoundException { method in class:BridgeResources
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java109 * @param throwException If true, throws EncodeException on invalid char.
111 * @throws EncodeException encode error when throwException is true
115 charToGsm(char c, boolean throwException) throws EncodeException { argument
124 if (throwException) {
322 * @param throwException If true, throws EncodeException on invalid char.
332 boolean throwException, int languageTable, int languageShiftTable)
335 int septetCount = countGsmSeptetsUsingTables(data, !throwException,
356 if (throwException) {
331 stringToGsm7BitPacked(String data, int startingSeptetOffset, boolean throwException, int languageTable, int languageShiftTable) argument

Completed in 1149 milliseconds