Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java470 ArrayList<String> oldFields, ArrayList<String> newFields) { in checkFieldUpdates() argument
471 if (newFields != null && oldFields != null) { in checkFieldUpdates()
472 if (newFields.size() != oldFields.size()) { in checkFieldUpdates()
473 totalSvcFields += Math.abs(newFields.size() - oldFields.size()); in checkFieldUpdates()
474 totalFields += Math.abs(newFields.size() - oldFields.size()); in checkFieldUpdates()
477 for (int i = 0; i < newFields.size(); i++) { in checkFieldUpdates()
478 if (!oldFields.contains(newFields.get(i))) { in checkFieldUpdates()
483 } else if (newFields == null && oldFields != null && oldFields.size() > 0) { in checkFieldUpdates()
490 } else if (oldFields == null && newFields != null && newFields.size() > 0) { in checkFieldUpdates()
491 totalSvcFields += newFields.size(); in checkFieldUpdates()
[all …]