/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/av/camera/ndk/ |
D | NdkCameraManager.cpp | 103 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){ in ACameraManager_getCameraCharacteristics() argument 105 if (mgr == nullptr || cameraId == nullptr || chars == nullptr) { in ACameraManager_getCameraCharacteristics() 107 __FUNCTION__, mgr, cameraId, chars); in ACameraManager_getCameraCharacteristics() 110 return mgr->getCameraCharacteristics(cameraId, chars); in ACameraManager_getCameraCharacteristics() 115 ACameraManager* mgr, const char* cameraId, in ACameraManager_openCamera() argument 119 if (mgr == nullptr || cameraId == nullptr || callback == nullptr || device == nullptr) { in ACameraManager_openCamera() 121 __FUNCTION__, mgr, cameraId, callback, device); in ACameraManager_openCamera() 124 return mgr->openCamera(cameraId, callback, device); in ACameraManager_openCamera()
|
/frameworks/native/include/android/ |
D | storage_manager.h | 108 void AStorageManager_delete(AStorageManager* mgr); 128 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, 134 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, 140 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename); 145 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
|
D | asset_manager.h | 88 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName); 95 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 65 SensorManager& mgr = SensorManager::getInstanceForPackage(String16("Sensor Service Test")); in main() local 68 ssize_t count = mgr.getSensorList(&list); in main() 71 sp<SensorEventQueue> q = mgr.createEventQueue(); in main() 74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 148 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothPbap() local 149 if (mgr != null) { in BluetoothPbap() 151 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothPbap() 186 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 187 if (mgr != null) { in close() 189 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothPbapClient.java | 100 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothPbapClient() local 101 if (mgr != null) { in BluetoothPbapClient() 103 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothPbapClient() 138 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 139 if (mgr != null) { in close() 141 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothA2dpSink.java | 167 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothA2dpSink() local 168 if (mgr != null) { in BluetoothA2dpSink() 170 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothA2dpSink() 193 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 194 if (mgr != null) { in close() 196 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothSap.java | 129 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothSap() local 130 if (mgr != null) { in BluetoothSap() 132 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothSap() 168 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 169 if (mgr != null) { in close() 171 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothMap.java | 92 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothMap() local 93 if (mgr != null) { in BluetoothMap() 95 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothMap() 130 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 131 if (mgr != null) { in close() 133 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothAvrcpController.java | 167 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothAvrcpController() local 168 if (mgr != null) { in BluetoothAvrcpController() 170 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothAvrcpController() 193 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 194 if (mgr != null) { in close() 196 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothHealth.java | 474 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothHealth() local 475 if (mgr != null) { in BluetoothHealth() 477 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothHealth() 500 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 501 if (mgr != null) { in close() 503 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothA2dp.java | 163 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothA2dp() local 164 if (mgr != null) { in BluetoothA2dp() 166 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothA2dp() 189 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 190 if (mgr != null) { in close() 192 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothInputDevice.java | 246 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothInputDevice() local 247 if (mgr != null) { in BluetoothInputDevice() 249 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothInputDevice() 272 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 273 if (mgr != null) { in close() 275 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
D | BluetoothHeadset.java | 303 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in BluetoothHeadset() local 304 if (mgr != null) { in BluetoothHeadset() 306 mgr.registerStateChangeCallback(mBluetoothStateChangeCallback); in BluetoothHeadset() 347 IBluetoothManager mgr = mAdapter.getBluetoothManager(); in close() local 348 if (mgr != null) { in close() 350 mgr.unregisterStateChangeCallback(mBluetoothStateChangeCallback); in close()
|
/frameworks/base/core/java/android/os/ |
D | SystemClock.java | 144 IAlarmManager mgr = IAlarmManager.Stub.asInterface(b); in setCurrentTimeMillis() local 145 if (mgr == null) { in setCurrentTimeMillis() 150 return mgr.setTime(millis); in setCurrentTimeMillis()
|
/frameworks/base/core/jni/ |
D | android_hardware_location_ContextHubService.cpp | 166 txnManager_s *mgr = &db.txnManager; in initTxnManager() local 168 mgr->txnData = nullptr; in initTxnManager() 169 mgr->txnPending = false; in initTxnManager() 174 txnManager_s *mgr = &db.txnManager; in addTxn() local 176 std::lock_guard<std::mutex>lock(mgr->m); in addTxn() 178 mgr->txnPending = true; in addTxn() 179 mgr->txnData = txnData; in addTxn() 180 mgr->txnIdentifier = txnIdentifier; in addTxn() 186 txnManager_s *mgr = &db.txnManager; in closeTxn() local 187 std::lock_guard<std::mutex>lock(mgr->m); in closeTxn() [all …]
|
D | android_hardware_SensorManager.cpp | 212 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetSensorAtIndex() local 215 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex() 226 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetDynamicSensors() local 231 mgr->getDynamicSensorList(nativeList); in nativeGetDynamicSensors() 242 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeIsDataInjectionEnabled() local 243 return mgr->isDataInjectionEnabled(); in nativeIsDataInjectionEnabled() 380 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeInitSensorEventQueue() local 383 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode)); in nativeInitSensorEventQueue()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 88 public boolean addFontFromAsset(AssetManager mgr, String path) { in addFontFromAsset() argument 89 return nAddFontFromAsset(mNativePtr, mgr, path); in addFontFromAsset() 98 private static native boolean nAddFontFromAsset(long nativeFamily, AssetManager mgr, in nAddFontFromAsset() argument
|
D | Typeface.java | 190 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() argument 193 final String key = createAssetUid(mgr, path); in createFromAsset() 198 if (fontFamily.addFontFromAsset(mgr, path)) { in createFromAsset() 216 private static String createAssetUid(final AssetManager mgr, String path) { in createAssetUid() argument 217 final SparseArray<String> pkgs = mgr.getAssignedPackageIdentifiers(); in createAssetUid()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 206 ImsManager mgr = new ImsManager(context, phoneId); in getInstance() 207 sImsManagerInstances.put(phoneId, mgr); in getInstance() 209 return mgr; in getInstance() 288 ImsManager mgr = ImsManager.getInstance(context, in isVolteProvisionedOnDevice() local 290 if (mgr != null) { in isVolteProvisionedOnDevice() 291 return mgr.isVolteProvisioned(); in isVolteProvisionedOnDevice() 304 ImsManager mgr = ImsManager.getInstance(context, in isWfcProvisionedOnDevice() local 306 if (mgr != null) { in isWfcProvisionedOnDevice() 307 return mgr.isWfcProvisioned(); in isWfcProvisionedOnDevice() 320 ImsManager mgr = ImsManager.getInstance(context, in isVtProvisionedOnDevice() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | BroadcastReceiver.java | 369 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local 385 sendFinished(mgr); in finish() 391 sendFinished(mgr); in finish() 396 final IActivityManager mgr = ActivityManagerNative.getDefault(); in finish() local 397 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedActionAdapterGroup.java | 128 InputMethodManager mgr = (InputMethodManager) in openIme() local 134 mgr.showSoftInput(v, 0); in openIme() 144 InputMethodManager mgr = (InputMethodManager) in closeIme() local 146 mgr.hideSoftInputFromWindow(v.getWindowToken(), 0); in closeIme()
|