/frameworks/base/native/android/ |
D | storage_manager.cpp | 41 explicit ObbActionListener(AStorageManager* mgr) : in ObbActionListener() 42 mStorageManager(mgr) in ObbActionListener() 191 sp<AStorageManager> mgr = new AStorageManager(); in AStorageManager_new() local 192 if (mgr == NULL || !mgr->initialize()) { in AStorageManager_new() 195 mgr->incStrong((void*)AStorageManager_new); in AStorageManager_new() 196 return static_cast<AStorageManager*>(mgr.get()); in AStorageManager_new() 199 void AStorageManager_delete(AStorageManager* mgr) { in AStorageManager_delete() argument 200 if (mgr) { in AStorageManager_delete() 201 mgr->decStrong((void*)AStorageManager_new); in AStorageManager_delete() 205 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, in AStorageManager_mountObb() argument [all …]
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 63 void testInvalidSharedMem_NoCrash(SensorManager &mgr) { in testInvalidSharedMem_NoCrash() argument 87 int ret = mgr.createDirectChannel( in testInvalidSharedMem_NoCrash() 94 ret = mgr.createDirectChannel(kMemSize, ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER, in testInvalidSharedMem_NoCrash() 99 mgr.destroyDirectChannel(ret); in testInvalidSharedMem_NoCrash() 102 mgr.destroyDirectChannel(ret); in testInvalidSharedMem_NoCrash() 106 SensorManager& mgr = SensorManager::getInstanceForPackage(String16("Sensor Service Test")); in main() local 108 testInvalidSharedMem_NoCrash(mgr); in main() 111 ssize_t count = mgr.getSensorList(&list); in main() 114 sp<SensorEventQueue> q = mgr.createEventQueue(); in main() 117 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/av/camera/ndk/ |
D | NdkCameraManager.cpp | 163 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){ in ACameraManager_getCameraCharacteristics() argument 165 if (mgr == nullptr || cameraId == nullptr || chars == nullptr) { in ACameraManager_getCameraCharacteristics() 167 __FUNCTION__, mgr, cameraId, chars); in ACameraManager_getCameraCharacteristics() 171 camera_status_t status = mgr->getCameraCharacteristics(cameraId, &spChars); in ACameraManager_getCameraCharacteristics() 182 ACameraManager* mgr, const char* cameraId, in ACameraManager_openCamera() argument 186 if (mgr == nullptr || cameraId == nullptr || callback == nullptr || device == nullptr) { in ACameraManager_openCamera() 188 __FUNCTION__, mgr, cameraId, callback, device); in ACameraManager_openCamera() 191 return mgr->openCamera(cameraId, callback, device); in ACameraManager_openCamera() 196 camera_status_t ACameraManager_getTagFromName(ACameraManager *mgr, const char* cameraId, in ACameraManager_getTagFromName() argument 199 if (mgr == nullptr || cameraId == nullptr || name == nullptr) { in ACameraManager_getTagFromName() [all …]
|
/frameworks/native/include/android/ |
D | storage_manager.h | 108 void AStorageManager_delete(AStorageManager* mgr); 134 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, 140 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, 146 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename); 151 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
|
D | asset_manager.h | 99 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName); 106 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 217 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetSensorAtIndex() local 220 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex() 230 SensorManager *mgr = reinterpret_cast<SensorManager *>(sensorManager); in nativeGetDefaultDeviceSensorAtIndex() local 233 ssize_t count = mgr->getDefaultDeviceSensorList(sensorList); in nativeGetDefaultDeviceSensorAtIndex() 244 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetDynamicSensors() local 249 mgr->getDynamicSensorList(nativeList); in nativeGetDynamicSensors() 261 SensorManager *mgr = reinterpret_cast<SensorManager *>(sensorManager); in nativeGetRuntimeSensors() local 266 mgr->getRuntimeSensorList(deviceId, nativeList); in nativeGetRuntimeSensors() 277 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeIsDataInjectionEnabled() local 278 return mgr->isDataInjectionEnabled(); in nativeIsDataInjectionEnabled() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 554 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isEnhanced4gLteModeSettingEnabledByUser() local 555 if (mgr != null) { in isEnhanced4gLteModeSettingEnabledByUser() 556 return mgr.isEnhanced4gLteModeSettingEnabledByUser(); in isEnhanced4gLteModeSettingEnabledByUser() 602 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in setEnhanced4gLteModeSetting() local 603 if (mgr != null) { in setEnhanced4gLteModeSetting() 604 mgr.setEnhanced4gLteModeSetting(enabled); in setEnhanced4gLteModeSetting() 678 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isNonTtyOrTtyOnVolteEnabled() local 679 if (mgr != null) { in isNonTtyOrTtyOnVolteEnabled() 680 return mgr.isNonTtyOrTtyOnVolteEnabled(); in isNonTtyOrTtyOnVolteEnabled() 737 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isVolteEnabledByPlatform() local [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | TypefaceUtils.cpp | 24 static sk_sp<SkFontMgr> mgr = SkFontMgr_New_Custom_Empty(); in FreeTypeFontMgr() local 25 return mgr; in FreeTypeFontMgr()
|
/frameworks/libs/native_bridge_support/android_api/libandroid/proxy/ |
D | libandroid_trampolines.cc | 166 auto [mgr, filename, key, guest_callback, data] = in DoCustomTrampoline_AStorageManager_mountObb() 170 AStorageManager_mountObb(mgr, filename, key, host_callback, data); in DoCustomTrampoline_AStorageManager_mountObb() 174 auto [mgr, filename, force, guest_callback, data] = in DoCustomTrampoline_AStorageManager_unmountObb() 178 AStorageManager_unmountObb(mgr, filename, force, host_callback, data); in DoCustomTrampoline_AStorageManager_unmountObb()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 90 private static Typeface createFromNonAsset(AssetManager mgr, String path) { in createFromNonAsset() argument 92 Preconditions.checkNotNull(mgr); in createFromNonAsset() 94 Typeface typeface = new Typeface.Builder(mgr, path).build(); in createFromNonAsset() 98 try (InputStream inputStream = mgr.openNonAsset(path)) { in createFromNonAsset()
|
/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/core/java/android/content/ |
D | BroadcastReceiver.java | 260 final IActivityManager mgr = ActivityManager.getService(); in finish() local 276 sendFinished(mgr); in finish() 282 sendFinished(mgr); in finish() 287 final IActivityManager mgr = ActivityManager.getService(); in finish() local 288 sendFinished(mgr); in finish()
|
/frameworks/base/core/java/android/os/ |
D | SystemClock.java | 166 final IAlarmManager mgr = getIAlarmManager(); in setCurrentTimeMillis() local 167 if (mgr == null) { in setCurrentTimeMillis() 173 return mgr.setTime(millis); in setCurrentTimeMillis()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 305 FamilyResourceEntry entry, AssetManager mgr, String path) { in createFromResources() argument 334 Typeface typeface = findFromCache(mgr, path); in createFromResources() 343 final Font.Builder fontBuilder = new Font.Builder(mgr, fontFile.getFileName(), in createFromResources() 388 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, in createFromResources() 400 public static Typeface findFromCache(AssetManager mgr, String path) { in findFromCache() argument 402 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, null /* axes */, in findFromCache() 630 private static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 632 final SparseArray<String> pkgs = mgr.getAssignedPackageIdentifiers(); in createAssetUid() 1052 public static Typeface createFromAsset(AssetManager mgr, String path) { 1054 Preconditions.checkNotNull(mgr); [all …]
|
D | FontFamily.java | 197 public boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, in addFontFromAssetManager() argument 205 ByteBuffer buffer = Font.Builder.createBuffer(mgr, path, isAsset, cookie); in addFontFromAssetManager()
|
/frameworks/base/rs/java/android/renderscript/ |
D | FileA3D.java | 238 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() argument 240 long fileId = rs.nFileA3DCreateFromAsset(mgr, path); in createFromAsset()
|
D | Font.java | 188 AssetManager mgr = res.getAssets(); in createFromAsset() local 191 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset()
|
D | RenderScript.java | 698 native long rsnFileA3DCreateFromAsset(long con, AssetManager mgr, String path); in rsnFileA3DCreateFromAsset() argument 699 synchronized long nFileA3DCreateFromAsset(AssetManager mgr, String path) { in nFileA3DCreateFromAsset() argument 701 return rsnFileA3DCreateFromAsset(mContext, mgr, path); in nFileA3DCreateFromAsset() 729 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset() argument 730 synchronized long nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset() argument 732 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi); in nFontCreateFromAsset()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | MockFontProvider.java | 193 final AssetManager mgr = context.getAssets(); in prepareFontFiles() local 195 try (InputStream is = mgr.open("fonts/" + file)) { in prepareFontFiles()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgent.java | 148 public void onReconnectionFailure(final CameraAgent mgr, final String info) { in onReconnectionFailure() argument 152 mCallback.onReconnectionFailure(mgr, info); in onReconnectionFailure() 272 public void onReconnectionFailure(CameraAgent mgr, String info); in onReconnectionFailure() argument
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 222 explicit DeathObserver(SensorManager& mgr) : mSensorManager(mgr) { } in assertStateLocked() argument
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 1731 IActivityManager mgr = ActivityManager.getService(); in performReceive() local 1736 mgr.finishReceiver(mApplicationThread.asBinder(), resultCode, data, in performReceive() 1783 final IActivityManager mgr = ActivityManager.getService(); in getRunnable() local 1796 sendFinished(mgr); in getRunnable() 1818 sendFinished(mgr); in getRunnable() 1906 IActivityManager mgr = ActivityManager.getService(); in performReceive() local 1909 args.sendFinished(mgr); in performReceive()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 543 PowerManager mgr = in getLock() local 545 lockStatic = mgr.newWakeLock( in getLock()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsManagerTest.java | 1142 ImsManager mgr = new ImsManager(mContext, mPhoneId, in getImsManagerAndInitProvisionedValues() local 1147 mgr.associate(c, mSubId[0]); in getImsManagerAndInitProvisionedValues() 1150 return mgr; in getImsManagerAndInitProvisionedValues()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 81 BaseInputConnection(@NonNull InputMethodManager mgr, boolean fullEditor) { in BaseInputConnection() argument 82 mIMM = mgr; in BaseInputConnection()
|