Home
last modified time | relevance | path

Searched refs:BluetoothMapAccountItem (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java49 private LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mFullList;
71 private BluetoothMapAccountItem getApp(String authoritiesName) { in getApp()
73 for(BluetoothMapAccountItem app:mFullList.keySet()){ in getApp()
89 BluetoothMapAccountItem app = getApp(packageNameWithProvider); in handleAccountChanges()
91 ArrayList<BluetoothMapAccountItem> newAccountList = mLoader.parseAccounts(app); in handleAccountChanges()
92 ArrayList<BluetoothMapAccountItem> oldAccountList = mFullList.get(app); in handleAccountChanges()
93 ArrayList<BluetoothMapAccountItem> addedAccountList = in handleAccountChanges()
94 (ArrayList<BluetoothMapAccountItem>)newAccountList.clone(); in handleAccountChanges()
96 ArrayList<BluetoothMapAccountItem> removedAccountList = mFullList.get(app); in handleAccountChanges()
98 oldAccountList = new ArrayList <BluetoothMapAccountItem>(); in handleAccountChanges()
[all …]
DBluetoothMapSettingsAdapter.java48 import com.android.bluetooth.map.BluetoothMapAccountItem;
59 private LinkedHashMap<BluetoothMapAccountItem,
60 ArrayList<BluetoothMapAccountItem>> mProupList;
61 private ArrayList<BluetoothMapAccountItem> mMainGroup;
69 LinkedHashMap<BluetoothMapAccountItem, in BluetoothMapSettingsAdapter() argument
70 ArrayList<BluetoothMapAccountItem>> groupsList, in BluetoothMapSettingsAdapter()
81 BluetoothMapAccountItem group = mMainGroup.get(groupPosition); in BluetoothMapSettingsAdapter()
87 mMainGroup = new ArrayList<BluetoothMapAccountItem>(); in BluetoothMapSettingsAdapter()
88 for (Map.Entry<BluetoothMapAccountItem, in BluetoothMapSettingsAdapter()
89 ArrayList<BluetoothMapAccountItem>> mapEntry : mProupList.entrySet()) { in BluetoothMapSettingsAdapter()
[all …]
DBluetoothMapAccountLoader.java22 import com.android.bluetooth.map.BluetoothMapAccountItem;
68 public LinkedHashMap<BluetoothMapAccountItem,
69 ArrayList<BluetoothMapAccountItem>> parsePackages(boolean includeIcon) { in parsePackages()
71 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> groups = in parsePackages()
72 new LinkedHashMap<BluetoothMapAccountItem, in parsePackages()
73 ArrayList<BluetoothMapAccountItem>>(); in parsePackages()
100 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages()
102 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); in parsePackages()
108 for (BluetoothMapAccountItem acc: accounts) in parsePackages()
132 public BluetoothMapAccountItem createAppItem(ResolveInfo rInfo, boolean includeIcon, in createAppItem()
[all …]
DBluetoothMapAccountItem.java26 public class BluetoothMapAccountItem implements Comparable<BluetoothMapAccountItem>{ class
44 public BluetoothMapAccountItem(String id, String name, String packageName, String authority, in BluetoothMapAccountItem() method in BluetoothMapAccountItem
58 public static BluetoothMapAccountItem create(String id, String name, String packageName, in create()
60 return new BluetoothMapAccountItem(id, name, packageName, authority, in create()
64 public static BluetoothMapAccountItem create(String id, String name, String packageName, in create()
67 return new BluetoothMapAccountItem(id, name, packageName, authority, in create()
94 public int compareTo(BluetoothMapAccountItem other) { in compareTo()
146 BluetoothMapAccountItem other = (BluetoothMapAccountItem) obj; in equals()
DBluetoothMapSettings.java18 import com.android.bluetooth.map.BluetoothMapAccountItem;
37 LinkedHashMap<BluetoothMapAccountItem,ArrayList<BluetoothMapAccountItem>> mGroups;
DBluetoothMapService.java133 private HashMap<BluetoothMapAccountItem, BluetoothMapMasInstance> mMasInstanceMap =
134 new HashMap<BluetoothMapAccountItem, BluetoothMapMasInstance>(1);
138 private ArrayList<BluetoothMapAccountItem> mEnabledAccounts = null;
683 ArrayList<BluetoothMapAccountItem> newAccountList = in updateMasInstancesHandler()
685 ArrayList<BluetoothMapAccountItem> newAccounts = null; in updateMasInstancesHandler()
686 ArrayList<BluetoothMapAccountItem> removedAccounts = null; in updateMasInstancesHandler()
687 newAccounts = new ArrayList<BluetoothMapAccountItem>(); in updateMasInstancesHandler()
690 for(BluetoothMapAccountItem account: newAccountList) { in updateMasInstancesHandler()
698 for(BluetoothMapAccountItem account : removedAccounts) { in updateMasInstancesHandler()
711 for(BluetoothMapAccountItem account : newAccounts) { in updateMasInstancesHandler()
[all …]
DBluetoothMapMasInstance.java79 private BluetoothMapAccountItem mAccount = null; //
117 BluetoothMapAccountItem account, in BluetoothMapMasInstance()
DBluetoothMapObexServer.java101 private BluetoothMapAccountItem mAccount = null;
119 BluetoothMapAccountItem account, in BluetoothMapObexServer()
DBluetoothMapContentObserver.java128 private BluetoothMapAccountItem mAccount;
259 BluetoothMapAccountItem account, in BluetoothMapContentObserver()
DBluetoothMapContent.java156 private final BluetoothMapAccountItem mAccount;
447 public BluetoothMapContent(final Context context, BluetoothMapAccountItem account, in BluetoothMapContent()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java31 import com.android.bluetooth.map.BluetoothMapAccountItem;
54 private BluetoothMapAccountItem mAccount = null;
89 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mFullList;
117 for(BluetoothMapAccountItem app:mFullList.keySet()){ in getEnabledAccount()
118 ArrayList<BluetoothMapAccountItem> accountList = mFullList.get(app); in getEnabledAccount()
119 for(BluetoothMapAccountItem acc: accountList){ in getEnabledAccount()
DMapObexTestServer.java17 import com.android.bluetooth.map.BluetoothMapAccountItem;
46 private static BluetoothMapAccountItem mAccountMock = null;