/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | SyncAdapter.java | 34 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/ |
D | BlockUninstallDelegateTest.java | 16 package com.android.cts.delegate; 19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | EnableSystemAppDelegateTest.java | 16 package com.android.cts.delegate; 22 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | PermissionGrantDelegateTest.java | 16 package com.android.cts.delegate; 23 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | PackageAccessDelegateTest.java | 16 package com.android.cts.delegate; 19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | NetworkLoggingDelegateTest.java | 16 package com.android.cts.delegate; 18 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | AppRestrictionsIsCallerDelegateHelper.java | 17 package com.android.cts.delegate;
|
D | AppRestrictionsDelegateTest.java | 16 package com.android.cts.delegate; 19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | CertInstallDelegateTest.java | 16 package com.android.cts.delegate; 19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | DelegateTestUtils.java | 16 package com.android.cts.delegate;
|
D | GeneralDelegateTest.java | 16 package com.android.cts.delegate;
|
D | DelegatedScopesReceiverActivity.java | 16 package com.android.cts.delegate;
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityDelegateTest.java | 66 AccessibilityDelegate delegate = new AccessibilityDelegate(); in testAccessibilityDelegateGetAndSet() local 67 mParentView.setAccessibilityDelegate(delegate); in testAccessibilityDelegateGetAndSet() 68 assertThat(mParentView.getAccessibilityDelegate(), is(equalTo(delegate))); in testAccessibilityDelegateGetAndSet()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomView.java | 74 void setContentCaptureDelegate(@NonNull Visitor<ViewStructure> delegate) { in setContentCaptureDelegate() argument 75 mDelegate = delegate; in setContentCaptureDelegate()
|
D | CustomViewActivity.java | 61 static void setCustomViewDelegate(@NonNull DoubleVisitor<CustomView, ViewStructure> delegate) { in setCustomViewDelegate() argument 62 sCustomViewDelegate = delegate; in setCustomViewDelegate()
|
D | CustomViewActivityTest.java | 547 @NonNull DoubleVisitor<CustomView, ViewStructure> delegate) { in setAsyncDelegate() argument 552 delegate.visit(customView, structure); in setAsyncDelegate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 408 TouchDelegate delegate = spy(new TouchDelegate(rect, button)); in testAccessTouchDelegate() local 412 view.setTouchDelegate(delegate); in testAccessTouchDelegate() 413 assertSame(delegate, view.getTouchDelegate()); in testAccessTouchDelegate() 414 verify(delegate, never()).onTouchEvent(any()); in testAccessTouchDelegate() 417 verify(delegate, times(1)).onTouchEvent(any()); in testAccessTouchDelegate() 421 verifyZeroInteractions(delegate); in testAccessTouchDelegate()
|