/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/tests/signature/lib/common/src/android/signature/cts/ |
D | ExpectedFailuresFilter.java | 33 private final ResultObserver delegate; field in ExpectedFailuresFilter 45 public ExpectedFailuresFilter(ResultObserver delegate, Collection<String> expected) { in ExpectedFailuresFilter() argument 46 this.delegate = delegate; in ExpectedFailuresFilter() 57 delegate.notifyFailure(type, name, errorMessage, throwable); in notifyFailure()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | SipDelegateManagerTest.java | 137 public TestSipDelegate delegate; field in SipDelegateManagerTest.TransportInterfaces 157 delegate = createSipDelegateConnectionAndVerify(manager, delegateConn, in connect() 159 assertNotNull(delegate); in connect() 170 verifyRegisteredAndSendSipConfig(delegateConn, delegate, request.getFeatureTags(), in connect() 182 verifyOutgoingTransport(delegateConn, delegate); in connectAndVerify() 183 verifyIncomingTransport(delegateConn, delegate); in connectAndVerify() 448 ifaces.delegate.verifyCleanupSession(attr.callId); in testSipDialogStateChanges() 846 TestSipDelegate delegate = createSipDelegateConnectionAndVerify(manager, delegateConn, in testImsServiceDisconnected() local 848 assertNotNull(delegate); in testImsServiceDisconnected() 857 verifyRegisteredAndSendSipConfig(delegateConn, delegate, request.getFeatureTags(), in testImsServiceDisconnected() [all …]
|
D | TestSipTransport.java | 79 public void destroySipDelegate(@NonNull SipDelegate delegate, int reason) { in destroySipDelegate() argument 80 if (delegate instanceof TestSipDelegate) { in destroySipDelegate() 82 mDelegates.remove(delegate); in destroySipDelegate()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomView.java | 66 void setContentCaptureDelegate(@NonNull Visitor<ViewStructure> delegate) { in setContentCaptureDelegate() argument 67 mDelegate = delegate; in setContentCaptureDelegate()
|
D | CustomViewActivity.java | 65 static void setCustomViewDelegate(@NonNull DoubleVisitor<CustomView, ViewStructure> delegate) { in setCustomViewDelegate() argument 66 sCustomViewDelegate = delegate; in setCustomViewDelegate()
|
D | CustomViewActivityTest.java | 638 @NonNull DoubleVisitor<CustomView, ViewStructure> delegate) { in setAsyncDelegate() argument 643 delegate.visit(customView, structure); in setAsyncDelegate()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityDelegateTest.java | 76 AccessibilityDelegate delegate = new AccessibilityDelegate(); in testAccessibilityDelegateGetAndSet() local 77 mParentView.setAccessibilityDelegate(delegate); in testAccessibilityDelegateGetAndSet() 78 assertThat(mParentView.getAccessibilityDelegate(), is(equalTo(delegate))); in testAccessibilityDelegateGetAndSet()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityDragAndDropActivity.java | 34 View.AccessibilityDelegate delegate = new View.AccessibilityDelegate() { in onCreate() local 54 text.setAccessibilityDelegate(delegate); in onCreate()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewPropertyAnimatorTests.java | 504 ViewPropertyAnimatorTestDelegate delegate) { in runViewPropertyAnimatorTestWithoutVerification() argument 505 createViewPropertyAnimatorTest(delegate).runWithoutVerification(); in runViewPropertyAnimatorTestWithoutVerification() 509 final ViewPropertyAnimatorTestDelegate delegate) { in createViewPropertyAnimatorTest() argument 514 delegate.configureView(alphaView); in createViewPropertyAnimatorTest() 518 delegate.configureAnimator(animator); in createViewPropertyAnimatorTest() 524 delegate.verifyViewState(alphaView); in createViewPropertyAnimatorTest()
|
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/ |
D | EnterpriseComponent.kt | 71 val delegate = RemoteDelegate(RemoteDelegate.sTestApp, deviceState.dpc().user()) in ensureHasDelegate() constant 74 delegate.packageName(), in ensureHasDelegate() 79 primaryPolicyManager = delegate in ensureHasDelegate()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | AppRestrictionsIsCallerDelegateHelper.java | 17 package com.android.cts.delegate;
|
D | BaseJUnit3TestCase.java | 16 package com.android.cts.delegate;
|
D | WorkProfileNetworkLoggingDelegateTest.java | 17 package com.android.cts.delegate; 19 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | SecurityLoggingDelegateTest.java | 17 package com.android.cts.delegate; 22 import static com.android.cts.delegate.DelegateTestUtils.assertExpectException;
|
D | BaseTestCase.java | 16 package com.android.cts.delegate;
|
D | DelegatedScopesReceiverActivity.java | 16 package com.android.cts.delegate;
|
D | DelegateTestUtils.java | 16 package com.android.cts.delegate;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionDefaultMethodTest.java | 205 TestInputConnection(InputConnection delegate) { in TestInputConnection() argument 206 mDelegate = delegate; in TestInputConnection()
|
D | StylusHandwritingTest.java | 1736 EditText delegate = 1738 TestUtils.waitOnMainUntil(() -> delegate.getText().toString().equals("abc"), 1800 EditText delegate = 1802 TestUtils.waitOnMainUntil(() -> delegate.getText().toString().equals("abc"),
|
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/ |
D | ProxyVoiceInteractionService.java | 471 HotwordDetectorCallbackAdapter(IProxyDetectorCallback delegate) { in HotwordDetectorCallbackAdapter() argument 472 mDelegate = delegate; in HotwordDetectorCallbackAdapter()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 436 TouchDelegate delegate = spy(new TouchDelegate(rect, button)); in testAccessTouchDelegate() local 440 view.setTouchDelegate(delegate); in testAccessTouchDelegate() 441 assertSame(delegate, view.getTouchDelegate()); in testAccessTouchDelegate() 442 verify(delegate, never()).onTouchEvent(any()); in testAccessTouchDelegate() 445 verify(delegate, times(1)).onTouchEvent(any()); in testAccessTouchDelegate() 449 verifyZeroInteractions(delegate); in testAccessTouchDelegate()
|