Home
last modified time | relevance | path

Searched refs:resumable_progress (Results 1 – 3 of 3) sorted by relevance

/external/python/google-api-python-client/googleapiclient/
Dhttp.py196 def __init__(self, resumable_progress, total_size): argument
204 self.resumable_progress = resumable_progress
215 return float(self.resumable_progress) / float(self.total_size)
223 def __init__(self, resumable_progress, total_size): argument
230 self.resumable_progress = resumable_progress
241 return float(self.resumable_progress) / float(self.total_size)
790 self.resumable_progress = 0
946 data.seek(self.resumable_progress)
947 chunk_end = self.resumable.size() - self.resumable_progress - 1
950 data = _StreamSlice(data, self.resumable_progress,
[all …]
/external/python/google-api-python-client/tests/
Dtest_discovery.py978 self.assertEquals(0, status.resumable_progress)
984 self.assertEquals(0, request.resumable_progress)
990 self.assertEquals(13, request.resumable_progress)
995 self.assertEquals(media_upload.size()-1, request.resumable_progress)
1033 self.assertEquals(13, status.resumable_progress)
1040 self.assertEquals(13, request.resumable_progress)
1044 self.assertEquals(media_upload.size()-1, request.resumable_progress)
1122 self.assertEquals(status.resumable_progress, 7,
Dtest_http.py451 self.assertEqual(3, status.resumable_progress)
586 self.assertEqual(3, status.resumable_progress)