Home
last modified time | relevance | path

Searched refs:delegate (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DSyncAdapter.java34 AbstractThreadedSyncAdapter delegate = mock(AbstractThreadedSyncAdapter.class); in setNewDelegate() local
35 when(delegate.onUnsyncableAccount()).thenCallRealMethod(); in setNewDelegate()
38 mDelegate = delegate; in setNewDelegate()
41 return delegate; in setNewDelegate()
57 AbstractThreadedSyncAdapter delegate = getCopyOfDelegate(); in onPerformSync() local
59 if (delegate != null) { in onPerformSync()
60 delegate.onPerformSync(account, extras, authority, provider, syncResult); in onPerformSync()
66 AbstractThreadedSyncAdapter delegate = getCopyOfDelegate(); in onUnsyncableAccount() local
68 if (delegate == null) { in onUnsyncableAccount()
71 return delegate.onUnsyncableAccount(); in onUnsyncableAccount()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DBlockUninstallDelegateTest.java16 package com.android.cts.delegate;
19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DEnableSystemAppDelegateTest.java16 package com.android.cts.delegate;
22 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DPackageAccessDelegateTest.java16 package com.android.cts.delegate;
19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DPermissionGrantDelegateTest.java16 package com.android.cts.delegate;
23 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DDelegateTestUtils.java16 package com.android.cts.delegate;
DCertInstallDelegateTest.java16 package com.android.cts.delegate;
19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DAppRestrictionsDelegateTest.java16 package com.android.cts.delegate;
19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
DDelegatedScopesReceiverActivity.java16 package com.android.cts.delegate;
DGeneralDelegateTest.java16 package com.android.cts.delegate;
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java399 TouchDelegate delegate = spy(new TouchDelegate(rect, button)); in testAccessTouchDelegate() local
403 view.setTouchDelegate(delegate); in testAccessTouchDelegate()
404 assertSame(delegate, view.getTouchDelegate()); in testAccessTouchDelegate()
405 verify(delegate, never()).onTouchEvent(any()); in testAccessTouchDelegate()
408 verify(delegate, times(1)).onTouchEvent(any()); in testAccessTouchDelegate()