Lines Matching refs:packageName
157 public static void initEffectsPreferences(final Context context, final String packageName, in initEffectsPreferences() argument
159 final SharedPreferences prefs = context.getSharedPreferences(packageName, in initEffectsPreferences()
356 public static void setParameterBoolean(final Context context, final String packageName, in setParameterBoolean() argument
359 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterBoolean()
377 setParameterInt(context, packageName, in setParameterBoolean()
386 setParameterInt(context, packageName, in setParameterBoolean()
394 packageName, audioSession, Key.eq_band_level); in setParameterBoolean()
398 setParameterInt(context, packageName, in setParameterBoolean()
527 public static Boolean getParameterBoolean(final Context context, final String packageName, in getParameterBoolean() argument
529 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterBoolean()
554 public static void setParameterInt(final Context context, final String packageName, in setParameterInt() argument
560 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterInt()
775 public static void setParameterInt(final Context context, final String packageName, in setParameterInt() argument
777 setParameterInt(context, packageName, audioSession, key, arg, DUMMY_ARGUMENT); in setParameterInt()
790 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
795 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterInt()
815 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
817 return getParameterInt(context, packageName, audioSession, key.toString()); in getParameterInt()
832 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
834 return getParameterInt(context, packageName, audioSession, key.toString() + arg); in getParameterInt()
850 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
852 return getParameterInt(context, packageName, audioSession, key.toString() + arg0 + "_" in getParameterInt()
866 public static int[] getParameterIntArray(final Context context, final String packageName, in getParameterIntArray() argument
868 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterIntArray()
918 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
922 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterString()
945 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
947 return getParameterString(context, packageName, audioSession, key.toString()); in getParameterString()
960 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
962 return getParameterString(context, packageName, audioSession, key.toString() + arg); in getParameterString()
974 public static void openSession(final Context context, final String packageName, in openSession() argument
976 Log.v(TAG, "openSession(" + context + ", " + packageName + ", " + audioSession + ")"); in openSession()
980 final SharedPreferences prefs = context.getSharedPreferences(packageName, in openSession()
998 final Integer currentAudioSession = mPackageSessions.putIfAbsent(packageName, in openSession()
1010 closeSession(context, packageName, currentAudioSession); in openSession()
1269 public static void closeSession(final Context context, final String packageName, in closeSession() argument
1271 Log.v(TAG, "closeSession(" + context + ", " + packageName + ", " + audioSession + ")"); in closeSession()
1294 mPackageSessions.remove(packageName); in closeSession()
1308 public static void setEnabledAll(final Context context, final String packageName, in setEnabledAll() argument
1310 initEffectsPreferences(context, packageName, audioSession); in setEnabledAll()
1311 setParameterBoolean(context, packageName, audioSession, Key.global_enabled, enabled); in setEnabledAll()