Searched refs:open (Results 51 - 75 of 295) sorted by relevance

1234567891011>>

/system/core/libsuspend/
H A Dautosuspend_earlysuspend.c52 int fd = TEMP_FAILURE_RETRY(open(EARLYSUSPEND_WAIT_FOR_FB_WAKE, O_RDONLY, 0));
65 int fd = TEMP_FAILURE_RETRY(open(EARLYSUSPEND_WAIT_FOR_FB_SLEEP, O_RDONLY, 0));
194 sPowerStatefd = TEMP_FAILURE_RETRY(open(EARLYSUSPEND_SYS_POWER_STATE, O_RDWR));
H A Dautosuspend_autosleep.c89 autosleep_fd = TEMP_FAILURE_RETRY(open(SYS_POWER_AUTOSLEEP, O_WRONLY));
/system/extras/sound/
H A Dplaywav.c48 afd = open("/dev/msm_pcm_out", O_RDWR);
50 perror("pcm_play: cannot open audio device");
158 fd = open(fn, O_RDONLY);
160 fprintf(stderr, "playwav: cannot open '%s'\n", fn);
217 fd = open(fn, O_CREAT | O_RDWR, 0666);
219 perror("cannot open output file");
224 afd = open("/dev/msm_pcm_in", O_RDWR);
226 perror("cannot open msm_pcm_in");
303 fd = open(fn, O_RDONLY);
305 perror("cannot open mp
[all...]
/system/extras/kexec_tools/
H A Dkexecload.c119 atag_file = open(argv[0], O_RDONLY);
120 zimage_file = open(argv[1], O_RDONLY);
/system/extras/libpagemap/
H A Dpm_kernel.c39 ker->kpagecount_fd = open("/proc/kpagecount", O_RDONLY);
46 ker->kpageflags_fd = open("/proc/kpageflags", O_RDONLY);
/system/update_engine/payload_consumer/
H A Dfile_descriptor.cc31 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0);
36 return ((fd_ = HANDLE_EINTR(open(path, flags))) >= 0);
/system/bt/bta/include/
H A Dbta_pan_api.h90 tBTA_PAN_STATUS status; /* status of open event */
106 tBTA_PAN_OPEN open; /* Connection has been opened. */ member in union:__anon489
172 ** When connection is open callback function is called
/system/bt/btif/src/
H A Dbtif_pan.c407 /* open the clone device */
409 if ((fd = open(clonedev, O_RDWR)) < 0)
411 BTIF_TRACE_DEBUG("could not open %s, err:%d", clonedev, errno);
500 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, conn);
503 conn = btpan_new_conn(p_data->open.handle, p_data->open.bd_addr, p_data->open.local_role,
504 p_data->open
[all...]
/system/bt/hci/test/
H A Dhci_hal_h4_test.cpp38 open,
78 DURING(open) AT_CALL(0) {
157 reset_for(open);
158 EXPECT_TRUE(hal->open());
H A Dhci_hal_mct_test.cpp38 open,
73 DURING(open) AT_CALL(0) {
157 reset_for(open);
158 EXPECT_TRUE(hal->open());
/system/connectivity/shill/
H A Dprotobuf_lite_streams.cc33 int fd = HANDLE_EINTR(open(file_path.c_str(), O_RDONLY));
/system/core/adb/
H A Dtransport_local.cpp183 * Redefine open and write for qemu_pipe.h that contains inlined references
186 #undef open macro
188 #define open adb_open macro
191 #undef open macro
193 #define open ___xxx_open macro
/system/core/base/
H A Dtest_utils.cpp39 // Use open() to match the close() that TemporaryFile's destructor does.
41 return open(template_name, O_CREAT | O_EXCL | O_RDWR | O_BINARY,
/system/core/include/utils/
H A DTokenizer.h43 static status_t open(const String8& filename, Tokenizer** outTokenizer);
/system/core/init/
H A Dcompare-bootcharts.py80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
/system/core/liblog/
H A Dfake_writer.c40 .open = fakeOpen,
/system/core/libmemunreachable/
H A DProcessMappings.cpp33 android::base::unique_fd fd(open(map_buffer, O_RDONLY));
/system/extras/f2fs_utils/
H A Dmake_f2fs_main.c76 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
78 perror("open");
/system/extras/memory_replay/
H A DNativeInfo.cpp67 int smaps_fd = open("/proc/self/smaps", O_RDONLY);
69 err(1, "Cannot open /proc/self/smaps: %s\n", strerror(errno));
/system/extras/simpleperf/
H A Dgenerate_event_type_table.py117 fh = open('event_type_table.h', 'w')
/system/extras/squashfs_utils/
H A Dsquashfs_utils.c66 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
/system/extras/tests/crypto/
H A Dget_dm_versions.c33 fd = open("/dev/device-mapper", O_RDWR);
35 fprintf(stderr, "Cannot open /dev/device-mapper\n");
/system/extras/tests/storage/
H A Dopentest.c84 fds[i] = open(name, O_WRONLY | O_CREAT, 0666);
86 fprintf(stderr, "Unable to open %d fd\n", i);
/system/netd/server/
H A DSockDiag.h47 bool open();
/system/sepolicy/
H A Dplatform_app.te13 allow platform_app shell_data_file:file { open getattr read };
14 allow platform_app icon_file:file { open getattr read };

Completed in 522 milliseconds

1234567891011>>