Codota Logo
ArrayMap.put
Code IndexAdd Codota to your IDE (free)

How to use
put
method
in
com.lody.virtual.helper.collection.ArrayMap

Best Java code snippets using com.lody.virtual.helper.collection.ArrayMap.put (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: android-hacker/VirtualXposed

@Override
protected void colPut(K key, V value) {
  put(key, value);
}
origin: android-hacker/VirtualXposed

/**
 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
 * @param map The map whose contents are to be retrieved.
 */
@Override
public void putAll(Map<? extends K, ? extends V> map) {
  ensureCapacity(mSize + map.size());
  for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
    put(entry.getKey(), entry.getValue());
  }
}
origin: android-hacker/VirtualXposed

public void startApp(VPackage p) {
  PackageSetting setting = (PackageSetting) p.mExtras;
  for (VPackage.ActivityComponent receiver : p.receivers) {
    ActivityInfo info = receiver.info;
    List<BroadcastReceiver> receivers = mReceivers.get(p.packageName);
    if (receivers == null) {
      receivers = new ArrayList<>();
      mReceivers.put(p.packageName, receivers);
    }
    String componentAction = String.format("_VA_%s_%s", info.packageName, info.name);
    IntentFilter componentFilter = new IntentFilter(componentAction);
    BroadcastReceiver r = new StaticBroadcastReceiver(setting.appId, info, componentFilter);
    mContext.registerReceiver(r, componentFilter, null, mScheduler);
    receivers.add(r);
    for (VPackage.ActivityIntentInfo ci : receiver.intents) {
      IntentFilter cloneFilter = new IntentFilter(ci.filter);
      SpecialComponentList.protectIntentFilter(cloneFilter);
      r = new StaticBroadcastReceiver(setting.appId, info, cloneFilter);
      mContext.registerReceiver(r, cloneFilter, null, mScheduler);
      receivers.add(r);
    }
  }
}
origin: android-hacker/VirtualXposed

public E put(String name, int uid, E value) {
  SparseArray<E> uids = mMap.get(name);
  if (uids == null) {
    uids = new SparseArray<E>(2);
    mMap.put(name, uids);
  }
  uids.put(uid, value);
  return value;
}
origin: android-hacker/VirtualXposed

public static void put(VPackage pkg, PackageSetting ps) {
  synchronized (PackageCacheManager.class) {
    PackageParserEx.initApplicationInfoBase(ps, pkg);
    PACKAGE_CACHE.put(pkg.packageName, pkg);
    pkg.mExtras = ps;
    VPackageManagerService.get().analyzePackageLocked(pkg);
  }
}
origin: android-hacker/VirtualXposed

public static ServiceConnectionDelegate getDelegate(IServiceConnection conn) {
  if(conn instanceof ServiceConnectionDelegate){
    return (ServiceConnectionDelegate)conn;
  }
  IBinder binder = conn.asBinder();
  ServiceConnectionDelegate delegate = DELEGATE_MAP.get(binder);
  if (delegate == null) {
    delegate = new ServiceConnectionDelegate(conn);
    DELEGATE_MAP.put(binder, delegate);
  }
  return delegate;
}
origin: android-hacker/VirtualXposed

  sharedLibraryFiles = hostInfo.sharedLibraryFiles;
  if (sharedLibraryFiles == null) sharedLibraryFiles = new String[0];
  sSharedLibCache.put(ps.packageName, sharedLibraryFiles);
} catch (PackageManager.NameNotFoundException e) {
  e.printStackTrace();
origin: darkskygit/VirtualApp

@Override
protected void colPut(K key, V value) {
  put(key, value);
}
origin: bzsome/VirtualApp-x326

@Override
protected void colPut(K key, V value) {
  put(key, value);
}
origin: bzsome/VirtualApp-x326

/**
 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
 * @param map The map whose contents are to be retrieved.
 */
@Override
public void putAll(Map<? extends K, ? extends V> map) {
  ensureCapacity(mSize + map.size());
  for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
    put(entry.getKey(), entry.getValue());
  }
}
origin: darkskygit/VirtualApp

/**
 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
 * @param map The map whose contents are to be retrieved.
 */
@Override
public void putAll(Map<? extends K, ? extends V> map) {
  ensureCapacity(mSize + map.size());
  for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
    put(entry.getKey(), entry.getValue());
  }
}
origin: darkskygit/VirtualApp

public void startApp(VPackage p) {
  PackageSetting setting = (PackageSetting) p.mExtras;
  for (VPackage.ActivityComponent receiver : p.receivers) {
    ActivityInfo info = receiver.info;
    List<BroadcastReceiver> receivers = mReceivers.get(p.packageName);
    if (receivers == null) {
      receivers = new ArrayList<>();
      mReceivers.put(p.packageName, receivers);
    }
    String componentAction = String.format("_VA_%s_%s", info.packageName, info.name);
    IntentFilter componentFilter = new IntentFilter(componentAction);
    BroadcastReceiver r = new StaticBroadcastReceiver(setting.appId, info, componentFilter);
    mContext.registerReceiver(r, componentFilter, null, mScheduler);
    receivers.add(r);
    for (VPackage.ActivityIntentInfo ci : receiver.intents) {
      IntentFilter cloneFilter = new IntentFilter(ci.filter);
      SpecialComponentList.protectIntentFilter(cloneFilter);
      r = new StaticBroadcastReceiver(setting.appId, info, cloneFilter);
      mContext.registerReceiver(r, cloneFilter, null, mScheduler);
      receivers.add(r);
    }
  }
}
origin: bzsome/VirtualApp-x326

