Searched refs:initialLength (Results 1 – 2 of 2) sorted by relevance
188 int initialLength = 5; in testInterruptedDownload() local189 enqueueInterruptedDownloadResponses(initialLength); in testInterruptedDownload()193 assertEquals(initialLength, in testInterruptedDownload()205 headers.contains("Range: bytes=" + initialLength + "-")); in testInterruptedDownload()218 private void enqueueInterruptedDownloadResponses(int initialLength) { in enqueueInterruptedDownloadResponses() argument220 enqueueResponse(buildPartialResponse(0, initialLength)); in enqueueInterruptedDownloadResponses()222 enqueueResponse(buildPartialResponse(initialLength, FILE_CONTENT.length())); in enqueueInterruptedDownloadResponses()
533 final int initialLength = cursor.getCount(); in getAllAccounts() local534 if (initialLength <= 0 || !cursor.moveToFirst()) { in getAllAccounts()539 final Account[] allAccounts = new Account[initialLength]; in getAllAccounts()545 assert (i == initialLength); in getAllAccounts()