/frameworks/base/native/android/ |
D | storage_manager.cpp | 40 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 …]
|
D | asset_manager.cpp | 107 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/ |
D | storage_manager.h | 93 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);
|
D | asset_manager.h | 50 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName); 57 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 64 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/ |
D | BluetoothPbap.java | 153 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()
|
D | BluetoothA2dp.java | 151 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()
|
D | BluetoothHealth.java | 477 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()
|
D | BluetoothInputDevice.java | 231 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()
|
D | BluetoothHeadset.java | 264 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/ |
D | BroadcastReceiver.java | 367 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/ |
D | SharedStorageAgent.java | 25 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/ |
D | Typeface.java | 148 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/ |
D | Typeface.cpp | 122 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/ |
D | SensorManager.cpp | 85 DeathObserver(SensorManager& mgr) : mSensorManger(mgr) { } in assertStateLocked() argument
|
D | SurfaceComposerClient.cpp | 70 DeathObserver(ComposerService& mgr) : mComposerService(mgr) { } in connectLocked() argument
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 75 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/ |
D | FileA3D.java | 233 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() argument 235 int fileId = rs.nFileA3DCreateFromAsset(mgr, path); in createFromAsset()
|
D | Font.java | 187 AssetManager mgr = res.getAssets(); in createFromAsset() local 190 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset()
|
D | RenderScript.java | 522 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/ |
D | LoadedApk.java | 696 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/ |
D | RemoteViewsAdapter.java | 157 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/ |
D | Typeface_Delegate.java | 141 /*package*/ static synchronized int nativeCreateFromAsset(AssetManager mgr, String path) { in nativeCreateFromAsset() argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 133 final ActivityManager mgr = (ActivityManager) getApplicationContext(). in onCreate() local 135 sMemoryClass = mgr.getMemoryClass(); in onCreate()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 63 BaseInputConnection(InputMethodManager mgr, boolean fullEditor) { in BaseInputConnection() argument 64 mIMM = mgr; in BaseInputConnection()
|