/cts/tests/tests/net/src/android/net/cts/ |
D | DnsTest.java | 68 for (InetAddress addr : addrs) { in testDnsWorks() 69 if (addr instanceof Inet4Address) foundV4 = true; in testDnsWorks() 70 else if (addr instanceof Inet6Address) foundV6 = true; in testDnsWorks() 71 if (DBG) Log.e(TAG, "www.google.com gave " + addr.toString()); in testDnsWorks() 93 for (InetAddress addr : addrs) { in testDnsWorks() 94 assertFalse ("[RERUN] ipv6.google.com returned IPv4 address: " + addr.getHostAddress() + in testDnsWorks() 95 ", check your network's DNS server", addr instanceof Inet4Address); in testDnsWorks() 96 foundV6 |= (addr instanceof Inet6Address); in testDnsWorks() 97 if (DBG) Log.e(TAG, "ipv6.google.com gave " + addr.toString()); in testDnsWorks() 184 InetAddress addr = InetAddress.getByName(URLS[urlIndex]); in skiptestDnsPerf() local [all …]
|
/cts/hostsidetests/security/securityPatch/CVE-2017-9680/ |
D | poc.c | 111 } addr; member 141 void *addr = NULL; in leak_heap_ptr() local 142 app.app_handle = (void *)&addr; in leak_heap_ptr() 177 struct sockaddr_msm_ipc addr = {0}; in recv_msgs() local 189 msg.msg_name = &addr; in recv_msgs() 190 msg.msg_namelen = sizeof(addr); in recv_msgs() 216 struct sockaddr_msm_ipc addr = {0}; in setup_ipc_server() local 224 addr.family = AF_MSM_IPC; in setup_ipc_server() 225 addr.address.addrtype = MSM_IPC_ADDR_NAME; in setup_ipc_server() 226 addr.address.addr.port_name.service = QBT1000_SNS_SERVICE_ID; in setup_ipc_server() [all …]
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_CharDeviceTest.cpp | 42 char *addr = (char *) in android_security_cts_CharDeviceTest_doExynosWriteTest() local 45 if (addr == MAP_FAILED) { in android_security_cts_CharDeviceTest_doExynosWriteTest() 57 addr[i] = 'A'; in android_security_cts_CharDeviceTest_doExynosWriteTest() 62 munmap(addr, length); in android_security_cts_CharDeviceTest_doExynosWriteTest() 80 char *addr = (char *) in android_security_cts_CharDeviceTest_doExynosReadTest() local 83 if (addr == MAP_FAILED) { in android_security_cts_CharDeviceTest_doExynosReadTest() 95 if (strncmp(&addr[i], MAGIC_STRING, strlen(MAGIC_STRING)) == 0) { in android_security_cts_CharDeviceTest_doExynosReadTest() 102 munmap(addr, length); in android_security_cts_CharDeviceTest_doExynosReadTest()
|
/cts/hostsidetests/security/securityPatch/Bug-34173755/ |
D | poc.c | 40 void *addr; variable 85 if (addr != MAP_FAILED) munmap(addr, ORI_SIZE); in main() 92 if (addr != MAP_FAILED) munmap(addr, ORI_SIZE); in main() 99 if (addr != MAP_FAILED) munmap(addr, ORI_SIZE); in main() 109 if (size == (unsigned int)OVERFLOW_SIZE && addr != MAP_FAILED) break; in main() 115 munmap(addr, ORI_SIZE); in main() 144 addr = mmap(NULL, ORI_SIZE, PROT_READ | PROT_WRITE, in thread_mmap()
|
/cts/hostsidetests/security/securityPatch/Bug-35644510/ |
D | poc.c | 116 } addr; member 150 void *addr = NULL; in leak_heap_ptr() local 151 app.app_handle = (void *)&addr; in leak_heap_ptr() 182 struct sockaddr_msm_ipc addr = {0}; in recv_msgs() local 194 msg.msg_name = &addr; in recv_msgs() 195 msg.msg_namelen = sizeof(addr); in recv_msgs() 221 struct sockaddr_msm_ipc addr = {0}; in setup_ipc_server() local 228 addr.family = AF_MSM_IPC; in setup_ipc_server() 229 addr.address.addrtype = MSM_IPC_ADDR_NAME; in setup_ipc_server() 230 addr.address.addr.port_name.service = QBT1000_SNS_SERVICE_ID; in setup_ipc_server() [all …]
|
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
D | atomic.c | 21 int32_t android_atomic_acquire_load(volatile const int32_t* addr) in android_atomic_acquire_load() argument 23 volatile atomic_int_least32_t* a = (volatile atomic_int_least32_t*)addr; in android_atomic_acquire_load() 27 void android_atomic_release_store(int32_t value, volatile int32_t* addr) in android_atomic_release_store() argument 29 volatile atomic_int_least32_t* a = (volatile atomic_int_least32_t*)addr; in android_atomic_release_store()
|
D | atomic.h | 26 int32_t android_atomic_acquire_load(volatile const int32_t* addr); 27 void android_atomic_release_store(int32_t value, volatile int32_t* addr);
|
/cts/tools/dasm/test/ |
D | all_opcodes.d | 201 add-int/2addr v1, v2 202 sub-int/2addr v1, v2 203 mul-int/2addr v1, v2 204 div-int/2addr v1, v2 205 rem-int/2addr v1, v2 206 and-int/2addr v1, v2 207 or-int/2addr v1, v2 208 xor-int/2addr v1, v2 209 shl-int/2addr v1, v2 210 shr-int/2addr v1, v2 [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/hostsidetests/security/securityPatch/Bug-37093119/ |
D | poc.c | 39 void *addr; in main() local 54 addr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in main() 55 if (addr == MAP_FAILED) { in main() 72 munmap(addr, 4096); in main()
|
/cts/hostsidetests/security/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/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 83 byte[] addr = ((Inet4Address) InetAddress.getByName(addrString)).getAddress(); in ipv4AddrToInt() 84 return ((addr[3] & 0xff) << 24) | ((addr[2] & 0xff) << 16) | in ipv4AddrToInt() 85 ((addr[1] & 0xff) << 8) | (addr[0] & 0xff); in ipv4AddrToInt()
|
/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/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NetworkLoggingTest.java | 252 private boolean isIpv4OrIpv6Address(InetAddress addr) { in isIpv4OrIpv6Address() argument 253 return ((addr instanceof Inet4Address) || (addr instanceof Inet6Address)); in isIpv4OrIpv6Address()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/shl_int_2addr/d/ |
D | T_shl_int_2addr_2.d | 16 shl-int/2addr v7, v8
|
D | T_shl_int_2addr_1.d | 16 shl-int/2addr v6, v7
|
D | T_shl_int_2addr_3.d | 16 shl-int/2addr v5, v7
|
D | T_shl_int_2addr_5.d | 16 shl-int/2addr v5, v7
|
D | T_shl_int_2addr_6.d | 16 shl-int/2addr v6, v7
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/shr_int_2addr/d/ |
D | T_shr_int_2addr_1.d | 16 shr-int/2addr v6, v7
|
D | T_shr_int_2addr_3.d | 16 shr-int/2addr v5, v7
|
D | T_shr_int_2addr_2.d | 16 shr-int/2addr v6, v8
|
D | T_shr_int_2addr_6.d | 16 shr-int/2addr v6, v7
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float_2addr/d/ |
D | T_mul_float_2addr_6.d | 16 mul-float/2addr v6, v7
|
D | T_mul_float_2addr_1.d | 16 mul-float/2addr v6, v7
|