Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapAccountItemTest.java42 BluetoothMapAccountItem accountItem = in create_withAllParameters()
43 BluetoothMapAccountItem.create( in create_withAllParameters()
65 BluetoothMapAccountItem accountItem = in create_withoutIdAndUciData()
66 BluetoothMapAccountItem.create( in create_withoutIdAndUciData()
86 BluetoothMapAccountItem accountItem = in getUciFull()
87 BluetoothMapAccountItem.create( in getUciFull()
97 BluetoothMapAccountItem accountItemWithoutUciPrefix = in getUciFull()
98 BluetoothMapAccountItem.create( in getUciFull()
108 BluetoothMapAccountItem accountItemWithoutUci = in getUciFull()
109 BluetoothMapAccountItem.create( in getUciFull()
[all …]
DBluetoothMapObexServerTest.java67 private BluetoothMapAccountItem mAccountItem;
87 BluetoothMapAccountItem.create( in setUp()
108 BluetoothMapAccountItem accountItemWithTypeEmail = in setOwnerStatus_withAccountTypeEmail()
109 BluetoothMapAccountItem.create( in setOwnerStatus_withAccountTypeEmail()
237 BluetoothMapAccountItem accountItemWithTypeEmail = in setMsgTypeFilterParams_withInvalidFilterMessageType()
238 BluetoothMapAccountItem.create( in setMsgTypeFilterParams_withInvalidFilterMessageType()
264 BluetoothMapAccountItem accountItemWithTypeIm = in setMsgTypeFilterParams_withValidFilterMessageType()
265 BluetoothMapAccountItem.create( in setMsgTypeFilterParams_withValidFilterMessageType()
DBluetoothMapMasInstanceTest.java50 private BluetoothMapAccountItem mAccountItem;
61 BluetoothMapAccountItem.create( in setUp()
DBluetoothMapContentTest.java118 @Mock private BluetoothMapAccountItem mAccountItem;
DBluetoothMapContentObserverTest.java133 @Mock private BluetoothMapAccountItem mItem;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java46 private LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mFullList;
67 private BluetoothMapAccountItem getApp(String authoritiesName) { in getApp()
69 for (BluetoothMapAccountItem app : mFullList.keySet()) { in getApp()
86 BluetoothMapAccountItem app = getApp(packageNameWithProvider); in handleAccountChanges()
88 ArrayList<BluetoothMapAccountItem> newAccountList = mLoader.parseAccounts(app); in handleAccountChanges()
89 ArrayList<BluetoothMapAccountItem> oldAccountList = mFullList.get(app); in handleAccountChanges()
90 ArrayList<BluetoothMapAccountItem> addedAccountList = in handleAccountChanges()
91 (ArrayList<BluetoothMapAccountItem>) newAccountList.clone(); in handleAccountChanges()
93 ArrayList<BluetoothMapAccountItem> removedAccountList = mFullList.get(app); in handleAccountChanges()
95 oldAccountList = new ArrayList<BluetoothMapAccountItem>(); in handleAccountChanges()
[all …]
DBluetoothMapSettingsAdapter.java52 private LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mProupList;
53 private ArrayList<BluetoothMapAccountItem> mMainGroup;
61 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> groupsList, in BluetoothMapSettingsAdapter() argument
74 BluetoothMapAccountItem group = mMainGroup.get(groupPosition); in BluetoothMapSettingsAdapter()
80 mMainGroup = new ArrayList<BluetoothMapAccountItem>(); in BluetoothMapSettingsAdapter()
81 for (Map.Entry<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mapEntry : in BluetoothMapSettingsAdapter()
88 public BluetoothMapAccountItem getChild(int groupPosition, int childPosition) { in getChild()
89 BluetoothMapAccountItem item = mMainGroup.get(groupPosition); in getChild()
93 private ArrayList<BluetoothMapAccountItem> getChild(BluetoothMapAccountItem group) { in getChild()
121 final BluetoothMapAccountItem child = getChild(groupPosition, childPosition); in getChildView()
[all …]
DBluetoothMapAccountLoader.java66 public LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> parsePackages( in parsePackages()
69 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> groups = in parsePackages()
70 new LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>>(); in parsePackages()
104 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages()
106 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); in parsePackages()
112 for (BluetoothMapAccountItem acc : accounts) { in parsePackages()
136 public BluetoothMapAccountItem createAppItem( in createAppItem()
149 BluetoothMapAccountItem app = in createAppItem()
150 BluetoothMapAccountItem.create( in createAppItem()
169 public ArrayList<BluetoothMapAccountItem> parseAccounts(BluetoothMapAccountItem app) { in parseAccounts()
[all …]
DBluetoothMapAccountItem.java25 public class BluetoothMapAccountItem implements Comparable<BluetoothMapAccountItem> { class
40 private BluetoothMapAccountItem( in BluetoothMapAccountItem() method in BluetoothMapAccountItem
61 public static BluetoothMapAccountItem create( in create()
68 return new BluetoothMapAccountItem( in create()
72 public static BluetoothMapAccountItem create( in create()
81 return new BluetoothMapAccountItem( in create()
111 public int compareTo(BluetoothMapAccountItem other) { in compareTo()
168 BluetoothMapAccountItem other = (BluetoothMapAccountItem) obj; in equals()
DBluetoothMapSettings.java33 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> mGroups;
DBluetoothMapService.java129 private HashMap<BluetoothMapAccountItem, BluetoothMapMasInstance> mMasInstanceMap =
130 new HashMap<BluetoothMapAccountItem, BluetoothMapMasInstance>(1);
135 private ArrayList<BluetoothMapAccountItem> mEnabledAccounts = null;
792 ArrayList<BluetoothMapAccountItem> newAccountList = mAppObserver.getEnabledAccountItems(); in updateMasInstancesHandler()
793 ArrayList<BluetoothMapAccountItem> newAccounts = new ArrayList<>(); in updateMasInstancesHandler()
795 for (BluetoothMapAccountItem account : newAccountList) { in updateMasInstancesHandler()
803 for (BluetoothMapAccountItem account : mEnabledAccounts) { in updateMasInstancesHandler()
814 for (BluetoothMapAccountItem account : newAccounts) { in updateMasInstancesHandler()
833 for (BluetoothMapAccountItem account : mEnabledAccounts) { in updateMasInstancesHandler()
887 for (BluetoothMapAccountItem account : mEnabledAccounts) { in createMasInstances()
[all …]
DBluetoothMapMasInstance.java88 private BluetoothMapAccountItem mAccount = null; //
122 BluetoothMapAccountItem account, in BluetoothMapMasInstance()
DBluetoothMapObexServer.java115 private BluetoothMapAccountItem mAccount = null;
134 BluetoothMapAccountItem account, in BluetoothMapObexServer()
DBluetoothMapContentObserver.java139 @VisibleForTesting BluetoothMapAccountItem mAccount;
263 BluetoothMapAccountItem account, in BluetoothMapContentObserver()
DBluetoothMapContent.java154 private final BluetoothMapAccountItem mAccount;
435 final Context context, BluetoothMapAccountItem account, BluetoothMapMasInstance mas) { in BluetoothMapContent()