/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/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 | 95 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName); 102 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
|
/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() 95 SensorManager& mgr = SensorManager::getInstanceForPackage(String16("Sensor Service Test")); in main() local 97 testInvalidSharedMem_NoCrash(mgr); in main() 100 ssize_t count = mgr.getSensorList(&list); in main() 103 sp<SensorEventQueue> q = mgr.createEventQueue(); in main() 106 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/base/core/java/android/os/ |
D | SystemClock.java | 156 final IAlarmManager mgr = getIAlarmManager(); in setCurrentTimeMillis() local 157 if (mgr == null) { in setCurrentTimeMillis() 163 return mgr.setTime(millis); in setCurrentTimeMillis() 284 final IAlarmManager mgr = getIAlarmManager(); 285 if (mgr != null) { 287 return mgr.currentNetworkTimeMillis();
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 548 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isEnhanced4gLteModeSettingEnabledByUser() local 549 if (mgr != null) { in isEnhanced4gLteModeSettingEnabledByUser() 550 return mgr.isEnhanced4gLteModeSettingEnabledByUser(); in isEnhanced4gLteModeSettingEnabledByUser() 596 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in setEnhanced4gLteModeSetting() local 597 if (mgr != null) { in setEnhanced4gLteModeSetting() 598 mgr.setEnhanced4gLteModeSetting(enabled); in setEnhanced4gLteModeSetting() 672 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isNonTtyOrTtyOnVolteEnabled() local 673 if (mgr != null) { in isNonTtyOrTtyOnVolteEnabled() 674 return mgr.isNonTtyOrTtyOnVolteEnabled(); in isNonTtyOrTtyOnVolteEnabled() 731 ImsManager mgr = ImsManager.getInstance(context, p.getDefaultVoicePhoneId()); in isVolteEnabledByPlatform() local [all …]
|
/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() 231 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetDynamicSensors() local 236 mgr->getDynamicSensorList(nativeList); in nativeGetDynamicSensors() 247 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeIsDataInjectionEnabled() local 248 return mgr->isDataInjectionEnabled(); in nativeIsDataInjectionEnabled() 272 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeCreateDirectChannel() local 273 return mgr->createDirectChannel(size, channelType, nativeHandle); in nativeCreateDirectChannel() 278 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeDestroyDirectChannel() local 279 mgr->destroyDirectChannel(channelHandle); in nativeDestroyDirectChannel() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 85 private static Typeface createFromNonAsset(AssetManager mgr, String path) { in createFromNonAsset() argument 87 Preconditions.checkNotNull(mgr); in createFromNonAsset() 89 Typeface typeface = new Typeface.Builder(mgr, path).build(); in createFromNonAsset() 93 try (InputStream inputStream = mgr.openNonAsset(path)) { in createFromNonAsset()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Builder_Delegate.java | 38 public static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 40 return Builder.createAssetUid_Original(mgr, path, ttcIndex, axes, weight, italic, fallback); in createAssetUid()
|
/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 | 231 final IActivityManager mgr = ActivityManager.getService(); in finish() local 247 sendFinished(mgr); in finish() 253 sendFinished(mgr); in finish() 258 final IActivityManager mgr = ActivityManager.getService(); in finish() local 259 sendFinished(mgr); in finish()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 293 FamilyResourceEntry entry, AssetManager mgr, String path) { in createFromResources() argument 322 Typeface typeface = findFromCache(mgr, path); in createFromResources() 331 final Font.Builder fontBuilder = new Font.Builder(mgr, fontFile.getFileName(), in createFromResources() 376 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, in createFromResources() 388 public static Typeface findFromCache(AssetManager mgr, String path) { in findFromCache() argument 390 final String key = Builder.createAssetUid(mgr, path, 0 /* ttcIndex */, null /* axes */, in findFromCache() 618 private static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 620 final SparseArray<String> pkgs = mgr.getAssignedPackageIdentifiers(); in createAssetUid() 1035 public static Typeface createFromAsset(AssetManager mgr, String path) { 1037 Preconditions.checkNotNull(mgr); [all …]
|
D | FontFamily.java | 193 public boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, in addFontFromAssetManager() argument 201 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 | 171 explicit DeathObserver(SensorManager& mgr) : mSensorManager(mgr) { } in assertStateLocked() argument
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 1704 IActivityManager mgr = ActivityManager.getService(); in performReceive() local 1709 … mgr.finishReceiver(this, resultCode, data, extras, false, intent.getFlags()); in performReceive() 1757 final IActivityManager mgr = ActivityManager.getService(); in getRunnable() local 1771 sendFinished(mgr); in getRunnable() 1795 sendFinished(mgr); in getRunnable() 1883 IActivityManager mgr = ActivityManager.getService(); in performReceive() local 1886 args.sendFinished(mgr); in performReceive()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 490 PowerManager mgr = in getLock() local 492 lockStatic = mgr.newWakeLock( in getLock()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsManagerTest.java | 1069 ImsManager mgr = new ImsManager(mContext, mPhoneId, in getImsManagerAndInitProvisionedValues() local 1074 mgr.associate(c, mSubId[0]); in getImsManagerAndInitProvisionedValues() 1077 return mgr; in getImsManagerAndInitProvisionedValues()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 73 BaseInputConnection(InputMethodManager mgr, boolean fullEditor) { in BaseInputConnection() argument 74 mIMM = mgr; in BaseInputConnection()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 239 final ActivityManager mgr = (ActivityManager) mActivity.getApplicationContext(). in onCreate() local 241 sMemoryClass = mgr.getMemoryClass(); in onCreate()
|