/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 93 Log.e(TAG, "initalizing ISupplicant failed."); 133 } catch (RemoteException e) { in linkToServiceManagerDeath() 134 Log.e(TAG, "IServiceManager.linkToDeath exception", e); in linkToServiceManagerDeath() 168 Log.e(TAG, "Failed to get HIDL Service Manager"); in initialize() 178 Log.e(TAG, "Failed to register for notifications to " in initialize() 187 } catch (RemoteException e) { in initialize() 188 Log.e(TAG, "Exception while trying to register a listener for ISupplicant service: " in initialize() 189 + e); in initialize() 204 } catch (RemoteException e) { in linkToSupplicantDeath() 205 Log.e(TAG, "ISupplicant.linkToDeath exception", e); in linkToSupplicantDeath() [all …]
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 124 } catch (ErrnoException e) { in BpfCoordinatorShimImpl() 125 mLog.e("Could not clear mBpfDownstream4Map: " + e); in BpfCoordinatorShimImpl() 129 } catch (ErrnoException e) { in BpfCoordinatorShimImpl() 130 mLog.e("Could not clear mBpfUpstream4Map: " + e); in BpfCoordinatorShimImpl() 134 } catch (ErrnoException e) { in BpfCoordinatorShimImpl() 135 mLog.e("Could not clear mBpfDownstream6Map: " + e); in BpfCoordinatorShimImpl() 139 } catch (ErrnoException e) { in BpfCoordinatorShimImpl() 140 mLog.e("Could not clear mBpfUpstream6Map: " + e); in BpfCoordinatorShimImpl() 144 } catch (ErrnoException e) { in BpfCoordinatorShimImpl() 145 mLog.e("Could not clear mBpfStatsMap: " + e); in BpfCoordinatorShimImpl() [all …]
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 151 } catch (RemoteException e) { in addConfig() 152 Log.e(TAG, "Failed to connect to statsmanager when adding configuration"); in addConfig() 153 throw new StatsUnavailableException("could not connect", e); in addConfig() 154 } catch (SecurityException e) { in addConfig() 155 throw new StatsUnavailableException(e.getMessage(), e); in addConfig() 156 } catch (IllegalStateException e) { in addConfig() 157 Log.e(TAG, "Failed to addConfig in statsmanager"); in addConfig() 158 throw new StatsUnavailableException(e.getMessage(), e); in addConfig() 173 } catch (StatsUnavailableException | IllegalArgumentException e) { in addConfiguration() 190 } catch (RemoteException e) { in removeConfig() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 159 Event e = new Event(); in clone() local 161 e.title = title; in clone() 162 e.color = color; in clone() 163 e.location = location; in clone() 164 e.allDay = allDay; in clone() 165 e.startDay = startDay; in clone() 166 e.endDay = endDay; in clone() 167 e.startTime = startTime; in clone() 168 e.endTime = endTime; in clone() 169 e.startMillis = startMillis; in clone() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 146 Log.e(TAG, "initalizing ISupplicant failed."); 232 } catch (RemoteException e) { in linkToServiceManagerDeath() 233 Log.e(TAG, "IServiceManager.linkToDeath exception", e); in linkToServiceManagerDeath() 260 Log.e(TAG, "Failed to get HIDL Service Manager"); in initialize() 270 Log.e(TAG, "Failed to register for notifications to " in initialize() 275 } catch (RemoteException e) { in initialize() 276 Log.e(TAG, "Exception while trying to register a listener for ISupplicant service: " in initialize() 277 + e); in initialize() 294 } catch (RemoteException e) { in linkToSupplicantDeath() 295 Log.e(TAG, "ISupplicant.linkToDeath exception", e); in linkToSupplicantDeath() [all …]
|
D | SupplicantStaNetworkHal.java | 178 Log.e(TAG, "failed to read ssid"); in loadWifiConfiguration() 186 Log.e(TAG, "getId failed"); in loadWifiConfiguration() 282 Log.e(TAG, "failed to set SSID: " + config.SSID); in saveWifiConfiguration() 291 Log.e(TAG, "failed to set BSSID: " + bssidStr); in saveWifiConfiguration() 297 Log.e(TAG, config.SSID + ": failed to set hiddenSSID: " + config.hiddenSSID); in saveWifiConfiguration() 311 Log.e(TAG, config.SSID + ": failed to set requirePMF: " + config.requirePmf); in saveWifiConfiguration() 325 Log.e(TAG, "failed to set Key Management"); in saveWifiConfiguration() 331 Log.e(TAG, "Failed to set Suite-B-192 configuration"); in saveWifiConfiguration() 339 Log.e(TAG, "failed to set Security Protocol"); in saveWifiConfiguration() 347 Log.e(TAG, "failed to set AuthAlgorithm"); in saveWifiConfiguration() [all …]
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/ |
D | CarAudioManagerPermissionTest.java | 64 Exception e = expectThrows(SecurityException.class, in setGroupVolumePermission() local 66 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumePermission() 71 Exception e = expectThrows(SecurityException.class, in setGroupVolumeWithZonePermission() local 73 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumeWithZonePermission() 78 Exception e = expectThrows(SecurityException.class, in getGroupMaxVolumePermission() local 80 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumePermission() 85 Exception e = expectThrows(SecurityException.class, in getGroupMaxVolumeWithZonePermission() local 87 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumeWithZonePermission() 92 Exception e = expectThrows(SecurityException.class, in getGroupMinVolumePermission() local 94 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolumePermission() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbDeviceAccessor.java | 65 } catch (ClassNotFoundException e) { 66 Log.e(TAG, "Couldn't find class", e); 67 } catch (NoSuchMethodException e) { 68 Log.e(TAG, "Couldn't find method", e); 89 } catch (IllegalAccessException e) { in getDvbDeviceList() 90 Log.e(TAG, "Couldn't access", e); in getDvbDeviceList() 91 } catch (InvocationTargetException e) { in getDvbDeviceList() 92 Log.e(TAG, "Couldn't invoke", e); in getDvbDeviceList() 110 } catch (IllegalAccessException e) { in isDvbDeviceAvailable() 111 Log.e(TAG, "Couldn't access", e); in isDvbDeviceAvailable() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 96 } catch (NoSuchAlgorithmException e) { in encrypt() 97 reportException(e, "encrypt could not find the algorithm: " + CIPHER_ALGORITHM); in encrypt() 98 } catch (NoSuchPaddingException e) { in encrypt() 99 reportException(e, "encrypt had a padding exception"); in encrypt() 100 } catch (InvalidKeyException e) { in encrypt() 101 reportException(e, "encrypt received an invalid key"); in encrypt() 102 } catch (BadPaddingException e) { in encrypt() 103 reportException(e, "encrypt had a padding problem"); in encrypt() 104 } catch (IllegalBlockSizeException e) { in encrypt() 105 reportException(e, "encrypt had an illegal block size"); in encrypt() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SystemUiProxy.java | 107 } catch (RemoteException e) { in onBackPressed() 108 Log.w(TAG, "Failed call onBackPressed", e); in onBackPressed() 118 } catch (RemoteException e) { in setHomeRotationEnabled() 119 Log.w(TAG, "Failed call onBackPressed", e); in setHomeRotationEnabled() 184 } catch (RemoteException e) { in linkToDeath() 185 Log.e(TAG, "Failed to link sysui proxy death recipient"); in linkToDeath() 201 } catch (RemoteException e) { in startScreenPinning() 202 Log.w(TAG, "Failed call startScreenPinning", e); in startScreenPinning() 216 } catch (RemoteException e) { in onOverviewShown() 217 Log.w(tag, "Failed call onOverviewShown from: " + (fromHome ? "home" : "app"), e); in onOverviewShown() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | DtaSnepClient.java | 89 } catch(IOException e) { in DtaClientOperations() 90 Log.e(TAG, "Error connecting remote server"); in DtaClientOperations() 100 } catch (UnsupportedEncodingException e) { in DtaClientOperations() 101 e.printStackTrace(); in DtaClientOperations() 102 } catch (IOException e) { in DtaClientOperations() 103 e.printStackTrace(); in DtaClientOperations() 115 } catch (UnsupportedEncodingException e) { in DtaClientOperations() 116 e.printStackTrace(); in DtaClientOperations() 117 } catch (IOException e) { in DtaClientOperations() 118 e.printStackTrace(); in DtaClientOperations() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 1475 } catch (RemoteException e) { in getConfiguredNetworks() 1476 throw e.rethrowFromSystemServer(); in getConfiguredNetworks() 1500 } catch (RemoteException e) { in getCallerConfiguredNetworks() 1501 throw e.rethrowFromSystemServer(); in getCallerConfiguredNetworks() 1518 } catch (RemoteException e) { in getPrivilegedConfiguredNetworks() 1519 throw e.rethrowFromSystemServer(); in getPrivilegedConfiguredNetworks() 1560 } catch (RemoteException e) { in getAllMatchingWifiConfigs() 1561 throw e.rethrowFromSystemServer(); in getAllMatchingWifiConfigs() 1592 } catch (RemoteException e) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() 1593 throw e.rethrowAsRuntimeException(); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 86 Log.e(TAG, "Error loading application label for " + row.pkg, t); in loadAppRow() 167 } catch (RemoteException e) { in getDeviceList() 168 Log.w(TAG, "Error calling CDM", e); in getDeviceList() 181 } catch (PackageManager.NameNotFoundException e) { in isSystemApp() 182 e.printStackTrace(); in isSystemApp() 191 } catch (Exception e) { in getNotificationsBanned() 192 Log.w(TAG, "Error calling NoMan", e); in getNotificationsBanned() 207 } catch (Exception e) { in setNotificationsEnabledForPackage() 208 Log.w(TAG, "Error calling NoMan", e); in setNotificationsEnabledForPackage() 216 } catch (Exception e) { in canShowBadge() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsRcsController.java | 110 } catch (ImsException e) { in registerImsRegistrationCallback() 111 Log.e(TAG, "registerImsRegistrationCallback: sudId=" + subId + ", " + e.getMessage()); in registerImsRegistrationCallback() 112 throw new ServiceSpecificException(e.getCode()); in registerImsRegistrationCallback() 128 } catch (ServiceSpecificException e) { in unregisterImsRegistrationCallback() 129 Log.e(TAG, "unregisterImsRegistrationCallback: error=" + e.errorCode); in unregisterImsRegistrationCallback() 148 } catch (RemoteException e) { in getImsRcsRegistrationState() 174 } catch (RemoteException e) { in getImsRcsRegistrationTransportType() 196 } catch (ImsException e) { in registerRcsAvailabilityCallback() 197 Log.e(TAG, "registerRcsAvailabilityCallback: sudId=" + subId + ", " + e.getMessage()); in registerRcsAvailabilityCallback() 198 throw new ServiceSpecificException(e.getCode()); in registerRcsAvailabilityCallback() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.cpp | 45 JNIEnv* e = NULL; in JNI_OnLoad() local 50 if (jvm->GetEnv((void**)&e, JNI_VERSION_1_6)) return JNI_ERR; in JNI_OnLoad() 52 if (android::register_com_android_nfc_NativeNfcManager(e) == -1) in JNI_OnLoad() 54 if (android::register_com_android_nfc_NativeLlcpServiceSocket(e) == -1) in JNI_OnLoad() 56 if (android::register_com_android_nfc_NativeLlcpSocket(e) == -1) in JNI_OnLoad() 58 if (android::register_com_android_nfc_NativeNfcTag(e) == -1) return JNI_ERR; in JNI_OnLoad() 59 if (android::register_com_android_nfc_NativeLlcpConnectionlessSocket(e) == -1) in JNI_OnLoad() 61 if (android::register_com_android_nfc_NativeP2pDevice(e) == -1) in JNI_OnLoad() 63 if (RoutingManager::getInstance().registerJniFunctions(e) == -1) in JNI_OnLoad() 80 int nfc_jni_cache_object(JNIEnv* e, const char* className, jobject* cachedObj) { in nfc_jni_cache_object() argument [all …]
|
D | NfcTag.cpp | 37 static void deleteglobaldata(JNIEnv* e); 478 JNIEnv* e = NULL; in createNativeNfcTag() local 479 ScopedAttach attach(mNativeData->vm, &e); in createNativeNfcTag() 480 if (e == NULL) { in createNativeNfcTag() 485 ScopedLocalRef<jclass> tag_cls(e, in createNativeNfcTag() 486 e->GetObjectClass(mNativeData->cached_NfcTag)); in createNativeNfcTag() 487 if (e->ExceptionCheck()) { in createNativeNfcTag() 488 e->ExceptionClear(); in createNativeNfcTag() 494 jmethodID ctor = e->GetMethodID(tag_cls.get(), "<init>", "()V"); in createNativeNfcTag() 495 ScopedLocalRef<jobject> tag(e, e->NewObject(tag_cls.get(), ctor)); in createNativeNfcTag() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IpClientManager.java | 58 private void log(String s, Throwable e) { in log() argument 59 Log.e(mTag, s, e); in log() 72 } catch (RemoteException e) { in completedPreDhcpAction() 73 log("Error completing PreDhcpAction", e); in completedPreDhcpAction() 88 } catch (RemoteException e) { in confirmConfiguration() 89 log("Error confirming IpClient configuration", e); in confirmConfiguration() 104 } catch (RemoteException e) { in readPacketFilterComplete() 105 log("Error notifying IpClient of packet filter read", e); in readPacketFilterComplete() 120 } catch (RemoteException e) { in shutdown() 121 log("Error shutting down IpClient", e); in shutdown() [all …]
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/user/ |
D | CarUserManagerPermissionTest.java | 74 Exception e = expectThrows(SecurityException.class, () -> mCarUserManager.switchUser(100)); in testSwitchUserPermission() local 75 assertThat(e.getMessage()).contains(CREATE_USERS); in testSwitchUserPermission() 76 assertThat(e.getMessage()).contains(MANAGE_USERS); in testSwitchUserPermission() 81 Exception e = expectThrows(SecurityException.class, in testUpdatePreCreatedUserPermission() local 83 assertThat(e.getMessage()).contains(CREATE_USERS); in testUpdatePreCreatedUserPermission() 84 assertThat(e.getMessage()).contains(MANAGE_USERS); in testUpdatePreCreatedUserPermission() 89 Exception e = expectThrows(SecurityException.class, in testCreateUserPermission() local 91 assertThat(e.getMessage()).contains(CREATE_USERS); in testCreateUserPermission() 92 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCreateUserPermission() 97 Exception e = expectThrows(SecurityException.class, in testCannotCreateAdminUserWithoutManageUsersPermission() local [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 57 } catch (RemoteException e) { in query() 58 throw new RuntimeException(e); in query() 69 } catch (RemoteException e) { in query() 70 throw new RuntimeException(e); in query() 78 } catch (RemoteException e) { in getType() 79 throw new RuntimeException(e); in getType() 87 } catch (RemoteException e) { in getStreamTypes() 88 throw new RuntimeException(e); in getStreamTypes() 96 } catch (RemoteException e) { in insert() 97 throw new RuntimeException(e); in insert() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 1026 } catch (RemoteException e) { in systemReady() 1027 throw e.rethrowFromSystemServer(); in systemReady() 1156 } catch (RemoteException e) { in getActiveNetworkInfo() 1157 throw e.rethrowFromSystemServer(); in getActiveNetworkInfo() 1176 } catch (RemoteException e) { in getActiveNetwork() 1177 throw e.rethrowFromSystemServer(); in getActiveNetwork() 1203 } catch (RemoteException e) { in getActiveNetworkForUid() 1204 throw e.rethrowFromSystemServer(); in getActiveNetworkForUid() 1253 } catch (RemoteException e) { in setRequireVpnForUids() 1254 throw e.rethrowFromSystemServer(); in setRequireVpnForUids() [all …]
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 186 } catch (RemoteException e) { in isAudioFeatureEnabled() 187 return handleRemoteExceptionFromCarService(e, false); in isAudioFeatureEnabled() 219 } catch (RemoteException e) { in setGroupVolume() 220 handleRemoteExceptionFromCarService(e); in setGroupVolume() 249 } catch (RemoteException e) { in getGroupMaxVolume() 250 return handleRemoteExceptionFromCarService(e, 0); in getGroupMaxVolume() 279 } catch (RemoteException e) { in getGroupMinVolume() 280 return handleRemoteExceptionFromCarService(e, 0); in getGroupMinVolume() 312 } catch (RemoteException e) { in getGroupVolume() 313 return handleRemoteExceptionFromCarService(e, 0); in getGroupVolume() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | SqliteWrapper.java | 41 } catch (SQLiteException e) { in query() 42 LogUtil.e(TAG, "SqliteWrapper: catch an exception when query", e); in query() 44 } catch (IllegalArgumentException e) { in query() 45 LogUtil.e(TAG, "SqliteWrapper: catch an exception when query", e); in query() 54 } catch (SQLiteException e) { in update() 55 LogUtil.e(TAG, "SqliteWrapper: catch an exception when update", e); in update() 57 } catch (IllegalArgumentException e) { in update() 58 LogUtil.e(TAG, "SqliteWrapper: catch an exception when update", e); in update() 67 } catch (SQLiteException e) { in delete() 68 LogUtil.e(TAG, "SqliteWrapper: catch an exception when delete", e); in delete() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 416 } catch (final IOException e) { in getMediaDurationMs() 417 … LogUtil.i(LogUtil.BUGLE_TAG, "Error extracting duration from " + part.getContentUri(), e); in getMediaDurationMs() 472 LogUtil.e(TAG, "Can't get image", new Exception()); in addPicturePart() 504 final OutOfMemoryError e = new OutOfMemoryError(); in addPicturePart() local 505 LogUtil.e(TAG, "Can't resize image: not enough memory?", e); in addPicturePart() 506 throw e; in addPicturePart() 539 LogUtil.e(TAG, "Can't get vcard", new Exception()); in addVCardPart() 617 } catch (final IOException e) { in getDataLength() 618 LogUtil.e(TAG, "getDataLength couldn't stream: " + uri, e); in getDataLength() 620 } catch (final FileNotFoundException e) { in getDataLength() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | ConntrackMonitorTest.java | 92 } catch (ErrnoException e) { in TestConntrackMonitor() 93 fail("Could not create socket pair: " + e); in TestConntrackMonitor() 107 } catch (ErrnoException | InterruptedIOException e) { in sendMessage() 108 fail("Unable to send netfilter message: " + e); in sendMessage() 236 final ConntrackEvent e = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventNotEquals() local 239 final ConntrackEvent typeNotEqual = new ConntrackEvent((short) (e.msgType + 1) /* diff */, in testConntrackEventNotEquals() 240 e.tupleOrig, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals() 241 assertNotEquals(e, typeNotEqual); in testConntrackEventNotEquals() 243 final ConntrackEvent tupleOrigNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals() 244 null /* diff */, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals() [all …]
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 136 | CertificateException e) { in getKeyStore() 137 Log.e(TAG, "Error opening AndroidKeyStore.", e); in getKeyStore() 138 throw new RuntimeException("Error opening AndroidKeyStore.", e); in getKeyStore() 153 | NoSuchAlgorithmException e) { in getKeyStore() 154 Log.e(TAG, "Failed to open AndroidKeyStore for WI-FI namespace.", e); in getKeyStore() 197 } catch (KeyStoreException e) { in getExistingKeyAliases() 198 Log.e(TAG, "Error while loading entries from keystore. " in getExistingKeyAliases() 234 } catch (android.security.KeyStoreException e) { 235 Log.e(TAG, "Failed to grant " + alias + " to uid: " + granteeUid, e); 253 } catch (android.security.KeyStoreException e) { [all …]
|