/system/core/libsuspend/ |
H A D | autosuspend_earlysuspend.c | 52 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 D | autosuspend_autosleep.c | 89 autosleep_fd = TEMP_FAILURE_RETRY(open(SYS_POWER_AUTOSLEEP, O_WRONLY));
|
/system/extras/sound/ |
H A D | playwav.c | 48 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 D | kexecload.c | 119 atag_file = open(argv[0], O_RDONLY); 120 zimage_file = open(argv[1], O_RDONLY);
|
/system/extras/libpagemap/ |
H A D | pm_kernel.c | 39 ker->kpagecount_fd = open("/proc/kpagecount", O_RDONLY); 46 ker->kpageflags_fd = open("/proc/kpageflags", O_RDONLY);
|
/system/update_engine/payload_consumer/ |
H A D | file_descriptor.cc | 31 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0); 36 return ((fd_ = HANDLE_EINTR(open(path, flags))) >= 0);
|
/system/bt/bta/include/ |
H A D | bta_pan_api.h | 90 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 D | btif_pan.c | 407 /* 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 D | hci_hal_h4_test.cpp | 38 open, 78 DURING(open) AT_CALL(0) { 157 reset_for(open); 158 EXPECT_TRUE(hal->open());
|
H A D | hci_hal_mct_test.cpp | 38 open, 73 DURING(open) AT_CALL(0) { 157 reset_for(open); 158 EXPECT_TRUE(hal->open());
|
/system/connectivity/shill/ |
H A D | protobuf_lite_streams.cc | 33 int fd = HANDLE_EINTR(open(file_path.c_str(), O_RDONLY));
|
/system/core/adb/ |
H A D | transport_local.cpp | 183 * 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 D | test_utils.cpp | 39 // 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 D | Tokenizer.h | 43 static status_t open(const String8& filename, Tokenizer** outTokenizer);
|
/system/core/init/ |
H A D | compare-bootcharts.py | 80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
|
/system/core/liblog/ |
H A D | fake_writer.c | 40 .open = fakeOpen,
|
/system/core/libmemunreachable/ |
H A D | ProcessMappings.cpp | 33 android::base::unique_fd fd(open(map_buffer, O_RDONLY));
|
/system/extras/f2fs_utils/ |
H A D | make_f2fs_main.c | 76 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); 78 perror("open");
|
/system/extras/memory_replay/ |
H A D | NativeInfo.cpp | 67 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 D | generate_event_type_table.py | 117 fh = open('event_type_table.h', 'w')
|
/system/extras/squashfs_utils/ |
H A D | squashfs_utils.c | 66 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
|
/system/extras/tests/crypto/ |
H A D | get_dm_versions.c | 33 fd = open("/dev/device-mapper", O_RDWR); 35 fprintf(stderr, "Cannot open /dev/device-mapper\n");
|
/system/extras/tests/storage/ |
H A D | opentest.c | 84 fds[i] = open(name, O_WRONLY | O_CREAT, 0666); 86 fprintf(stderr, "Unable to open %d fd\n", i);
|
/system/netd/server/ |
H A D | SockDiag.h | 47 bool open();
|
/system/sepolicy/ |
H A D | platform_app.te | 13 allow platform_app shell_data_file:file { open getattr read }; 14 allow platform_app icon_file:file { open getattr read };
|