/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/ |
D | BookStyleDeviceStatePolicyTest.java | 243 mProvider.setListener(mListener); in test_noSensorEventsYet_reportOpenedState() 250 mProvider.setListener(mListener); in test_deviceClosedSensorEventsBecameAvailable_reportsClosedState() 263 mProvider.setListener(mListener); in test_hingeAngleClosed_reportsClosedState() 272 mProvider.setListener(mListener); in test_hingeAngleFullyOpened_reportsOpenedState() 280 mProvider.setListener(mListener); in test_unfoldingFromClosedToFullyOpened_reportsOpenedEvent() 295 mProvider.setListener(mListener); in test_foldingFromFullyOpenToFullyClosed_movesToClosedState() 303 mProvider.setListener(mListener); in test_slowUnfolding_reportsEventsInOrder() 322 mProvider.setListener(mListener); in test_slowFolding_reportsEventsInOrder() 342 mProvider.setListener(mListener); in test_hingeAngleOpen_screenOff_reportsHalfFolded() 357 mProvider.setListener(mListener); in test_slowUnfoldingWithScreenOff_reportsEventsInOrder() [all …]
|
D | FoldableDeviceStateProviderTest.java | 152 mProvider.setListener(listener); in create_allMatchingStatesDefaultsToTheFirstIdentifier() 177 mProvider.setListener(listener); in create_multipleMatchingStatesDefaultsToTheLowestIdentifier() 190 mProvider.setListener(listener); in test_hingeAngleUpdatedFirstTime_switchesToMatchingState() 207 mProvider.setListener(listener); in test_hallSensorUpdatedFirstTime_switchesToMatchingState() 226 mProvider.setListener(listener); in test_hingeAngleUpdatedSecondTime_switchesToMatchingState() 245 mProvider.setListener(listener); in test_hallSensorUpdatedSecondTime_switchesToMatchingState() 264 mProvider.setListener(listener); in test_invalidSensorValues_onStateChangedIsNotTriggered() 301 mProvider.setListener(listener); 356 mProvider.setListener(listener); in test_flagDisableWhenPowerSaveEnabled() 413 mProvider.setListener(listener); in test_previousStateBasedPredicate() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleDataTest.java | 214 mBubbleData.setListener(mListener); in testAddBubble() 228 mBubbleData.setListener(mListener); in testAddAppBubble_setsTime() 247 mBubbleData.setListener(mListener); in testRemoveBubble() 260 mBubbleData.setListener(mListener); in ifSuppress_hideFlyout() 275 mBubbleData.setListener(mListener); in ifInterruptiveAndNotSuppressed_thenShowFlyout() 290 mBubbleData.setListener(mListener); in sameUpdate_InShade_thenHideFlyout() 309 mBubbleData.setListener(mListener); in sameUpdate_NotInShade_NotVisuallyInterruptive_dontShowFlyout() 343 mBubbleData.setListener(mListener); in testOverflow_add_stackAtMaxBubbles_overflowsOldest() 369 mBubbleData.setListener(mListener); in testOverflow_maxReached_bubbleRemoved() 395 mBubbleData.setListener(mListener); in testOverflow_notifCanceled_removesOverflowBubble() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | GlobalDragListenerTest.kt | 60 mController.setListener(object : GlobalDragListenerCallback {}) in setListener_registersUnregistersWithWM() 61 mController.setListener(object : GlobalDragListenerCallback {}) in setListener_registersUnregistersWithWM() 62 mController.setListener(object : GlobalDragListenerCallback {}) in setListener_registersUnregistersWithWM() 67 mController.setListener(null) in setListener_registersUnregistersWithWM() 68 mController.setListener(null) in setListener_registersUnregistersWithWM() 69 mController.setListener(null) in setListener_registersUnregistersWithWM() 90 mController.setListener(object : GlobalDragListenerCallback { in onUnhandledDrop_withListener_expectNotifyHandled() 116 mController.setListener(object : GlobalDragListenerCallback { in onCrossWindowDrop()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_animation_RenderNodeAnimator.cpp | 105 animator->setListener(&sLifecycleChecker); in createAnimator() 113 animator->setListener(&sLifecycleChecker); in createCanvasPropertyFloatAnimator() 124 animator->setListener(&sLifecycleChecker); in createCanvasPropertyPaintAnimator() 131 animator->setListener(&sLifecycleChecker); in createRevealAnimator() 168 static void setListener(JNIEnv* env, jobject clazz, jlong animatorPtr, jobject finishListener) { in setListener() function 170 animator->setListener(new AnimationListenerBridge(env, finishListener)); in setListener() 200 { "nSetListener", "(JLandroid/graphics/animation/RenderNodeAnimator;)V", (void*) setListener},
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | PanelTaskViewControllerTest.kt | 101 verify(taskView).setListener(eq(uiExecutor), any()) in testLaunchTaskViewAttachedListener() 107 verify(taskView).setListener(any(), capture(listenerCaptor)) in testTaskViewOnInitializeStartsActivity() 131 verify(taskView).setListener(any(), capture(listenerCaptor)) in testOnTaskCreated_taskViewAlpha1() 141 verify(taskView).setListener(any(), capture(listenerCaptor)) in testHideRunnableCalledWhenBackOnRoot() 157 verify(taskView).setListener(any(), capture(listenerCaptor)) in testOnTaskRemovalStarted()
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | ImsStreamMediaSession.java | 44 setListener(listener); in ImsStreamMediaSession() 54 public void setListener(Listener listener) { in setListener() method in ImsStreamMediaSession
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | HotspotNetworkEntryTest.java | 370 entry.setListener(mMockListener); in testGetSummary_connectionStatusEnabling_returnsConnectingString() 386 entry.setListener(mMockListener); in testGetSummary_connectionStatusFailure_resetsConnectingString() 405 entry.setListener(mMockListener); in testGetSummary_connectionSuccess_resetsConnectingString() 725 entry.setListener(mMockListener); in testConnect_nullManager_failureCallback() 738 entry.setListener(mMockListener); in testConnect_onConnectionStatusChanged_failureCallback() 808 entry.setListener(mMockListener); in testDisconnect_nullManager_failureCallback() 821 entry.setListener(mMockListener); in testOnConnectionStatusChanged_withoutConnect_updatesString() 840 entry.setListener(mMockListener); in testOnConnectionStatusChanged_connectedStatus_updatesString() 857 entry.setListener(mMockListener); in testOnConnectionStatusChanged_connectedStatus_callsCallback() 876 entry.setListener(mMockListener); in testGetSummary_connectionStatusFailureGeneric_displaysErrorInSummary() [all …]
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuFooter.java | 78 setListener(mPreviousPageBtn); in configureFooterLayout() 79 setListener(mNextPageBtn); in configureFooterLayout() 108 private void setListener(@Nullable View view) { in setListener() method in A11yMenuFooter
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/ |
D | CommunalWidgetHostTest.kt | 188 verify(appWidgetHost, never()).setListener(any(), any()) in listener_exactlyOneListenerRegisteredForEachWidgetWhenHostStartListening() 199 verify(appWidgetHost, times(3)).setListener(any(), any()) in listener_exactlyOneListenerRegisteredForEachWidgetWhenHostStartListening() 200 verify(appWidgetHost).setListener(eq(1), any()) in listener_exactlyOneListenerRegisteredForEachWidgetWhenHostStartListening() 201 verify(appWidgetHost).setListener(eq(2), any()) in listener_exactlyOneListenerRegisteredForEachWidgetWhenHostStartListening() 202 verify(appWidgetHost).setListener(eq(3), any()) in listener_exactlyOneListenerRegisteredForEachWidgetWhenHostStartListening() 241 verify(appWidgetHost, never()).setListener(any(), any()) in listener_addNewListenerWhenNewIdAllocated() 247 verify(appWidgetHost).setListener(eq(1), any()) in listener_addNewListenerWhenNewIdAllocated() 345 verify(appWidgetHost).setListener(eq(1), capture()) in providerInfo_onUpdate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | DeviceStateProviderImplTest.java | 138 provider.setListener(listener); in assertDefaultProviderValues() 166 provider.setListener(listener); in create_multipleMatchingStatesDefaultsToLowestIdentifier() 199 provider.setListener(listener); in create_stateWithCancelOverrideRequestProperty() 231 provider.setListener(listener); in create_stateWithInvalidProperty() 267 provider.setListener(listener); in create_lidSwitch() 361 provider.setListener(listener); in create_sensor() 425 provider.setListener(listener); in test_propertyDisableWhenThermalStatusCritical() 478 provider.setListener(listener); in test_propertyDisableWhenPowerSaveEnabled() 532 provider.setListener(listener); in test_invalidSensorValues() 597 provider.setListener(listener); in create_invalidSensor()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 203 animation.setDuration(getRemoveDuration()).alpha(0).setListener( in animateRemoveImpl() 212 animation.setListener(null); in animateRemoveImpl() 234 .setListener(new AnimatorListenerAdapter() { in animateAddImpl() 247 animation.setListener(null); in animateAddImpl() 293 animation.setDuration(getMoveDuration()).setListener(new AnimatorListenerAdapter() { in animateMoveImpl() 311 animation.setListener(null); in animateMoveImpl() 359 oldViewAnim.alpha(0).setListener(new AnimatorListenerAdapter() { in animateChangeImpl() 367 oldViewAnim.setListener(null); in animateChangeImpl() 381 .alpha(1).setListener(new AnimatorListenerAdapter() { in animateChangeImpl() 388 newViewAnimation.setListener(null); in animateChangeImpl()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderInternal.java | 279 sBinderProxyCountEventListenerDelegate.setListener(listener, handler); in setBinderProxyCountCallback() 286 sBinderProxyCountEventListenerDelegate.setListener(null, null); in clearBinderProxyCountCallback() 293 void setListener(BinderProxyCountEventListener listener, Handler handler) { in setListener() method in BinderInternal.BinderProxyCountEventListenerDelegate
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TouchAnimatorTest.java | 142 .setListener(mTouchListener) in testOnAnimationAtStartCallback() 167 .setListener(mTouchListener) in testOnAnimationAtEndCallback() 192 .setListener(mTouchListener) in testOnAnimationStartedCallback()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoTile.java | 42 mPrefs.setListener(this); in onStartListening() 49 mPrefs.setListener(null); in onStopListening()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsCallSessionImplBase.java | 222 public void setListener(IImsCallSessionListener listener) { 225 executeMethodAsync(() -> ImsCallSessionImplBase.this.setListener(iCSL), "setListener"); 412 public final void setListener(IImsCallSessionListener listener) throws RemoteException { in setListener() method in ImsCallSessionImplBase 413 setListener(new ImsCallSessionListener(listener)); in setListener() 428 public void setListener(ImsCallSessionListener listener) { in setListener() method in ImsCallSessionImplBase
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AboveShelfObserverTest.java | 69 mObserver.setListener(mListener); in testObserverChangesWhenGoingAbove() 78 mObserver.setListener(mListener); in testObserverChangesWhenGoingBelow()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 101 boolean shouldShowTheList = localePicker.setListener(listener, parent, in createNumberingSystemPicker() 112 boolean shouldShowTheList = localePicker.setListener(listener, parent, in createCountryPicker() 139 localePicker.setListener(listener, /* parent */ null, translatedOnly, in createLanguagePicker() 161 private boolean setListener(LocaleSelectedListener listener, LocaleStore.LocaleInfo parent, in setListener() method in LocalePickerWithRegion
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsMultiEndpoint.aidl | 30 void setListener(in IImsExternalCallStateListener listener); in setListener() method
|
D | IImsEcbm.aidl | 43 void setListener(in IImsEcbmListener listener); in setListener() method
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | IUnfoldAnimation.aidl | 33 void setListener(in IUnfoldTransitionListener listener); in setListener() method
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 53 virtual void setListener(const sp<IStreamListener> &listener); 87 void MyStreamSource::setListener(const sp<IStreamListener> &listener) { in setListener() function in MyStreamSource 133 virtual void setListener(const sp<IStreamListener> &listener); 202 void MyConvertingStreamSource::setListener( in setListener() function in MyConvertingStreamSource
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSession.java | 245 realSession.setListener(createListener()); in SipSession() 254 setListener(listener); in SipSession() 351 public void setListener(Listener listener) { in setListener() method in SipSession
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | TestImsCallSessionCompat.java | 29 public void setListener(IImsCallSessionListener listener) { in setListener() method in TestImsCallSessionCompat
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ViewPropertyAnimatorTest.java | 181 mAnimator.setListener(mListener); in setUp() 253 mAnimator.setListener(mFutureListener); in testPlayingCancel() 275 mAnimator.setListener(mFutureListener); in testPlayingDelayedCancel()
|