/system/core/libbacktrace/testdata/arm64/ |
D | offline_testdata | 2 map: start: 557066e000 end: 55706ee000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test64 3 map: start: 55706ef000 end: 55706f2000 offset: 80000 load_bias: 0 flags: 1 name: /data/backtrace_te… 4 map: start: 55706f2000 end: 55706f3000 offset: 83000 load_bias: 0 flags: 3 name: /data/backtrace_te… 5 map: start: 7014200000 end: 7014600000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: 701464c000 end: 701465c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/libcutil… 7 map: start: 701465c000 end: 701465d000 offset: 0 load_bias: 0 flags: 0 name: 8 map: start: 701465d000 end: 701465e000 offset: 10000 load_bias: 0 flags: 1 name: /system/lib64/libc… 9 map: start: 701465e000 end: 701465f000 offset: 11000 load_bias: 0 flags: 3 name: /system/lib64/libc… 10 map: start: 7014691000 end: 70146b5000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/liblzma.… 11 map: start: 70146b5000 end: 70146b6000 offset: 23000 load_bias: 0 flags: 1 name: /system/lib64/libl… [all …]
|
/system/core/libbacktrace/testdata/arm/ |
D | offline_testdata | 2 map: start: aad19000 end: aad6c000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test32 3 map: start: aad6c000 end: aad6e000 offset: 52000 load_bias: 0 flags: 1 name: /data/backtrace_test32 4 map: start: aad6e000 end: aad6f000 offset: 54000 load_bias: 0 flags: 3 name: /data/backtrace_test32 5 map: start: e7380000 end: e7400000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: e745f000 end: e7463000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libnetd_client… 7 map: start: e7463000 end: e7464000 offset: 3000 load_bias: 0 flags: 1 name: /system/lib/libnetd_cli… 8 map: start: e7464000 end: e7465000 offset: 4000 load_bias: 0 flags: 3 name: /system/lib/libnetd_cli… 9 map: start: e7480000 end: e7500000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 10 map: start: e7558000 end: e756c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libunwind.so 11 map: start: e756c000 end: e756d000 offset: 0 load_bias: 0 flags: 0 name: [all …]
|
/system/core/libbacktrace/testdata/x86_64/ |
D | offline_testdata | 2 map: start: 7fd5aa784000 end: 7fd5aa93e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 3 map: start: 7fd5aa93e000 end: 7fd5aab3e000 offset: 1ba000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 4 map: start: 7fd5aab3e000 end: 7fd5aab42000 offset: 1ba000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 5 map: start: 7fd5aab42000 end: 7fd5aab44000 offset: 1be000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 6 map: start: 7fd5aab44000 end: 7fd5aab49000 offset: 0 load_bias: 0 flags: 3 name: 7 map: start: 7fd5aab49000 end: 7fd5aac4e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 8 map: start: 7fd5aac4e000 end: 7fd5aae4d000 offset: 105000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 9 map: start: 7fd5aae4d000 end: 7fd5aae4e000 offset: 104000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 10 map: start: 7fd5aae4e000 end: 7fd5aae4f000 offset: 105000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 11 map: start: 7fd5aae4f000 end: 7fd5aae65000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… [all …]
|
/system/core/libbacktrace/testdata/x86/ |
D | offline_testdata | 2 map: start: f705a000 end: f705c000 offset: 0 load_bias: 0 flags: 3 name: 3 map: start: f705c000 end: f707f000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/o… 4 map: start: f707f000 end: f7080000 offset: 22000 load_bias: 0 flags: 1 name: /ssd/android/aosp_mast… 5 map: start: f7080000 end: f7081000 offset: 23000 load_bias: 0 flags: 3 name: /ssd/android/aosp_mast… 6 map: start: f7081000 end: f7088000 offset: 0 load_bias: 0 flags: 3 name: 7 map: start: f7088000 end: f7230000 offset: 0 load_bias: 0 flags: 5 name: /lib/i386-linux-gnu/libc-2… 8 map: start: f7230000 end: f7231000 offset: 1a8000 load_bias: 0 flags: 0 name: /lib/i386-linux-gnu/l… 9 map: start: f7231000 end: f7233000 offset: 1a8000 load_bias: 0 flags: 1 name: /lib/i386-linux-gnu/l… 10 map: start: f7233000 end: f7234000 offset: 1aa000 load_bias: 0 flags: 3 name: /lib/i386-linux-gnu/l… 11 map: start: f7234000 end: f7237000 offset: 0 load_bias: 0 flags: 3 name: [all …]
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 195 if (mount_flags[f].flag & entry.flags) { in TEST() 199 if (!(entry.flags & MS_RDONLY)) { in TEST() 236 EXPECT_EQ(static_cast<unsigned long>(MS_RDONLY), fstab[0].flags); in TEST() 240 EXPECT_EQ(static_cast<unsigned long>(MS_NOATIME | MS_NOSUID | MS_NODEV), fstab[1].flags); in TEST() 244 EXPECT_EQ(static_cast<unsigned long>(MS_NOATIME | MS_NOSUID | MS_NODEV), fstab[2].flags); in TEST() 248 EXPECT_EQ(0U, fstab[3].flags); in TEST() 252 EXPECT_EQ(static_cast<unsigned long>(MS_RDONLY), fstab[4].flags); in TEST() 259 EXPECT_EQ(0U, fstab[5].flags); in TEST() 263 EXPECT_EQ(0U, fstab[6].flags); in TEST() 267 EXPECT_EQ(static_cast<unsigned long>(MS_NODIRATIME | MS_REMOUNT | MS_BIND), fstab[7].flags); in TEST() [all …]
|
/system/bt/btif/src/ |
D | btif_sock.cc | 47 int flags, int app_uid); 50 int flags, int app_uid); 54 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id); 132 int* sock_fd, int flags, int app_uid) { in btsock_listen() argument 133 if ((flags & BTSOCK_FLAG_NO_SDP) == 0) { in btsock_listen() 149 flags, app_uid); in btsock_listen() 153 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 156 if (flags & BTSOCK_FLAG_NO_SDP) { in btsock_listen() 164 flags |= BTSOCK_FLAG_LE_COC; in btsock_listen() 168 __func__, channel, original_channel, flags); in btsock_listen() [all …]
|
D | btif_sock_thread.cc | 83 int flags; member 100 static inline void add_poll(int h, int fd, int type, int flags, 218 int flags; member 221 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { in btsock_thread_add_fd() argument 231 if (flags & SOCK_THREAD_ADD_FD_SYNC) { in btsock_thread_add_fd() 235 flags &= ~SOCK_THREAD_ADD_FD_SYNC; in btsock_thread_add_fd() 236 add_poll(h, fd, type, flags, user_id); in btsock_thread_add_fd() 242 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id}; in btsock_thread_add_fd() 243 APPL_TRACE_DEBUG("adding fd:%d, flags:0x%x", fd, flags); in btsock_thread_add_fd() 354 static inline unsigned int flags2pevents(int flags) { in flags2pevents() argument [all …]
|
/system/bt/gd/common/ |
D | init_flags.cc | 37 void InitFlags::Load(const char** flags) { in Load() argument 40 while (flags != nullptr && *flags != nullptr) { in Load() 41 if (kGdCoreFlag == *flags) { in Load() 43 } else if (kGdHciFlag == *flags) { in Load() 45 } else if (kGdControllerFlag == *flags) { in Load() 48 flags++; in Load()
|
/system/bt/gd/hal/ |
D | snoop_logger.cc | 34 uint32_t flags; member 95 std::bitset<32> flags = 0; in capture() local 98 flags.set(0, false); in capture() 99 flags.set(1, true); in capture() 102 flags.set(0, direction == Direction::INCOMING); in capture() 103 flags.set(1, false); in capture() 106 flags.set(0, direction == Direction::INCOMING); in capture() 107 flags.set(1, false); in capture() 110 flags.set(0, true); in capture() 111 flags.set(1, true); in capture() [all …]
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.cc | 31 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open() argument 33 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0); in Open() 36 bool EintrSafeFileDescriptor::Open(const char* path, int flags) { in Open() argument 38 return ((fd_ = HANDLE_EINTR(open(path, flags))) >= 0); in Open() 105 int flags = fcntl(fd_, F_GETFL, 0); in BlkIoctl() 106 if (flags == -1) { in BlkIoctl() 110 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags | O_DIRECT) == -1) { in BlkIoctl() 118 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags) == -1) { in BlkIoctl()
|
/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 37 uint16_t flags; in ReadMapFileContent() local 88 flags = 0; in ReadMapFileContent() 90 flags |= PROT_READ; in ReadMapFileContent() 96 flags |= PROT_WRITE; in ReadMapFileContent() 102 flags |= PROT_EXEC; in ReadMapFileContent() 139 callback(start_addr, end_addr, flags, pgoff, inode, p); in ReadMapFileContent() 163 uint16_t flags; member 168 MapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in MapInfo() 170 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode), name(name) {} in MapInfo() 175 pid, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in ReadProcessMaps() [all …]
|
/system/nfc/src/nfa/ce/ |
D | nfa_ce_act.cc | 64 if ((p_cb->listen_info[idx].flags & NFA_CE_LISTEN_INFO_IN_USE) && in nfa_ce_handle_t3t_evt() 65 (p_cb->listen_info[idx].flags & NFA_CE_LISTEN_INFO_FELICA) && in nfa_ce_handle_t3t_evt() 66 (p_cb->listen_info[idx].flags & NFA_CE_LISTEN_INFO_T3T_ACTIVATE_PND)) { in nfa_ce_handle_t3t_evt() 109 if (p_cb->listen_info[p_cb->idx_cur_active].flags & in nfa_ce_handle_t3t_evt() 111 p_cb->listen_info[p_cb->idx_cur_active].flags &= in nfa_ce_handle_t3t_evt() 159 if (p_cb->listen_info[p_cb->idx_cur_active].flags & in nfa_ce_handle_t4t_evt() 220 if ((p_cb->listen_info[listen_info_idx].flags & in nfa_ce_handle_t4t_aid_evt() 222 (p_cb->listen_info[listen_info_idx].flags & in nfa_ce_handle_t4t_aid_evt() 240 if (p_cb->listen_info[p_cb->idx_cur_active].flags & in nfa_ce_handle_t4t_aid_evt() 242 p_cb->listen_info[p_cb->idx_cur_active].flags &= in nfa_ce_handle_t4t_aid_evt() [all …]
|
/system/extras/libfscrypt/tests/ |
D | fscrypt_test.cpp | 65 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_4, options.flags); in TEST() 73 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16, options.flags); in TEST() 84 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_4, options.flags); in TEST() 91 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16, options.flags); in TEST() 98 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16, options.flags); in TEST() 105 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_4, options.flags); in TEST() 114 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_4, options.flags); in TEST() 122 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16, options.flags); in TEST() 129 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16 | FSCRYPT_POLICY_FLAG_DIRECT_KEY, options.flags); in TEST() 136 EXPECT_EQ(FSCRYPT_POLICY_FLAGS_PAD_16 | FSCRYPT_POLICY_FLAG_DIRECT_KEY, options.flags); in TEST() [all …]
|
/system/core/libunwindstack/include/unwindstack/ |
D | MapInfo.h | 35 uint64_t flags, const char* name) in MapInfo() 39 flags(flags), in MapInfo() 46 uint64_t flags, const std::string& name) in MapInfo() 50 flags(flags), in MapInfo() 61 uint16_t flags = 0; member 110 inline bool IsBlank() { return offset == 0 && flags == 0 && name.empty(); } in IsBlank()
|
/system/nvram/core/include/nvram/core/ |
D | persistence.h | 42 return (flags & flag) != 0; in HasFlag() 47 flags |= flag; in SetFlag() 65 uint32_t flags = 0; member 99 return (flags & flag) != 0; in HasFlag() 104 flags |= flag; in SetFlag() 113 uint32_t flags = 0; member
|
/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 28 CgroupController::CgroupController(uint32_t version, uint32_t flags, const std::string& name, in CgroupController() argument 35 flags_ = flags; in CgroupController() 46 uint32_t CgroupController::flags() const { in flags() function in android::cgrouprc::format::CgroupController 58 void CgroupController::set_flags(uint32_t flags) { in set_flags() argument 59 flags_ = flags; in set_flags()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 153 if ((options.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64)) { in OptionsToStringForApiLevel() 156 if ((options.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32)) { in OptionsToStringForApiLevel() 209 options->flags = 0; in ParseOptionsForApiLevel() 212 auto flags = android::base::Split(parts[2], "+"); in ParseOptionsForApiLevel() local 213 for (const auto& flag : flags) { in ParseOptionsForApiLevel() 219 options->flags |= FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64; in ParseOptionsForApiLevel() 221 options->flags |= FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32; in ParseOptionsForApiLevel() 238 options->flags |= FSCRYPT_POLICY_FLAGS_PAD_4; in ParseOptionsForApiLevel() 240 options->flags |= FSCRYPT_POLICY_FLAGS_PAD_16; in ParseOptionsForApiLevel() 251 options->flags |= FSCRYPT_POLICY_FLAG_DIRECT_KEY; in ParseOptionsForApiLevel() [all …]
|
/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 82 map->flags = PROT_NONE; in ParseLine() 84 map->flags |= PROT_READ; in ParseLine() 87 map->flags |= PROT_WRITE; in ParseLine() 90 map->flags |= PROT_EXEC; in ParseLine() 99 reinterpret_cast<void*>(map->end), map->flags, map->name.c_str()); in ParseLine() 126 pid_, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t, ino_t, const char* name) { in Build() 131 map.flags = flags; in Build()
|
/system/media/audio_utils/include/audio_utils/ |
D | clock_nanosleep.h | 32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument 35 return syscall(SYS_clock_nanosleep, clock_id, flags, request, remain); in audio_utils_clock_nanosleep() 48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument 52 (void) flags; in audio_utils_clock_nanosleep()
|
/system/libbase/ |
D | utf8.cpp | 56 const DWORD flags = in WideToUTF8() local 63 const int chars_required = WideCharToMultiByte(CP_UTF8, flags, utf16, size, in WideToUTF8() 73 const int result = WideCharToMultiByte(CP_UTF8, flags, utf16, size, in WideToUTF8() 100 const DWORD flags) { in UTF8ToWideWithFlags() argument 109 const int chars_required = MultiByteToWideChar(CP_UTF8, flags, utf8, size, in UTF8ToWideWithFlags() 119 const int result = MultiByteToWideChar(CP_UTF8, flags, utf8, size, in UTF8ToWideWithFlags() 207 int open(const char* name, int flags, ...) { in open() argument 214 if ((flags & O_CREAT) != 0) { in open() 216 va_start(args, flags); in open() 221 return _wopen(name_utf16.c_str(), flags, mode); in open()
|
/system/vold/fs/ |
D | Vfat.cpp | 116 unsigned long flags; in Mount() local 121 flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC | MS_NOATIME; in Mount() 123 flags |= (executable ? 0 : MS_NOEXEC); in Mount() 124 flags |= (ro ? MS_RDONLY : 0); in Mount() 125 flags |= (remount ? MS_REMOUNT : 0); in Mount() 131 rc = mount(c_source, c_target, "vfat", flags, mountData.c_str()); in Mount() 135 flags |= MS_RDONLY; in Mount() 136 rc = mount(c_source, c_target, "vfat", flags, mountData.c_str()); in Mount()
|
/system/extras/tests/audio/alsa/ |
D | pcmtest.cpp | 43 unsigned int flags; member 90 char flags; in getSndDev() local 97 flags = de->d_name[strlen(de->d_name)-1]; in getSndDev() 98 if (flags == 'c') { in getSndDev() 99 pcmnodes[pcms].flags = PCM_IN; in getSndDev() 100 } else if(flags == 'p') { in getSndDev() 101 pcmnodes[pcms].flags = PCM_OUT; in getSndDev() 103 pcmnodes[pcms].flags = -1; in getSndDev() 104 testPrintI("Unknown PCM type = %c", flags); in getSndDev() 134 pcmnodes[i].flags); in getPcmParams()
|
/system/netd/bpf_progs/ |
D | bpf_net_helpers.h | 38 __u64 flags) = (void*)BPF_FUNC_skb_change_proto; 40 __u64 flags) = (void*)BPF_FUNC_l3_csum_replace; 42 __u64 flags) = (void*)BPF_FUNC_l4_csum_replace; 43 static int (*bpf_redirect)(__u32 ifindex, __u64 flags) = (void*)BPF_FUNC_redirect; 46 __u64 flags) = (void*)BPF_FUNC_skb_change_head; 48 __u64 flags) = (void*)BPF_FUNC_skb_adjust_room;
|
/system/core/libprocinfo/ |
D | process_map_test.cpp | 35 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST() 36 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST() argument 40 ASSERT_EQ(maps[0].flags, PROT_READ | PROT_WRITE); in TEST() 46 ASSERT_EQ(maps[876].flags, PROT_READ | PROT_EXEC); in TEST() 52 ASSERT_EQ(maps[1260].flags, PROT_READ); in TEST() 64 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST() 65 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST() 77 TestMapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TestMapInfo() argument 79 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode) { in TestMapInfo() 84 uint16_t flags = 0; member [all …]
|
/system/core/libunwindstack/ |
D | Maps.cpp | 67 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument 70 flags |= unwindstack::MAPS_FLAGS_DEVICE_MAP; in Parse() 72 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse() 80 void Maps::Add(uint64_t start, uint64_t end, uint64_t offset, uint64_t flags, in Add() argument 89 std::make_unique<MapInfo>(prev_map, prev_real_map, start, end, offset, flags, name); in Add() 118 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument 121 flags |= unwindstack::MAPS_FLAGS_DEVICE_MAP; in Parse() 123 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse() 153 uint64_t flags = new_map_info->flags; in Reparse() local 157 if (start == info->start && end == info->end && flags == info->flags && *name == info->name) { in Reparse()
|