Home
last modified time | relevance | path

Searched refs:mgr (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/native/android/
Dstorage_manager.cpp40 ObbActionListener(AStorageManager* mgr) : in ObbActionListener()
41 mStorageManager(mgr) in ObbActionListener()
163 sp<AStorageManager> mgr = new AStorageManager(); in AStorageManager_new() local
164 if (mgr == NULL || !mgr->initialize()) { in AStorageManager_new()
167 mgr->incStrong((void*)AStorageManager_new); in AStorageManager_new()
168 return static_cast<AStorageManager*>(mgr.get()); in AStorageManager_new()
171 void AStorageManager_delete(AStorageManager* mgr) { in AStorageManager_delete() argument
172 if (mgr) { in AStorageManager_delete()
173 mgr->decStrong((void*)AStorageManager_new); in AStorageManager_delete()
177 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, in AStorageManager_mountObb() argument
[all …]
Dasset_manager.cpp107 AssetManager* mgr = static_cast<AssetManager*>(amgr); in AAssetManager_open() local
108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open()
118 AssetManager* mgr = static_cast<AssetManager*>(amgr); in AAssetManager_openDir() local
119 return new AAssetDir(mgr->openDir(dirName)); in AAssetManager_openDir()
/frameworks/base/native/include/android/
Dstorage_manager.h93 void AStorageManager_delete(AStorageManager* mgr);
103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force,
115 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename);
120 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
Dasset_manager.h50 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName);
57 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
/frameworks/base/services/sensorservice/tests/
Dsensorservicetest.cpp64 SensorManager& mgr(SensorManager::getInstance()); in main() local
67 ssize_t count = mgr.getSensorList(&list); in main()
70 sp<SensorEventQueue> q = mgr.createEventQueue(); in main()
73 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java120 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() argument
121 return new Typeface(nativeCreateFromAsset(mgr, path)); in createFromAsset()
176 private static native int nativeCreateFromAsset(AssetManager mgr, String path); in nativeCreateFromAsset() argument
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java328 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local
344 sendFinished(mgr); in finish()
350 sendFinished(mgr); in finish()
355 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local
356 sendFinished(mgr); in finish()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java26 StorageManager mgr = (StorageManager) getSystemService(Context.STORAGE_SERVICE); in onCreate() local
27 if (mgr != null) { in onCreate()
28 mVolumes = mgr.getVolumeList(); in onCreate()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp59 SensorManager& mgr(SensorManager::getInstance()); in sensors_module_get_next_sensor() local
62 size_t count = mgr.getSensorList(&sensorList); in sensors_module_get_next_sensor()
88 SensorManager& mgr(SensorManager::getInstance()); in sensors_create_queue() local
89 sp<SensorEventQueue> queue(mgr.createEventQueue()); in sensors_create_queue()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp122 AssetManager* mgr = assetManagerForJavaObject(env, jassetMgr); in Typeface_createFromAsset() local
123 if (NULL == mgr) { in Typeface_createFromAsset()
128 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in Typeface_createFromAsset()
/frameworks/base/libs/gui/
DSensorManager.cpp85 DeathObserver(SensorManager& mgr) : mSensorManger(mgr) { } in assertStateLocked() argument
/frameworks/base/graphics/java/android/renderscript/
DFileA3D.java220 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() argument
222 int fileId = rs.nFileA3DCreateFromAsset(mgr, path); in createFromAsset()
DFont.java163 AssetManager mgr = res.getAssets(); in createFromAsset() local
166 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset()
DRenderScript.java400 native int rsnFileA3DCreateFromAsset(int con, AssetManager mgr, String path); in rsnFileA3DCreateFromAsset() argument
401 synchronized int nFileA3DCreateFromAsset(AssetManager mgr, String path) { in nFileA3DCreateFromAsset() argument
403 return rsnFileA3DCreateFromAsset(mContext, mgr, path); in nFileA3DCreateFromAsset()
431 native int rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset() argument
432 synchronized int nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset() argument
434 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi); in nFontCreateFromAsset()
/frameworks/base/core/java/android/app/
DLoadedApk.java662 IActivityManager mgr = ActivityManagerNative.getDefault(); in performReceive() local
667 mgr.finishReceiver(this, resultCode, data, extras, false); in performReceive()
710 final IActivityManager mgr = ActivityManagerNative.getDefault(); in run() local
718 sendFinished(mgr); in run()
733 sendFinished(mgr); in run()
811 IActivityManager mgr = ActivityManagerNative.getDefault(); in performReceive() local
814 args.sendFinished(mgr); in performReceive()
DActivityThread.java2087 IActivityManager mgr = ActivityManagerNative.getDefault(); in handleReceiver() local
2098 data.sendFinished(mgr); in handleReceiver()
2123 data.sendFinished(mgr); in handleReceiver()
3810 IActivityManager mgr = ActivityManagerNative.getDefault(); in handleBindApplication() local
3812 mgr.showWaitingForDebugger(mAppThread, true); in handleBindApplication()
3819 mgr.showWaitingForDebugger(mAppThread, false); in handleBindApplication()
4245 IActivityManager mgr = ActivityManagerNative.getDefault(); in attach() local
4247 mgr.attachApplication(mAppThread); in attach()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java124 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in bind() local
125 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder()); in bind()
137 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in unbind() local
138 mgr.unbindRemoteViewsService(appWidgetId, intent); in unbind()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java141 /*package*/ static synchronized int nativeCreateFromAsset(AssetManager mgr, String path) { in nativeCreateFromAsset() argument
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java63 BaseInputConnection(InputMethodManager mgr, boolean fullEditor) { in BaseInputConnection() argument
64 mIMM = mgr; in BaseInputConnection()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp717 AssetManager* mgr = assetManagerForJavaObject(_env, _assetMgr); in nFileA3DCreateFromAsset() local
718 if (mgr == NULL) { in nFileA3DCreateFromAsset()
723 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset()
805 AssetManager* mgr = assetManagerForJavaObject(_env, _assetMgr); in nFontCreateFromAsset() local
806 if (mgr == NULL) { in nFontCreateFromAsset()
811 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd1176 AppWidgetManager mgr = AppWidgetManager.getInstance(context);