Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 62) sorted by relevance

123

/cts/tests/tests/os/src/android/os/cts/
DHidlMemoryTest.java35 NativeHandle handle = new NativeHandle(); in testAccessors() local
44 NativeHandle handle = new NativeHandle(); in testClose() local
59 NativeHandle handle = new NativeHandle(); in testRelease() local
71 NativeHandle handle = new NativeHandle(); in testDup() local
97 private static boolean isHandleClosed(NativeHandle handle) { in isHandleClosed()
DHwBinderTest.java251 NativeHandle handle = new NativeHandle(); in testEmptyNativeHandle() local
262 NativeHandle handle = new NativeHandle(); in testEmptyHandleInvalidatedAfterClose() local
269 NativeHandle handle = new NativeHandle(); in testEmptyHandleHasNoSingleFileDescriptor() local
275 NativeHandle handle = new NativeHandle( in testFullHandleHasNoSingleFileDescriptor() local
283 NativeHandle handle = new NativeHandle(FileDescriptor.in, false /*own*/); in testSingleFileDescriptor() local
/cts/tests/tests/app/src/android/app/cts/
DKeyguardWeakEscrowTokenTest.java98 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, mTestExecutor, in testAddWeakEscrowToken_noCredentialSetUp_tokenActivatedImmediately() local
121 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, mTestExecutor, in testAddWeakEscrowToken_hasCredentialSetUp_tokenActivatedAfterVerification() local
143 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, mTestExecutor, in testRemoveWeakEscrowToken_tokenRemoved() local
164 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, in testRegisterWeakEscrowTokenRemovedListener_listenerRegistered() local
200 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, mTestExecutor, in testWeakEscrowTokenRemovedWhenCredentialChanged() local
220 long handle = mKeyguardManager.addWeakEscrowToken(mTestToken1, mTestUser, mTestExecutor, in testAutoEscrowTokenRemovedWhenCredentialRemoved() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DDefaultPhoneAccountTest.java74 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testDefaultIsSet() local
105 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testSetUserSelectedOutgoingPhoneAccount() local
154 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingNoUserSelected() local
200 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingPhoneAccountOneOrMany() local
362 private void placeAndVerifySelfManagedCall(PhoneAccountHandle handle, Uri address) in placeAndVerifySelfManagedCall()
367 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, handle, address); in placeAndVerifySelfManagedCall() local
DMockPhoneAccountChangedReceiver.java31 void onPhoneAccountRegistered(PhoneAccountHandle handle); in onPhoneAccountRegistered()
32 void onPhoneAccountUnregistered(PhoneAccountHandle handle); in onPhoneAccountUnregistered()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13234/
Dpoc.c29 int EAS_fread(void *handle, void *buf, int offset, int size) { in EAS_fread()
34 int EAS_fsize(void *handle) { in EAS_fsize()
40 EAS_HANDLE handle; in PlayFile() local
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/
DICtsSelfManagedConnectionServiceControl.aidl33 boolean initiateIncomingCall(in PhoneAccountHandle handle, in String uri); in initiateIncomingCall()
34 boolean placeOutgoingCall(in PhoneAccountHandle handle, in String uri); in placeOutgoingCall()
35 boolean placeIncomingCall(in PhoneAccountHandle handle, in placeIncomingCall()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dpoc.c63 static void nouveau_gem_ioctl_map(int fd, uint32_t handle) { in nouveau_gem_ioctl_map()
87 uint32_t handle = nouveau_gem_ioctl_new(fd); in main() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/
Dpoc.c39 __u32 handle; /* nvmap handle */ member
50 __u32 handle; /* returns nvmap handle */ member
54 __u32 handle; /* nvmap handle */ member
132 void trigger_nvmap_alloc(int handle) { in trigger_nvmap_alloc()
138 void trigger_nvmap_free(int handle) { in trigger_nvmap_free()
185 void trigger_rw_handle(int handle) { in trigger_rw_handle()
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DConnectionServiceCallController.java76 PhoneAccountHandle handle, String uri) { in initiateIncomingCall()
92 PhoneAccountHandle handle, String uri) { in placeOutgoingCall()
115 PhoneAccountHandle handle, String uri, int videoState) { in placeIncomingCall()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java107 UUID handle = pictureUploadHelper(testFile, null, -1); in testUploadPictureWithFile() local
119 UUID handle = pictureUploadHelper(null, inputStream, -1); in testUploadPictureAsStream() local
224 private void checkStoredData(UUID handle, byte[] expectedData) throws Exception { in checkStoredData()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-40114/
Dpoc.cpp36 std::unique_ptr<IMtpHandle> handle(new MtpFfsCompatHandle(controlFd)); in main() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0318/
Dpoc.cpp27 void poc(int handle) { in poc()
112 int32_t handle = s.getHandle(); in get_sensor_list() local
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_BasicLoaderTest.cpp41 void* handle = dlopen(kTestLibName, RTLD_NOW); in run_test() local
/cts/hostsidetests/securitybulletin/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
/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java113 View handle = mDrawer.getHandle(); in testGetHandle() local
208 View handle = mDrawer.getHandle(); in testLockAndUnlock() local
/cts/tests/tests/telecom/CallRedirectionServiceTestApp/src/android/telecom/cts/redirectiontestapp/
DCtsCallRedirectionService.java41 public void onPlaceCall(Uri handle, PhoneAccountHandle initialPhoneAccount, in onPlaceCall()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0490/
Dpoc.cpp100 int handle; member
109 int handle; member
113 int handle; member
147 int handle; member
157 int handle; member
186 void *handle; member
211 int handle; member
243 struct ion_handle_data handle; member
341 int handle = alloc_handle(ION_HEAP_TYPE_MULTIMEDIA_PA2MVA, 0x40080000); in poc_write_kernel() local
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DShellCommandExecutor.java99 PhoneAccountHandle handle) throws Exception { in enablePhoneAccount()
107 private static long getUserSerialNumber(Instrumentation instrumentation, UserHandle handle) { in getUserSerialNumber()
DAttributesUtil.java82 public static CallAttributes getDefaultAttributesForManaged(PhoneAccountHandle handle, in getDefaultAttributesForManaged()
97 public static CallAttributes getRandomAttributesForManaged(PhoneAccountHandle handle, in getRandomAttributesForManaged()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/jni/
Dnumber_providers.cpp32 void *handle; in get_number() local
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DCallBlockingTest.java66 PhoneAccountHandle handle = getPhoneAccountHandle(); in testUnregisterPhoneAccount() local
142 private void assertPhoneAccountRegistered(final PhoneAccountHandle handle, in assertPhoneAccountRegistered()
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20129/
DCVE_2022_20129.java72 PhoneAccountHandle handle = in testPocCVE_2022_20129() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/
Dpoc.c59 __u32 handle; /* nvmap handle */ member
70 __u32 handle; /* returns nvmap handle */ member
74 __u32 handle; /* nvmap handle */ member
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/
DBaseAppVerifier.java314 PhoneAccountHandle handle) throws Exception { in unregisterPhoneAccountWithHandle()
323 public void verifyCallPhoneAccount(String id, PhoneAccountHandle handle) { in verifyCallPhoneAccount()
334 public void setUserDefaultPhoneAccountOverride(PhoneAccountHandle handle) throws Exception { in setUserDefaultPhoneAccountOverride()
338 public boolean isPhoneAccountRegistered(PhoneAccountHandle handle) { in isPhoneAccountRegistered()
375 public void updateManagedPhoneAccountWithRestriction(PhoneAccountHandle handle, in updateManagedPhoneAccountWithRestriction()

123