/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-10229/ |
D | poc.c | 31 struct sockaddr_in6 addr; in udp_send() local 34 memset(&addr, 0, sizeof(addr)); in udp_send() 35 addr.sin6_family = AF_INET6; in udp_send() 36 addr.sin6_port = htons(43786); in udp_send() 37 inet_pton(AF_INET6, "::1", &(addr.sin6_addr)); in udp_send() 38 sendto(s, "data", 4, 0, (struct sockaddr*)&addr, sizeof(addr)); in udp_send() 41 sendto(s, data, sizeof(data), 0, (struct sockaddr*)&addr, sizeof(addr)); in udp_send() 48 struct sockaddr_in6 addr; in udp_recv() local 54 memset(&addr, 0, sizeof(addr)); in udp_recv() 55 addr.sin6_family = AF_INET6; in udp_recv() [all …]
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_SharedMemory.cpp | 27 void* addr = mmap(nullptr, 1, PROT_READ | PROT_WRITE, MAP_SHARED, fd, index); in nWriteByte() local 28 if (addr == nullptr) { in nWriteByte() 32 reinterpret_cast<int8_t*>(addr)[0] = value; in nWriteByte() 33 munmap(addr, 1); in nWriteByte()
|
/cts/tests/tests/selinux/common/jni/ |
D | android_security_SELinuxTargetSdkTest.cpp | 125 struct sockaddr_nl addr; in checkNetlinkRouteBind() local 126 addr.nl_family = AF_NETLINK; in checkNetlinkRouteBind() 127 addr.nl_pid = getpid(); in checkNetlinkRouteBind() 128 addr.nl_groups = RTMGRP_LINK|RTMGRP_IPV4_IFADDR|RTMGRP_IPV6_IFADDR; in checkNetlinkRouteBind() 130 int ret = bind(sock,(struct sockaddr *)&addr,sizeof(addr)); in checkNetlinkRouteBind()
|
/cts/tools/incremental-cts/testdata/ |
D | perf_dump.txt | 2 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 10 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 30 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 38 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 46 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 54 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000 62 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 940 u32 r32(u64 addr); 941 u64 r64(u64 addr); 942 void w64(u64 addr, u64 val); 943 void w128(u64 addr, u64 v1, u64 v2); 991 u64 find_adrp_add(u64 addr) { in find_adrp_add() argument 994 u32 inst = r32(addr); in find_adrp_add() 996 u64 ret = parse_adrp(addr, inst); in find_adrp_add() 997 inst = r32(addr + 4); in find_adrp_add() 1005 addr += 4; in find_adrp_add() 1458 void winfo32_lo(int addr, u32 dat) { in winfo32_lo() argument [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-1906/ |
D | poc.c | 52 struct kgsl_sharedmem_free addr; in gpu_sharedmem_free() local 54 addr.gpuaddr = gpu_addr; in gpu_sharedmem_free() 55 ret = ioctl(fd, IOCTL_KGSL_SHAREDMEM_FREE, &addr); in gpu_sharedmem_free() 95 int gpu_map_user_mem(int fd, uintptr_t addr, size_t size, size_t offset, in gpu_map_user_mem() argument 104 user_mem.hostptr = addr; in gpu_map_user_mem()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/ |
D | poc.c | 54 unsigned long *addr; /* array of addresses to return */ member 67 __u32 addr; /* array of addresses to return */ member 76 __u32 addr; /* user pointer*/ member 150 err_pin.addr = leak_addr + 8; in main()
|
/cts/tests/tests/os/UffdGc/jni/ |
D | android_os_cts_uffdgc_UserfaultfdTest.cc | 153 void* addr = nullptr; in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() local 178 addr = mmap(nullptr, page_sz, PROT_READ | PROT_WRITE, in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() 180 if (addr == MAP_FAILED) { in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() 195 uffdio_register.range.start = reinterpret_cast<size_t>(addr); in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() 212 if (write(write_fd, addr, page_sz) >= 0) { in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() 219 static_cast<char*>(addr)[42] = 'a'; in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd() 223 munmap(addr, page_sz); in Java_android_os_cts_uffdgc_UserfaultfdTest_performKernelSpaceUffd()
|
/cts/hostsidetests/hdmicec/ |
D | cec_adapter.md | 114 [osd] \{addr\} \{string\} 117 [ver] \{addr\} 120 [ven] \{addr\} 123 [lang] \{addr\} 126 [pow] \{addr\} 129 [name] \{addr\} 132 [poll] \{addr\} 138 [ad] \{addr\} 144 [sp] \{addr\} 147 [spl] \{addr\}
|
D | README.md | 27 --module-arg CtsHdmiCecHostTestCases:set-option:cec-phy-addr:<address_in_decimal> 29 Thus, for a device that is taking an address `3.0.0.0`, pass `12288` as the `cec-phy-addr` argument.
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-39623/ |
D | poc.cpp | 44 void *mmap(void *addr, size_t length, int prot, int flags, int fd, in mmap() argument 52 char *tmp_ptr = (char *)real_mmap(addr, length + page_size, prot, in mmap() 57 return real_mmap(addr, length, prot, flags, fd, offset); in mmap()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | MemoryConsumerService.java | 96 long addr = 0L; in fillUpMemoryAndCheck() local 98 addr = Os.mmap(0, oneMb, OsConstants.PROT_WRITE, in fillUpMemoryAndCheck() 107 if (addr == 0) { in fillUpMemoryAndCheck() 112 DirectByteBuffer buf = new DirectByteBuffer(oneMb, addr, fd, null, false); in fillUpMemoryAndCheck()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | WorkProfileNetworkLoggingDelegateTest.java | 149 private boolean isIpv4OrIpv6Address(InetAddress addr) { in isIpv4OrIpv6Address() argument 150 return ((addr instanceof Inet4Address) || (addr instanceof Inet6Address)); in isIpv4OrIpv6Address()
|
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 88 byte[] addr = ((Inet4Address) InetAddress.getByName(addrString)).getAddress(); in ipv4AddrToInt() 89 return ((addr[3] & 0xff) << 24) | ((addr[2] & 0xff) << 16) | in ipv4AddrToInt() 90 ((addr[1] & 0xff) << 8) | (addr[0] & 0xff); in ipv4AddrToInt()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni.cpp | 32 #define align_addr(addr,align) (void *)(((size_t)(addr) + ((align) - 1)) & (size_t) - (align)) argument 36 void * addr, * x = NULL; in aligned_alloc() local 37 addr = malloc(size + align - 1 + ADDRESS_STORAGE_SIZE); in aligned_alloc() 38 if (addr) { in aligned_alloc() 39 x = align_addr((unsigned char *) addr + ADDRESS_STORAGE_SIZE, (int) align); in aligned_alloc() 41 ((size_t *) x)[-1] = (size_t) addr; in aligned_alloc() 48 void * addr = (void *) (((size_t *) memblk)[-1]); in aligned_free() local 49 free(addr); in aligned_free()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | NetworkLoggingTest.java | 167 private boolean isIpv4OrIpv6Address(InetAddress addr) { in isIpv4OrIpv6Address() argument 168 return ((addr instanceof Inet4Address) || (addr instanceof Inet6Address)); in isIpv4OrIpv6Address()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/d/ |
D | T_div_int_2addr_6.smali | 30 div-int/2addr v2, v4
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_long_2addr/d/ |
D | T_and_long_2addr_3.smali | 31 and-long/2addr v12, v0
|
D | T_and_long_2addr_1.smali | 30 and-long/2addr v10, v12
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float_2addr/d/ |
D | T_rem_float_2addr_2.smali | 30 rem-float/2addr v6, v8
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float_2addr/d/ |
D | T_div_float_2addr_2.smali | 30 div-float/2addr v0, v7
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_2addr/d/ |
D | T_and_int_2addr_6.smali | 30 and-int/2addr v2, v4
|
D | T_and_int_2addr_5.smali | 29 and-int/2addr v2, v3
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/d/ |
D | T_add_long_2addr_2.smali | 30 add-long/2addr v3, v7
|