Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 31) sorted by relevance

12

/cts/hostsidetests/security/securityPatch/CVE-2017-6262/
Dpoc.c65 return new_arg.info.handle; in nouveau_gem_ioctl_new()
70 uint32_t handle; in get_gem_map_handle() local
72 handle = nouveau_gem_ioctl_new(fd); in get_gem_map_handle()
74 return handle; in get_gem_map_handle()
77 static void nouveau_gem_ioctl_map(int fd, uint32_t handle) in nouveau_gem_ioctl_map() argument
82 map_arg.handle = handle; in nouveau_gem_ioctl_map()
103 uint32_t handle = get_gem_map_handle(fd); in looploop() local
105 nouveau_gem_ioctl_map(fd, handle); in looploop()
106 nouveau_gem_ioctl_map(fd, handle); in looploop()
107 nouveau_gem_ioctl_map(fd, handle); in looploop()
[all …]
Dlocal_poc.h59 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 …]
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/
Dpoc.c67 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()
Dlocal_poc.h60 __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/security/securityPatch/CVE-2016-8428/
Dpoc.c39 __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/net/jni/
DNativeMultinetworkJni.c42 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck() local
46 int rval = android_getaddrinfofornetwork(handle, kHostname, NULL, NULL, &res); in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck()
51 handle, kHostname, rval, saved_errno); in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck()
59 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork() local
62 int rval = android_setprocnetwork(handle); in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork()
65 handle, rval, saved_errno); in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork()
73 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() local
83 int rval = android_setsocknetwork(handle, fd); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork()
86 handle, fd, rval, saved_errno); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork()
126 net_handle_t handle = (net_handle_t) nethandle; in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() local
[all …]
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/
Dpoc.c78 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()
Dlocal_poc.h60 __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/tests/tests/jni/libjnitest/
Dandroid_jni_cts_BasicLoaderTest.cpp39 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()
Dandroid_jni_cts_LinkerNamespacesTest.cpp110 std::unique_ptr<void, decltype(&dlclose)> handle(dlopen(path.c_str(), RTLD_NOW), dlclose); in check_lib() local
121 if (handle.get() == nullptr) { in check_lib()
126 } else if (handle.get() != nullptr) { in check_lib()
288 void* handle = dlopen(library.c_str(), RTLD_NOW); in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
289 if (handle == nullptr) { in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
297 dlclose(handle); in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
/cts/hostsidetests/security/securityPatch/CVE-2017-0508/
Dpoc.c58 __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/security/securityPatch/CVE-2016-8430/
Dpoc.c58 __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/security/securityPatch/CVE-2016-8460/
Dpoc.c38 __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/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_mmap.cpp85 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/hostsidetests/security/securityPatch/CVE-2016-8429/
Dpoc.c59 __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/hostsidetests/security/securityPatch/CVE-2017-0333/
Dlocal_poc.h33 uint32_t handle; member
49 uint32_t handle; member
63 uint32_t handle; member
124 uint32_t handle; member
129 uint32_t handle; member
156 uint32_t handle; member
166 uint32_t handle; member
/cts/tests/tests/jni_vendor/libvendorjnitest/
Dandroid_jni_vendor_cts_VendorJniTest.cpp25 void* handle = dlopen(libname, RTLD_NOW); in Java_android_jni_vendor_cts_VendorJniTest_dlopen() local
27 if (handle == nullptr) { in Java_android_jni_vendor_cts_VendorJniTest_dlopen()
/cts/hostsidetests/security/securityPatch/CVE-2016-8482/
Dpoc.c47 __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()
/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java104 View handle = mDrawer.getHandle(); in testGetHandle() local
105 assertTrue(handle instanceof ImageView); in testGetHandle()
106 assertEquals(R.id.handle, handle.getId()); in testGetHandle()
199 View handle = mDrawer.getHandle(); in testLockAndUnlock() local
204 handle.performClick(); in testLockAndUnlock()
208 handle.performClick(); in testLockAndUnlock()
213 handle.performClick(); in testLockAndUnlock()
218 handle.performClick(); in testLockAndUnlock()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockPhoneAccountChangedReceiver.java31 void onPhoneAccountRegistered(PhoneAccountHandle handle); in onPhoneAccountRegistered() argument
32 void onPhoneAccountUnregistered(PhoneAccountHandle handle); in onPhoneAccountUnregistered() argument
DPhoneAccountOperationsTest.java52 public void onPhoneAccountRegistered(PhoneAccountHandle handle) {
53 mPhoneAccountRegisteredLatch.invoke(handle);
57 public void onPhoneAccountUnregistered(PhoneAccountHandle handle) {
58 mPhoneAccountUnRegisteredLatch.invoke(handle);
270 PhoneAccountHandle handle = in testRegisterUnregisterPhoneAccountIntent() local
272 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, handle); in testRegisterUnregisterPhoneAccountIntent()
DSelfManagedConnectionServiceTest.java115 private void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument
117 assertPhoneAccountRegistered(handle); in verifyAccountRegistration()
118 assertPhoneAccountEnabled(handle); in verifyAccountRegistration()
119 PhoneAccount registeredAccount = mTelecomManager.getPhoneAccount(handle); in verifyAccountRegistration()
224 private void addAndVerifyIncomingCall(PhoneAccountHandle handle, Uri address) in addAndVerifyIncomingCall() argument
226 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, handle, address); in addAndVerifyIncomingCall() local
293 … private void placeAndVerifyOutgoingCall(PhoneAccountHandle handle, Uri address) throws Exception { in placeAndVerifyOutgoingCall() argument
295 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, handle, address); in placeAndVerifyOutgoingCall() local
DTestUtils.java211 PhoneAccountHandle handle) throws Exception { in enablePhoneAccount() argument
212 final ComponentName component = handle.getComponentName(); in enablePhoneAccount()
215 + handle.getId() + " " + PRIMARY_USER_SN); in enablePhoneAccount()
219 PhoneAccountHandle handle, String label, String address) throws Exception { in registerSimPhoneAccount() argument
220 final ComponentName component = handle.getComponentName(); in registerSimPhoneAccount()
223 + handle.getId() + " " + PRIMARY_USER_SN + " " + label + " " + address); in registerSimPhoneAccount()
327 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument
333 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()
365 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument
369 extras.putParcelable(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, handle); in placeOutgoingCall()
DCallScreeningServiceTest.java147 private void assertPhoneAccountEnabled(final PhoneAccountHandle handle) {
157 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
162 "Phone account enable failed for " + handle
/cts/hostsidetests/security/securityPatch/CVE-2016-8424/
Dpoc.c40 __u32 handle; /* nvmap handle */ member
51 __u32 handle; /* returns nvmap handle */ member

12