Searched refs:StorageInfo (Results 1 – 10 of 10) sorted by relevance
25 public class StorageInfo { class33 StorageInfo(@NonNull Bundle bundle) { in StorageInfo() method in StorageInfo81 public StorageInfo.Builder setSizeBytes(long sizeBytes) { in setSizeBytes()88 public StorageInfo.Builder setAliveDocumentsCount(int aliveDocumentsCount) { in setAliveDocumentsCount()95 public StorageInfo.Builder setAliveNamespacesCount(int aliveNamespacesCount) { in setAliveNamespacesCount()102 public StorageInfo build() { in build()107 return new StorageInfo(bundle); in build()
38 import android.app.appsearch.StorageInfo;182 public ListenableFuture<StorageInfo> getStorageInfo() { in getStorageInfo()183 SettableFuture<AppSearchResult<StorageInfo>> future = SettableFuture.create(); in getStorageInfo()
239 ListenableFuture<StorageInfo> getStorageInfo(); in getStorageInfo()
39 import android.app.appsearch.StorageInfo;1375 public StorageInfo getStorageInfoForPackage(@NonNull String packageName) in getStorageInfoForPackage()1385 return new StorageInfo.Builder().build(); in getStorageInfoForPackage()1398 return new StorageInfo.Builder().build(); in getStorageInfoForPackage()1409 public StorageInfo getStorageInfoForDatabase( in getStorageInfoForDatabase()1419 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()1423 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()1429 return new StorageInfo.Builder().build(); in getStorageInfoForDatabase()1463 private static StorageInfo getStorageInfoForNamespaces( in getStorageInfoForNamespaces()1466 return new StorageInfo.Builder().build(); in getStorageInfoForNamespaces()[all …]
141 ….util.function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.StorageInfo>>);433 public class StorageInfo {439 public static final class StorageInfo.Builder {440 ctor public StorageInfo.Builder();441 method @NonNull public android.app.appsearch.StorageInfo build();442 method @NonNull public android.app.appsearch.StorageInfo.Builder setAliveDocumentsCount(int);443 method @NonNull public android.app.appsearch.StorageInfo.Builder setAliveNamespacesCount(int);444 method @NonNull public android.app.appsearch.StorageInfo.Builder setSizeBytes(long);
625 @NonNull Consumer<AppSearchResult<StorageInfo>> callback) { in getStorageInfo()640 StorageInfo response = new StorageInfo(result.getResultValue()); in getStorageInfo()
34 import android.app.appsearch.StorageInfo;1957 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("nonexistent.package"); in testGetStorageInfoForPackage_nonexistentPackage()1979 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_withoutDocument()2023 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForPackage("package1"); in testGetStorageInfoForPackage_proportionalToDocuments()2043 StorageInfo storageInfo = in testGetStorageInfoForDatabase_nonexistentPackage()2067 StorageInfo storageInfo = in testGetStorageInfoForDatabase_nonexistentDatabase()2090 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForDatabase("package1", "database1"); in testGetStorageInfoForDatabase_withoutDocument()2131 StorageInfo storageInfo = mAppSearchImpl.getStorageInfoForDatabase("package1", "database1"); in testGetStorageInfoForDatabase_proportionalToDocuments()
33 import android.app.appsearch.StorageInfo;1166 StorageInfo storageInfo = instance.getAppSearchImpl() in getStorageInfo()
11378 // the StorageInfo is for a primary user or secondary user.
98 …th/V1_0/HealthInfo;]Landroid/hardware/health/V2_0/StorageInfo;Landroid/hardware/health/V2_0/Storag…117 HSPLandroid/hardware/health/V2_0/StorageInfo;-><init>()V118 HSPLandroid/hardware/health/V2_0/StorageInfo;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroid…51191 Landroid/hardware/health/V2_0/StorageInfo;