Home
last modified time | relevance | path

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

/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/
H A DUploaderMetaTest.java48 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testCountLimits()
49 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testCountLimits()
50 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testCountLimits()
51 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testCountLimits()
57 assertTrue(uploaderMeta.addAndEstimateIfFull(1)); in testCountLimits()
67 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testNeedCommit()
71 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testNeedCommit()
72 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testNeedCommit()
73 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testNeedCommit()
86 assertFalse(uploaderMeta.addAndEstimateIfFull(1)); in testAdd()
[all …]
H A DPayloadTest.java50 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
51 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
52 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
53 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
59 assertTrue(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
74 payload.addAndEstimateIfFull(1024); in testAdd()
81 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid1")); in testAdd()
93 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid2")); in testAdd()
94 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid3")); in testAdd()
95 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid4")); in testAdd()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/
H A DPayloadTest.java50 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
51 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
52 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
53 assertFalse(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
59 assertTrue(payload.addAndEstimateIfFull(1, bytes, null)); in testCountLimits()
74 payload.addAndEstimateIfFull(1024); in testAdd()
81 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid1")); in testAdd()
93 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid2")); in testAdd()
94 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid3")); in testAdd()
95 assertFalse(payload.addAndEstimateIfFull(1, recordBytes1, "guid4")); in testAdd()
[all …]
H A DBatchMetaTest.java177 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testCountLimits()
178 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testCountLimits()
179 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testCountLimits()
180 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testCountLimits()
186 assertTrue(batchMeta.addAndEstimateIfFull(1)); in testCountLimits()
196 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testNeedCommit()
200 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testNeedCommit()
201 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testNeedCommit()
202 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testNeedCommit()
219 assertFalse(batchMeta.addAndEstimateIfFull(1)); in testAdd()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/uploaders/
H A DPayload.java27 protected boolean addAndEstimateIfFull(long recordDelta) { in addAndEstimateIfFull() method in Payload
32 protected boolean addAndEstimateIfFull(long recordDelta, byte[] recordBytes, String guid) { in addAndEstimateIfFull() method in Payload
36 return super.addAndEstimateIfFull(recordDelta); in addAndEstimateIfFull()
H A DUploaderMeta.java36 protected boolean addAndEstimateIfFull(long recordDeltaByteCount) { in addAndEstimateIfFull() method in UploaderMeta
39 boolean isFull = super.addAndEstimateIfFull(recordDeltaByteCount); in addAndEstimateIfFull()
H A DBatchingUploader.java212 boolean isPayloadFull = payload.addAndEstimateIfFull(byteCount, recordBytes, guid); in addAndFlushIfNecessary()
213 boolean isBatchFull = uploaderMeta.addAndEstimateIfFull(byteCount); in addAndFlushIfNecessary()
H A DBufferSizeTracker.java50 protected boolean addAndEstimateIfFull(long recordDeltaByteCount) { in addAndEstimateIfFull() method in BufferSizeTracker
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/uploaders/
H A DPayload.java27 protected boolean addAndEstimateIfFull(long recordDelta) { in addAndEstimateIfFull() method in Payload
32 protected boolean addAndEstimateIfFull(long recordDelta, byte[] recordBytes, String guid) { in addAndEstimateIfFull() method in Payload
36 return super.addAndEstimateIfFull(recordDelta); in addAndEstimateIfFull()
H A DBatchMeta.java64 protected boolean addAndEstimateIfFull(long recordDeltaByteCount) { in addAndEstimateIfFull() method in BatchMeta
67 boolean isFull = super.addAndEstimateIfFull(recordDeltaByteCount); in addAndEstimateIfFull()
H A DBatchingUploader.java152 boolean isPayloadFull = payload.addAndEstimateIfFull(byteCount, recordBytes, guid); in addAndFlushIfNecessary()
153 boolean isBatchFull = batchMeta.addAndEstimateIfFull(byteCount); in addAndFlushIfNecessary()
H A DBufferSizeTracker.java50 protected boolean addAndEstimateIfFull(long recordDeltaByteCount) { in addAndEstimateIfFull() method in BufferSizeTracker