public void startApp(VPackage p) {
  PackageSetting setting = (PackageSetting) p.mExtras;
  for (VPackage.ActivityComponent receiver : p.receivers) {
    ActivityInfo info = receiver.info;
    List<BroadcastReceiver> receivers = mReceivers.get(p.packageName);
    if (receivers == null) {
      receivers = new ArrayList<>();
      mReceivers.put(p.packageName, receivers);
    }
    String componentAction = String.format("_VA_%s_%s", info.packageName, info.name);
    IntentFilter componentFilter = new IntentFilter(componentAction);
    BroadcastReceiver r = new StaticBroadcastReceiver(setting.appId, info, componentFilter);
    mContext.registerReceiver(r, componentFilter, null, mScheduler);
    receivers.add(r);
    for (VPackage.ActivityIntentInfo ci : receiver.intents) {
      IntentFilter cloneFilter = new IntentFilter(ci.filter);
      SpecialComponentList.protectIntentFilter(cloneFilter);
      r = new StaticBroadcastReceiver(setting.appId, info, cloneFilter);
      mContext.registerReceiver(r, cloneFilter, null, mScheduler);
      receivers.add(r);
    }
  }
}
origin: bzsome/VirtualApp-x326

public static ServiceConnectionDelegate getDelegate(IServiceConnection conn) {
  if(conn instanceof ServiceConnectionDelegate){
    return (ServiceConnectionDelegate)conn;
  }
  IBinder binder = conn.asBinder();
  ServiceConnectionDelegate delegate = DELEGATE_MAP.get(binder);
  if (delegate == null) {
    delegate = new ServiceConnectionDelegate(conn);
    DELEGATE_MAP.put(binder, delegate);
  }
  return delegate;
}
origin: bzsome/VirtualApp-x326

public E put(String name, int uid, E value) {
  SparseArray<E> uids = mMap.get(name);
  if (uids == null) {
    uids = new SparseArray<E>(2);
    mMap.put(name, uids);
  }
  uids.put(uid, value);
  return value;
}
origin: darkskygit/VirtualApp

public static void put(VPackage pkg, PackageSetting ps) {
  synchronized (PackageCacheManager.class) {
    PackageParserEx.initApplicationInfoBase(ps, pkg);
    PACKAGE_CACHE.put(pkg.packageName, pkg);
    pkg.mExtras = ps;
    VPackageManagerService.get().analyzePackageLocked(pkg);
  }
}
origin: darkskygit/VirtualApp

public E put(String name, int uid, E value) {
  SparseArray<E> uids = mMap.get(name);
  if (uids == null) {
    uids = new SparseArray<E>(2);
    mMap.put(name, uids);
  }
  uids.put(uid, value);
  return value;
}
origin: darkskygit/VirtualApp

public static ServiceConnectionDelegate getDelegate(IServiceConnection conn) {
  if(conn instanceof ServiceConnectionDelegate){
    return (ServiceConnectionDelegate)conn;
  }
  IBinder binder = conn.asBinder();
  ServiceConnectionDelegate delegate = DELEGATE_MAP.get(binder);
  if (delegate == null) {
    delegate = new ServiceConnectionDelegate(conn);
    DELEGATE_MAP.put(binder, delegate);
  }
  return delegate;
}
origin: bzsome/VirtualApp-x326

public static void put(VPackage pkg, PackageSetting ps) {
  synchronized (PackageCacheManager.class) {
    PackageParserEx.initApplicationInfoBase(ps, pkg);
    PACKAGE_CACHE.put(pkg.packageName, pkg);
    pkg.mExtras = ps;
    VPackageManagerService.get().analyzePackageLocked(pkg);
  }
}
origin: darkskygit/VirtualApp

  sharedLibraryFiles = hostInfo.sharedLibraryFiles;
  if (sharedLibraryFiles == null) sharedLibraryFiles = new String[0];
  sSharedLibCache.put(ps.packageName, sharedLibraryFiles);
} catch (PackageManager.NameNotFoundException e) {
  e.printStackTrace();
com.lody.virtual.helper.collectionArrayMapput

Javadoc

Perform a #put(Object,Object) of all key/value pairs in map

Popular methods of ArrayMap

  • clear
  • containsKey
  • ensureCapacity
  • get
  • getCollection
  • indexOfKey
  • indexOfValue
  • remove
  • removeAt
  • setValueAt
  • size
  • valueAt
  • size,
  • valueAt,
  • values

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • requestLocationUpdates (LocationManager)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
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