Searched refs:AppPreference (Results 1 – 4 of 4) sorted by relevance
96 private Map<AppVpnInfo, AppPreference> mAppPreferences = new ArrayMap<>();242 AppPreference p = findOrCreatePreference(app); in handleMessage()244 p.setState(AppPreference.STATE_CONNECTED); in handleMessage()246 p.setState(AppPreference.STATE_DISCONNECTED); in handleMessage()293 } else if (preference instanceof AppPreference) { in onPreferenceClick()294 AppPreference pref = (AppPreference) preference; in onPreferenceClick()295 boolean connected = (pref.getState() == AppPreference.STATE_CONNECTED); in onPreferenceClick()333 } else if (p instanceof AppPreference) {334 AppPreference pref = (AppPreference) p;;371 private AppPreference findOrCreatePreference(AppVpnInfo app) { in findOrCreatePreference()[all …]
33 public class AppPreference extends ManageablePreference { class40 public AppPreference(Context context, int userId, String packageName) { in AppPreference() method in AppPreference100 if (preference instanceof AppPreference) { in compareTo()101 AppPreference another = (AppPreference) preference; in compareTo()
65 } else if (preference instanceof AppPreference) { in compareTo()67 AppPreference another = (AppPreference) preference; in compareTo()68 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) { in compareTo()
95 public static void show(Context context, AppPreference pref) { in show()