Android Open Source - no-frills-cpu-classic Constants






From Project

Back to project page no-frills-cpu-classic.

License

The source code is released under:

Apache License

If you think the Android project no-frills-cpu-classic listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package it.sineo.android.noFrillsCPUClassic.extra;
// w  w w  .j a  v  a2s.  co  m
import it.sineo.android.noFrillsCPUClassic.extra.Stats.SortMethod;

public class Constants {
  public final static String APP_TAG = "androidDreamCPU";
  public final static String PREF_MIN_FREQ = "scaling_min_freq";
  public final static String PREF_MAX_FREQ = "scaling_max_freq";
  public final static String PREF_GOVERNOR = "scaling_governor";
  public final static String PREF_IOSCHEDULER = "ioscheduler";
  public final static String PREF_APPLY_ON_BOOT = "apply_on_boot";

  public final static String LAST_CHANGELOG_VERSION_VIEWED = "last_changelog_viewed";

  public final static String CHECK_SHUTDOWN_OK = "shutdown_ok";
  /**
   * Only to be checked if CHECK_SHUTDOWN_OK is false.
   */
  public final static String LAST_UPTIME = "last_uptime";
  public final static String NLJ_SAFETY_CHECK_DATA = "/data/.nocpu";
  public final static String NLJ_SAFETY_CHECK_EXT = "/sd-ext/.nocpu";

  /**
   * Special file (aimed to ROM developers) which determines if the launcher
   * icon has to be hidden.
   */
  public final static String LAUNCHER_ICON_STATUS_HIDE = "/system/etc/no-frills-cpu.hide";
  /**
   * Special file (aimed to ROM developers) which determines if the launcher
   * icon has to be shown (this overrides the LAUNCHER_ICON_STATUS_HIDE file).
   */
  public final static String LAUNCHER_ICON_STATUS_SHOW = "/system/etc/no-frills-cpu.show";

  /**
   * Persisted string-representation of reset point for stats. Will be cleared
   * at boot and shutdown.
   */
  public final static String STATS_ZERO_POINT = "stats_zero_point";

  public final static String DEVELOPER_MAIL = "sineo.dev+NofrillsCPUData@gmail.com";

  public final static String APPWIDGET_UPDATE = "it.sineo.android.noFrillsCPU.APPWIDGET_UPDATE";

  /*
   * Preferences
   */
  public final static String PREF_NOTIFY_ON_BOOT = "notify_on_boot";
  public final static boolean PREF_DEFAULT_NOTIFY_ON_BOOT = false;

  public final static String PREF_VIBRATE = "vibrate";
  public final static boolean PREF_DEFAULT_VIBRATE = false;

  public final static String PREF_VIBRATE_PATTERN = "vibrate_pattern";

  public final static String PREF_RINGTONE = "ringtone";
  /* Settings.System.DEFAULT_NOTIFICATION_URI.toString() */
  public final static String PREF_DEFAULT_RINGTONE = null;

  public final static String PREF_INCLUDE_DEEP_SLEEP = "include_deep_sleep";
  public final static boolean PREF_DEFAULT_INCLUDE_DEEP_SLEEP = false;

  public final static String PREF_SORT_METHOD = "sort_method";
  public final static String PREF_DEFAULT_SORT_METHOD = SortMethod.Frequency.name();

  public final static String PREF_UPDATE_CURFREQ = "update_curfreq";
  public final static boolean PREF_DEFAULT_UPDATE_CURFREQ = false;

  public final static String PREF_DISABLE_SAFETY_VALVE = "disable_safety_valve";
  public final static boolean PREF_DEFAULT_DISABLE_SAFETY_VALVE = false;

  public final static String PREF_CHANGE_PERMISSIONS = "change_permissions";
  public final static boolean PREF_DEFAULT_CHANGE_PERMISSIONS = false;

  public final static String PREF_THEME = "prefs_theme";
  public final static String PREF_DEFAULT_THEME = "THEME_DARK";

  public final static boolean DEBUG = false;

}




Java Source Code List

it.sineo.android.noFrillsCPUClassic.BootReceiver.java
it.sineo.android.noFrillsCPUClassic.activity.AboutActivity.java
it.sineo.android.noFrillsCPUClassic.activity.MainActivity.java
it.sineo.android.noFrillsCPUClassic.activity.PreferencesActivity.java
it.sineo.android.noFrillsCPUClassic.activity.StatsActivity.java
it.sineo.android.noFrillsCPUClassic.extra.Constants.java
it.sineo.android.noFrillsCPUClassic.extra.Frequency.java
it.sineo.android.noFrillsCPUClassic.extra.PatternReplacerInputFilter.java
it.sineo.android.noFrillsCPUClassic.extra.Stats.java
it.sineo.android.noFrillsCPUClassic.extra.SysUtils.java
it.sineo.android.noFrillsCPUClassic.extra.Theme.java
it.sineo.android.noFrillsCPUClassic.service.BootService.java
it.sineo.android.noFrillsCPUClassic.service.ShutdownService.java
it.sineo.android.noFrillsCPUClassic.widget.StatsWidget.java