/packages/modules/Virtualization/libs/devicemapper/src/ |
D | lib.rs | 64 fn dm_dev_create(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_create() 67 Ok(unsafe { _dm_dev_create(dm.0.as_raw_fd(), ioctl) }?) in dm_dev_create() 70 fn dm_dev_suspend(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_suspend() 73 Ok(unsafe { _dm_dev_suspend(dm.0.as_raw_fd(), ioctl) }?) in dm_dev_suspend() 76 fn dm_table_load(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_table_load() 79 Ok(unsafe { _dm_table_load(dm.0.as_raw_fd(), ioctl) }?) in dm_table_load() 82 fn dm_dev_remove(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_remove() 85 Ok(unsafe { _dm_dev_remove(dm.0.as_raw_fd(), ioctl) }?) in dm_dev_remove() 277 fn delete_device(dm: &DeviceMapper, name: &str) -> Result<()> { in delete_device() 278 dm.delete_device_deferred(name)?; in delete_device() [all …]
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | ExpiredTimersActivityTest.java | 53 final DataModel dm = DataModel.getDataModel(); in configurationChanges_DoNotResetFiringTimer() 54 Timer timer = dm.addTimer(60000L, "", false); in configurationChanges_DoNotResetFiringTimer() 55 dm.startTimer(timer); in configurationChanges_DoNotResetFiringTimer() 56 dm.expireTimer(null, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer() 57 timer = dm.getTimer(timer.getId()); in configurationChanges_DoNotResetFiringTimer() 66 assertSame(timer, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer()
|
/packages/modules/Bluetooth/system/bta/ |
D | BUILD.gn | 41 "dm/bta_dm_act.cc", 42 "dm/bta_dm_api.cc", 43 "dm/bta_dm_sec_api.cc", 44 "dm/bta_dm_cfg.cc", 45 "dm/bta_dm_ci.cc", 46 "dm/bta_dm_device_search.cc", 47 "dm/bta_dm_disc.cc", 48 "dm/bta_dm_disc_legacy.cc", 49 "dm/bta_dm_disc_sdp.cc", 50 "dm/bta_dm_gatt_client.cc", [all …]
|
D | Android.bp | 14 "dm", 38 "dm/bta_dm_act.cc", 39 "dm/bta_dm_api.cc", 40 "dm/bta_dm_cfg.cc", 41 "dm/bta_dm_ci.cc", 42 "dm/bta_dm_device_search.cc", 43 "dm/bta_dm_disc.cc", 44 "dm/bta_dm_disc_legacy.cc", 45 "dm/bta_dm_disc_sdp.cc", 46 "dm/bta_dm_gatt_client.cc", [all …]
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 83 final DownloadManager dm = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); in onCreate() local 84 dm.setAccessAllDownloads(true); in onCreate() 90 final Cursor cursor = dm.query(new Query().setFilterById(id)); in onCreate() 158 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local 160 dm.setAccessAllDownloads(true); in onCreateDialog() 180 dm.forceDownload(id); in onCreateDialog() 189 dm.remove(id); in onCreateDialog() 220 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local 222 dm.setAccessAllDownloads(true); in onCreateDialog() 252 dm.remove(id); in onCreateDialog() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 186 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardWidth() local 187 return dm.widthPixels; in getDefaultKeyboardWidth() 200 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardHeight() local 207 keyboardHeight = Float.parseFloat(keyboardHeightInDp) * dm.density; in getDefaultKeyboardHeight() 210 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight() 212 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight() 217 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); in getDefaultKeyboardHeight()
|
/packages/modules/Virtualization/apkdmverity/src/ |
D | main.rs | 29 use dm::loopdevice; 30 use dm::util; 31 use dm::verity::{DmVerityHashAlgorithm, DmVerityTargetBuilder}; 151 let dm = dm::DeviceMapper::new()?; in enable_verity() localVariable 153 dm.create_verity_device(name, &target).context("Failed to create dm-verity device")?; in enable_verity() 224 let dm = dm::DeviceMapper::new().unwrap(); in run_test_with_hash() localVariable 225 dm.delete_device_deferred(name).unwrap(); in run_test_with_hash() 372 let dm = dm::DeviceMapper::new().unwrap(); in inputs_are_block_devices() localVariable 373 dm.delete_device_deferred(name).unwrap(); in inputs_are_block_devices()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | IntegratedDownloadsUiTest.java | 44 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_Queued() local 48 dm.enqueue(new Request(Uri.parse("http://hammychamp.toodles"))); in testDownload_Queued() 56 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_RetryUnsuccessful() local 59 dm.enqueue(new Request(Uri.parse("http://www.google.com/hamfancy"))); in testDownload_RetryUnsuccessful()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbControleeTest.java | 74 DistanceMeasurement dm = new DistanceMeasurement.Builder() in testFilterMeasurement() local 81 .setDistanceMeasurement(dm) in testFilterMeasurement() 98 DistanceMeasurement dm = new DistanceMeasurement.Builder() in testNonAoaMeasurement() local 105 .setDistanceMeasurement(dm) in testNonAoaMeasurement()
|
/packages/modules/Virtualization/encryptedstore/src/ |
D | main.rs | 23 use dm::{crypt::CipherType, util}; 117 let target = dm::crypt::DmCryptTargetBuilder::default() in enable_crypt() 125 let dm = dm::DeviceMapper::new()?; in enable_crypt() localVariable 126 dm.create_crypt_device(name, &target).context("Failed to create dm-crypt device") in enable_crypt()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | SysUiScrim.java | 100 DisplayMetrics dm = mActivity.getResources().getDisplayMetrics(); in SysUiScrim() local 102 mTopMaskHeight = ResourceUtils.pxFromDp(TOP_MASK_HEIGHT_DP, dm); in SysUiScrim() 103 mBottomMaskHeight = ResourceUtils.pxFromDp(BOTTOM_MASK_HEIGHT_DP, dm); in SysUiScrim() 218 DisplayMetrics dm = mActivity.getResources().getDisplayMetrics(); in createDitheredAlphaMask() local 219 int width = ResourceUtils.pxFromDp(ALPHA_MASK_BITMAP_WIDTH_DP, dm); in createDitheredAlphaMask()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActivity.java | 163 DataManager dm = getDataManager(); in startViewAction() local 186 Path setPath = dm.findPathByUri(uri, null); in startViewAction() 189 mediaSet = (MediaSet) dm.getMediaObject(setPath); in startViewAction() 195 dm.getTopSetPath(DataManager.INCLUDE_ALL)); in startViewAction() 205 Path itemPath = dm.findPathByUri(uri, contentType); in startViewAction() 206 Path albumPath = dm.getDefaultSetOf(itemPath); in startViewAction()
|
/packages/apps/Settings/src/com/android/settings/activityembedding/ |
D | ActivityEmbeddingUtils.java | 117 DisplayMetrics dm = activity.getResources().getDisplayMetrics(); in isRegularHomepageLayout() local 118 return dm.widthPixels >= (int) TypedValue.applyDimension( in isRegularHomepageLayout() 119 TypedValue.COMPLEX_UNIT_DIP, MIN_REGULAR_HOMEPAGE_LAYOUT_WIDTH_DP, dm); in isRegularHomepageLayout()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenResolutionFragment.java | 338 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in startObserve() local 339 dm.registerDisplayListener(this, null); in startObserve() 347 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in stopObserve() local 348 dm.unregisterDisplayListener(this); in stopObserve() 397 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in getCurrentWidth() local 398 return dm.getDisplay(Display.DEFAULT_DISPLAY).getMode().getPhysicalWidth(); in getCurrentWidth()
|
/packages/modules/Bluetooth/system/bta/test/common/ |
D | bta_dm_api_mock.cc | 24 static dm::MockBtaDmInterface* dm_interface = nullptr; 26 void dm::SetMockBtaDmInterface(MockBtaDmInterface* mock_bta_dm_interface) { in SetMockBtaDmInterface()
|
D | bta_dm_api_mock.h | 26 namespace dm {
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | AnalogAppWidgetProvider.kt | 42 val dm = DataModel.dataModel in <lambda>() constant 43 dm.updateWidgetCount(javaClass, widgetCount, R.string.category_analog_widget) in <lambda>()
|
D | DigitalAppWidgetProvider.kt | 128 val dm = DataModel.dataModel in <lambda>() constant 129 dm.updateWidgetCount(javaClass, widgetIds.size, R.string.category_digital_widget) in <lambda>() 167 val dm = DataModel.dataModel in <lambda>() constant 168 val selectedCities = dm.selectedCities in <lambda>() 169 val showHomeClock = dm.showHomeClock in <lambda>() 180 zones.add(dm.homeCity.timeZone) in <lambda>()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genJPEGStrips.cpp | 65 struct jpeg_destination_mgr dm = { in write_JPEG_Buff() local 71 cinfo.dest = &dm; in write_JPEG_Buff()
|
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItem.kt | 136 val dm = context.getSystemService(DevicePolicyManager::class.java) in <lambda>() constant 137 if (dm == null || dm.packageHasActiveAdmins(packageName)) { in <lambda>()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 73 final DisplayMetrics dm = context.getResources().getDisplayMetrics(); in getThemeByUiMode() local 78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarViewController.java | 338 DisplayMetrics dm = res.getDisplayMetrics(); in updateBubbleBarIconSize() local 340 APP_ICON_SMALL_DP, dm); in updateBubbleBarIconSize() 342 APP_ICON_MEDIUM_DP, dm); in updateBubbleBarIconSize() 344 APP_ICON_LARGE_DP, dm); in updateBubbleBarIconSize()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/ |
D | DisplayHelperTest.java | 121 final DisplayManager dm = mContext.getSystemService(DisplayManager.class); in testDisplayHtml() local 122 final Display primaryDisplay = dm.getDisplay(DEFAULT_DISPLAY); in testDisplayHtml()
|
/packages/modules/Virtualization/libs/devicemapper/ |
D | Android.bp | 7 crate_name: "dm",
|
/packages/modules/Virtualization/microdroid/ |
D | README.md | 167 During first stage init of VM, [dm-verity] is set up based on vendor hashtree 183 [dm-verity]: https://source.android.com/docs/security/features/verifiedboot/dm-verity
|