Searched refs:StorageInfo (Results 1 – 9 of 9) sorted by relevance
32 public final class StorageInfo extends AbstractSafeParcelable { class36 public static final Parcelable.Creator<StorageInfo> CREATOR = new StorageInfoCreator();48 StorageInfo( in StorageInfo() method in StorageInfo92 public StorageInfo.Builder setSizeBytes(long sizeBytes) { in setSizeBytes()100 public StorageInfo.Builder setAliveDocumentsCount(int aliveDocumentsCount) { in setAliveDocumentsCount()108 public StorageInfo.Builder setAliveNamespacesCount(int aliveNamespacesCount) { in setAliveNamespacesCount()115 public StorageInfo build() { in build()116 return new StorageInfo(mSizeBytes, mAliveDocumentsCount, mAliveNamespacesCount); in build()
28 import android.app.appsearch.StorageInfo;119 StorageInfo mStorageInfo;153 @Param(id = 10) @Nullable StorageInfo storageInfo, in AppSearchResultParcel()315 public static AppSearchResultParcel<StorageInfo> fromStorageInfo(StorageInfo storageInfo) { in fromStorageInfo()316 return new AppSearchResultParcel.Builder<StorageInfo>(AppSearchResult.RESULT_OK) in fromStorageInfo()381 @Nullable private StorageInfo mStorageInfo;440 Builder<ValueType> setStorageInfo(StorageInfo storageInfo) { in setStorageInfo()
23 import android.hardware.health.V2_0.StorageInfo;64 public void onValues(int result, ArrayList<StorageInfo> value) { in load()69 StorageInfo value2 = value.get(i); in load()
48 import android.app.appsearch.StorageInfo;2136 public StorageInfo getStorageInfoForPackage(@NonNull String packageName) in getStorageInfoForPackage()2146 return new StorageInfo.Builder().build(); in getStorageInfoForPackage()2159 return new StorageInfo.Builder().build(); in getStorageInfoForPackage()2170 public StorageInfo getStorageInfoForDatabase( in getStorageInfoForDatabase()2180 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()2184 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()2190 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()2227 private static StorageInfo getStorageInfoForNamespaces( in getStorageInfoForNamespaces()2230 return new StorageInfo.Builder().build(); in getStorageInfoForNamespaces()[all …]
39 import android.hardware.health.V2_0.StorageInfo;123 StorageInfo storageInfo = new StorageInfo(); in testHealthServiceWearInformationProvider()134 ArrayList<StorageInfo> list = new ArrayList<StorageInfo>(); in testHealthServiceWearInformationProvider()
189 ….util.function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.StorageInfo>>);717 public final class StorageInfo implements android.os.Parcelable {723 …nNull public static final android.os.Parcelable.Creator<android.app.appsearch.StorageInfo> CREATOR;726 public static final class StorageInfo.Builder {727 ctor public StorageInfo.Builder();728 method @NonNull public android.app.appsearch.StorageInfo build();729 method @NonNull public android.app.appsearch.StorageInfo.Builder setAliveDocumentsCount(int);730 method @NonNull public android.app.appsearch.StorageInfo.Builder setAliveNamespacesCount(int);731 method @NonNull public android.app.appsearch.StorageInfo.Builder setSizeBytes(long);
849 @NonNull Consumer<AppSearchResult<StorageInfo>> callback) { in getStorageInfo()868 AppSearchResult<StorageInfo> result = in getStorageInfo()
48 import android.app.appsearch.StorageInfo;2937 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("nonexistent.package"); in testGetStorageInfoForPackage_nonexistentPackage()2960 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_withoutDocument()3021 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_proportionalToDocuments()3041 StorageInfo storageInfo = in testGetStorageInfoForDatabase_nonexistentPackage()3066 StorageInfo storageInfo = in testGetStorageInfoForDatabase_nonexistentDatabase()3090 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForDatabase("package1", "database1"); in testGetStorageInfoForDatabase_withoutDocument()3148 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForDatabase("package1", "database1"); in testGetStorageInfoForDatabase_proportionalToDocuments()
53 import android.app.appsearch.StorageInfo;1961 StorageInfo storageInfo = instance.getAppSearchImpl().getStorageInfoForDatabase( in getStorageInfo()