Home
last modified time | relevance | path

Searched refs:setCallback (Results 1 – 25 of 119) sorted by relevance

12345

/packages/services/Telecomm/src/com/android/server/telecom/
DHeadsetMediaButton.java71 public void setCallback(MediaSession.Callback callback) { in setCallback() method in HeadsetMediaButton.MediaSessionWrapper
72 mMediaSession.setCallback(callback); in setCallback()
92 void setCallback(MediaSession.Callback callback); in setCallback() method
127 session.setCallback(mSessionCallback);
175 adapter.setCallback(mSessionCallback); in HeadsetMediaButton()
/packages/apps/TV/common/src/com/android/tv/common/compat/
DTvViewCompat.java55 public void setCallback(TvInputCallback callback) { in setCallback() method in TvViewCompat
56 super.setCallback(callback); in setCallback()
59 mTvViewCompatProcessor.setCallback(compatEvents); in setCallback()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceControllerTest.java72 verify(mPreference).setCallback(mCallback); in displayPreference_available_shouldUpdatePreference()
85 verify(mPreference, never()).setCallback(any(VolumeSeekBarPreference.Callback.class)); in displayPreference_notAvailable_shouldNotUpdatePreference()
167 setCallback(callback); in VolumeSeekBarPreferenceControllerTestable()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java94 mdnsClient.setCallback(mockCallback); in setup()
368 mdnsClient.setCallback(mockCallback); in testMulticastResponseReceived_useSeparateSocketForUnicast()
389 mdnsClient.setCallback(mockCallback); in testFailedToParseMdnsResponse_useSeparateSocketForUnicast()
512 mdnsClient.setCallback(mockCallback); in startDiscovery_andPropagateInterfaceIndex_includesInterfaceIndex()
535 mdnsClient.setCallback(mockCallback); in startDiscovery_andDoNotPropagateInterfaceIndex_doesNotIncludeInterfaceIndex()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DGenericOneCameraImpl.java103 mAFStateListenable.setCallback(new Callback<Integer>() { in setFocusStateListener()
123 mFocusStateListenable.setCallback(new Callback<FocusState>() { in setFocusDistanceListener()
147 mReadyStateListenable.setCallback(new FilteredCallback<>(readyStateCallback)); in setReadyStateChangedListener()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayPreferenceController.java61 mNightDisplayListener.setCallback(this); in onStart()
67 mNightDisplayListener.setCallback(null); in onStop()
DNightDisplaySettings.java65 mNightDisplayListener.setCallback(this); in onStart()
73 mNightDisplayListener.setCallback(null); in onStop()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreferenceController.java51 public void setCallback(Callback callback) { in setCallback() method in VolumeSeekBarPreferenceController
65 mPreference.setCallback(mVolumePreferenceCallback); in setupVolPreference()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DNightDisplayConditionController.java91 mNightDisplayListener.setCallback(this); in startMonitoringStateChange()
96 mNightDisplayListener.setCallback(null); in stopMonitoringStateChange()
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
DPictureManagerTest.java118 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureUpload()
176 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureUploadWithAuthRefresh()
215 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureDownload()
254 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureDownloadWithAuthRefresh()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DHeadsetMediaButtonTest.java71 verify(mMediaSessionAdapter).setCallback(sessionCallbackArgument.capture()); in setUp()
199 wrapper.setCallback(mSessionCallback); in testMediaSessionWrapperSetCallback()
200 verify(session).setCallback(mSessionCallback); in testMediaSessionWrapperSetCallback()
/packages/apps/Settings/src/com/android/settings/gestures/
DPowerMenuSettingsUtils.java143 mSettingsObserver.setCallback(callback); in registerObserver()
167 private void setCallback(SettingsStateCallback callback) { in setCallback() method in PowerMenuSettingsUtils.SettingsObserver
DOneHandedSettingsUtils.java276 mSettingsObserver.setCallback(callback); in registerToggleAwareObserver()
294 private void setCallback(TogglesCallback callback) { in setCallback() method in OneHandedSettingsUtils.SettingsObserver
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DIconView.java57 mDrawable.setCallback(null); in setDrawable()
61 mDrawable.setCallback(this); in setDrawable()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.kt124 mButtonDrawable?.setCallback(null) in setButtonDrawable()
127 d.setCallback(this) in setButtonDrawable()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModel.java125 void setCallback(@Nullable GenerateChallengeCallback callback); in setCallback() method
157 public void setCallback(@Nullable GenerateChallengeCallback callback) { in setCallback() method in AutoCredentialViewModel.FingerprintChallengeGenerator
266 mChallengeGenerator.setCallback((sensorId, userId, challenge) -> { in generateChallenge()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java144 public void setCallback(@Nullable TvInputCallbackCompat callback) { in setCallback() method in DvrTvView
146 mTvView.setCallback(callback); in setCallback()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java97 mStart.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
119 mEnd.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
251 public void setCallback(Callback callback) { in setCallback() method in ZenModeScheduleRuleSettings.TimePickerPreference
/packages/apps/Launcher3/src/com/android/launcher3/
DMultipageCellLayout.java78 mLeftBackground.setCallback(this); in MultipageCellLayout()
82 mRightBackground.setCallback(this); in MultipageCellLayout()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DClusterHalServiceTest.java116 mClusterHalService.setCallback(mHalEventListener); in setUp()
196 mClusterHalService.setCallback(null); in testOnSwitchUi_noListener()
261 mClusterHalService.setCallback(null); in testOnDisplayState_noListener()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java123 setCallback(null); in DvrPlayer()
264 public void setCallback(DvrPlayerCallback callback) { in setCallback() method in DvrPlayer
474 mTvView.setCallback( in setTvViewCallbacks()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterprisePrivacyPreferenceControllerTestCase.java173 void setCallback(ListOfAppsCallback callback) {
190 void setCallback(NumberOfAppsCallback callback) {
/packages/services/Car/experimental/experimental_api/src/android/car/experimental/
DIDriverAwarenessSupplier.aidl32 void setCallback(IDriverAwarenessSupplierCallback callback) = 1;
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/helpers/nfc/
DNfcActivity.java28 public void setCallback(NfcReceiver.Callback callback) { in setCallback() method in NfcActivity
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DBaseManager.cpp27 void BaseManager::setCallback(CBManager pfnCallback) in setCallback() function in BaseManager

12345