Home | History | Annotate | Download | only in jni

Lines Matching refs:storageInfo

193     MtpStorageInfo* storageInfo = device->getStorageInfo(storageID);
194 if (!storageInfo)
200 delete storageInfo;
204 if (storageInfo->mStorageID)
205 env->SetIntField(info, field_storageInfo_storageId, storageInfo->mStorageID);
206 if (storageInfo->mMaxCapacity)
207 env->SetLongField(info, field_storageInfo_maxCapacity, storageInfo->mMaxCapacity);
208 if (storageInfo->mFreeSpaceBytes)
209 env->SetLongField(info, field_storageInfo_freeSpace, storageInfo->mFreeSpaceBytes);
210 if (storageInfo->mStorageDescription)
212 env->NewStringUTF(storageInfo->mStorageDescription));
213 if (storageInfo->mVolumeIdentifier)
215 env->NewStringUTF(storageInfo->mVolumeIdentifier));
217 delete storageInfo;