Home
last modified time | relevance | path

Searched refs:oldFields (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()
478 if (!oldFields.contains(newFields.get(i))) { in checkFieldUpdates()
483 } else if (newFields == null && oldFields != null && oldFields.size() > 0) { in checkFieldUpdates()
484 totalSvcFields += oldFields.size(); in checkFieldUpdates()
485 totalFields += oldFields.size(); in checkFieldUpdates()
490 } else if (oldFields == null && newFields != null && newFields.size() > 0) { in checkFieldUpdates()