org.chromium.base.annotations.RemovableInRelease Java Examples
The following examples show how to use
org.chromium.base.annotations.RemovableInRelease.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultMediaRouteController.java From AndroidChromium with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logControlRequestError(Intent intent, String message, Bundle data) { // The intent may contain some PII so we don't want to log it in the released // version by default. Log.e(TAG, String.format( "Error sending control request %s %s. Data: %s Error: %s", intent, bundleToString(intent.getExtras()), bundleToString(data), message)); }
Example #2
Source File: DefaultMediaRouteController.java From delion with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logExtraHttpInfo(Bundle extras) { if (extras != null) { if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_STATUS_CODE)) { int httpStatus = extras.getInt(MediaItemStatus.EXTRA_HTTP_STATUS_CODE); Log.d(TAG, "HTTP status: %s", httpStatus); } if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS)) { Bundle headers = extras.getBundle(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS); Log.d(TAG, "HTTP headers: %s", bundleToString(headers)); } } }
Example #3
Source File: PrintManagerDelegateImpl.java From 365browser with Apache License 2.0 | 5 votes |
@RemovableInRelease private void dumpJobStatesForDebug() { List<PrintJob> printJobs = mPrintManager.getPrintJobs(); String[] states = new String[printJobs.size()]; for (int i = 0; i < printJobs.size(); i++) { String stateString; switch (printJobs.get(i).getInfo().getState()) { case PrintJobInfo.STATE_CREATED: stateString = "STATE_CREATED"; break; case PrintJobInfo.STATE_QUEUED: stateString = "STATE_QUEUED"; break; case PrintJobInfo.STATE_STARTED: stateString = "STATE_STARTED"; break; case PrintJobInfo.STATE_BLOCKED: stateString = "STATE_BLOCKED"; break; case PrintJobInfo.STATE_FAILED: stateString = "STATE_FAILED"; break; case PrintJobInfo.STATE_COMPLETED: stateString = "STATE_COMPLETED"; break; case PrintJobInfo.STATE_CANCELED: stateString = "STATE_CANCELED"; break; default: stateString = "STATE_UNKNOWN"; break; } states[i] = stateString; } Log.v(TAG, "Initiating new print with states in queue: {%s}", TextUtils.join(", ", states)); }
Example #4
Source File: DefaultMediaRouteController.java From delion with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logMediaSessionStatus(Bundle data) { MediaSessionStatus status = MediaSessionStatus.fromBundle( data.getBundle(MediaControlIntent.EXTRA_SESSION_STATUS)); int sessionState = status.getSessionState(); Log.d(TAG, "Session state after ending session: %s", sessionState); }
Example #5
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 7 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }
Example #6
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 6 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6); }
Example #7
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 5 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5); }
Example #8
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 4 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4); }
Example #9
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 3 args version */ @RemovableInRelease @VisibleForTesting public static void d( String tag, String messageTemplate, Object arg1, Object arg2, Object arg3) { debug(tag, messageTemplate, arg1, arg2, arg3); }
Example #10
Source File: DefaultMediaRouteController.java From delion with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logControlRequestError(Intent intent, String message, Bundle data) { // The intent may contain some PII so we don't want to log it in the released // version by default. Log.e(TAG, String.format( "Error sending control request %s %s. Data: %s Error: %s", intent, bundleToString(intent.getExtras()), bundleToString(data), message)); }
Example #11
Source File: DefaultMediaRouteController.java From AndroidChromium with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logExtraHttpInfo(Bundle extras) { if (extras != null) { if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_STATUS_CODE)) { int httpStatus = extras.getInt(MediaItemStatus.EXTRA_HTTP_STATUS_CODE); Log.d(TAG, "HTTP status: %s", httpStatus); } if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS)) { Bundle headers = extras.getBundle(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS); Log.d(TAG, "HTTP headers: %s", bundleToString(headers)); } } }
Example #12
Source File: DefaultMediaRouteController.java From AndroidChromium with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logMediaSessionStatus(Bundle data) { MediaSessionStatus status = MediaSessionStatus.fromBundle( data.getBundle(MediaControlIntent.EXTRA_SESSION_STATUS)); int sessionState = status.getSessionState(); Log.d(TAG, "Session state after ending session: %s", sessionState); }
Example #13
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 7 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }
Example #14
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 6 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6); }
Example #15
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 5 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5); }
Example #16
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 3 args version */ @RemovableInRelease @VisibleForTesting public static void v( String tag, String messageTemplate, Object arg1, Object arg2, Object arg3) { verbose(tag, messageTemplate, arg1, arg2, arg3); }
Example #17
Source File: Log.java From 365browser with Apache License 2.0 | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 4 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4); }
Example #18
Source File: DefaultMediaRouteController.java From 365browser with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logMediaSessionStatus(Bundle data) { MediaSessionStatus status = MediaSessionStatus.fromBundle( data.getBundle(MediaControlIntent.EXTRA_SESSION_STATUS)); int sessionState = status.getSessionState(); Log.d(TAG, "Session state after ending session: %s", sessionState); }
Example #19
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 3 args version */ @RemovableInRelease @VisibleForTesting public static void v( String tag, String messageTemplate, Object arg1, Object arg2, Object arg3) { verbose(tag, messageTemplate, arg1, arg2, arg3); }
Example #20
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 7 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }
Example #21
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 6 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6); }
Example #22
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 5 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5); }
Example #23
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 4 args version */ @RemovableInRelease @VisibleForTesting public static void d(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4) { debug(tag, messageTemplate, arg1, arg2, arg3, arg4); }
Example #24
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#DEBUG} log message. 3 args version */ @RemovableInRelease @VisibleForTesting public static void d( String tag, String messageTemplate, Object arg1, Object arg2, Object arg3) { debug(tag, messageTemplate, arg1, arg2, arg3); }
Example #25
Source File: DefaultMediaRouteController.java From 365browser with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logControlRequestError(Intent intent, String message, Bundle data) { // The intent may contain some PII so we don't want to log it in the released // version by default. Log.e(TAG, String.format( "Error sending control request %s %s. Data: %s Error: %s", intent, bundleToString(intent.getExtras()), bundleToString(data), message)); }
Example #26
Source File: DefaultMediaRouteController.java From 365browser with Apache License 2.0 | 5 votes |
@RemovableInRelease private void logExtraHttpInfo(Bundle extras) { if (extras != null) { if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_STATUS_CODE)) { int httpStatus = extras.getInt(MediaItemStatus.EXTRA_HTTP_STATUS_CODE); Log.d(TAG, "HTTP status: %s", httpStatus); } if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS)) { Bundle headers = extras.getBundle(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS); Log.d(TAG, "HTTP headers: %s", bundleToString(headers)); } } }
Example #27
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 4 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4); }
Example #28
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 7 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }
Example #29
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 5 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5); }
Example #30
Source File: Log.java From cronet with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** Sends a {@link android.util.Log#VERBOSE} log message. 6 args version */ @RemovableInRelease @VisibleForTesting public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) { verbose(tag, messageTemplate, arg1, arg2, arg3, arg4, arg5, arg6); }