Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/system/extras/tests/mmc_tracepoints/
Dmmc_trace_sample_data12 … mmcqd/0-82 [000] ...1 49.828932: mmc_blk_rw_start: cmd=25,addr=0x002c6518,size=0x00000010
13 … <...>-1484 [000] ..s4 49.829171: mmc_blk_rw_end: cmd=25,addr=0x002c6518,size=0x00000010
14 … mmcqd/0-82 [000] ...1 49.830095: mmc_blk_rw_start: cmd=25,addr=0x002c6528,size=0x00000008
15 … kworker/0:2-48 [000] ..s4 49.830218: mmc_blk_rw_end: cmd=25,addr=0x002c6528,size=0x00000008
16 … mmcqd/0-82 [000] ...1 52.465957: mmc_blk_rw_start: cmd=18,addr=0x001ad578,size=0x00000020
17 … <idle>-0 [000] ..s3 52.466404: mmc_blk_rw_end: cmd=18,addr=0x001ad578,size=0x00000020
18 … mmcqd/0-82 [000] ...1 52.492868: mmc_blk_rw_start: cmd=18,addr=0x001aecb8,size=0x00000020
19 … <idle>-0 [000] ..s3 52.493157: mmc_blk_rw_end: cmd=18,addr=0x001aecb8,size=0x00000020
20 … mmcqd/0-82 [000] ...1 54.834287: mmc_blk_rw_start: cmd=25,addr=0x005420a8,size=0x00000008
21 … <idle>-0 [000] ..s3 54.834383: mmc_blk_rw_end: cmd=25,addr=0x005420a8,size=0x00000008
[all …]
/system/core/libcutils/include/cutils/
Datomic.h75 volatile atomic_int_least32_t* to_atomic_int_least32_t(volatile const int32_t* addr) { in to_atomic_int_least32_t() argument
77 return reinterpret_cast<volatile atomic_int_least32_t*>(const_cast<volatile int32_t*>(addr)); in to_atomic_int_least32_t()
79 return (volatile atomic_int_least32_t*)addr; in to_atomic_int_least32_t()
91 int32_t android_atomic_inc(volatile int32_t* addr) in android_atomic_inc() argument
93 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_inc()
99 int32_t android_atomic_dec(volatile int32_t* addr) in android_atomic_dec() argument
101 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_dec()
106 int32_t android_atomic_add(int32_t value, volatile int32_t* addr) in android_atomic_add() argument
108 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_add()
113 int32_t android_atomic_and(int32_t value, volatile int32_t* addr) in android_atomic_and() argument
[all …]
/system/core/libcutils/include_vndk/cutils/
Datomic.h75 volatile atomic_int_least32_t* to_atomic_int_least32_t(volatile const int32_t* addr) { in to_atomic_int_least32_t() argument
77 return reinterpret_cast<volatile atomic_int_least32_t*>(const_cast<volatile int32_t*>(addr)); in to_atomic_int_least32_t()
79 return (volatile atomic_int_least32_t*)addr; in to_atomic_int_least32_t()
91 int32_t android_atomic_inc(volatile int32_t* addr) in android_atomic_inc() argument
93 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_inc()
99 int32_t android_atomic_dec(volatile int32_t* addr) in android_atomic_dec() argument
101 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_dec()
106 int32_t android_atomic_add(int32_t value, volatile int32_t* addr) in android_atomic_add() argument
108 volatile atomic_int_least32_t* a = to_atomic_int_least32_t(addr); in android_atomic_add()
113 int32_t android_atomic_and(int32_t value, volatile int32_t* addr) in android_atomic_and() argument
[all …]
/system/bt/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl23 void OnGetRemoteFeatures(String addr, int features); in OnGetRemoteFeatures() argument
24 void OnGetPlayStatus(String addr); in OnGetPlayStatus() argument
25 void OnListPlayerAppAttr(String addr); in OnListPlayerAppAttr() argument
26 void OnListPlayerAppValues(String addr, int attr_id); in OnListPlayerAppValues() argument
27 void OnGetPlayerAppValue(String addr, in int[] attrs); in OnGetPlayerAppValue() argument
28 void OnGetPlayerAppAttrsText(String addr, in int[] attrs); in OnGetPlayerAppAttrsText() argument
29 void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values); in OnGetPlayerAppValuesText() argument
30 void OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values); in OnSetPlayerAppValue() argument
31 void OnGetElementAttrs(String addr, in int[] attrs); in OnGetElementAttrs() argument
32 void OnRegisterNotification(String addr, int event_id, int param); in OnRegisterNotification() argument
[all …]
DIBluetoothAvrcpTarget.aidl33 boolean GetPlayStatusResponse(String addr, in GetPlayStatusResponse() argument
36 boolean ListPlayerAppAttrResponse(String addr, in int[] attrs); in ListPlayerAppAttrResponse() argument
38 boolean GetPlayerAppValueResponse(String addr, in GetPlayerAppValueResponse() argument
41 boolean GetPlayerAppAttrTextResponse(String addr, in GetPlayerAppAttrTextResponse() argument
44 boolean GetPlayerAppValueTextResponse(String addr, in GetPlayerAppValueTextResponse() argument
47 boolean GetElementAttrResponse(String addr, in GetElementAttrResponse() argument
50 boolean SetPlayerAppValueResponse(String addr, int rsp_status); in SetPlayerAppValueResponse() argument
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc121 const android::String16& addr, int32_t play_status, int32_t song_len, in GetPlayStatusResponse() argument
125 String8(addr).string(), play_status, song_len, song_pos)); in GetPlayStatusResponse()
129 const android::String16& addr, const std::vector<int32_t>& attrs, in ListPlayerAppAttrResponse() argument
133 avrcp_target->ListPlayerAppAttrResponse(String8(addr).string(), attrs)); in ListPlayerAppAttrResponse()
137 const android::String16& addr, in GetPlayerAppValueResponse() argument
146 TRY_RET_FUNC(avrcp_target->GetPlayerAppValueResponse(String8(addr).string(), in GetPlayerAppValueResponse()
151 const android::String16& addr, in GetPlayerAppAttrTextResponse() argument
161 String8(addr).string(), non_binder)); in GetPlayerAppAttrTextResponse()
165 const android::String16& addr, in GetPlayerAppValueTextResponse() argument
175 String8(addr).string(), non_binder)); in GetPlayerAppValueTextResponse()
[all …]
Dbluetooth_avrcp_target_binder_server.h57 android::binder::Status GetPlayStatusResponse(const android::String16& addr,
63 const android::String16& addr, const std::vector<int32_t>& attrs,
66 const android::String16& addr,
70 const android::String16& addr,
74 const android::String16& addr,
78 const android::String16& addr,
82 const android::String16& addr, int32_t rsp_status,
94 void OnGetRemoteFeatures(const std::string& addr, int32_t features) override;
95 void OnGetPlayStatus(const std::string& addr) override;
96 void OnListPlayerAppAttr(const std::string& addr) override;
[all …]
/system/core/libunwindstack/tests/
DMemoryFake.h35 size_t Read(uint64_t addr, void* buffer, size_t size) override;
37 void SetMemory(uint64_t addr, const void* memory, size_t length);
39 void SetMemoryBlock(uint64_t addr, size_t length, uint8_t value);
41 void SetData8(uint64_t addr, uint8_t value) { in SetData8() argument
42 SetMemory(addr, &value, sizeof(value)); in SetData8()
45 void SetData16(uint64_t addr, uint16_t value) { in SetData16() argument
46 SetMemory(addr, &value, sizeof(value)); in SetData16()
49 void SetData32(uint64_t addr, uint32_t value) { in SetData32() argument
50 SetMemory(addr, &value, sizeof(value)); in SetData32()
53 void SetData64(uint64_t addr, uint64_t value) { in SetData64() argument
[all …]
DMemoryFake.cpp26 void MemoryFake::SetMemoryBlock(uint64_t addr, size_t length, uint8_t value) { in SetMemoryBlock() argument
27 for (size_t i = 0; i < length; i++, addr++) { in SetMemoryBlock()
28 auto entry = data_.find(addr); in SetMemoryBlock()
32 data_.insert({addr, value}); in SetMemoryBlock()
37 void MemoryFake::SetMemory(uint64_t addr, const void* memory, size_t length) { in SetMemory() argument
39 for (size_t i = 0; i < length; i++, addr++) { in SetMemory()
40 auto value = data_.find(addr); in SetMemory()
44 data_.insert({ addr, src[i] }); in SetMemory()
49 size_t MemoryFake::Read(uint64_t addr, void* memory, size_t size) { in Read() argument
51 for (size_t i = 0; i < size; i++, addr++) { in Read()
[all …]
DRegsStepIfSignalHandlerTest.cpp55 uint64_t addr = 0x1000; in ArmStepIfSignalHandlerNonRt() local
58 regs[ARM_REG_SP] = addr; in ArmStepIfSignalHandlerNonRt()
63 process_memory_.SetData32(addr + index * 4, index * 0x10); in ArmStepIfSignalHandlerNonRt()
85 uint64_t addr = 0x1000; in ArmStepIfSignalHandlerRt() local
88 regs[ARM_REG_SP] = addr; in ArmStepIfSignalHandlerRt()
93 process_memory_.SetData32(addr + index * 4, index * 0x10); in ArmStepIfSignalHandlerRt()
115 uint64_t addr = 0x1000; in TEST_F() local
118 regs[ARM64_REG_SP] = addr; in TEST_F()
123 process_memory_.SetData64(addr + index * 8, index * 0x10); in TEST_F()
134 uint64_t addr = 0xa00; in TEST_F() local
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection_handler.cc48 Address addr, bool authenticate_on_connect) { in CreatePendingConnection() argument
53 pending_connection_address_ = addr; in CreatePendingConnection()
58 bool AclConnectionHandler::HasPendingConnection(Address addr) const { in HasPendingConnection()
59 return classic_connection_pending_ && pending_connection_address_ == addr; in HasPendingConnection()
66 bool AclConnectionHandler::CancelPendingConnection(Address addr) { in CancelPendingConnection() argument
67 if (!classic_connection_pending_ || pending_connection_address_ != addr) { in CancelPendingConnection()
75 bool AclConnectionHandler::CreatePendingLeConnection(AddressWithType addr) { in CreatePendingLeConnection() argument
79 if (connection.GetAddress() == addr) { in CreatePendingLeConnection()
84 LOG_INFO("%s: %s is already connected", __func__, addr.ToString().c_str()); in CreatePendingLeConnection()
92 pending_le_connection_address_ = addr; in CreatePendingLeConnection()
[all …]
Dacl_connection_handler.h37 bool CreatePendingConnection(bluetooth::hci::Address addr,
39 bool HasPendingConnection(bluetooth::hci::Address addr) const;
40 bool CancelPendingConnection(bluetooth::hci::Address addr);
43 bool CreatePendingLeConnection(bluetooth::hci::AddressWithType addr);
44 bool HasPendingLeConnection(bluetooth::hci::AddressWithType addr) const;
45 bool CancelPendingLeConnection(bluetooth::hci::AddressWithType addr);
47 uint16_t CreateConnection(bluetooth::hci::Address addr,
49 uint16_t CreateLeConnection(bluetooth::hci::AddressWithType addr,
54 uint16_t GetHandle(bluetooth::hci::AddressWithType addr) const;
55 uint16_t GetHandleOnlyAddress(bluetooth::hci::Address addr) const;
Dsecurity_manager.cc31 uint16_t SecurityManager::DeleteKey(const Address& addr) { in DeleteKey() argument
32 uint16_t count = key_store_.count(addr.ToString()); in DeleteKey()
34 key_store_.erase(addr.ToString()); in DeleteKey()
43 uint16_t SecurityManager::ReadKey(const Address& addr) const { in ReadKey()
44 return key_store_.count(addr.ToString()); in ReadKey()
47 uint16_t SecurityManager::WriteKey(const Address& addr, in WriteKey() argument
52 key_store_[addr.ToString()] = key; in WriteKey()
57 const Address& addr) const { in GetKey()
58 ASSERT_LOG(ReadKey(addr), "No such key"); in GetKey()
59 return key_store_.at(addr.ToString()); in GetKey()
[all …]
/system/core/libunwindstack/
DMemory.cpp102 static bool PtraceReadLong(pid_t pid, uint64_t addr, long* value) { in PtraceReadLong() argument
106 *value = ptrace(PTRACE_PEEKTEXT, pid, reinterpret_cast<void*>(addr), nullptr); in PtraceReadLong()
113 static size_t PtraceRead(pid_t pid, uint64_t addr, void* dst, size_t bytes) { in PtraceRead() argument
116 if (__builtin_add_overflow(addr, bytes, &max_size)) { in PtraceRead()
122 size_t align_bytes = addr & (sizeof(long) - 1); in PtraceRead()
124 if (!PtraceReadLong(pid, addr & ~(sizeof(long) - 1), &data)) { in PtraceRead()
129 addr += copy_bytes; in PtraceRead()
136 if (!PtraceReadLong(pid, addr, &data)) { in PtraceRead()
141 addr += sizeof(long); in PtraceRead()
147 if (!PtraceReadLong(pid, addr, &data)) { in PtraceRead()
[all …]
DDexFiles.cpp85 uint64_t DexFiles::ReadEntryPtr32(uint64_t addr) { in ReadEntryPtr32() argument
88 if (!memory_->ReadFully(addr + field_offset, &entry, sizeof(entry))) { in ReadEntryPtr32()
94 uint64_t DexFiles::ReadEntryPtr64(uint64_t addr) { in ReadEntryPtr64() argument
97 if (!memory_->ReadFully(addr + field_offset, &entry, sizeof(entry))) { in ReadEntryPtr64()
162 bool DexFiles::GetAddr(size_t index, uint64_t* addr) { in GetAddr() argument
164 *addr = addrs_[index]; in GetAddr()
168 *addr = addrs_.back(); in GetAddr()
183 uint64_t addr; in GetMethodInformation() local
184 while (GetAddr(index++, &addr)) { in GetMethodInformation()
185 if (addr < info->start || addr >= info->end) { in GetMethodInformation()
[all …]
/system/netd/server/
DClatdControllerTest.cpp52 bool only2Free(in_addr_t addr) { in only2Free() argument
53 return (ntohl(addr) & 0xff) == 2; in only2Free()
55 bool over6Free(in_addr_t addr) { in over6Free() argument
56 return (ntohl(addr) & 0xff) >= 6; in over6Free()
58 bool only10Free(in_addr_t addr) { in only10Free() argument
59 return (ntohl(addr) & 0xff) == 10; in only10Free()
92 struct in_addr addr; in TEST_F() local
94 inet_pton(AF_INET, kIPv4LocalAddr, &addr); in TEST_F()
98 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 29)); in TEST_F()
99 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 16)); in TEST_F()
[all …]
/system/bt/device/src/
Dinterop.cc41 const RawAddress* addr);
43 const RawAddress* addr);
48 const RawAddress* addr) { in interop_match_addr() argument
49 CHECK(addr); in interop_match_addr()
51 if (interop_match_fixed_(feature, addr) || in interop_match_addr()
52 interop_match_dynamic_(feature, addr)) { in interop_match_addr()
54 __func__, addr->ToString().c_str(), in interop_match_addr()
81 void interop_database_add(uint16_t feature, const RawAddress* addr, in interop_database_add() argument
83 CHECK(addr); in interop_database_add()
89 memcpy(&entry->addr, addr, length); in interop_database_add()
[all …]
/system/core/libcutils/
Duevent.cpp55 struct sockaddr_nl addr; in uevent_kernel_recv() local
58 &addr, sizeof(addr), &iov, 1, control, sizeof(control), 0, in uevent_kernel_recv()
77 if (addr.nl_pid != 0) { in uevent_kernel_recv()
81 if (require_group && addr.nl_groups == 0) { in uevent_kernel_recv()
96 struct sockaddr_nl addr; in uevent_open_socket() local
102 memset(&addr, 0, sizeof(addr)); in uevent_open_socket()
103 addr.nl_family = AF_NETLINK; in uevent_open_socket()
104 addr.nl_pid = getpid(); in uevent_open_socket()
105 addr.nl_groups = 0xffffffff; in uevent_open_socket()
128 if (bind(s, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in uevent_open_socket()
Dsocket_inaddr_any_server_unix.cpp35 struct sockaddr_in6 addr; in socket_inaddr_any_server() local
38 memset(&addr, 0, sizeof(addr)); in socket_inaddr_any_server()
39 addr.sin6_family = AF_INET6; in socket_inaddr_any_server()
40 addr.sin6_port = htons(port); in socket_inaddr_any_server()
41 addr.sin6_addr = in6addr_any; in socket_inaddr_any_server()
49 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in socket_inaddr_any_server()
Dandroid_get_control_socket_test.cpp51 struct sockaddr_un addr; in TEST() local
52 memset(&addr, 0, sizeof(addr)); in TEST()
53 addr.sun_family = AF_UNIX; in TEST()
54 snprintf(addr.sun_path, sizeof(addr.sun_path), ANDROID_SOCKET_DIR"/%s", name); in TEST()
55 unlink(addr.sun_path); in TEST()
57 EXPECT_EQ(bind(fd, (struct sockaddr*)&addr, sizeof(addr)), 0); in TEST()
67 EXPECT_EQ(unlink(addr.sun_path), 0); in TEST()
Dsocket_inaddr_any_server_windows.cpp62 struct sockaddr_in6 addr; in socket_inaddr_any_server() local
63 memset(&addr, 0, sizeof(addr)); in socket_inaddr_any_server()
64 addr.sin6_family = AF_INET6; in socket_inaddr_any_server()
65 addr.sin6_port = htons(port); in socket_inaddr_any_server()
66 addr.sin6_addr = in6addr_any; in socket_inaddr_any_server()
67 if (bind(sock, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in socket_inaddr_any_server()
/system/bt/service/
Davrcp_target.h44 virtual void OnGetRemoteFeatures(const std::string& addr,
46 virtual void OnGetPlayStatus(const std::string& addr) = 0;
47 virtual void OnListPlayerAppAttr(const std::string& addr) = 0;
48 virtual void OnListPlayerAppValues(const std::string& addr,
50 virtual void OnGetPlayerAppValue(const std::string& addr,
52 virtual void OnGetPlayerAppAttrsText(const std::string& addr,
55 const std::string& addr, int32_t attr_id,
58 const std::string& addr, const std::vector<AvrcpIntValue>& values) = 0;
59 virtual void OnGetElementAttrs(const std::string& addr,
61 virtual void OnRegisterNotification(const std::string& addr,
[all …]
/system/core/libbacktrace/
DBacktracePtrace.cpp33 static bool PtraceRead(pid_t tid, uint64_t addr, word_t* out_value) { in PtraceRead() argument
37 *out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr); in PtraceRead()
64 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read() argument
70 FillInMap(addr, &map); in Read()
75 bytes = MIN(map.end - addr, bytes); in Read()
78 size_t align_bytes = addr & (sizeof(word_t) - 1); in Read()
80 if (!PtraceRead(Tid(), addr & ~(sizeof(word_t) - 1), &data_word)) { in Read()
85 addr += copy_bytes; in Read()
93 if (!PtraceRead(Tid(), addr, &data_word)) { in Read()
98 addr += sizeof(word_t); in Read()
[all …]
/system/netd/libnetdutils/include/netdutils/
DSocket.h29 inline sockaddr* asSockaddrPtr(void* addr) { in asSockaddrPtr() argument
30 return reinterpret_cast<sockaddr*>(addr); in asSockaddrPtr()
33 inline const sockaddr* asSockaddrPtr(const void* addr) { in asSockaddrPtr() argument
34 return reinterpret_cast<const sockaddr*>(addr); in asSockaddrPtr()
39 StatusOr<std::string> toString(const in6_addr& addr);
/system/core/libunwindstack/include/unwindstack/
DMemory.h40 virtual bool ReadString(uint64_t addr, std::string* string, uint64_t max_read = UINT64_MAX);
44 virtual size_t Read(uint64_t addr, void* dst, size_t size) = 0;
46 bool ReadFully(uint64_t addr, void* dst, size_t size);
48 inline bool Read32(uint64_t addr, uint32_t* dst) { in Read32() argument
49 return ReadFully(addr, dst, sizeof(uint32_t)); in Read32()
52 inline bool Read64(uint64_t addr, uint64_t* dst) { in Read64() argument
53 return ReadFully(addr, dst, sizeof(uint64_t)); in Read64()

12345678910>>...12