/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/app/ |
D | ActivityClient.java | 45 } catch (RemoteException e) { in activityIdle() 46 e.rethrowFromSystemServer(); in activityIdle() 54 } catch (RemoteException e) { in activityResumed() 55 e.rethrowFromSystemServer(); in activityResumed() 66 } catch (RemoteException e) { in activityTopResumedStateLost() 67 e.rethrowFromSystemServer(); in activityTopResumedStateLost() 75 } catch (RemoteException e) { in activityPaused() 76 e.rethrowFromSystemServer(); in activityPaused() 86 } catch (RemoteException e) { in activityStopped() 87 e.rethrowFromSystemServer(); in activityStopped() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStoreMaintenance.java | 57 } catch (ServiceSpecificException e) { in onUserAdded() 58 Log.e(TAG, "onUserAdded failed", e); in onUserAdded() 59 return e.errorCode; in onUserAdded() 60 } catch (Exception e) { in onUserAdded() 61 Log.e(TAG, "Can not connect to keystore", e); in onUserAdded() 77 } catch (ServiceSpecificException e) { in onUserRemoved() 78 Log.e(TAG, "onUserRemoved failed", e); in onUserRemoved() 79 return e.errorCode; in onUserRemoved() 80 } catch (Exception e) { in onUserRemoved() 81 Log.e(TAG, "Can not connect to keystore", e); in onUserRemoved() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallSessionListener.java | 71 } catch (RemoteException e) { in callSessionInitiating() 72 e.rethrowFromSystemServer(); in callSessionInitiating() 85 } catch (RemoteException e) { in callSessionInitiatingFailed() 86 e.rethrowFromSystemServer(); in callSessionInitiatingFailed() 99 } catch (RemoteException e) { in callSessionProgressing() 100 e.rethrowFromSystemServer(); in callSessionProgressing() 113 } catch (RemoteException e) { in callSessionInitiated() 114 e.rethrowFromSystemServer(); in callSessionInitiated() 132 } catch (RemoteException e) { in callSessionInitiatedFailed() 133 e.rethrowFromSystemServer(); in callSessionInitiatedFailed() [all …]
|
D | ImsMmTelManager.java | 306 } catch (ServiceSpecificException e) { in registerImsRegistrationCallback() 307 if (e.errorCode == ImsException.CODE_ERROR_INVALID_SUBSCRIPTION) { in registerImsRegistrationCallback() 309 throw new IllegalArgumentException(e.getMessage()); in registerImsRegistrationCallback() 311 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 313 } catch (RemoteException | IllegalStateException e) { in registerImsRegistrationCallback() 314 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 350 } catch (ServiceSpecificException e) { in registerImsRegistrationCallback() 351 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 352 } catch (RemoteException | IllegalStateException e) { in registerImsRegistrationCallback() 353 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() [all …]
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 342 } catch (RemoteException e) { in initRecoveryService() 343 throw e.rethrowFromSystemServer(); in initRecoveryService() 344 } catch (ServiceSpecificException e) { in initRecoveryService() 345 if (e.errorCode == ERROR_BAD_CERTIFICATE_FORMAT in initRecoveryService() 346 || e.errorCode == ERROR_INVALID_CERTIFICATE) { in initRecoveryService() 347 throw new CertificateException("Invalid certificate for recovery service", e); in initRecoveryService() 349 if (e.errorCode == ERROR_DOWNGRADE_CERTIFICATE) { in initRecoveryService() 351 "Downgrading certificate serial version isn't supported.", e); in initRecoveryService() 353 throw wrapUnexpectedServiceSpecificException(e); in initRecoveryService() 370 } catch (RemoteException e) { in getKeyChainSnapshot() [all …]
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteXmlPullParserAdapter.java | 42 } catch (RemoteException e) { in setFeature() 43 throw new RuntimeException(e); in setFeature() 51 } catch (RemoteException e) { in getFeature() 52 throw new RuntimeException(e); in getFeature() 60 } catch (RemoteException e) { in setProperty() 61 throw new RuntimeException(e); in setProperty() 69 } catch (RemoteException e) { in getProperty() 70 throw new RuntimeException(e); in getProperty() 78 } catch (RemoteException e) { in setInput() 79 throw new RuntimeException(e); in setInput() [all …]
|
/frameworks/base/identity/java/android/security/identity/ |
D | CredstoreIdentityCredential.java | 103 } catch (android.os.RemoteException e) { in ensureEphemeralKeyPair() 104 throw new RuntimeException("Unexpected RemoteException ", e); in ensureEphemeralKeyPair() 105 } catch (android.os.ServiceSpecificException e) { in ensureEphemeralKeyPair() 107 + e.errorCode, e); in ensureEphemeralKeyPair() 112 | IOException e) { in ensureEphemeralKeyPair() 113 throw new RuntimeException("Unexpected exception ", e); in ensureEphemeralKeyPair() 130 } catch (android.os.RemoteException e) { in setReaderEphemeralPublicKey() 131 throw new RuntimeException("Unexpected RemoteException ", e); in setReaderEphemeralPublicKey() 132 } catch (android.os.ServiceSpecificException e) { in setReaderEphemeralPublicKey() 134 + e.errorCode, e); in setReaderEphemeralPublicKey() [all …]
|
D | CredstoreIdentityCredentialStore.java | 49 } catch (android.os.RemoteException e) { in getInstanceForType() 50 throw new RuntimeException("Unexpected RemoteException ", e); in getInstanceForType() 51 } catch (android.os.ServiceSpecificException e) { in getInstanceForType() 52 if (e.errorCode == ICredentialStore.ERROR_GENERIC) { in getInstanceForType() 56 + e.errorCode, e); in getInstanceForType() 92 } catch (android.os.RemoteException e) { in getSupportedDocTypes() 93 throw new RuntimeException("Unexpected RemoteException ", e); in getSupportedDocTypes() 94 } catch (android.os.ServiceSpecificException e) { in getSupportedDocTypes() 96 + e.errorCode, e); in getSupportedDocTypes() 108 } catch (android.os.RemoteException e) { in createCredential() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerAdapter.java | 67 } catch (RemoteException e) { in close() 68 Log.e(TAG, "Exception trying to close tuner", e); in close() 79 } catch (IllegalArgumentException e) { in setConfiguration() 80 Log.e(TAG, "Can't set configuration", e); in setConfiguration() 82 } catch (RemoteException e) { in setConfiguration() 83 Log.e(TAG, "service died", e); in setConfiguration() 96 } catch (RemoteException e) { in getConfiguration() 97 Log.e(TAG, "service died", e); in getConfiguration() 106 } catch (IllegalStateException e) { in setMute() 107 Log.e(TAG, "Can't set muted", e); in setMute() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RecentsAnimationControllerCompat.java | 46 } catch (RemoteException e) { in screenshotTask() 47 Log.e(TAG, "Failed to screenshot task", e); in screenshotTask() 55 } catch (RemoteException e) { in setInputConsumerEnabled() 56 Log.e(TAG, "Failed to set input consumer enabled state", e); in setInputConsumerEnabled() 63 } catch (RemoteException e) { in setAnimationTargetsBehindSystemBars() 64 Log.e(TAG, "Failed to set whether animation targets are behind system bars", e); in setAnimationTargetsBehindSystemBars() 71 } catch (RemoteException e) { in hideCurrentInputMethod() 72 Log.e(TAG, "Failed to set hide input method", e); in hideCurrentInputMethod() 89 } catch (RemoteException e) { in setFinishTaskTransaction() 90 Log.d(TAG, "Failed to set finish task bounds", e); in setFinishTaskTransaction() [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/native/libs/ftl/ |
D | NamedEnum_test.cpp | 36 TestEnums e = TestEnums::ZERO; in TEST() local 37 ASSERT_EQ(NamedEnum::enum_name(e), "ZERO"); in TEST() 39 e = TestEnums::ONE; in TEST() 40 ASSERT_EQ(NamedEnum::enum_name(e), "ONE"); in TEST() 42 e = TestEnums::THREE; in TEST() 43 ASSERT_EQ(NamedEnum::enum_name(e), "THREE"); in TEST() 45 e = TestEnums::SEVEN; in TEST() 46 ASSERT_EQ(NamedEnum::enum_name(e), "SEVEN"); in TEST() 51 TestBigEnums e = TestBigEnums::ZERO; in TEST() local 52 ASSERT_EQ(NamedEnum::enum_name(e), "ZERO"); in TEST() [all …]
|
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/ |
D | Uinput.java | 62 } catch (Exception e) { in main() 63 error("Uinput injection failed.", e); in main() 68 } catch (IOException e) { in main() 77 } catch (UnsupportedEncodingException e) { in Uinput() 78 throw new RuntimeException(e); in Uinput() 84 Event e = null; in run() local 85 while ((e = mReader.getNextEvent()) != null) { in run() 86 process(e); in run() 97 private void process(Event e) { in process() argument 98 final int index = mDevices.indexOfKey(e.getId()); in process() [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/telecomm/java/android/telecom/ |
D | TelecomManager.java | 1101 } catch (RemoteException e) { in getDefaultOutgoingPhoneAccount() 1102 Log.e(TAG, "Error calling ITelecomService#getDefaultOutgoingPhoneAccount", e); in getDefaultOutgoingPhoneAccount() 1128 } catch (RemoteException e) { in getUserSelectedOutgoingPhoneAccount() 1129 Log.e(TAG, "Error calling ITelecomService#getUserSelectedOutgoingPhoneAccount", e); in getUserSelectedOutgoingPhoneAccount() 1150 } catch (RemoteException e) { in setUserSelectedOutgoingPhoneAccount() 1151 Log.e(TAG, "Error calling ITelecomService#setUserSelectedOutgoingPhoneAccount"); in setUserSelectedOutgoingPhoneAccount() 1171 } catch (RemoteException e) { in getSimCallManager() 1172 Log.e(TAG, "Error calling ITelecomService#getSimCallManager"); in getSimCallManager() 1193 } catch (RemoteException e) { in getSimCallManagerForSubscription() 1194 Log.e(TAG, "Error calling ITelecomService#getSimCallManager"); in getSimCallManagerForSubscription() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 75 } catch (RemoteException e) { in isQuotaSupported() 76 throw e.rethrowFromSystemServer(); in isQuotaSupported() 91 } catch (RemoteException e) { in isReservedSupported() 92 throw e.rethrowFromSystemServer(); in isReservedSupported() 115 } catch (ParcelableException e) { in getTotalBytes() 116 e.maybeRethrow(IOException.class); in getTotalBytes() 117 throw new RuntimeException(e); in getTotalBytes() 118 } catch (RemoteException e) { in getTotalBytes() 119 throw e.rethrowFromSystemServer(); in getTotalBytes() 147 } catch (ParcelableException e) { in getFreeBytes() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceWrapper.java | 54 } catch (RemoteException e) { in verifyUnlock() 55 Slog.w(TAG , "Remote Exception", e); in verifyUnlock() 63 } catch (RemoteException e) { in setOccluded() 64 Slog.w(TAG , "Remote Exception", e); in setOccluded() 72 } catch (RemoteException e) { in addStateMonitorCallback() 73 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback() 81 } catch (RemoteException e) { in dismiss() 82 Slog.w(TAG , "Remote Exception", e); in dismiss() 90 } catch (RemoteException e) { in onDreamingStarted() 91 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted() [all …]
|
/frameworks/native/libs/binder/rust/src/ |
D | error.rs | 42 e => Err(e), in status_result() 48 e if e == StatusCode::OK as i32 => StatusCode::OK, in parse_status_code() 49 e if e == StatusCode::NO_MEMORY as i32 => StatusCode::NO_MEMORY, in parse_status_code() 50 e if e == StatusCode::INVALID_OPERATION as i32 => StatusCode::INVALID_OPERATION, in parse_status_code() 51 e if e == StatusCode::BAD_VALUE as i32 => StatusCode::BAD_VALUE, in parse_status_code() 52 e if e == StatusCode::BAD_TYPE as i32 => StatusCode::BAD_TYPE, in parse_status_code() 53 e if e == StatusCode::NAME_NOT_FOUND as i32 => StatusCode::NAME_NOT_FOUND, in parse_status_code() 54 e if e == StatusCode::PERMISSION_DENIED as i32 => StatusCode::PERMISSION_DENIED, in parse_status_code() 55 e if e == StatusCode::NO_INIT as i32 => StatusCode::NO_INIT, in parse_status_code() 56 e if e == StatusCode::ALREADY_EXISTS as i32 => StatusCode::ALREADY_EXISTS, in parse_status_code() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 151 } catch (RemoteException e) { in setDynamicShortcuts() 152 throw e.rethrowFromSystemServer(); in setDynamicShortcuts() 171 } catch (RemoteException e) { in getDynamicShortcuts() 172 throw e.rethrowFromSystemServer(); in getDynamicShortcuts() 191 } catch (RemoteException e) { in getManifestShortcuts() 192 throw e.rethrowFromSystemServer(); in getManifestShortcuts() 220 } catch (RemoteException e) { in getShortcuts() 221 throw e.rethrowFromSystemServer(); in getShortcuts() 244 } catch (RemoteException e) { in addDynamicShortcuts() 245 throw e.rethrowFromSystemServer(); in addDynamicShortcuts() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 536 Log.e(TAG, "Cannot get package manager, assuming no Android Beam feature"); in hasBeamFeature() 541 } catch (RemoteException e) { in hasBeamFeature() 542 Log.e(TAG, "Package manager query failed, assuming no Android Beam feature", e); in hasBeamFeature() 556 Log.e(TAG, "Cannot get package manager, assuming no NFC feature"); in hasNfcFeature() 561 } catch (RemoteException e) { in hasNfcFeature() 562 Log.e(TAG, "Package manager query failed, assuming no NFC feature", e); in hasNfcFeature() 575 Log.e(TAG, "Cannot get package manager, assuming no NFC feature"); in hasNfcHceFeature() 581 } catch (RemoteException e) { in hasNfcHceFeature() 582 Log.e(TAG, "Package manager query failed, assuming no NFC feature", e); in hasNfcHceFeature() 599 Log.e(TAG, "Cannot get package manager, assuming no off-host CE feature"); in getSupportedOffHostSecureElements() [all …]
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTvClient.java | 87 } catch (RemoteException e) { in deviceSelect() 88 Log.e(TAG, "failed to select device: ", e); in deviceSelect() 114 } catch (RemoteException e) { 115 Log.e(TAG, "failed to select port: ", e); 142 } catch (RemoteException e) { 143 Log.e("TAG", "Failed to set InputChangeListener:", e); 165 } catch (RemoteException e) { 166 Log.e("TAG", "Failed to call getDeviceList():", e); 181 } catch (RemoteException e) { 182 Log.e(TAG, "failed to set system audio mode:", e); [all …]
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 136 } catch (RemoteException e) { in registerClientProfile() 137 throw e.rethrowFromSystemServer(); in registerClientProfile() 150 } catch (RemoteException e) { in unregisterClientProfile() 151 throw e.rethrowFromSystemServer(); in unregisterClientProfile() 176 } catch (RemoteException e) { in updateClientPriority() 177 throw e.rethrowFromSystemServer(); in updateClientPriority() 194 } catch (RemoteException e) { in setFrontendInfoList() 195 throw e.rethrowFromSystemServer(); in setFrontendInfoList() 212 } catch (RemoteException e) { in updateCasInfo() 213 throw e.rethrowFromSystemServer(); in updateCasInfo() [all …]
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 69 } catch (RemoteException e) { in setAshmem() 70 throw new RuntimeException(e.toString()); in setAshmem() 85 } catch (RemoteException e) { in submitFromAshmem() 86 throw new RuntimeException(e.toString()); in submitFromAshmem() 101 } catch (RemoteException e) { in getAvbPublicKey() 102 throw new RuntimeException(e.toString()); in getAvbPublicKey() 116 } catch (RemoteException e) { in commit() 117 throw new RuntimeException(e.toString()); in commit() 130 } catch (RemoteException e) { in startInstallation() 131 throw new RuntimeException(e.toString()); in startInstallation() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStatsManager.java | 203 } catch (RemoteException e) { in getBatteryUsageStats() 204 throw e.rethrowFromSystemServer(); in getBatteryUsageStats() 217 } catch (RemoteException e) { in reportWifiRssiChanged() 218 e.rethrowFromSystemServer(); in reportWifiRssiChanged() 229 } catch (RemoteException e) { in reportWifiOn() 230 e.rethrowFromSystemServer(); in reportWifiOn() 241 } catch (RemoteException e) { in reportWifiOff() 242 e.rethrowFromSystemServer(); in reportWifiOff() 257 } catch (RemoteException e) { in reportWifiState() 258 e.rethrowFromSystemServer(); in reportWifiState() [all …]
|