Home
last modified time | relevance | path

Searched refs:StorageInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DStorageInfo.java25 public class StorageInfo { class
33 StorageInfo(@NonNull Bundle bundle) { in StorageInfo() method in StorageInfo
81 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()
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/
DAppSearchSessionShimImpl.java38 import android.app.appsearch.StorageInfo;
182 public ListenableFuture<StorageInfo> getStorageInfo() { in getStorageInfo()
183 SettableFuture<AppSearchResult<StorageInfo>> future = SettableFuture.create(); in getStorageInfo()
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchSessionShim.java239 ListenableFuture<StorageInfo> getStorageInfo(); in getStorageInfo()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java39 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 …]
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt141 ….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);
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchSession.java625 @NonNull Consumer<AppSearchResult<StorageInfo>> callback) { in getStorageInfo()
640 StorageInfo response = new StorageInfo(result.getResultValue()); in getStorageInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java34 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()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java33 import android.app.appsearch.StorageInfo;
1166 StorageInfo storageInfo = instance.getAppSearchImpl() in getStorageInfo()
/frameworks/proto_logging/stats/
Datoms.proto11378 // the StorageInfo is for a primary user or secondary user.
/frameworks/base/services/
Dart-profile98 …th/V1_0/HealthInfo;]Landroid/hardware/health/V2_0/StorageInfo;Landroid/hardware/health/V2_0/Storag…
117 HSPLandroid/hardware/health/V2_0/StorageInfo;-><init>()V
118 HSPLandroid/hardware/health/V2_0/StorageInfo;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroid…
51191 Landroid/hardware/health/V2_0/StorageInfo;