Searched refs:leases (Results 1 – 8 of 8) sorted by relevance
149 final List<LeaseInfo> leases = mBlobInfo.getLeases();150 if (CollectionUtils.isEmpty(leases)) {153 addAll(leases);
678 private void verifyLeasesChangedCallback(int times, DhcpLease... leases) { in verifyLeasesChangedCallback() argument679 final Set<DhcpLease> expected = new HashSet<>(Arrays.asList(leases)); in verifyLeasesChangedCallback()689 private void verifyLeasesChangedCallback(DhcpLease... leases) { in verifyLeasesChangedCallback() argument690 verifyLeasesChangedCallback(1 /* times */, leases); in verifyLeasesChangedCallback()
531 final ArrayList<TetheredClient> leases = new ArrayList<>(); in onLeasesChanged() local549 leases.add(new TetheredClient( in onLeasesChanged()556 mDhcpLeases = leases; in onLeasesChanged()
2208 public void expectTetheredClientChanged(List<TetheredClient> leases) { in expectTetheredClientChanged() argument2211 assertEquals(leases.size(), result.size()); in expectTetheredClientChanged()2212 assertTrue(leases.containsAll(result)); in expectTetheredClientChanged()3186 DhcpLeaseParcelable... leases) throws Exception { in notifyDhcpLeasesChanged() argument3187 final List<DhcpLeaseParcelable> dhcpLeases = Arrays.asList(leases); in notifyDhcpLeasesChanged()