Lines Matching refs:packageName
152 public static void initEffectsPreferences(final Context context, final String packageName, in initEffectsPreferences() argument
154 final SharedPreferences prefs = context.getSharedPreferences(packageName, in initEffectsPreferences()
334 public static void setParameterBoolean(final Context context, final String packageName, in setParameterBoolean() argument
337 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterBoolean()
354 setParameterInt(context, packageName, in setParameterBoolean()
363 setParameterInt(context, packageName, in setParameterBoolean()
371 packageName, audioSession, Key.eq_band_level); in setParameterBoolean()
375 setParameterInt(context, packageName, in setParameterBoolean()
504 public static Boolean getParameterBoolean(final Context context, final String packageName, in getParameterBoolean() argument
506 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterBoolean()
531 public static void setParameterInt(final Context context, final String packageName, in setParameterInt() argument
537 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterInt()
752 public static void setParameterInt(final Context context, final String packageName, in setParameterInt() argument
754 setParameterInt(context, packageName, audioSession, key, arg, DUMMY_ARGUMENT); in setParameterInt()
767 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
772 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterInt()
792 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
794 return getParameterInt(context, packageName, audioSession, key.toString()); in getParameterInt()
809 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
811 return getParameterInt(context, packageName, audioSession, key.toString() + arg); in getParameterInt()
827 public static int getParameterInt(final Context context, final String packageName, in getParameterInt() argument
829 return getParameterInt(context, packageName, audioSession, key.toString() + arg0 + "_" in getParameterInt()
843 public static int[] getParameterIntArray(final Context context, final String packageName, in getParameterIntArray() argument
845 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterIntArray()
895 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
899 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterString()
922 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
924 return getParameterString(context, packageName, audioSession, key.toString()); in getParameterString()
937 public static String getParameterString(final Context context, final String packageName, in getParameterString() argument
939 return getParameterString(context, packageName, audioSession, key.toString() + arg); in getParameterString()
951 public static void openSession(final Context context, final String packageName, in openSession() argument
953 Log.v(TAG, "openSession(" + context + ", " + packageName + ", " + audioSession + ")"); in openSession()
957 final SharedPreferences prefs = context.getSharedPreferences(packageName, in openSession()
975 final Integer currentAudioSession = mPackageSessions.putIfAbsent(packageName, in openSession()
987 closeSession(context, packageName, currentAudioSession); in openSession()
1245 public static void closeSession(final Context context, final String packageName, in closeSession() argument
1247 Log.v(TAG, "closeSession(" + context + ", " + packageName + ", " + audioSession + ")"); in closeSession()
1270 mPackageSessions.remove(packageName); in closeSession()
1284 public static void setEnabledAll(final Context context, final String packageName, in setEnabledAll() argument
1286 initEffectsPreferences(context, packageName, audioSession); in setEnabledAll()
1287 setParameterBoolean(context, packageName, audioSession, Key.global_enabled, enabled); in setEnabledAll()