Home
last modified time | relevance | path

Searched refs:ParcelableException (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobStoreManager.java30 import android.os.ParcelableException;
194 } catch (ParcelableException e) { in createSession()
217 } catch (ParcelableException e) { in openSession()
238 } catch (ParcelableException e) { in abandonSession()
262 } catch (ParcelableException e) { in openBlob()
319 } catch (ParcelableException e) { in acquireLease()
382 } catch (ParcelableException e) { in acquireLease()
501 } catch (ParcelableException e) { in releaseLease()
517 } catch (ParcelableException e) { in releaseAllLeases()
556 } catch (ParcelableException e) { in waitForIdle()
[all …]
/frameworks/base/core/java/android/os/
DParcelableException.java37 public final class ParcelableException extends RuntimeException implements Parcelable { class
38 public ParcelableException(Throwable t) { in ParcelableException() method in ParcelableException
79 …ic final @android.annotation.NonNull Creator<ParcelableException> CREATOR = new Creator<Parcelable…
81 public ParcelableException createFromParcel(Parcel source) {
82 return new ParcelableException(readFromParcel(source));
86 public ParcelableException[] newArray(int size) {
87 return new ParcelableException[size];
DParcelableException.aidl18 parcelable ParcelableException;
DSystemClock.java346 } catch (ParcelableException e) {
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java32 import android.os.ParcelableException;
113 } catch (ParcelableException e) { in getTotalBytes()
145 } catch (ParcelableException e) { in getFreeBytes()
163 } catch (ParcelableException e) { in getCacheBytes()
213 } catch (ParcelableException e) { in queryStatsForPackage()
255 } catch (ParcelableException e) { in queryStatsForUid()
293 } catch (ParcelableException e) { in queryStatsForUser()
330 } catch (ParcelableException e) { in queryExternalStatsForUser()
376 } catch (ParcelableException e) { in queryCratesForUid()
409 } catch (ParcelableException e) { in queryCratesForPackage()
[all …]
/frameworks/base/core/java/android/util/
DExceptionUtils.java21 import android.os.ParcelableException;
34 throw new ParcelableException(e); in wrap()
38 if (e instanceof ParcelableException) { in maybeUnwrapIOException()
39 ((ParcelableException) e).maybeRethrow(IOException.class); in maybeUnwrapIOException()
/frameworks/base/core/java/android/app/contextualsearch/
DIContextualSearchCallback.aidl19 import android.os.ParcelableException;
26 void onError(in ParcelableException error); in onError()
DCallbackToken.java30 import android.os.ParcelableException;
165 public void onError(ParcelableException error) { in onError()
/frameworks/base/core/java/android/service/resumeonreboot/
DResumeOnRebootService.java29 import android.os.ParcelableException;
137 bundle.putParcelable(EXCEPTION_KEY, new ParcelableException(e));
154 bundle.putParcelable(EXCEPTION_KEY, new ParcelableException(e));
/frameworks/base/core/java/android/content/
DContentProviderResult.java25 import android.os.ParcelableException;
82 exception = ParcelableException.readFromParcel(source); in ContentProviderResult()
118 ParcelableException.writeToParcel(dest, exception); in writeToParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java56 import android.os.ParcelableException;
249 throw new ParcelableException(new IOException(e.getMessage())); in isQuotaSupported()
289 throw new ParcelableException( in getTotalBytes()
306 throw new ParcelableException(e); in getFreeBytes()
367 throw new ParcelableException(e); in queryStatsForPackage()
405 throw new ParcelableException(new IOException(e.getMessage())); in queryStatsForPackage()
461 throw new ParcelableException(e); in queryStatsForUid()
476 throw new ParcelableException(new IOException(e.getMessage())); in queryStatsForUid()
508 throw new ParcelableException(new IOException(e.getMessage())); in queryStatsForUser()
541 throw new ParcelableException(new IOException(e.getMessage())); in queryExternalStatsForUser()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DRadioModuleTest.java34 import android.os.ParcelableException;
130 ParcelableException thrown = assertThrows(ParcelableException.class, () -> in addAnnouncementListener_whenHalThrowsRemoteException()
DTunerSessionTest.java54 import android.os.ParcelableException;
442 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails()
597 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails()
971 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails()
/frameworks/base/core/java/android/os/image/
DDynamicSystemClient.java36 import android.os.ParcelableException;
458 ParcelableException t = (ParcelableException) bundle.getSerializable( in handleMessage()
459 KEY_EXCEPTION_DETAIL, android.os.ParcelableException.class); in handleMessage()
/frameworks/base/services/core/java/com/android/server/locksettings/
DResumeOnRebootServiceProvider.java31 import android.os.ParcelableException;
185 ResumeOnRebootService.EXCEPTION_KEY, android.os.ParcelableException.class)); in wrapBlob()
205 ResumeOnRebootService.EXCEPTION_KEY, android.os.ParcelableException.class)); in unwrap()
212 ParcelableException exception) in throwTypedException()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java61 import android.os.ParcelableException;
253 ParcelableException.class, in archiveApp_packageNotInstalled()
293 ParcelableException.class, in archiveApp_noInstallerFound()
307 ParcelableException.class, in archiveApp_installerDoesntSupportUnarchival()
321 ParcelableException.class, in archiveApp_noMainActivities()
356 ParcelableException.class, in archiveApp_appOptedOutOfArchiving()
466 ParcelableException.class, in unarchiveApp_packageNotInstalled()
478 ParcelableException.class, in unarchiveApp_notArchived_missingArchiveState()
490 ParcelableException.class, in unarchiveApp_notArchived_stillInstalled()
514 ParcelableException.class, in unarchiveApp_noInstallerFound()
/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java30 import android.os.ParcelableException;
262 bundle.putParcelable(EXTRA_ERROR, new ParcelableException(throwable)); in sendResult()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java44 import android.os.ParcelableException;
103 return new ParcelableException(new RuntimeException( in throwOnError()
109 return new ParcelableException(new RuntimeException(action in throwOnError()
112 return new ParcelableException(new RuntimeException(action in throwOnError()
121 return new ParcelableException(new RuntimeException(action + ": TIMEOUT")); in throwOnError()
125 return new ParcelableException(new RuntimeException( in throwOnError()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTunerSessionHidlTest.java49 import android.os.ParcelableException;
423 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails()
576 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails()
692 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageUserConnection.java36 import android.os.ParcelableException;
448ParcelableException ex = result.getParcelable(EXTRA_ERROR, android.os.ParcelableException.class); in setResult()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java39 import android.os.ParcelableException;
71 throw new ParcelableException(new RuntimeException(errorString)); in throwOnError()
79 throw new ParcelableException(new RuntimeException( in throwOnError()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp159 } ParcelableException; member
232 auto parcelableExc = make_javaref(env, env->NewObject(gjni.ParcelableException.clazz, in ThrowParcelableRuntimeException()
233 gjni.ParcelableException.cstor, runtimeExc.get())); in ThrowParcelableRuntimeException()
768 gjni.ParcelableException.clazz = MakeGlobalRefOrDie(env, parcelableExcClass); in register_android_server_broadcastradio_convert()
769 gjni.ParcelableException.cstor = GetMethodIDOrDie(env, parcelableExcClass, "<init>", in register_android_server_broadcastradio_convert()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java34 import android.os.ParcelableException;
407 throw new ParcelableException(new DateTimeException("Missing network time fix")); in latestNetworkTime()
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/
DContextualSearchManagerService.java63 import android.os.ParcelableException;
480 new ParcelableException(new IllegalArgumentException("Invalid token"))); in getContextualSearchState()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java49 import android.os.ParcelableException;
337 throw new ParcelableException(new LimitExceededException( in allowPackageAccess()

12