Codota Logo
PersistenceLayer.save
Code IndexAdd Codota to your IDE (free)

How to use
save
method
in
com.lody.virtual.helper.PersistenceLayer

Best Java code snippets using com.lody.virtual.helper.PersistenceLayer.save (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: android-hacker/VirtualXposed

@Override
public void setGlobalCell(VCell cell) throws RemoteException {
  mGlobalConfig.cell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setGlobalAllCell(List<VCell> cell) throws RemoteException {
  mGlobalConfig.allCell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setGlobalNeighboringCell(List<VCell> cell) throws RemoteException {
  mGlobalConfig.neighboringCell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setLocation(int userId, String pkg, VLocation loc) throws RemoteException {
  getOrCreateConfig(userId, pkg).location = loc;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public int getMode(int userId, String pkg) throws RemoteException {
  synchronized (mLocConfigs) {
    VLocConfig config = getOrCreateConfig(userId, pkg);
    mPersistenceLayer.save();
    return config.mode;
  }
}
origin: android-hacker/VirtualXposed

@Override
public void setCell(int userId, String pkg, VCell cell) throws RemoteException {
  getOrCreateConfig(userId, pkg).cell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setNeighboringCell(int userId, String pkg, List<VCell> cell) throws RemoteException {
  getOrCreateConfig(userId, pkg).neighboringCell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setAllCell(int userId, String pkg, List<VCell> cell) throws RemoteException {
  getOrCreateConfig(userId, pkg).allCell = cell;
  mPersistenceLayer.save();
}
origin: android-hacker/VirtualXposed

@Override
public void setMode(int userId, String pkg, int mode) throws RemoteException {
  synchronized (mLocConfigs) {
    getOrCreateConfig(userId, pkg).mode = mode;
    mPersistenceLayer.save();
  }
}
origin: android-hacker/VirtualXposed

@Override
public VLocation getLocation(int userId, String pkg) throws RemoteException {
  VLocConfig config = getOrCreateConfig(userId, pkg);
  mPersistenceLayer.save();
  switch (config.mode) {
    case MODE_USE_SELF:
      return config.location;
    case MODE_USE_GLOBAL:
      return mGlobalConfig.location;
    case MODE_CLOSE:
    default:
      return null;
  }
}
origin: android-hacker/VirtualXposed

@Override
public VCell getCell(int userId, String pkg) throws RemoteException {
  VLocConfig config = getOrCreateConfig(userId, pkg);
  mPersistenceLayer.save();
  switch (config.mode) {
    case MODE_USE_SELF:
      return config.cell;
    case MODE_USE_GLOBAL:
      return mGlobalConfig.cell;
    case MODE_CLOSE:
    default:
      return null;
  }
}
origin: android-hacker/VirtualXposed

@Override
public List<VCell> getAllCell(int userId, String pkg) throws RemoteException {
  VLocConfig config = getOrCreateConfig(userId, pkg);
  mPersistenceLayer.save();
  switch (config.mode) {
    case MODE_USE_SELF:
      return config.allCell;
    case MODE_USE_GLOBAL:
      return mGlobalConfig.allCell;
    case MODE_CLOSE:
    default:
      return null;
  }
}
origin: android-hacker/VirtualXposed

@Override
public List<VCell> getNeighboringCell(int userId, String pkg) throws RemoteException {
  VLocConfig config = getOrCreateConfig(userId, pkg);
  mPersistenceLayer.save();
  switch (config.mode) {
    case MODE_USE_SELF:
      return config.neighboringCell;
    case MODE_USE_GLOBAL:
      return mGlobalConfig.neighboringCell;
    case MODE_CLOSE:
    default:
      return null;
  }
}
origin: darkskygit/VirtualApp

@Override
public void setGlobalAllCell(List<VCell> cell) throws RemoteException {
  mGlobalConfig.allCell = cell;
  mPersistenceLayer.save();
}
origin: darkskygit/VirtualApp

@Override
public void setGlobalNeighboringCell(List<VCell> cell) throws RemoteException {
  mGlobalConfig.neighboringCell = cell;
  mPersistenceLayer.save();
}
origin: bzsome/VirtualApp-x326

@Override
public int getMode(int userId, String pkg) {
  synchronized (mLocConfigs) {
    VLocConfig config = getOrCreateConfig(userId, pkg);
    mPersistenceLayer.save();
    return config.mode;
  }
}
origin: darkskygit/VirtualApp

@Override
public int getMode(int userId, String pkg) throws RemoteException {
  synchronized (mLocConfigs) {
    VLocConfig config = getOrCreateConfig(userId, pkg);
    mPersistenceLayer.save();
    return config.mode;
  }
}
origin: darkskygit/VirtualApp

@Override
public void setNeighboringCell(int userId, String pkg, List<VCell> cell) throws RemoteException {
  getOrCreateConfig(userId, pkg).neighboringCell = cell;
  mPersistenceLayer.save();
}
origin: bzsome/VirtualApp-x326

@Override
public void setMode(int userId, String pkg, int mode) {
  synchronized (mLocConfigs) {
    getOrCreateConfig(userId, pkg).mode = mode;
    mPersistenceLayer.save();
  }
}
origin: bzsome/VirtualApp-x326

@Override
public void setCell(int userId, String pkg, VCell cell) {
  getOrCreateConfig(userId, pkg).cell = cell;
  mPersistenceLayer.save();
}
com.lody.virtual.helperPersistenceLayersave

Popular methods of PersistenceLayer

  • getCurrentVersion
  • onPersistenceFileDamage
  • onVersionConflict
  • read
  • readPersistenceData
  • verifyMagic
  • writeMagic
  • writePersistenceData

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Notification (javax.management)
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now