Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DByteArrayList.java27 private byte[] mStorage; field in ByteArrayList
37 mStorage = new byte[mMaxBytes]; in ByteArrayList()
118 System.arraycopy(mStorage, 0, newStorage, 0, mCurBytes); in setSize()
119 mStorage = newStorage; in setSize()
130 System.arraycopy(mStorage, 0, contents, 0, mCurBytes); in getContents()
143 mStorage[mCurBytes] = b; in add()
176 System.arraycopy(src, srcOffset, mStorage, mCurBytes, length); in addAll()
228 return Arrays.hashCode(mStorage); in hashCode()
247 return mStorage[idx]; in get()
260 byte curVal = mStorage[idx]; in set()
[all …]
DGCSCommon.java41 private Storage mStorage; field in GCSCommon
52 if (mStorage == null) { in getStorage()
55 mStorage = in getStorage()
67 return mStorage; in getStorage()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java60 private Storage mStorage; field in GCSFileDownloaderFuncTest
98 mStorage = in setUp()
102 createFile(mStorage, FILE_CONTENT, BUCKET_NAME, mRemoteRoot, FILE_NAME1); in setUp()
103 createFile(mStorage, FILE_NAME2, BUCKET_NAME, mRemoteRoot, FOLDER_NAME1, FILE_NAME2); in setUp()
104 createFile(mStorage, FILE_NAME3, BUCKET_NAME, mRemoteRoot, FOLDER_NAME1, FILE_NAME3); in setUp()
106 mStorage, in setUp()
120 BatchRequest batchRequest = mStorage.batch(); in tearDown()
123 List listOperation = mStorage.objects().list(BUCKET_NAME).setPrefix(mRemoteRoot); in tearDown()
130 mStorage.objects().delete(BUCKET_NAME, object.getName()).buildHttpRequest(), in tearDown()
310 createFile(mStorage, "New content.", BUCKET_NAME, mRemoteRoot, FILE_NAME1); in testCheckFreshness_notFresh()
[all …]