Lines Matching refs:mgr
40 ObbActionListener(AStorageManager* mgr) :
41 mStorageManager(mgr)
172 sp<AStorageManager> mgr = new AStorageManager();
173 if (mgr == NULL || !mgr->initialize()) {
176 mgr->incStrong((void*)AStorageManager_new);
177 return static_cast<AStorageManager*>(mgr.get());
180 void AStorageManager_delete(AStorageManager* mgr) {
181 if (mgr) {
182 mgr->decStrong((void*)AStorageManager_new);
186 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
188 mgr->mountObb(filename, key, cb, data);
191 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force,
193 mgr->unmountObb(filename, force != 0, cb, data);
196 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename) {
197 return mgr->isObbMounted(filename) != 0;
200 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename) {
201 return mgr->getMountedObbPath(filename);