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.java377 private static boolean checkFieldUpdates(ArrayList<String> oldFields, in checkFieldUpdates() argument
379 if (newFields != null && oldFields != null) { in checkFieldUpdates()
380 if (newFields.size() != oldFields.size()) { in checkFieldUpdates()
381 sTotalSvcFields += Math.abs(newFields.size() - oldFields.size()); in checkFieldUpdates()
382 sTotalFields += Math.abs(newFields.size() - oldFields.size()); in checkFieldUpdates()
386 if (!oldFields.contains(newField)) { in checkFieldUpdates()
391 } else if (newFields == null && oldFields != null && oldFields.size() > 0) { in checkFieldUpdates()
392 sTotalSvcFields += oldFields.size(); in checkFieldUpdates()
393 sTotalFields += oldFields.size(); in checkFieldUpdates()
398 } else if (oldFields == null && newFields != null && newFields.size() > 0) { in checkFieldUpdates()