Java Code Examples for com.google.android.exoplayer2.ExoPlayerLibraryInfo#TRACE_ENABLED

The following examples show how to use com.google.android.exoplayer2.ExoPlayerLibraryInfo#TRACE_ENABLED . 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: TraceUtil.java    From MediaSDK with Apache License 2.0 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 2
Source File: TraceUtil.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 3
Source File: TraceUtil.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 4
Source File: TraceUtil.java    From K-Sonic with MIT License 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 5
Source File: TraceUtil.java    From Telegram-FOSS with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 6
Source File: TraceUtil.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has ended.
 *
 * @see android.os.Trace#endSection()
 */
public static void endSection() {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    endSectionV18();
  }
}
 
Example 7
Source File: TraceUtil.java    From MediaSDK with Apache License 2.0 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}
 
Example 8
Source File: TraceUtil.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}
 
Example 9
Source File: TraceUtil.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}
 
Example 10
Source File: TraceUtil.java    From K-Sonic with MIT License 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}
 
Example 11
Source File: TraceUtil.java    From Telegram-FOSS with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}
 
Example 12
Source File: TraceUtil.java    From Telegram with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Writes a trace message to indicate that a given section of code has begun.
 *
 * @see android.os.Trace#beginSection(String)
 * @param sectionName The name of the code section to appear in the trace. This may be at most 127
 *     Unicode code units long.
 */
public static void beginSection(String sectionName) {
  if (ExoPlayerLibraryInfo.TRACE_ENABLED && Util.SDK_INT >= 18) {
    beginSectionV18(sectionName);
  }
}