Home
last modified time | relevance | path

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

12

/frameworks/base/native/android/
Dstorage_manager.cpp40 ObbActionListener(AStorageManager* mgr) : in ObbActionListener()
41 mStorageManager(mgr) in ObbActionListener()
172 sp<AStorageManager> mgr = new AStorageManager(); in AStorageManager_new() local
173 if (mgr == NULL || !mgr->initialize()) { in AStorageManager_new()
176 mgr->incStrong((void*)AStorageManager_new); in AStorageManager_new()
177 return static_cast<AStorageManager*>(mgr.get()); in AStorageManager_new()
180 void AStorageManager_delete(AStorageManager* mgr) { in AStorageManager_delete() argument
181 if (mgr) { in AStorageManager_delete()
182 mgr->decStrong((void*)AStorageManager_new); in AStorageManager_delete()
186 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/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/native/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/core/java/android/bluetooth/
DBluetoothPbap.java153 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothPbap() local
154 if (mgr != null) { in BluetoothPbap()
156 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothPbap()
181 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local
182 if (mgr != null) { in close()
184 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
DBluetoothA2dp.java151 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothA2dp() local
152 if (mgr != null) { in BluetoothA2dp()
154 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothA2dp()
167 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local
168 if (mgr != null) { in close()
170 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
DBluetoothHealth.java477 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothHealth() local
478 if (mgr != null) { in BluetoothHealth()
480 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothHealth()
493 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local
494 if (mgr != null) { in close()
496 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
DBluetoothInputDevice.java231 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothInputDevice() local
232 if (mgr != null) { in BluetoothInputDevice()
234 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothInputDevice()
248 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local
249 if (mgr != null) { in close()
251 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
DBluetoothHeadset.java264 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothHeadset() local
265 if (mgr != null) { in BluetoothHeadset()
267 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothHeadset()
287 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local
288 if (mgr != null) { in close()
290 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java367 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local
383 sendFinished(mgr); in finish()
389 sendFinished(mgr); in finish()
394 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local
395 sendFinished(mgr); in finish()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java25 StorageManager mgr = (StorageManager) getSystemService(Context.STORAGE_SERVICE); in onCreate() local
26 if (mgr != null) { in onCreate()
27 mVolumes = mgr.getVolumeList(); in onCreate()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java148 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() argument
149 return new Typeface(nativeCreateFromAsset(mgr, path)); in createFromAsset()
226 private static native int nativeCreateFromAsset(AssetManager mgr, String path); in nativeCreateFromAsset() argument
/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/native/libs/gui/
DSensorManager.cpp85 DeathObserver(SensorManager& mgr) : mSensorManger(mgr) { } in assertStateLocked() argument
DSurfaceComposerClient.cpp70 DeathObserver(ComposerService& mgr) : mComposerService(mgr) { } in connectLocked() argument
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp75 SensorManager& mgr(SensorManager::getInstance()); in nativeGetNextSensor() local
78 size_t count = mgr.getSensorList(&sensorList); in nativeGetNextSensor()
169 SensorManager& mgr(SensorManager::getInstance()); in nativeInitSensorEventQueue() local
170 sp<SensorEventQueue> queue(mgr.createEventQueue()); in nativeInitSensorEventQueue()
/frameworks/base/graphics/java/android/renderscript/
DFileA3D.java233 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() argument
235 int fileId = rs.nFileA3DCreateFromAsset(mgr, path); in createFromAsset()
DFont.java187 AssetManager mgr = res.getAssets(); in createFromAsset() local
190 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset()
DRenderScript.java522 native int rsnFileA3DCreateFromAsset(int con, AssetManager mgr, String path); in rsnFileA3DCreateFromAsset() argument
523 synchronized int nFileA3DCreateFromAsset(AssetManager mgr, String path) { in nFileA3DCreateFromAsset() argument
525 return rsnFileA3DCreateFromAsset(mContext, mgr, path); in nFileA3DCreateFromAsset()
553 native int rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset() argument
554 synchronized int nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset() argument
556 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi); in nFontCreateFromAsset()
/frameworks/base/core/java/android/app/
DLoadedApk.java696 IActivityManager mgr = ActivityManagerNative.getDefault(); in performReceive() local
701 mgr.finishReceiver(this, resultCode, data, extras, false); in performReceive()
744 final IActivityManager mgr = ActivityManagerNative.getDefault(); in run() local
752 sendFinished(mgr); in run()
768 sendFinished(mgr); in run()
849 IActivityManager mgr = ActivityManagerNative.getDefault(); in performReceive() local
852 args.sendFinished(mgr); in performReceive()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java157 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in bind() local
160 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder(), in bind()
163 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder(), in bind()
178 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in unbind() local
181 mgr.unbindRemoteViewsService(appWidgetId, intent, in unbind()
184 mgr.unbindRemoteViewsService(appWidgetId, intent, Process.myUserHandle()); 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/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewActivity.java133 final ActivityManager mgr = (ActivityManager) getApplicationContext(). in onCreate() local
135 sMemoryClass = mgr.getMemoryClass(); in onCreate()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java63 BaseInputConnection(InputMethodManager mgr, boolean fullEditor) { in BaseInputConnection() argument
64 mIMM = mgr; in BaseInputConnection()

12