Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:comparison

599     // This comparison uses non-final fields so the sort order may change
604 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0);
605 if (comparison != 0) return comparison;
608 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) -
610 if (comparison != 0) return comparison;
613 comparison = (another.mVisible ? 1 : 0) - (mVisible ? 1 : 0);
614 if (comparison != 0) return comparison;
617 comparison = another.mRssi - mRssi;
618 if (comparison != 0) return comparison;