Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/
Dpoc.c53 __u32 *handles; /* array of handles to pin/unpin */ member
66 __u32 handles; /* array of handles to pin/unpin */ member
124 …int* handles = mmap((void*)0x20000000, 0x1000, PROT_READ | PROT_WRITE , MAP_FIXED | MAP_SHARED | M… in main() local
125 memset(handles, 0x42, 0x1000); in main()
130 handles[i] = op.handle; in main()
146 pin.handles = (unsigned int) handles; in main()
149 err_pin.handles = handles; in main()
/cts/tests/tests/telecom2/src/android/telecom/cts/
DTelecomManagerNoPermissionsTest.java128 List<PhoneAccountHandle> handles = new ArrayList<>(); in testGetCallCapablePhoneAccountsAcrossProfilesPermission() local
137 assertTrue(handles.isEmpty()); in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
142 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
150 assertTrue(handles.isEmpty()); in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
155 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
165 handles.clear(); in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
168 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
176 assertTrue(handles.isEmpty()); in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
181 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/app/integration/
DPhoneAccountTest.java393 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in verifyDefaultAccountIsRegistered() local
394 assertEquals(1, handles.size()); in verifyDefaultAccountIsRegistered()
402 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in unregisterDefaultAndVerify() local
403 assertEquals(0, handles.size()); in unregisterDefaultAndVerify()
410 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in registerAcctAndVerify() local
411 assertEquals(numOfExpectedAccounts, handles.size()); // TODO:: fails here for transactional in registerAcctAndVerify()
/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountRegistrarTest.java605 List<PhoneAccountHandle> handles = mTelecomManager.getCallCapablePhoneAccounts(); in testGetCallCapablePhoneAccountsAcrossProfiles() local
611 assertEquals(handles.size(), handlesAcrossProfiles.size()); in testGetCallCapablePhoneAccountsAcrossProfiles()
635 handles = mTelecomManager.getCallCapablePhoneAccounts(); in testGetCallCapablePhoneAccountsAcrossProfiles()
641 assertEquals(handles, handlesAcrossProfiles); in testGetCallCapablePhoneAccountsAcrossProfiles()
642 assertTrue(handles.contains(handle1)); in testGetCallCapablePhoneAccountsAcrossProfiles()
643 assertTrue(handles.contains(handle2)); in testGetCallCapablePhoneAccountsAcrossProfiles()
648 handles = mTelecomManager.getCallCapablePhoneAccounts(); in testGetCallCapablePhoneAccountsAcrossProfiles()
658 assertEquals(handles, handlesAcrossProfiles); in testGetCallCapablePhoneAccountsAcrossProfiles()
659 assertEquals(handles.size() + 1, handlesAcrossProfilesWithDisabledAccount.size()); in testGetCallCapablePhoneAccountsAcrossProfiles()
660 assertTrue(handlesAcrossProfiles.containsAll(handles)); in testGetCallCapablePhoneAccountsAcrossProfiles()
[all …]
DPhoneAccountOperationsTest.java199 Set<PhoneAccountHandle> handles = new HashSet<>(2); in testRegisterPhoneAccount_simultaneousCallingRestrictions() local
200 handles.add(TEST_PHONE_ACCOUNT_HANDLE_2); in testRegisterPhoneAccount_simultaneousCallingRestrictions()
202 .setSimultaneousCallingRestriction(handles) in testRegisterPhoneAccount_simultaneousCallingRestrictions()
210 assertEquals(handles, testAcct.getSimultaneousCallingRestriction()); in testRegisterPhoneAccount_simultaneousCallingRestrictions()
221 handles.add(testPhoneAccountInvalid); in testRegisterPhoneAccount_simultaneousCallingRestrictions()
223 .setSimultaneousCallingRestriction(handles) in testRegisterPhoneAccount_simultaneousCallingRestrictions()
DTestUtils.java1017 ArrayList<PhoneAccountHandle> handles = generateRandomPhoneAccountHandles(seed, count, in generateRandomPhoneAccounts() local
1019 for (PhoneAccountHandle handle : handles) { in generateRandomPhoneAccounts()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/
Dpoc.c61 __u64 handles; /* Ptr to u32 type array, holding handles */ member
164 g_op_list.handles = (__u64)(&g_handles_for_alloc[0]); in prepare_data()
/cts/apps/CameraITS/tests/scene1_2/
Dtest_yuv_jpeg_all.py203 ax.legend(handles=[yuv_marker, jpg_marker])