Home
last modified time | relevance | path

Searched refs:AppPreference (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java96 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 …]
DAppPreference.java33 public class AppPreference extends ManageablePreference { class
40 public AppPreference(Context context, int userId, String packageName) { in AppPreference() method in AppPreference
100 if (preference instanceof AppPreference) { in compareTo()
101 AppPreference another = (AppPreference) preference; in compareTo()
DLegacyVpnPreference.java65 } 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()
DAppManagementFragment.java95 public static void show(Context context, AppPreference pref) { in show()