/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobStoreManager.java | 194 } catch (ParcelableException e) { in createSession() 195 e.maybeRethrow(IOException.class); in createSession() 196 e.maybeRethrow(LimitExceededException.class); in createSession() 197 throw new RuntimeException(e); in createSession() 198 } catch (RemoteException e) { in createSession() 199 throw e.rethrowFromSystemServer(); in createSession() 217 } catch (ParcelableException e) { in openSession() 218 e.maybeRethrow(IOException.class); in openSession() 219 throw new RuntimeException(e); in openSession() 220 } catch (RemoteException e) { in openSession() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 71 } catch (ServiceSpecificException e) { in submitRequest() 72 throw ExceptionUtils.throwAsPublicException(e); in submitRequest() 73 } catch (RemoteException e) { in submitRequest() 74 throw ExceptionUtils.throwAsPublicException(e); in submitRequest() 82 } catch (ServiceSpecificException e) { in submitRequestList() 83 throw ExceptionUtils.throwAsPublicException(e); in submitRequestList() 84 } catch (RemoteException e) { in submitRequestList() 85 throw ExceptionUtils.throwAsPublicException(e); in submitRequestList() 92 } catch (ServiceSpecificException e) { in cancelRequest() 93 throw ExceptionUtils.throwAsPublicException(e); in cancelRequest() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStoreMaintenance.java | 60 } catch (ServiceSpecificException e) { in onUserAdded() 61 Log.e(TAG, "onUserAdded failed", e); in onUserAdded() 62 return e.errorCode; in onUserAdded() 63 } catch (Exception e) { in onUserAdded() 64 Log.e(TAG, "Can not connect to keystore", e); in onUserAdded() 84 } catch (ServiceSpecificException e) { in initUserSuperKeys() 85 Log.e(TAG, "initUserSuperKeys failed", e); in initUserSuperKeys() 86 return e.errorCode; in initUserSuperKeys() 87 } catch (Exception e) { in initUserSuperKeys() 88 Log.e(TAG, "Can not connect to keystore", e); in initUserSuperKeys() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityClient.java | 53 } catch (RemoteException e) { in activityIdle() 54 e.rethrowFromSystemServer(); in activityIdle() 62 } catch (RemoteException e) { in activityResumed() 63 e.rethrowFromSystemServer(); in activityResumed() 71 } catch (RemoteException e) { in activityRefreshed() 72 e.rethrowFromSystemServer(); in activityRefreshed() 83 } catch (RemoteException e) { in activityTopResumedStateLost() 84 e.rethrowFromSystemServer(); in activityTopResumedStateLost() 92 } catch (RemoteException e) { in activityPaused() 93 e.rethrowFromSystemServer(); in activityPaused() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallSessionListener.java | 77 } catch (RemoteException e) { in callSessionInitiating() 78 e.rethrowFromSystemServer(); in callSessionInitiating() 91 } catch (RemoteException e) { in callSessionInitiatingFailed() 92 e.rethrowFromSystemServer(); in callSessionInitiatingFailed() 105 } catch (RemoteException e) { in callSessionProgressing() 106 e.rethrowFromSystemServer(); in callSessionProgressing() 119 } catch (RemoteException e) { in callSessionInitiated() 120 e.rethrowFromSystemServer(); in callSessionInitiated() 138 } catch (RemoteException e) { in callSessionInitiatedFailed() 139 e.rethrowFromSystemServer(); in callSessionInitiatedFailed() [all …]
|
D | ImsMmTelManager.java | 334 } catch (ServiceSpecificException e) { in registerImsRegistrationCallback() 335 if (e.errorCode == ImsException.CODE_ERROR_INVALID_SUBSCRIPTION) { in registerImsRegistrationCallback() 337 throw new IllegalArgumentException(e.getMessage()); in registerImsRegistrationCallback() 339 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 341 } catch (RemoteException | IllegalStateException e) { in registerImsRegistrationCallback() 342 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 378 } catch (ServiceSpecificException e) { in registerImsRegistrationCallback() 379 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 380 } catch (RemoteException | IllegalStateException e) { in registerImsRegistrationCallback() 381 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() [all …]
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 346 } catch (RemoteException e) { in initRecoveryService() 347 throw e.rethrowFromSystemServer(); in initRecoveryService() 348 } catch (ServiceSpecificException e) { in initRecoveryService() 349 if (e.errorCode == ERROR_BAD_CERTIFICATE_FORMAT in initRecoveryService() 350 || e.errorCode == ERROR_INVALID_CERTIFICATE) { in initRecoveryService() 351 throw new CertificateException("Invalid certificate for recovery service", e); in initRecoveryService() 353 if (e.errorCode == ERROR_DOWNGRADE_CERTIFICATE) { in initRecoveryService() 355 "Downgrading certificate serial version isn't supported.", e); in initRecoveryService() 357 throw wrapUnexpectedServiceSpecificException(e); in initRecoveryService() 374 } catch (RemoteException e) { in getKeyChainSnapshot() [all …]
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/ |
D | IntermediateClass.java | 34 } catch (ExceptionInMainDex e) { in get3() 36 } catch (ExceptionInSecondaryDex e) { in get3() 38 } catch (ExceptionInMainDex2 e) { in get3() 40 } catch (ExceptionInSecondaryDex2 e) { in get3() 42 } catch (OutOfMemoryError e) { in get3() 44 } catch (CaughtOnlyException e) { in get3() 46 } catch (ExceptionInSecondaryDexWithSuperInMain e) { in get3() 48 … catch (SuperExceptionInSecondaryDex|SuperExceptionInMainDex|CaughtOnlyByIntermediateException e) { in get3() 59 } catch (ExceptionInSecondaryDexWithSuperInMain e) { in get4() 61 } catch (ExceptionInSecondaryDex e) { in get4() [all …]
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Hid.java | 56 } catch (Exception e) { in main() 57 error("HID injection failed.", e); in main() 68 } catch (UnsupportedEncodingException e) { in Hid() 69 throw new RuntimeException(e); in Hid() 75 Event e = null; in run() local 76 while ((e = mReader.getNextEvent()) != null) { in run() 77 process(e); in run() 88 private void process(Event e) { in process() argument 89 final int index = mDevices.indexOfKey(e.getId()); in process() 92 if (Event.COMMAND_DELAY.equals(e.getCommand())) { in process() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerAdapter.java | 77 } catch (RemoteException e) { in close() 78 Log.e(TAG, "Exception trying to close tuner", e); in close() 93 } catch (IllegalArgumentException e) { in setConfiguration() 94 Log.e(TAG, "Can't set configuration", e); in setConfiguration() 96 } catch (RemoteException e) { in setConfiguration() 97 Log.e(TAG, "Service died", e); in setConfiguration() 110 } catch (RemoteException e) { in getConfiguration() 111 Log.e(TAG, "Service died", e); in getConfiguration() 120 } catch (IllegalStateException e) { in setMute() 121 Log.e(TAG, "Can't set muted", e); in setMute() [all …]
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 138 } catch (RemoteException e) { in registerClientProfile() 139 throw e.rethrowFromSystemServer(); in registerClientProfile() 152 } catch (RemoteException e) { in unregisterClientProfile() 153 throw e.rethrowFromSystemServer(); in unregisterClientProfile() 178 } catch (RemoteException e) { in updateClientPriority() 179 throw e.rethrowFromSystemServer(); in updateClientPriority() 193 } catch (RemoteException e) { in hasUnusedFrontend() 194 throw e.rethrowFromSystemServer(); in hasUnusedFrontend() 216 } catch (RemoteException e) { in isLowestPriority() 217 throw e.rethrowFromSystemServer(); in isLowestPriority() [all …]
|
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/ |
D | Uinput.java | 63 } catch (EvemuParser.ParsingException e) { in main() 64 System.err.println(e.makeErrorMessage()); in main() 65 error(e.makeErrorMessage(), e); in main() 67 } catch (Exception e) { in main() 68 error("Uinput injection failed.", e); in main() 73 } catch (IOException e) { in main() 83 } catch (IOException e) { in Uinput() 84 throw new RuntimeException(e); in Uinput() 109 Event e = null; in run() local 110 while ((e = mParser.getNextEvent()) != null) { in run() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RecentsAnimationControllerCompat.java | 47 } catch (RemoteException e) { in screenshotTask() 48 Log.e(TAG, "Failed to screenshot task", e); in screenshotTask() 56 } catch (RemoteException e) { in setInputConsumerEnabled() 57 Log.e(TAG, "Failed to set input consumer enabled state", e); in setInputConsumerEnabled() 64 } catch (RemoteException e) { in setAnimationTargetsBehindSystemBars() 65 Log.e(TAG, "Failed to set whether animation targets are behind system bars", e); in setAnimationTargetsBehindSystemBars() 82 } catch (RemoteException e) { in setFinishTaskTransaction() 83 Log.d(TAG, "Failed to set finish task bounds", e); in setFinishTaskTransaction() 96 } catch (RemoteException e) { in finish() 97 Log.e(TAG, "Failed to finish recents animation", e); in finish() [all …]
|
/frameworks/base/identity/java/android/security/identity/ |
D | CredstoreIdentityCredential.java | 110 } catch (android.os.RemoteException e) { in ensureEphemeralKeyPair() 111 throw new RuntimeException("Unexpected RemoteException ", e); in ensureEphemeralKeyPair() 112 } catch (android.os.ServiceSpecificException e) { in ensureEphemeralKeyPair() 114 + e.errorCode, e); in ensureEphemeralKeyPair() 119 | IOException e) { in ensureEphemeralKeyPair() 120 throw new RuntimeException("Unexpected exception ", e); in ensureEphemeralKeyPair() 137 } catch (android.os.RemoteException e) { in setReaderEphemeralPublicKey() 138 throw new RuntimeException("Unexpected RemoteException ", e); in setReaderEphemeralPublicKey() 139 } catch (android.os.ServiceSpecificException e) { in setReaderEphemeralPublicKey() 141 + e.errorCode, e); in setReaderEphemeralPublicKey() [all …]
|
D | CredstoreIdentityCredentialStore.java | 69 } catch (android.os.RemoteException e) { in getInstanceForType() 70 throw new RuntimeException("Unexpected RemoteException ", e); in getInstanceForType() 71 } catch (android.os.ServiceSpecificException e) { in getInstanceForType() 72 if (e.errorCode == ICredentialStore.ERROR_GENERIC) { in getInstanceForType() 76 + e.errorCode, e); in getInstanceForType() 112 } catch (android.os.RemoteException e) { in getSupportedDocTypes() 113 throw new RuntimeException("Unexpected RemoteException ", e); in getSupportedDocTypes() 114 } catch (android.os.ServiceSpecificException e) { in getSupportedDocTypes() 116 + e.errorCode, e); in getSupportedDocTypes() 127 } catch (android.os.RemoteException e) { in createCredential() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceWrapper.java | 55 } catch (RemoteException e) { in verifyUnlock() 56 Slog.w(TAG , "Remote Exception", e); in verifyUnlock() 64 } catch (RemoteException e) { in setOccluded() 65 Slog.w(TAG , "Remote Exception", e); in setOccluded() 73 } catch (RemoteException e) { in addStateMonitorCallback() 74 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback() 82 } catch (RemoteException e) { in dismiss() 83 Slog.w(TAG , "Remote Exception", e); in dismiss() 91 } catch (RemoteException e) { in onDreamingStarted() 92 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 73 } catch (RemoteException e) { in isQuotaSupported() 74 throw e.rethrowFromSystemServer(); in isQuotaSupported() 89 } catch (RemoteException e) { in isReservedSupported() 90 throw e.rethrowFromSystemServer(); in isReservedSupported() 113 } catch (ParcelableException e) { in getTotalBytes() 114 e.maybeRethrow(IOException.class); in getTotalBytes() 115 throw new RuntimeException(e); in getTotalBytes() 116 } catch (RemoteException e) { in getTotalBytes() 117 throw e.rethrowFromSystemServer(); in getTotalBytes() 145 } catch (ParcelableException e) { in getFreeBytes() [all …]
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | ForwardPreviewExtender.java | 80 } catch (RemoteException e) { in onInit() 81 Log.e(TAG, "onInit failed", e); in onInit() 82 throw new IllegalStateException("onInit failed", e); in onInit() 94 } catch (RemoteException e) { in onDeInit() 95 Log.e(TAG, "onDeInit failed", e); in onDeInit() 96 throw new IllegalStateException("onDeInit failed", e); in onDeInit() 108 } catch (RemoteException e) { in onPresetSession() 109 Log.e(TAG, "onPresetSession failed", e); in onPresetSession() 110 throw new IllegalStateException("onDeInit failed", e); in onPresetSession() 122 } catch (RemoteException e) { in onEnableSession() [all …]
|
D | ForwardImageCaptureExtender.java | 84 } catch (RemoteException e) { in onInit() 85 Log.e(TAG, "onInit failed", e); in onInit() 86 throw new IllegalStateException("onInit failed", e); in onInit() 98 } catch (RemoteException e) { in onDeInit() 99 Log.e(TAG, "onDeInit failed", e); in onDeInit() 100 throw new IllegalStateException("onDeInit failed", e); in onDeInit() 112 } catch (RemoteException e) { in onPresetSession() 113 Log.e(TAG, "onPresetSession failed", e); in onPresetSession() 114 throw new IllegalStateException("onPresetSession failed", e); in onPresetSession() 126 } catch (RemoteException e) { in onEnableSession() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | TelecomManager.java | 1179 } catch (RemoteException e) { in getDefaultOutgoingPhoneAccount() 1180 Log.e(TAG, "Error calling ITelecomService#getDefaultOutgoingPhoneAccount", e); in getDefaultOutgoingPhoneAccount() 1206 } catch (RemoteException e) { in getUserSelectedOutgoingPhoneAccount() 1207 Log.e(TAG, "Error calling ITelecomService#getUserSelectedOutgoingPhoneAccount", e); in getUserSelectedOutgoingPhoneAccount() 1228 } catch (RemoteException e) { in setUserSelectedOutgoingPhoneAccount() 1229 Log.e(TAG, "Error calling ITelecomService#setUserSelectedOutgoingPhoneAccount"); in setUserSelectedOutgoingPhoneAccount() 1249 } catch (RemoteException e) { in getSimCallManager() 1250 Log.e(TAG, "Error calling ITelecomService#getSimCallManager"); in getSimCallManager() 1271 } catch (RemoteException e) { in getSimCallManagerForSubscription() 1272 Log.e(TAG, "Error calling ITelecomService#getSimCallManager"); in getSimCallManagerForSubscription() [all …]
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 72 } catch (RemoteException e) { in setAshmem() 73 throw new RuntimeException(e.toString()); in setAshmem() 88 } catch (RemoteException e) { in submitFromAshmem() 89 throw new RuntimeException(e.toString()); in submitFromAshmem() 104 } catch (RemoteException e) { in getAvbPublicKey() 105 throw new RuntimeException(e.toString()); in getAvbPublicKey() 119 } catch (RemoteException e) { in commit() 120 throw new RuntimeException(e.toString()); in commit() 133 } catch (RemoteException e) { in startInstallation() 134 throw new RuntimeException(e.toString()); in startInstallation() [all …]
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTvClient.java | 90 } catch (RemoteException e) { in deviceSelect() 91 Log.e(TAG, "failed to select device: ", e); in deviceSelect() 117 } catch (RemoteException e) { 118 Log.e(TAG, "failed to select port: ", e); 145 } catch (RemoteException e) { 146 Log.e("TAG", "Failed to set InputChangeListener:", e); 170 } catch (RemoteException e) { 171 Log.e("TAG", "Failed to call getDeviceList():", e); 186 } catch (RemoteException e) { 187 Log.e(TAG, "failed to set system audio mode:", e); [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 152 } catch (RemoteException e) { in setDynamicShortcuts() 153 throw e.rethrowFromSystemServer(); in setDynamicShortcuts() 172 } catch (RemoteException e) { in getDynamicShortcuts() 173 throw e.rethrowFromSystemServer(); in getDynamicShortcuts() 192 } catch (RemoteException e) { in getManifestShortcuts() 193 throw e.rethrowFromSystemServer(); in getManifestShortcuts() 221 } catch (RemoteException e) { in getShortcuts() 222 throw e.rethrowFromSystemServer(); in getShortcuts() 244 } catch (RemoteException e) { in addDynamicShortcuts() 245 throw e.rethrowFromSystemServer(); in addDynamicShortcuts() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStatsManager.java | 204 } catch (RemoteException e) { in getBatteryUsageStats() 205 throw e.rethrowFromSystemServer(); in getBatteryUsageStats() 218 } catch (RemoteException e) { in reportWifiRssiChanged() 219 e.rethrowFromSystemServer(); in reportWifiRssiChanged() 230 } catch (RemoteException e) { in reportWifiOn() 231 e.rethrowFromSystemServer(); in reportWifiOn() 242 } catch (RemoteException e) { in reportWifiOff() 243 e.rethrowFromSystemServer(); in reportWifiOff() 258 } catch (RemoteException e) { in reportWifiState() 259 e.rethrowFromSystemServer(); in reportWifiState() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataServiceCallback.java | 92 } catch (RemoteException e) { in onSetupDataCallComplete() 93 Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote"); in onSetupDataCallComplete() 96 Rlog.e(TAG, "onSetupDataCallComplete: callback is null!"); in onSetupDataCallComplete() 111 } catch (RemoteException e) { in onDeactivateDataCallComplete() 112 Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote"); in onDeactivateDataCallComplete() 115 Rlog.e(TAG, "onDeactivateDataCallComplete: callback is null!"); in onDeactivateDataCallComplete() 129 } catch (RemoteException e) { in onSetInitialAttachApnComplete() 130 Rlog.e(TAG, "Failed to onSetInitialAttachApnComplete on the remote"); in onSetInitialAttachApnComplete() 133 Rlog.e(TAG, "onSetInitialAttachApnComplete: callback is null!"); in onSetInitialAttachApnComplete() 147 } catch (RemoteException e) { in onSetDataProfileComplete() [all …]
|