/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | ProximitySensorImplDualTest.java | 68 TestableListener listener = new TestableListener(); in testInitiallyAbovePrimary() local 86 TestableListener listener = new TestableListener(); in testInitiallyBelowPrimaryAboveSecondary() local 108 TestableListener listener = new TestableListener(); in testInitiallyBelowPrimaryAndSecondary() local 129 TestableListener listener = new TestableListener(); in testPrimaryBelowDoesNotInvokeSecondary() local 146 TestableListener listener = new TestableListener(); in testSingleListener() local 182 TestableListener listener = new TestableListener(); in testSecondaryPausing() local 217 TestableListener listener = new TestableListener(); in testUnregister() local 267 TestableListener listener = new TestableListener(); in testPauseAndResume() local 311 TestableListener listener = new TestableListener(); in testPrimarySecondaryDisagreement() local 342 TestableListener listener = new TestableListener(); in testSecondaryCancelsSecondary() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | ShadeExpansionStateManagerTest.kt | 37 val listener = TestShadeExpansionListener() in onPanelExpansionChanged_listenerNotified() constant 69 val listener = TestShadeExpansionListener() in addExpansionListener_listenerNotifiedOfCurrentValues() constant 81 val listener = TestShadeStateListener() in updateState_listenerNotified() constant 95 val listener = TestShadeStateListener() in onPEC_fractionLessThanOne_expandedTrue_trackingFalse_becomesStateOpening() constant 110 val listener = TestShadeStateListener() in onPEC_fractionLessThanOne_expandedTrue_trackingTrue_becomesStateOpening() constant 125 val listener = TestShadeStateListener() in onPEC_fractionLessThanOne_expandedFalse_trackingFalse_becomesStateClosed() constant 142 val listener = TestShadeStateListener() in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed() constant 161 val listener = TestShadeStateListener() in onPEC_fractionOne_expandedTrue_trackingFalse_becomesStateOpeningThenStateOpen() constant 177 val listener = TestShadeStateListener() in onPEC_fractionOne_expandedTrue_trackingTrue_becomesStateOpening() constant 192 val listener = TestShadeStateListener() in onPEC_fractionOne_expandedFalse_trackingFalse_becomesStateClosed() constant [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 52 val listener = mock(ConfigurationListener::class.java) in testThemeChange() constant 61 val listener = mock(ConfigurationListener::class.java) in testRemoveListenerDuringCallback() constant 83 val listener = createAndAddListener() in configChanged_listenerNotified() constant 101 val listener = createAndAddListener() in densityChanged_listenerNotified() constant 117 val listener = createAndAddListener() in fontChanged_listenerNotified() constant 134 val listener = createAndAddListener() in isCarAndUiModeChanged_densityListenerNotified() constant 151 val listener = createAndAddListener() in isNotCarAndUiModeChanged_densityListenerNotNotified() constant 167 val listener = createAndAddListener() in smallestScreenWidthChanged_listenerNotified() constant 183 val listener = createAndAddListener() in maxBoundsChange_newConfigObject_listenerNotified() constant 201 val listener = createAndAddListener() in maxBoundsChange_sameObject_listenerNotified() constant [all …]
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SettingsHelper.java | 69 public abstract void addOnLocationEnabledChangedListener(UserSettingChangedListener listener); in addOnLocationEnabledChangedListener() 75 UserSettingChangedListener listener); in removeOnLocationEnabledChangedListener() 87 GlobalSettingChangedListener listener); in addOnBackgroundThrottleIntervalChangedListener() 93 GlobalSettingChangedListener listener); in removeOnBackgroundThrottleIntervalChangedListener() 105 UserSettingChangedListener listener); in addOnLocationPackageBlacklistChangedListener() 111 UserSettingChangedListener listener); in removeOnLocationPackageBlacklistChangedListener() 123 GlobalSettingChangedListener listener); in addOnBackgroundThrottlePackageWhitelistChangedListener() 129 GlobalSettingChangedListener listener); in removeOnBackgroundThrottlePackageWhitelistChangedListener() 141 GlobalSettingChangedListener listener); in addOnGnssMeasurementsFullTrackingEnabledChangedListener() 147 GlobalSettingChangedListener listener); in removeOnGnssMeasurementsFullTrackingEnabledChangedListener() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeTaskRepositoryTest.kt | 41 val listener = TestListener() in addActiveTask_listenerNotifiedAndTaskIsActive() constant 51 val listener = TestListener() in addActiveTask_sameTaskDoesNotNotify() constant 61 val listener = TestListener() in addActiveTask_multipleTasksAddedNotifiesForEach() constant 71 val listener = TestListener() in removeActiveTask_listenerNotifiedAndTaskNotActive() constant 83 val listener = TestListener() in removeActiveTask_removeNotExistingTaskDoesNotNotify() constant 97 val listener = TestVisibilityListener() in addListener_notifiesVisibleFreeformTask() constant 108 val listener = TestVisibilityListener() in updateVisibleFreeformTasks_addVisibleTasksNotifiesListener() constant 122 val listener = TestVisibilityListener() in updateVisibleFreeformTasks_removeVisibleTasksNotifiesListener() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayControllerTest.kt | 178 val listener = registerListener() in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() constant 211 val listener = registerListener() in displayView_viewDoesNotDisappearsBeforeTimeout() constant 225 val listener = registerListener() in displayView_viewDisappearsAfterTimeout() constant 239 val listener = registerListener() in displayView_calledAgainBeforeTimeout_timeoutReset() constant 260 val listener = registerListener() in displayView_calledAgainBeforeTimeout_eventuallyTimesOut() constant 292 val listener = registerListener() in multipleViewsWithDifferentIds_moreRecentReplacesOlder() constant 327 val listener = registerListener() in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed() constant 366 val listener = registerListener() in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed() constant 399 val listener = registerListener() in multipleViewsWithDifferentIds_threeDifferentViews_recentActiveViewIsDisplayed() constant 466 val listener = registerListener() in multipleViews_mostRecentViewRemoved_otherViewsTimedOutAndNotDisplayed() constant [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeSettingsHelper.java | 50 public void addListener(UserSettingChangedListener listener) { in addListener() 54 public void removeListener(UserSettingChangedListener listener) { in removeListener() 106 public void addOnLocationEnabledChangedListener(UserSettingChangedListener listener) { in addOnLocationEnabledChangedListener() 111 public void removeOnLocationEnabledChangedListener(UserSettingChangedListener listener) { in removeOnLocationEnabledChangedListener() 126 GlobalSettingChangedListener listener) { in addOnBackgroundThrottleIntervalChangedListener() 132 GlobalSettingChangedListener listener) { in removeOnBackgroundThrottleIntervalChangedListener() 146 public void addOnLocationPackageBlacklistChangedListener(UserSettingChangedListener listener) { in addOnLocationPackageBlacklistChangedListener() 152 UserSettingChangedListener listener) { in removeOnLocationPackageBlacklistChangedListener() 167 GlobalSettingChangedListener listener) { in addOnBackgroundThrottlePackageWhitelistChangedListener() 173 GlobalSettingChangedListener listener) { in removeOnBackgroundThrottlePackageWhitelistChangedListener() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PendingInsetsControllerTest.java | 97 WindowInsetsAnimationControlListener listener = in testControl() local 101 systemBars(), 0, new LinearInterpolator(), cancellationSignal, listener); in testControl() local 108 WindowInsetsAnimationControlListener listener = in testControl_direct() local 113 new LinearInterpolator(), cancellationSignal, listener); in testControl_direct() local 172 OnControllableInsetsChangedListener listener = in testAddOnControllableInsetsChangedListener() local 182 OnControllableInsetsChangedListener listener = in testAddRemoveControllableInsetsChangedListener() local 194 OnControllableInsetsChangedListener listener = in testAddOnControllableInsetsChangedListener_direct() local 217 WindowInsetsAnimationControlListener listener = in testSystemDrivenInsetsAnimationLoggingListener() local 227 WindowInsetsAnimationControlListener listener = in testSystemDrivenInsetsAnimationLoggingListener_direct() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ |
D | TelephonyListenerManager.java | 60 public void addActiveDataSubscriptionIdListener(ActiveDataSubscriptionIdListener listener) { in addActiveDataSubscriptionIdListener() 66 public void removeActiveDataSubscriptionIdListener(ActiveDataSubscriptionIdListener listener) { in removeActiveDataSubscriptionIdListener() 72 public void addCallStateListener(CallStateListener listener) { in addCallStateListener() 78 public void removeCallStateListener(CallStateListener listener) { in removeCallStateListener() 84 public void addServiceStateListener(ServiceStateListener listener) { in addServiceStateListener() 90 public void removeServiceStateListener(ServiceStateListener listener) { in removeServiceStateListener()
|
D | TelephonyCallback.java | 64 void addActiveDataSubscriptionIdListener(ActiveDataSubscriptionIdListener listener) { in addActiveDataSubscriptionIdListener() 68 void removeActiveDataSubscriptionIdListener(ActiveDataSubscriptionIdListener listener) { in removeActiveDataSubscriptionIdListener() 81 void addCallStateListener(CallStateListener listener) { in addCallStateListener() 85 void removeCallStateListener(CallStateListener listener) { in removeCallStateListener() 98 void addServiceStateListener(ServiceStateListener listener) { in addServiceStateListener() 102 void removeServiceStateListener(ServiceStateListener listener) { in removeServiceStateListener()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 40 sp<ConsumerListener> listener(mConsumerListener.promote()); in onDisconnect() local 47 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDequeued() local 54 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameCancelled() local 61 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameDetached() local 69 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable() local 77 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameReplaced() local 84 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased() local 91 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged() local 100 sp<ConsumerListener> listener(mConsumerListener.promote()); in addAndGetFrameTimestamps() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 281 ProviderEnabledListener listener = mock(ProviderEnabledListener.class); in testIsEnabledListener() local 432 ILocationListener listener = createMockLocationListener(); in testPassive_Listener() local 452 ILocationListener listener = createMockLocationListener(); in testRegisterListener() local 493 ILocationListener listener = createMockLocationListener(); in testRegisterListener_SameProcess() local 508 ILocationListener listener = createMockLocationListener(); in testRegisterListener_Unregister() local 529 ILocationListener listener = createMockLocationListener(); in testRegisterListener_Unregister_SameProcess() local 554 ILocationListener listener = createMockLocationListener(); in testRegisterListener_NumUpdates() local 574 ILocationListener listener = createMockLocationListener(); in testRegisterListener_ExpiringAlarm() local 589 ILocationListener listener = createMockLocationListener(); in testRegisterListener_ExpiringNoAlarm() local 605 ILocationListener listener = createMockLocationListener(); in testRegisterListener_FastestInterval() local [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 27 void addCallback(@NonNull T listener); in addCallback() 30 void removeCallback(@NonNull T listener); in removeCallback() 36 default T observe(LifecycleOwner owner, T listener) { in observe() 44 default T observe(Lifecycle lifecycle, T listener) { in observe()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowStateControllerTest.kt | 55 val listener = TestListener() in setWindowState_notSameDisplayId_listenersNotNotified() constant 65 val listener = TestListener() in setWindowState_notStatusBarWindow_listenersNotNotified() constant 75 val listener = TestListener() in setWindowState_sameState_listenersNotNotified() constant 85 val listener = TestListener() in setWindowState_newState_listenersNotified() constant
|
/frameworks/base/core/java/android/os/ |
D | IThermalService.aidl | 35 boolean registerThermalEventListener(in IThermalEventListener listener); in registerThermalEventListener() 44 boolean registerThermalEventListenerWithType(in IThermalEventListener listener, in int type); in registerThermalEventListenerWithType() 52 boolean unregisterThermalEventListener(in IThermalEventListener listener); in unregisterThermalEventListener() 75 boolean registerThermalStatusListener(in IThermalStatusListener listener); in registerThermalStatusListener() 83 boolean unregisterThermalStatusListener(in IThermalStatusListener listener); in unregisterThermalStatusListener()
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyCallback.java | 1460 ServiceStateListener listener = (ServiceStateListener) mTelephonyCallbackWeakRef.get(); in onServiceStateChanged() local 1472 MessageWaitingIndicatorListener listener = in onMessageWaitingIndicatorChanged() local 1481 CallForwardingIndicatorListener listener = in onCallForwardingIndicatorChanged() local 1494 CellLocationListener listener = (CellLocationListener) mTelephonyCallbackWeakRef.get(); in onCellLocationChanged() local 1507 CallStateListener listener = (CallStateListener) mTelephonyCallbackWeakRef.get(); in onCallStateChanged() local 1515 DataConnectionStateListener listener = in onDataConnectionStateChanged() local 1533 DataActivityListener listener = (DataActivityListener) mTelephonyCallbackWeakRef.get(); in onDataActivity() local 1541 SignalStrengthsListener listener = in onSignalStrengthsChanged() local 1551 CellInfoListener listener = (CellInfoListener) mTelephonyCallbackWeakRef.get(); in onCellInfoChanged() local 1559 PreciseCallStateListener listener = in onPreciseCallStateChanged() local [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeThermalService.java | 40 public boolean registerThermalEventListener(IThermalEventListener listener) { in registerThermalEventListener() 45 public boolean registerThermalEventListenerWithType(IThermalEventListener listener, int type) { in registerThermalEventListenerWithType() 50 public boolean unregisterThermalEventListener(IThermalEventListener listener) { in unregisterThermalEventListener() 65 public boolean registerThermalStatusListener(IThermalStatusListener listener) { in registerThermalStatusListener() 70 public boolean unregisterThermalStatusListener(IThermalStatusListener listener) { in unregisterThermalStatusListener()
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | CapabilityExchangeAidlWrapper.java | 44 public CapabilityExchangeAidlWrapper(@Nullable ICapabilityExchangeEventListener listener) { in CapabilityExchangeAidlWrapper() 53 ICapabilityExchangeEventListener listener = mListenerBinder; in onRequestPublishCapabilities() local 70 ICapabilityExchangeEventListener listener = mListenerBinder; in onUnpublish() local 89 ICapabilityExchangeEventListener listener = mListenerBinder; in onPublishUpdated() local 110 ICapabilityExchangeEventListener listener = mListenerBinder; in onRemoteCapabilityRequest() local
|
/frameworks/base/media/java/android/media/ |
D | CallbackUtil.java | 52 ListenerInfo(@NonNull T listener, @NonNull Executor exe) { in ListenerInfo() 65 static <T> @Nullable ListenerInfo<T> getListenerInfo( in getListenerInfo() 85 static <T> boolean hasListener(@NonNull T listener, in hasListener() 97 static <T> boolean removeListener(@NonNull T listener, in removeListener() 128 @NonNull T listener, in addListener() 178 @NonNull T listener, in removeListener() 197 void callbackMethod(T listener); in callbackMethod() 271 void addListener(@NonNull Executor executor, @NonNull T listener, String methodName, in addListener() 290 void removeListener(@NonNull T listener, String methodName) { in removeListener()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SyncEngineTests.java | 73 BLASTSyncEngine.TransactionReadyListener listener = mock( in testTrivialSyncCallback() local 101 BLASTSyncEngine.TransactionReadyListener listener = mock( in testWaitingSyncCallback() local 123 BLASTSyncEngine.TransactionReadyListener listener = mock( in testInvisibleSyncCallback() local 151 BLASTSyncEngine.TransactionReadyListener listener = mock( in testWaitForChildrenCallback() local 184 BLASTSyncEngine.TransactionReadyListener listener = mock( in testWaitForParentCallback() local 215 BLASTSyncEngine.TransactionReadyListener listener = mock( in testFillsParent() local 247 BLASTSyncEngine.TransactionReadyListener listener = mock( in testReparentOut() local 282 BLASTSyncEngine.TransactionReadyListener listener = mock( in testReparentIn() local 321 BLASTSyncEngine.TransactionReadyListener listener = mock( in testRemoval() local 363 BLASTSyncEngine.TransactionReadyListener listener = mock( in testNonBlastMethod() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | FakeFeatureFlagsTest.kt | 120 val listener = VerifyingListener() in listenerForBooleanFlag_calledOnlyWhenFlagChanged() constant 134 val listener = VerifyingListener() in listenerForStringFlag_calledOnlyWhenFlagChanged() constant 146 val listener = VerifyingListener() in listenerForBooleanFlag_notCalledAfterRemoved() constant 158 val listener = VerifyingListener() in listenerForStringFlag_notCalledAfterRemoved() constant 171 val listener = VerifyingListener() in listenerForMultipleFlags_calledWhenFlagsChange() constant 184 val listener = VerifyingListener() in listenerForMultipleFlags_notCalledAfterRemoved() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | BiometricDisplayListenerTest.java | 89 BiometricDisplayListener listener = new BiometricDisplayListener( in registersDisplayListener_whenEnabled() local 99 BiometricDisplayListener listener = new BiometricDisplayListener( in unregistersDisplayListener_whenDisabled() local 111 BiometricDisplayListener listener = new BiometricDisplayListener( in detectsRotationChanges_forUdfps_relativeToRotationWhenEnabled() local 149 BiometricDisplayListener listener = new BiometricDisplayListener( in callsOnChanged_forUdfps_onlyWhenRotationChanges() local 182 BiometricDisplayListener listener = new BiometricDisplayListener( in callsOnChanged_forSideFingerprint_whenAnythingDisplayChanges() local
|
/frameworks/base/core/java/android/speech/ |
D | IRecognitionService.aidl | 46 void startListening(in Intent recognizerIntent, in IRecognitionListener listener, in startListening() 56 void stopListening(in IRecognitionListener listener); in stopListening() 63 void cancel(in IRecognitionListener listener, boolean isShutdown); in cancel() 70 … void checkRecognitionSupport(in Intent recognizerIntent, in IRecognitionSupportCallback listener); in checkRecognitionSupport()
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 106 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request() 107 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request() local 130 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request() 133 dest, listener, listenerThread); in request() local 153 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request() 177 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request() 222 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request() 255 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakePluginManager.java | 32 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() 38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener() 43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener() 49 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() 55 public void removePluginListener(PluginListener<?> listener) { in removePluginListener()
|