Home
last modified time | relevance | path

Searched refs:IStorageHealthListener (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/os/incremental/
DIStorageHealthListener.aidl20 oneway interface IStorageHealthListener { interface
DIIncrementalService.aidl23 import android.os.incremental.IStorageHealthListener;
52 in IStorageHealthListener healthListener, in startLoading()
DIncrementalFileStorages.java74 @Nullable IStorageHealthListener healthListener, in initialize()
168 @Nullable IStorageHealthListener healthListener, in startLoading()
DIncrementalStorage.java411 @Nullable IStorageHealthListener healthListener, in startLoading()
/frameworks/base/services/incremental/
DIncrementalService.h70 using IStorageHealthListener = ::android::os::incremental::IStorageHealthListener; variable
71 using StorageHealthListener = ::android::sp<IStorageHealthListener>;
303 std::atomic<int> mHealthStatus = IStorageHealthListener::HEALTH_STATUS_OK;
DBinderIncrementalService.h52 const ::android::sp<IStorageHealthListener>& healthListener,
DBinderIncrementalService.cpp143 const ::android::sp<IStorageHealthListener>& healthListener, in startLoading()
DIncrementalService.cpp2955 healthStatusToReport = IStorageHealthListener::HEALTH_STATUS_OK; in updateHealthStatus()
2970 healthStatusToReport = IStorageHealthListener::HEALTH_STATUS_READS_PENDING; in updateHealthStatus()
2994 healthStatusToReport = IStorageHealthListener::HEALTH_STATUS_READS_PENDING; in updateHealthStatus()
2998 healthStatusToReport = IStorageHealthListener::HEALTH_STATUS_BLOCKED; in updateHealthStatus()
3002 healthStatusToReport = IStorageHealthListener::HEALTH_STATUS_UNHEALTHY; in updateHealthStatus()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp1328 EXPECT_CALL(*listenerMock, onHealthStatus(_, IStorageHealthListener::HEALTH_STATUS_OK)) in TEST_F()
1331 onHealthStatus(_, IStorageHealthListener::HEALTH_STATUS_READS_PENDING)) in TEST_F()
1333 EXPECT_CALL(*listenerMock, onHealthStatus(_, IStorageHealthListener::HEALTH_STATUS_BLOCKED)) in TEST_F()
1335 EXPECT_CALL(*listenerMock, onHealthStatus(_, IStorageHealthListener::HEALTH_STATUS_UNHEALTHY)) in TEST_F()
1368 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_OK, listener->mStatus); in TEST_F()
1379 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_READS_PENDING, listener->mStatus); in TEST_F()
1394 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_BLOCKED, listener->mStatus); in TEST_F()
1411 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_UNHEALTHY, listener->mStatus); in TEST_F()
1428 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_UNHEALTHY, listener->mStatus); in TEST_F()
1445 ASSERT_EQ(IStorageHealthListener::HEALTH_STATUS_OK, listener->mStatus); in TEST_F()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java143 import android.os.incremental.IStorageHealthListener;
4762 final IStorageHealthListener healthListener = new IStorageHealthListener.Stub() {
4770 case IStorageHealthListener.HEALTH_STATUS_OK:
4772 case IStorageHealthListener.HEALTH_STATUS_READS_PENDING:
4773 case IStorageHealthListener.HEALTH_STATUS_BLOCKED:
4779 case IStorageHealthListener.HEALTH_STATUS_UNHEALTHY:
/frameworks/base/core/java/
DAndroid.bp306 "android/os/incremental/IStorageHealthListener.aidl",
/frameworks/proto_logging/stats/
Datoms.proto5050 // frameworks/base/core/java/android/os/incremental/IStorageHealthListener.aidl.
5159 // frameworks/base/core/java/android/os/incremental/IStorageHealthListener.aidl.