Home
last modified time | relevance | path

Searched refs:DEVICE_NAME (Results 1 – 25 of 36) sorted by relevance

12

/external/xz-embedded/linux/lib/xz/
Dxz_dec_test.c21 #define DEVICE_NAME "xz_dec_test" macro
79 printk(KERN_INFO DEVICE_NAME ": opened\n"); in xz_dec_test_open()
88 printk(KERN_INFO DEVICE_NAME ": input was truncated\n"); in xz_dec_test_release()
90 printk(KERN_INFO DEVICE_NAME ": closed\n"); in xz_dec_test_release()
109 printk(KERN_INFO DEVICE_NAME ": %zu bytes of " in xz_dec_test_write()
116 printk(KERN_INFO DEVICE_NAME ": decoding %zu bytes of input\n", in xz_dec_test_write()
139 printk(KERN_INFO DEVICE_NAME ": XZ_OK\n"); in xz_dec_test_write()
143 printk(KERN_INFO DEVICE_NAME ": XZ_STREAM_END, " in xz_dec_test_write()
148 printk(KERN_INFO DEVICE_NAME ": XZ_MEMLIMIT_ERROR\n"); in xz_dec_test_write()
152 printk(KERN_INFO DEVICE_NAME ": XZ_FORMAT_ERROR\n"); in xz_dec_test_write()
[all …]
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c63 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
74 rc = unlink(DEVICE_NAME); in tmodopen()
76 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tmodopen()
87 rc = stat(DEVICE_NAME, &st); in tmodopen()
91 rc = mknod(DEVICE_NAME, in tmodopen()
108 rc = unlink(DEVICE_NAME); in tmodopen()
110 rc = mknod(DEVICE_NAME, in tmodopen()
117 tmod_fd = open(DEVICE_NAME, O_RDWR); in tmodopen()
121 DEVICE_NAME, tmod_fd, errno); in tmodopen()
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c44 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
55 rc = unlink(DEVICE_NAME); in tusbopen()
57 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tusbopen()
68 rc = stat(DEVICE_NAME, &st); in tusbopen()
72 rc = mknod(DEVICE_NAME, in tusbopen()
89 rc = unlink(DEVICE_NAME); in tusbopen()
91 rc = mknod(DEVICE_NAME, in tusbopen()
98 tusb_fd = open(DEVICE_NAME, O_RDWR); in tusbopen()
102 DEVICE_NAME, tusb_fd, errno); in tusbopen()
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c59 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tagpopen()
70 rc = unlink(DEVICE_NAME); in tagpopen()
72 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tagpopen()
83 rc = stat(DEVICE_NAME, &st); in tagpopen()
87 rc = mknod(DEVICE_NAME, in tagpopen()
104 rc = unlink(DEVICE_NAME); in tagpopen()
106 rc = mknod(DEVICE_NAME, in tagpopen()
113 tagp_fd = open(DEVICE_NAME, O_RDWR); in tagpopen()
117 DEVICE_NAME, tagp_fd, errno); in tagpopen()
/external/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c49 block_dev_handle = open(DEVICE_NAME, O_RDWR); in main()
54 DEVICE_NAME, block_dev_handle, errno); in main()
116 rc = stat(DEVICE_NAME, &statbuf); in open_block_device()
120 rc = mknod(DEVICE_NAME, in open_block_device()
138 rc = unlink(DEVICE_NAME); in open_block_device()
140 rc = mknod(DEVICE_NAME, in open_block_device()
DincludeTest.c145 rc = register_blkdev(INCLUDEMAJOR, DEVICE_NAME); in test_init_module()
172 sprintf(gd_ptr->disk_name, DEVICE_NAME); in test_init_module()
199 rc = unregister_blkdev(INCLUDEMAJOR, DEVICE_NAME); in test_exit_module()
DincludeTest.h26 #define DEVICE_NAME "includeTest" macro
/external/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c49 block_dev_handle = open(DEVICE_NAME, O_RDWR); in main()
54 DEVICE_NAME, block_dev_handle, errno); in main()
116 rc = stat(DEVICE_NAME, &statbuf); in open_block_device()
120 rc = mknod(DEVICE_NAME, in open_block_device()
138 rc = unlink(DEVICE_NAME); in open_block_device()
140 rc = mknod(DEVICE_NAME, in open_block_device()
DnlsTest.c157 rc = register_blkdev(NLSMAJOR, DEVICE_NAME); in test_init_module()
171 unregister_blkdev(NLSMAJOR, DEVICE_NAME); in test_init_module()
181 unregister_blkdev(NLSMAJOR, DEVICE_NAME); in test_init_module()
191 snprintf(gd_ptr->disk_name, sizeof(gd_ptr->disk_name), DEVICE_NAME); in test_init_module()
194 printk(KERN_DEBUG "block device %s added\n", DEVICE_NAME); in test_init_module()
206 unregister_blkdev(NLSMAJOR, DEVICE_NAME); in test_exit_module()
DnlsTest.h26 #define DEVICE_NAME "nlsTest" macro
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c57 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tdrmopen()
68 rc = unlink(DEVICE_NAME); in tdrmopen()
70 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | in tdrmopen()
81 rc = stat(DEVICE_NAME, &st); in tdrmopen()
85 rc = mknod(DEVICE_NAME, in tdrmopen()
102 rc = unlink(DEVICE_NAME); in tdrmopen()
104 rc = mknod(DEVICE_NAME, in tdrmopen()
111 tdrm_fd = open(DEVICE_NAME, O_RDWR); in tdrmopen()
115 DEVICE_NAME, tdrm_fd, errno); in tdrmopen()
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
Dtbio.c78 if (unlink(DEVICE_NAME) && (errno != ENOENT)) in cleanup()
110 if (stat(DEVICE_NAME, &st)) { in setup()
129 if (unlink(DEVICE_NAME) && (errno != ENOENT)) in setup()
131 if (mknod(DEVICE_NAME, S_IFBLK | S_IRUSR | S_IWUSR | in setup()
136 tbio_fd = SAFE_OPEN(cleanup, DEVICE_NAME, O_RDWR); in setup()
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DStaticMockitoSession.java27 import static android.provider.Settings.Global.DEVICE_NAME;
42 (ContentResolver.class), eq(DEVICE_NAME))); in strictUnnecessaryStubbing()
60 (ContentResolver.class), eq(DEVICE_NAME))); in lenientUnnecessaryStubbing()
DMockStatic.java19 import static android.provider.Settings.Global.DEVICE_NAME;
94 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in spyStatic()
112 assertEquals(deviceName, Settings.Global.getString(resolver, DEVICE_NAME)); in spyStatic()
138 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in mockStatic()
143 assertNull(Settings.Global.getString(resolver, DEVICE_NAME)); in mockStatic()
145 when(Settings.Global.getString(any(ContentResolver.class), eq(DEVICE_NAME))) in mockStatic()
149 assertEquals("This is a test", Settings.Global.getString(resolver, DEVICE_NAME)); in mockStatic()
155 assertEquals(deviceName, Settings.Global.getString(resolver, DEVICE_NAME)); in mockStatic()
/external/ltp/testcases/kernel/device-drivers/drm/kernel_space/
Dtdrm.h34 #define DEVICE_NAME "/dev/tdrm" macro
35 #define DRIVER_NAME DEVICE_NAME
/external/autotest/client/site_tests/touch_TouchscreenZoom/
DREADME6 <DEVICE_NAME>_touchscreen_zoom_in:
10 <DEVICE_NAME>_touchscreen_zoom_out:
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
Dtmod.c241 rc = register_chrdev(Major, DEVICE_NAME, &tmod_fops); in tmod_init_module()
267 rc = unregister_chrdev(Major, DEVICE_NAME); in tmod_exit_module()
Dtmod.h32 #define DEVICE_NAME "/dev/tmod" macro
/external/autotest/client/site_tests/touch_TouchscreenTaps/
DREADME3 <DEVICE_NAME>_touchscreen_Touch ID_tap - With a single finger, press the touchscreen
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dtbio.h34 #define DEVICE_NAME "/dev/tbio" macro
/external/mesa3d/.gitlab-ci/
Dtracie-runner-vk.sh37 … "$INSTALL/tracie/tracie.py" --file "$INSTALL/traces-$DRIVER_NAME.yml" --device-name "$DEVICE_NAME"
Dtracie-runner-gl.sh57 … "$INSTALL/tracie/tracie.py" --file "$INSTALL/traces-$DRIVER_NAME.yml" --device-name "$DEVICE_NAME"
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.h22 #define DEVICE_NAME "/dev/tusb" macro
/external/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c870 printk("tbase: *** Register device %s **\n", DEVICE_NAME); in tbase_init_module()
872 rc = register_chrdev(Major, DEVICE_NAME, &tbase_fops); in tbase_init_module()
902 rc = unregister_chrdev(Major, DEVICE_NAME); in tbase_exit_module()
/external/mesa3d/.gitlab-ci/tracie/
DREADME.md55 `DEVICE_NAME` variable and the name of the Mesa driver as `DRIVER_NAME`:
61 DEVICE_NAME: "gl-myhardware"
67 sure you set a unique value for the `DEVICE_NAME` variable:
74 DEVICE_NAME: "vk-myhardware"

12