/cts/tests/tests/net/jni/ |
D | NativeMultinetworkJni.cpp | 97 ns_msg handle; in extractIpAddressAnswers() local 98 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers() 101 const int ancount = ns_msg_count(handle, ns_s_an); in extractIpAddressAnswers() 109 if (ns_parserr(&handle, ns_s_an, i, &rr) < 0) { in extractIpAddressAnswers() 153 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() local 156 int fd = android_res_nquery(handle, kHostname, ns_c_in, ns_t_a, 0); in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() 162 fd = android_res_nquery(handle, kHostname, ns_c_in, ns_t_aaaa, 0); in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() 171 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() local 182 int fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 184 int fd2 = android_res_nsend(handle, buf2, len2, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | poc.c | 67 gem_close.handle = 1; in prepare() 72 cmdbufs[i].handle = 0; in prepare() 73 relocs[i].cmdbuf.handle = 0; in prepare() 75 relocs[i].target.handle = 0; in prepare() 126 cmdbufs[i].handle = gem_create.handle; in main() 127 relocs[i].cmdbuf.handle = gem_create.handle; in main() 128 relocs[i].target.handle = gem_create.handle; in main()
|
D | local_poc.h | 60 __u32 handle; member 74 __u32 handle; member 101 __u32 handle; member 105 __u32 handle; member 110 __u32 handle; member 234 __u32 handle; member 238 __u32 handle; member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | IPCThreadState.h | 63 status_t transact(int32_t handle, 67 void incStrongHandle(int32_t handle, BpBinder *proxy); 68 void decStrongHandle(int32_t handle); 69 void incWeakHandle(int32_t handle, BpBinder *proxy); 70 void decWeakHandle(int32_t handle); 71 status_t attemptIncStrongHandle(int32_t handle); 72 static void expungeHandle(int32_t handle, IBinder* binder); 73 status_t requestDeathNotification( int32_t handle, 75 status_t clearDeathNotification( int32_t handle, 109 int32_t handle,
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/ |
D | poc.c | 39 __u32 handle; /* nvmap handle */ member 50 __u32 handle; /* returns nvmap handle */ member 54 __u32 handle; /* nvmap handle */ member 126 g_allocation->handle = -1; in trigger_nvmap_create() 129 return g_allocation->handle; in trigger_nvmap_create() 132 void trigger_nvmap_alloc(int handle) { in trigger_nvmap_alloc() argument 133 g_real_alloc.handle = handle; in trigger_nvmap_alloc() 138 void trigger_nvmap_free(int handle) { in trigger_nvmap_free() argument 139 ioctl(g_fd, NVMAP_IOC_FREE, handle); in trigger_nvmap_free() 185 void trigger_rw_handle(int handle) { in trigger_rw_handle() argument
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultPhoneAccountTest.java | 54 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testDefaultIsSet() local 55 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testDefaultIsSet() 85 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testSetUserSelectedOutgoingPhoneAccount() local 86 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testSetUserSelectedOutgoingPhoneAccount() 134 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingNoUserSelected() local 135 assertEquals(null, handle); in testGetDefaultOutgoingNoUserSelected() 180 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingPhoneAccountOneOrMany() local 181 assertEquals(null, handle); in testGetDefaultOutgoingPhoneAccountOneOrMany() 194 handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingPhoneAccountOneOrMany() 195 assertEquals(null, handle); in testGetDefaultOutgoingPhoneAccountOneOrMany()
|
D | TestUtils.java | 308 PhoneAccountHandle handle) throws Exception { in enablePhoneAccount() argument 309 final ComponentName component = handle.getComponentName(); in enablePhoneAccount() 313 + handle.getId() + " " + currentUserSerial); in enablePhoneAccount() 317 PhoneAccountHandle handle, String label, String address) throws Exception { in registerSimPhoneAccount() argument 318 final ComponentName component = handle.getComponentName(); in registerSimPhoneAccount() 322 + handle.getId() + " " + currentUserSerial + " " + label + " " + address); in registerSimPhoneAccount() 326 PhoneAccountHandle handle, String label, String address) throws Exception { in registerEmergencyPhoneAccount() argument 327 final ComponentName component = handle.getComponentName(); in registerEmergencyPhoneAccount() 331 + handle.getId() + " " + currentUserSerial + " " + label + " " + address); in registerEmergencyPhoneAccount() 335 PhoneAccountHandle handle) throws Exception { in setDefaultOutgoingPhoneAccount() argument [all …]
|
D | SelfManagedConnectionServiceTest.java | 125 private void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument 127 assertPhoneAccountRegistered(handle); in verifyAccountRegistration() 128 assertPhoneAccountEnabled(handle); in verifyAccountRegistration() 129 PhoneAccount registeredAccount = mTelecomManager.getPhoneAccount(handle); in verifyAccountRegistration() 234 private void addAndVerifyIncomingCall(PhoneAccountHandle handle, Uri address) in addAndVerifyIncomingCall() argument 236 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, handle, address); in addAndVerifyIncomingCall() local 260 setDisconnectedAndVerify(connection, isLoggedCall(handle), callLogEntryLatch); in addAndVerifyIncomingCall() 370 … private void placeAndVerifyOutgoingCall(PhoneAccountHandle handle, Uri address) throws Exception { in placeAndVerifyOutgoingCall() argument 372 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, handle, address); in placeAndVerifyOutgoingCall() local 405 setDisconnectedAndVerify(connection, isLoggedCall(handle), callLogEntryLatch); in placeAndVerifyOutgoingCall()
|
D | PhoneAccountOperationsTest.java | 55 public void onPhoneAccountRegistered(PhoneAccountHandle handle) { 56 mPhoneAccountRegisteredLatch.invoke(handle); 60 public void onPhoneAccountUnregistered(PhoneAccountHandle handle) { 61 mPhoneAccountUnRegisteredLatch.invoke(handle); 294 PhoneAccountHandle handle = in testRegisterUnregisterPhoneAccountIntent() local 296 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, handle); in testRegisterUnregisterPhoneAccountIntent()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 241 NativeHandle handle = new NativeHandle(); in testEmptyNativeHandle() local 243 assertFalse(handle.hasSingleFileDescriptor()); in testEmptyNativeHandle() 244 assertArrayEquals(new FileDescriptor[]{}, handle.getFileDescriptors()); in testEmptyNativeHandle() 245 assertArrayEquals(new int[]{}, handle.getInts()); in testEmptyNativeHandle() 247 handle.close(); in testEmptyNativeHandle() 252 NativeHandle handle = new NativeHandle(); in testEmptyHandleInvalidatedAfterClose() local 253 handle.close(); in testEmptyHandleInvalidatedAfterClose() 254 handle.close(); in testEmptyHandleInvalidatedAfterClose() 259 NativeHandle handle = new NativeHandle(); in testEmptyHandleHasNoSingleFileDescriptor() local 260 handle.getFileDescriptor(); in testEmptyHandleHasNoSingleFileDescriptor() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | local_poc.h | 59 void* handle; member 101 uint32_t handle; member 111 uint32_t handle; member 121 uint32_t handle; member 155 uint32_t handle; member 169 uint32_t handle; member 229 __u32 handle; member 233 __u32 handle; member 284 __u32 handle; member 292 __u32 handle; member [all …]
|
D | poc.c | 60 return new_arg.info.handle; in nouveau_gem_ioctl_new() 63 static void nouveau_gem_ioctl_map(int fd, uint32_t handle) { in nouveau_gem_ioctl_map() argument 66 map_arg.handle = handle; in nouveau_gem_ioctl_map() 87 uint32_t handle = nouveau_gem_ioctl_new(fd); in main() local 90 nouveau_gem_ioctl_map(fd, handle); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/ |
D | poc.c | 58 __u32 handle; /* returns nvmap handle */ member 61 __u32 handle; /* nvmap handle */ member 134 return g_nvmap_hdl.handle; in trigger_nvmap_create() 138 int data = g_nvmap_hdl.handle; in trigger_nvmap_free() 141 void trigger_nvmap_alloc(int handle) { in trigger_nvmap_alloc() argument 145 g_real_alloc.handle = handle; in trigger_nvmap_alloc() 150 g_error_notifier.mem = g_nvmap_hdl.handle; in prepare_data()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/ |
D | poc.c | 58 __u32 handle; member 77 __u32 handle; member 126 int handle; member 130 int handle; member 164 g_gem_handle = para.handle; in gem_create() 168 para.handle = g_gem_handle; in handle_to_fd() 176 g_ion_handle = para.handle; in ion_import() 180 para.handle = g_ion_handle; in ion_handle_free()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/ |
D | poc.c | 78 cmdbufs[i].handle = gem_create.handle; in main() 79 relocs[i].cmdbuf.handle = gem_create.handle; in main() 81 relocs[i].target.handle = gem_create.handle; in main()
|
D | local_poc.h | 60 __u32 handle; member 74 __u32 handle; member 101 __u32 handle; member 105 __u32 handle; member 110 __u32 handle; member 234 __u32 handle; member 238 __u32 handle; member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/ |
D | poc.c | 38 __u32 handle; /* nvmap handle */ member 49 __u32 handle; /* returns nvmap handle */ member 59 __u32 handle; /* nvmap handle */ member 72 __u32 handle; /* nvmap handle */ member 130 handles[i] = op.handle; in main() 133 alloc.handle = op.handle; in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/ |
D | poc.c | 59 __u32 handle; /* nvmap handle */ member 70 __u32 handle; /* returns nvmap handle */ member 74 __u32 handle; /* nvmap handle */ member 119 alloc.handle = g_allocation->handle; in trigger_nvmap_alloc() 141 g_allocation->handle = -1; in prepare_data()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_mmap.cpp | 85 void *handle; in loadMMapTestFunctions() local 86 handle = dlopen("libaaudio.so", RTLD_NOW); in loadMMapTestFunctions() 87 EXPECT_NE(nullptr, handle); in loadMMapTestFunctions() 88 s_setMMapPolicy = (int (*)(int)) dlsym(handle, "AAudio_setMMapPolicy"); in loadMMapTestFunctions() 90 s_getMMapPolicy = (int (*)()) dlsym(handle, "AAudio_getMMapPolicy"); in loadMMapTestFunctions()
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_BasicLoaderTest.cpp | 39 void* handle = dlopen(kTestLibName, RTLD_NOW); in run_test() local 40 if (handle == nullptr) { in run_test() 45 void* taxicab_number = dlsym(handle, "dlopen_testlib_taxicab_number"); in run_test() 51 dlclose(handle); in run_test()
|
/cts/hostsidetests/securitybulletin/securityPatch/pac/ |
D | pac.cpp | 34 ProxyResolverV8Handle* handle = ProxyResolverV8Handle_new(); in main() local 52 ProxyResolverV8Handle_SetPacScript(handle, u16Script.data()); in main() 53 ProxyResolverV8Handle_GetProxyForURL(handle, spec, host); in main() 55 ProxyResolverV8Handle_delete(handle); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 49 uint32_t handle; member 65 uint32_t handle; member 79 uint32_t handle; member 140 uint32_t handle; member 145 uint32_t handle; member 172 uint32_t handle; member 182 uint32_t handle; member
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SlidingDrawerTest.java | 105 View handle = mDrawer.getHandle(); in testGetHandle() local 106 assertTrue(handle instanceof ImageView); in testGetHandle() 107 assertEquals(R.id.handle, handle.getId()); in testGetHandle() 200 View handle = mDrawer.getHandle(); in testLockAndUnlock() local 205 handle.performClick(); in testLockAndUnlock() 209 handle.performClick(); in testLockAndUnlock() 214 handle.performClick(); in testLockAndUnlock() 219 handle.performClick(); in testLockAndUnlock()
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 66 PhoneAccountHandle handle = getPhoneAccountHandle(); in testUnregisterPhoneAccount() local 67 mTelecomManager.unregisterPhoneAccount(handle); in testUnregisterPhoneAccount() 68 assertPhoneAccountRegistered(handle, false); in testUnregisterPhoneAccount() 142 private void assertPhoneAccountRegistered(final PhoneAccountHandle handle, in assertPhoneAccountRegistered() argument 153 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountRegistered() 158 "Phone account registered for " + handle in assertPhoneAccountRegistered()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 47 __u32 handle; /* returns nvmap handle */ member 62 __u32 handle; /* nvmap handle */ member 176 LOG("[+] NVMAP_IOC_CREATE succeeded, fd = %d", args.handle); in main() 178 dma1 = args.handle; in main() 180 alloc.handle = dma1; in main()
|