/packages/apps/Nfc/src/com/android/nfc/ |
H A D | LlcpException.java | 36 public LlcpException(int error) { argument 37 super(ErrorCodes.asString(error));
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraErrorCallback.java | 26 public void onError(int error, android.hardware.Camera camera) { argument 27 Log.e(TAG, "Got camera error callback. error=" + error); 28 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | CameraErrorCallback.java | 25 public void onError(int error, android.hardware.Camera camera) { argument 26 Log.e(TAG, "Got camera error callback. error=" + error); 27 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | StopRequestException.java | 52 final String error = "Unhandled HTTP response: " + code + " " + message; 54 throw new StopRequestException(code, error); 56 throw new StopRequestException(STATUS_UNHANDLED_REDIRECT, error); 58 throw new StopRequestException(STATUS_UNHANDLED_HTTP_CODE, error);
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_pan.cpp | 23 error("Callback: '%s' is not called on the correct thread", __FUNCTION__);\ 38 #define error(fmt, ...) ALOGE ("## ERROR : %s(L%d): " fmt "##",__FUNCTION__, __LINE__, ## __VA_ARGS__) macro 59 static void control_state_callback(btpan_control_state_t state, int local_role, bt_status_t error, argument 65 (jint)error, js_ifname); 69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, argument 76 error("Fail to new jbyteArray bd addr for PAN channel state"); 83 (jint)error, (jint)local_role, (jint)remote_role); 115 error("Bluetooth module is not loaded"); 133 error("Failed to get Bluetooth PAN Interface"); 139 error("Faile [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageDialogsHandler.java | 130 * this dialog was opened from the SSL-certificate-on-error dialog or 176 // if we came here from the SSL error dialog 178 // go back to the SSL error dialog 192 // if we came here from the SSL error dialog 194 // go back to the SSL error dialog 204 // error 216 // if we came here from the SSL error dialog 218 // go back to the SSL error dialog 272 * Displays the SSL error certificate dialog. 274 * @param handler The SSL error handle 278 showSSLCertificateOnError( final WebView view, final SslErrorHandler handler, final SslError error) argument 342 createSslCertificateDialog(SslCertificate certificate, SslError error) argument 392 addError(LayoutInflater inflater, LinearLayout parent, int error) argument [all...] |
H A D | ErrorConsoleView.java | 41 * Define some constants to describe the visibility of the error console. 137 * Removes all error messages from the console. 211 // An adapter for this View that contains a list of error messages. 230 * This class is an adapter for ErrorConsoleListView that contains the error console 289 * Constructs a TwoLineListItem for the error at position. 293 ConsoleMessage error = mMessages.get(position); 295 if (error == null) { 307 headline.setText(error.sourceId() + ":" + error.lineNumber()); 308 subText.setText(error [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothDevicePickerActivity.java | 42 String error = getString(R.string.error_action_not_supported); 43 Toast toast = Toast.makeText(this, error, Toast.LENGTH_SHORT);
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcManager.java | 128 int error = doGetLastError(); 130 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); 132 switch (error) { 135 throw new LlcpException(error); 152 int error = doGetLastError(); 154 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); 156 switch (error) { 159 throw new LlcpException(error); 176 int error = doGetLastError(); 178 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); [all...] |
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcManager.java | 186 int error = doGetLastError(); 188 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); 190 switch (error) { 193 throw new LlcpException(error); 210 int error = doGetLastError(); 212 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); 214 switch (error) { 217 throw new LlcpException(error); 234 int error = doGetLastError(); 236 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); [all...] |
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
H A D | ColorsGLRenderer.java | 179 int error = mEgl.eglGetError(); 180 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { 185 + GLUtils.getEGLErrorString(error)); 250 String error = glGetProgramInfoLog(program); 251 Log.d(TAG, "Error while linking program:\n" + error); 273 String error = glGetShaderInfoLog(shader); 274 Log.d(TAG, "Error while compiling shader:\n" + error); 283 int error = mEgl.eglGetError(); 284 if (error != EGL10.EGL_SUCCESS) { 285 Log.w(TAG, "EGL error [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
H A D | DeviceOwnerProvisioningService.java | 75 "com.android.managedprovisioning.error"; 96 // MessageId of the last error message. 123 // Send error message if currently in error state. 223 error(R.string.device_owner_error_wifi); 243 error(R.string.device_owner_error_hash_mismatch); 246 error(R.string.device_owner_error_download_failed); 249 error(R.string.device_owner_error_general); 268 error(R.string.device_owner_error_package_invalid); 271 error( 350 private void error(int dialogMessage) { method in class:DeviceOwnerProvisioningService [all...] |
H A D | ProfileOwnerProvisioningService.java | 81 "com.android.managedprovisioning.error"; 102 // MessageId of the last error message. 203 error("Error: The provided mobile device management package does not define a device" 234 error("Delete non required apps task failed."); 252 error("Could not start user in background"); 334 error("Profile creation failed, maximum number of users reached."); 336 error("Couldn't create profile. Reason unknown."); 353 error("Could not install mobile device management app on managed " 357 error("Could not install mobile device management app on managed " 360 error("Coul 390 private void error(String dialogMessage) { method in class:ProfileOwnerProvisioningService [all...] |
H A D | DeviceOwnerProvisioningActivity.java | 117 error(R.string.device_owner_error_already_provisioned, false /* no factory reset */); 123 error(R.string.device_owner_error_general, false /* no factory reset */); 129 error(R.string.device_owner_error_already_provisioned, false /* no factory reset */); 147 error(e.getErrorMessageId(), false /* no factory reset */); 240 error(errorMessageId, true /* always factory reset */); 364 private void error(int dialogMessage, boolean resetRequired) { method in class:DeviceOwnerProvisioningActivity 380 "DeviceOwnerProvisioningActivity.error()");
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | ErrorDialogActivity.java | 28 * Used to display an error dialog from within the Telecom service when an outgoing call fails 51 final int error = getIntent().getIntExtra(ERROR_MESSAGE_ID_EXTRA, -1); 52 if (error == -1) { 53 Log.w(TAG, "ErrorDialogActivity called with no error type extra."); 56 showGenericErrorDialog(error);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | ErrorDialogActivity.java | 27 * Used to display an error dialog from within the Telephony service when an outgoing call fails 45 final int error = getIntent().getIntExtra(ERROR_MESSAGE_ID_EXTRA, -1); 46 if (error == -1) { 47 Log.e(TAG, "ErrorDialogActivity called with no error type extra."); 50 showGenericErrorDialog(error);
|
H A D | HfaActivity.java | 58 public void onError(String error) { 59 onHfaError(error);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | SmsReceiverService.java | 169 return "Unknown error code"; 206 int error = intent.getIntExtra("errorCode", 0); 209 Log.v(TAG, "handleMessage action: " + action + " error: " + error); 213 handleSmsSent(intent, error); 215 handleSmsReceived(intent, error); 312 private void handleSmsSent(Intent intent, int error) { argument 320 " = " + translateResultCode(mResultCode) + " error: " + error); 327 if (!Sms.moveMessageToFolder(this, uri, Sms.MESSAGE_TYPE_SENT, error)) { 369 messageFailedToSend(Uri uri, int error) argument 377 handleSmsReceived(Intent intent, int error) argument 472 insertMessage(Context context, SmsMessage[] msgs, int error, String format) argument 495 replaceMessage(Context context, SmsMessage[] msgs, int error) argument 554 storeMessage(Context context, SmsMessage[] msgs, int error) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | MatrixUtilsTests.java | 34 /* package */ static void assertEqualsFloat(float f0, float f1, float error) { argument 35 assertTrue(Math.abs(f0 - f1) < error);
|
/packages/services/Telecomm/ |
H A D | Android.mk | 17 # Workaround for "local variable type mismatch" error.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMnsObexClient.java | 123 Log.w(TAG, "OBEX session disconnect error " + e.getMessage()); 133 Log.w(TAG, "OBEX session close error:" + e.getMessage()); 143 Log.e(TAG, "mTransport.close error: " + e.getMessage()); 209 Log.e(TAG, "BtSocket Connect error " + e.getMessage(), e); 210 // TODO: do we need to report error somewhere? 220 Log.e(TAG, "OBEX session create error " + e1.getMessage()); 241 Log.e(TAG, "OBEX session connect error " + e.getMessage()); 268 boolean error = false; 308 error = true; 313 if (!error) { [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 222 int error = mEgl.eglGetError(); 223 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { 254 * @return the EGL error code from eglSwapBuffers. 292 public static void throwEglException(String function, int error) { argument 293 String message = formatEglError(function, error); 297 public static void logEglErrorAsWarning(String tag, String function, int error) { argument 298 Log.w(tag, formatEglError(function, error)); 301 public static String formatEglError(String function, int error) { argument 302 return function + " failed: " + error;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 222 int error = mEgl.eglGetError(); 223 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { 254 * @return the EGL error code from eglSwapBuffers. 292 public static void throwEglException(String function, int error) { argument 293 String message = formatEglError(function, error); 297 public static void logEglErrorAsWarning(String tag, String function, int error) { argument 298 Log.w(tag, formatEglError(function, error)); 301 public static String formatEglError(String function, int error) { argument 302 return function + " failed: " + error;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | SurfaceTextureRenderer.java | 172 int error; 173 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) { 174 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error));
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | TestWebViewClient.java | 99 SslError error) { 100 mWrappedClient.onReceivedSslError(view, handler, error); 98 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument
|