Home
last modified time | relevance | path

Searched refs:storageManager_ (Results 1 - 7 of 7) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_manager_connect.cpp38 if (storageManager_ == nullptr) { in Connect()
49 storageManager_ = iface_cast<StorageManager::IStorageManager>(object); in Connect()
50 if (storageManager_ == nullptr) { in Connect()
59 if (storageManager_->AsObject() != nullptr) { in Connect()
60 storageManager_->AsObject()->AddDeathRecipient(deathRecipient_); in Connect()
74 if (storageManager_ == nullptr) { in GetBundleStats()
78 return storageManager_->GetBundleStats(pkgName, BundleStats, appIndex); in GetBundleStats()
88 if (storageManager_ == nullptr) { in GetFreeSizeOfVolume()
92 return storageManager_->GetFreeSizeOfVolume(volumeUuid, freeSize); in GetFreeSizeOfVolume()
102 if (storageManager_ in GetTotalSizeOfVolume()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_manager_client.cpp37 while (storageManager_ == nullptr && count++ < GET_CLIENT_RETRY_TIMES) { in GetClient()
51 storageManager_ = iface_cast<OHOS::StorageManager::IStorageManager>(object); in GetClient()
52 if (storageManager_ == nullptr) { in GetClient()
59 return storageManager_ == nullptr ? E_SERVICE_IS_NULLPTR : E_OK; in GetClient()
71 storageManager_->NotifyDiskCreated(disk); in NotifyDiskCreated()
82 storageManager_->NotifyDiskDestroyed(id); in NotifyDiskDestroyed()
98 storageManager_->NotifyVolumeCreated(vc); in NotifyVolumeCreated()
113 storageManager_->NotifyVolumeMounted(info->GetVolumeId(), info->GetFsType(), info->GetFsUuid(), in NotifyVolumeMounted()
126 storageManager_->NotifyVolumeStateChanged(volId, state); in NotifyVolumeStateChanged()
139 if (storageManager_ ! in NotifyMtpMounted()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_manager_client.h46 sptr<OHOS::StorageManager::IStorageManager> storageManager_; member in OHOS::StorageDaemon::final
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_manager_stub_impl.cpp316 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in GrantUriPermissionImpl()
317 if (storageManager_ == nullptr) { in GrantUriPermissionImpl()
323 auto resVec = storageManager_->CreateShareFile(uriVec, targetTokenId, flag); in GrantUriPermissionImpl()
364 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in GrantBatchUriPermissionImpl()
365 if (storageManager_ == nullptr) { in GrantBatchUriPermissionImpl()
369 auto resVec = storageManager_->CreateShareFile(uriVec, targetTokenId, flag); in GrantBatchUriPermissionImpl()
634 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in DeleteShareFile()
635 if (storageManager_ == nullptr) { in DeleteShareFile()
639 auto ret = storageManager_->DeleteShareFile(targetTokenId, uriVec); in DeleteShareFile()
/foundation/filemanagement/storage_service/interfaces/kits/js/storage_manager/include/
H A Dstorage_manager_connect.h54 sptr<StorageManager::IStorageManager> storageManager_ = nullptr; member in OHOS::StorageManager::StorageManagerConnect
/foundation/ability/ability_runtime/services/uripermmgr/include/
H A Duri_permission_manager_stub_impl.h164 sptr<StorageManager::IStorageManager> storageManager_ = nullptr; member in OHOS::AAFwk::UriPermissionManagerStubImpl
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/
H A Duri_permission_impl_test.cpp803 upms->storageManager_ = new StorageManager::StorageManagerServiceMock(); in HWTEST_F()
829 upms->storageManager_ = new StorageManager::StorageManagerServiceMock(); in HWTEST_F()

Completed in 7 milliseconds