Lines Matching refs:mgr
41 explicit ObbActionListener(AStorageManager* mgr) : in ObbActionListener()
42 mStorageManager(mgr) in ObbActionListener()
194 sp<AStorageManager> mgr = new AStorageManager(); in AStorageManager_new() local
195 if (mgr == NULL || !mgr->initialize()) { in AStorageManager_new()
198 mgr->incStrong((void*)AStorageManager_new); in AStorageManager_new()
199 return static_cast<AStorageManager*>(mgr.get()); in AStorageManager_new()
202 void AStorageManager_delete(AStorageManager* mgr) { in AStorageManager_delete() argument
203 if (mgr) { in AStorageManager_delete()
204 mgr->decStrong((void*)AStorageManager_new); in AStorageManager_delete()
208 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, in AStorageManager_mountObb() argument
210 mgr->mountObb(filename, key, cb, data); in AStorageManager_mountObb()
213 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, in AStorageManager_unmountObb() argument
215 mgr->unmountObb(filename, force != 0, cb, data); in AStorageManager_unmountObb()
218 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename) { in AStorageManager_isObbMounted() argument
219 return mgr->isObbMounted(filename) != 0; in AStorageManager_isObbMounted()
222 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename) { in AStorageManager_getMountedObbPath() argument
223 return mgr->getMountedObbPath(filename); in AStorageManager_getMountedObbPath()