/external/chromium_org/third_party/skia/tests/ |
DiscardableMemoryTest.cpp | 15 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); 16 REPORTER_ASSERT(reporter, dm.get() != NULL); 17 if (NULL == dm.get()) { 20 void* ptr = dm->data(); 23 dm->unlock(); 24 bool success = dm->lock(); 29 ptr = dm->data(); 31 dm->unlock();
|
/external/skia/tests/ |
DiscardableMemoryTest.cpp | 15 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); 16 REPORTER_ASSERT(reporter, dm.get() != NULL); 17 if (NULL == dm.get()) { 20 void* ptr = dm->data(); 23 dm->unlock(); 24 bool success = dm->lock(); 29 ptr = dm->data(); 31 dm->unlock();
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
dummydevicemanager_unittest.cc | 36 DummyDeviceManager dm; local 37 EXPECT_TRUE(dm.Init()); 38 dm.Terminate(); 43 DummyDeviceManager dm; local 44 int capabilities = dm.GetCapabilities(); 51 DummyDeviceManager dm; local 52 EXPECT_TRUE(dm.Init()); 54 EXPECT_TRUE(dm.GetAudioInputDevices(&audio_ins)); 55 EXPECT_TRUE(dm.GetAudioOutputDevices(&audio_outs)); 56 EXPECT_TRUE(dm.GetVideoCaptureDevices(&video_ins)) 61 DummyDeviceManager dm; local 76 DummyDeviceManager dm; local 86 DummyDeviceManager dm; local [all...] |
devicemanager_unittest.cc | 115 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); 116 EXPECT_TRUE(dm->Init()); 117 dm->Terminate(); 123 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); 126 EXPECT_TRUE(dm->Init()); 127 EXPECT_TRUE(dm->GetVideoCaptureDevices(&devices)); 128 dm->Terminate(); 134 EXPECT_TRUE(dm->Init()); 135 dm->Terminate(); 142 EXPECT_TRUE(dm->Init()) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 38 DisplayMetrics dm = new DisplayMetrics(); local 39 dm.density = 1.1f; 40 dm.heightPixels = 100; 41 dm.scaledDensity = 2.1f; 42 dm.xdpi = 200f; 43 dm.ydpi = 300f; 45 & TypedValue.COMPLEX_UNIT_MASK, TypedValue.complexToFloat(10), dm); 47 assertEquals(EXPECTED, TypedValue.complexToDimension(10, dm)); 48 assertEquals((int)EXPECTED, TypedValue.complexToDimensionPixelOffset(10, dm)); 80 DisplayMetrics dm = new DisplayMetrics() local 129 DisplayMetrics dm = new DisplayMetrics(); local 195 DisplayMetrics dm = new DisplayMetrics(); local [all...] |
/external/chromium_org/third_party/skia/src/lazy/ |
SkDiscardableMemoryPool.cpp | 63 void free(PoolDiscardableMemory* dm); 65 bool lock(PoolDiscardableMemory* dm); 67 void unlock(PoolDiscardableMemory* dm); 160 PoolDiscardableMemory* dm = cur; local 161 SkASSERT(dm->fPointer != NULL); 162 sk_free(dm->fPointer); 163 dm->fPointer = NULL; 164 SkASSERT(fUsed >= dm->fBytes); 165 fUsed -= dm->fBytes; 169 fList.remove(dm); 181 PoolDiscardableMemory* dm = SkNEW_ARGS(PoolDiscardableMemory, local [all...] |
/external/skia/src/lazy/ |
SkDiscardableMemoryPool.cpp | 62 void free(PoolDiscardableMemory* dm); 64 bool lock(PoolDiscardableMemory* dm); 66 void unlock(PoolDiscardableMemory* dm); 159 PoolDiscardableMemory* dm = cur; local 160 SkASSERT(dm->fPointer != NULL); 161 sk_free(dm->fPointer); 162 dm->fPointer = NULL; 163 SkASSERT(fUsed >= dm->fBytes); 164 fUsed -= dm->fBytes; 168 fList.remove(dm); 180 PoolDiscardableMemory* dm = SkNEW_ARGS(PoolDiscardableMemory, local [all...] |
/cts/hostsidetests/theme/app/src/android/theme/app/ |
DisplayInfoActivity.java | 42 DisplayMetrics dm = getResources().getDisplayMetrics(); local 43 int width = Math.round(dm.widthPixels / dm.density); 44 int height = Math.round(dm.heightPixels / dm.density);
|
/frameworks/base/core/java/android/app/ |
ResourcesManager.java | 79 DisplayMetrics dm = isDefaultDisplay ? mDefaultDisplayMetrics.get(daj) : null; local 80 if (dm != null) { 81 return dm; 83 dm = new DisplayMetrics(); 88 dm.setToDefaults(); 89 return dm; 93 mDefaultDisplayMetrics.put(daj, dm); 98 d.getMetrics(dm); 104 dm.setToDefaults(); 109 return dm; 214 DisplayMetrics dm = getDisplayMetricsLocked(displayId); local 294 DisplayMetrics dm = defaultDisplayMetrics; local [all...] |
/external/bluetooth/bluedroid/bta/ |
Android.mk | 13 ./dm/bta_dm_ci.c \ 14 ./dm/bta_dm_act.c \ 15 ./dm/bta_dm_pm.c \ 16 ./dm/bta_dm_main.c \ 17 ./dm/bta_dm_cfg.c \ 18 ./dm/bta_dm_api.c \ 19 ./dm/bta_dm_sco.c \ 101 $(LOCAL_PATH)/dm \
|
/external/qemu/telephony/ |
modem_driver.c | 129 modem_driver_init( int base_port, ModemDriver* dm, CharDriverState* cs ) 131 dm->cs = cs; 132 dm->in_pos = 0; 133 dm->in_sms = 0; 134 dm->modem = amodem_create( base_port, modem_driver_unsol, dm ); 136 qemu_chr_add_handlers( cs, modem_driver_can_read, modem_driver_read, NULL, dm );
|
/system/vold/ |
Devmapper.h | 21 #include <linux/dm-ioctl.h>
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
TrampolineActivity.java | 57 final DownloadManager dm = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); local 58 dm.setAccessAllDownloads(true); 63 final Cursor cursor = dm.query(new Query().setFilterById(id)); 128 final DownloadManager dm = (DownloadManager) context.getSystemService( local 130 dm.setAccessAllDownloads(true); 145 dm.remove(id); 173 final DownloadManager dm = (DownloadManager) context.getSystemService( local 175 dm.setAccessAllDownloads(true); 206 dm.remove(id); 214 dm.restartDownload(id) [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/kernel/ |
crypto_kernel.c | 180 kernel_debug_module_t *dm = crypto_kernel.debug_module_list; local 222 while (dm != NULL) { 223 printf(" %s ", dm->mod->name); 224 if (dm->mod->on) 228 dm = dm->next; 236 kernel_debug_module_t *dm = crypto_kernel.debug_module_list; local 240 while (dm != NULL) { 241 printf(" %s ", dm->mod->name); 242 if (dm->mod->on [all...] |
/external/srtp/crypto/kernel/ |
crypto_kernel.c | 180 kernel_debug_module_t *dm = crypto_kernel.debug_module_list; local 222 while (dm != NULL) { 223 printf(" %s ", dm->mod->name); 224 if (dm->mod->on) 228 dm = dm->next; 236 kernel_debug_module_t *dm = crypto_kernel.debug_module_list; local 240 while (dm != NULL) { 241 printf(" %s ", dm->mod->name); 242 if (dm->mod->on [all...] |
/bionic/libc/kernel/uapi/linux/ |
dm-log-userspace.h | 21 #include <linux/dm-ioctl.h>
|
/development/ndk/platforms/android-L/include/linux/ |
dm-log-userspace.h | 21 #include <linux/dm-ioctl.h>
|
/external/kernel-headers/original/uapi/linux/ |
dm-log-userspace.h | 10 #include <linux/dm-ioctl.h> /* For DM_UUID_LEN */ 15 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 48 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 73 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): 92 * DM_ULOG_PRESUSPEND corresponds to (found in dm-dirty-log.h): 111 * DM_ULOG_POSTSUSPEND corresponds to (found in dm-dirty-log.h): 130 * DM_ULOG_RESUME corresponds to (found in dm-dirty-log.h): 149 * DM_ULOG_GET_REGION_SIZE corresponds to (found in dm-dirty-log.h): 167 * DM_ULOG_IS_CLEAN corresponds to (found in dm-dirty-log.h): 185 * DM_ULOG_IN_SYNC corresponds to (found in dm-dirty-log.h) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
Watermark.java | 54 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { 85 TypedValue.COMPLEX_UNIT_DIP, 20, dm); 96 TypedValue.COMPLEX_UNIT_PX, mTextWidth*2, dm); 98 TypedValue.COMPLEX_UNIT_PX, mTextHeight*3, dm); 100 TypedValue.COMPLEX_UNIT_PX, 0xb0000000, dm); 102 TypedValue.COMPLEX_UNIT_PX, 0x60ffffff, dm); 104 TypedValue.COMPLEX_UNIT_PX, 7, dm); 106 TypedValue.COMPLEX_UNIT_PX, 0, dm); 108 TypedValue.COMPLEX_UNIT_PX, 0, dm);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DynamicGrid.java | 56 DisplayMetrics dm = resources.getDisplayMetrics(); local 60 DEFAULT_ICON_SIZE_PX = pxFromDp(DEFAULT_ICON_SIZE_DP, dm); 87 mMinWidth = dpiFromPx(minWidthPx, dm); 88 mMinHeight = dpiFromPx(minHeightPx, dm);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
dm-log-userspace.h | 10 #include <linux/dm-ioctl.h> /* For DM_UUID_LEN */ 15 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 48 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 68 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): 87 * DM_ULOG_PRESUSPEND corresponds to (found in dm-dirty-log.h): 106 * DM_ULOG_POSTSUSPEND corresponds to (found in dm-dirty-log.h): 125 * DM_ULOG_RESUME corresponds to (found in dm-dirty-log.h): 144 * DM_ULOG_GET_REGION_SIZE corresponds to (found in dm-dirty-log.h): 162 * DM_ULOG_IS_CLEAN corresponds to (found in dm-dirty-log.h): 180 * DM_ULOG_IN_SYNC corresponds to (found in dm-dirty-log.h) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
dm-log-userspace.h | 10 #include <linux/dm-ioctl.h> /* For DM_UUID_LEN */ 15 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 48 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 68 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): 87 * DM_ULOG_PRESUSPEND corresponds to (found in dm-dirty-log.h): 106 * DM_ULOG_POSTSUSPEND corresponds to (found in dm-dirty-log.h): 125 * DM_ULOG_RESUME corresponds to (found in dm-dirty-log.h): 144 * DM_ULOG_GET_REGION_SIZE corresponds to (found in dm-dirty-log.h): 162 * DM_ULOG_IS_CLEAN corresponds to (found in dm-dirty-log.h): 180 * DM_ULOG_IN_SYNC corresponds to (found in dm-dirty-log.h) [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
dm-log-userspace.h | 21 #include <linux/dm-ioctl.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
dm-log-userspace.h | 21 #include <linux/dm-ioctl.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
dm-log-userspace.h | 21 #include <linux/dm-ioctl.h>
|