Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java126 .setCallback(layoutLibCallback) in testActivityOnOldTheme()
142 .setCallback(layoutLibCallback) in testTranslucentBars()
151 .setCallback(layoutLibCallback) in testTranslucentBars()
159 .setCallback(layoutLibCallback) in testTranslucentBars()
174 .setCallback(layoutLibCallback) in testAllWidgets()
194 .setCallback(layoutLibCallback) in testAllWidgetsTablet()
230 .setCallback(layoutLibCallback) in testActivityActionBar()
240 .setCallback(layoutLibCallback) in testActivityActionBar()
252 .setCallback(layoutLibCallback) in testActivityActionBar()
286 .setCallback(layoutLibCallback) in testOnApplyInsetsCall()
[all …]
DShadowsRenderTests.java42 .setCallback(layoutLibCallback) in testRectangleShadow()
58 .setCallback(layoutLibCallback) in testRoundedEdgeRectangle()
73 .setCallback(layoutLibCallback) in testLargeView()
89 .setCallback(layoutLibCallback) in testShadowSizes()
103 .setCallback(layoutLibCallback) in testWidgetWithScroll()
/frameworks/base/services/core/jni/gnss/
DGnssMeasurement.cpp52 jboolean GnssMeasurement::setCallback(const std::unique_ptr<GnssMeasurementCallback>& callback, in setCallback() function in android::gnss::GnssMeasurement
60 auto status = mIGnssMeasurement->setCallback(callback->getAidl(), options.enableFullTracking, in setCallback()
75 jboolean GnssMeasurement_V1_0::setCallback(const std::unique_ptr<GnssMeasurementCallback>& callback, in setCallback() function in android::gnss::GnssMeasurement_V1_0
86 auto status = mIGnssMeasurement_V1_0->setCallback(callback->getHidl()); in setCallback()
104 jboolean GnssMeasurement_V1_1::setCallback(const std::unique_ptr<GnssMeasurementCallback>& callback, in setCallback() function in android::gnss::GnssMeasurement_V1_1
126 jboolean GnssMeasurement_V2_0::setCallback(const std::unique_ptr<GnssMeasurementCallback>& callback, in setCallback() function in android::gnss::GnssMeasurement_V2_0
148 jboolean GnssMeasurement_V2_1::setCallback(const std::unique_ptr<GnssMeasurementCallback>& callback, in setCallback() function in android::gnss::GnssMeasurement_V2_1
DGnssNavigationMessage.cpp37 jboolean GnssNavigationMessageAidl::setCallback( in setCallback() function in android::gnss::GnssNavigationMessageAidl
39 auto status = mIGnssNavigationMessage->setCallback(callback->getAidl()); in setCallback()
56 jboolean GnssNavigationMessageHidl::setCallback( in setCallback() function in android::gnss::GnssNavigationMessageHidl
58 auto result = mIGnssNavigationMessageHidl->setCallback(callback->getHidl()); in setCallback()
DGnssMeasurement.h40 virtual jboolean setCallback(
50 jboolean setCallback(
66 jboolean setCallback(
82 jboolean setCallback(
94 jboolean setCallback(
106 jboolean setCallback(
DGnssAntennaInfo.cpp36 jboolean GnssAntennaInfoAidl::setCallback( in setCallback() function in android::gnss::GnssAntennaInfoAidl
38 auto status = mIGnssAntennaInfoAidl->setCallback(callback->getAidl()); in setCallback()
54 jboolean GnssAntennaInfo_V2_1::setCallback( in setCallback() function in android::gnss::GnssAntennaInfo_V2_1
56 auto result = mIGnssAntennaInfo_V2_1->setCallback(callback->getV2_1()); in setCallback()
DAGnss.cpp39 jboolean AGnss::setCallback(const std::unique_ptr<AGnssCallback>& callback) { in setCallback() function in android::gnss::AGnss
40 auto status = mIAGnss->setCallback(callback->getAidl()); in setCallback()
75 jboolean AGnss_V1_0::setCallback(const std::unique_ptr<AGnssCallback>& callback) { in setCallback() function in android::gnss::AGnss_V1_0
76 auto result = mIAGnss_V1_0->setCallback(callback->getV1_0()); in setCallback()
111 jboolean AGnss_V2_0::setCallback(const std::unique_ptr<AGnssCallback>& callback) { in setCallback() function in android::gnss::AGnss_V2_0
112 auto result = mIAGnss_V2_0->setCallback(callback->getV2_0()); in setCallback()
DGnssPsds.cpp37 jboolean GnssPsdsAidl::setCallback(const std::unique_ptr<GnssPsdsCallback>& callback) { in setCallback() function in android::gnss::GnssPsdsAidl
38 auto status = mIGnssPsds->setCallback(callback->getAidl()); in setCallback()
60 jboolean GnssPsdsHidl::setCallback(const std::unique_ptr<GnssPsdsCallback>& callback) { in setCallback() function in android::gnss::GnssPsdsHidl
61 auto result = mIGnssXtra->setCallback(callback->getHidl()); in setCallback()
DGnssVisibilityControl.cpp39 jboolean GnssVisibilityControlAidl::setCallback( in setCallback() function in android::gnss::GnssVisibilityControlAidl
41 auto status = mIGnssVisibilityControlAidl->setCallback(callback->getAidl()); in setCallback()
65 jboolean GnssVisibilityControlHidl::setCallback( in setCallback() function in android::gnss::GnssVisibilityControlHidl
67 auto result = mIGnssVisibilityControlHidl->setCallback(callback->getHidl()); in setCallback()
DGnssAntennaInfo.h38 virtual jboolean setCallback(const std::unique_ptr<GnssAntennaInfoCallback>& callback) = 0;
45 jboolean setCallback(const std::unique_ptr<GnssAntennaInfoCallback>& callback) override;
56 jboolean setCallback(const std::unique_ptr<GnssAntennaInfoCallback>& callback) override;
DGnssNavigationMessage.h38 virtual jboolean setCallback(
47 jboolean setCallback(const std::unique_ptr<GnssNavigationMessageCallback>& callback) override;
58 jboolean setCallback(const std::unique_ptr<GnssNavigationMessageCallback>& callback) override;
DGnssGeofence.cpp38 jboolean GnssGeofenceAidl::setCallback(const std::unique_ptr<GnssGeofenceCallback>& callback) { in setCallback() function in android::gnss::GnssGeofenceAidl
39 auto status = mIGnssGeofenceAidl->setCallback(callback->getAidl()); in setCallback()
75 jboolean GnssGeofenceHidl::setCallback(const std::unique_ptr<GnssGeofenceCallback>& callback) { in setCallback() function in android::gnss::GnssGeofenceHidl
76 auto result = mIGnssGeofenceHidl->setCallback(callback->getHidl()); in setCallback()
DGnssPsds.h38 virtual jboolean setCallback(const std::unique_ptr<GnssPsdsCallback>& callback);
45 jboolean setCallback(const std::unique_ptr<GnssPsdsCallback>& callback) override;
55 jboolean setCallback(const std::unique_ptr<GnssPsdsCallback>& callback) override;
DGnssVisibilityControl.h38 virtual jboolean setCallback(
48 jboolean setCallback(const std::unique_ptr<GnssVisibilityControlCallback>& callback) override;
61 jboolean setCallback(const std::unique_ptr<GnssVisibilityControlCallback>& callback) override;
DAGnss.h37 virtual jboolean setCallback(const std::unique_ptr<AGnssCallback>& callback) = 0;
48 jboolean setCallback(const std::unique_ptr<AGnssCallback>& callback) override;
61 jboolean setCallback(const std::unique_ptr<AGnssCallback>& callback) override;
74 jboolean setCallback(const std::unique_ptr<AGnssCallback>& callback) override;
DGnssGeofence.h38 virtual jboolean setCallback(const std::unique_ptr<GnssGeofenceCallback>& callback);
50 jboolean setCallback(const std::unique_ptr<GnssGeofenceCallback>& callback) override;
65 jboolean setCallback(const std::unique_ptr<GnssGeofenceCallback>& callback) override;
DMeasurementCorrections.h68 virtual jboolean setCallback(
78 jboolean setCallback(const std::unique_ptr<MeasurementCorrectionsCallback>& callback) override;
91 jboolean setCallback(const std::unique_ptr<MeasurementCorrectionsCallback>& callback) override;
104 jboolean setCallback(const std::unique_ptr<MeasurementCorrectionsCallback>& callback) override;
/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraProviderTest.cc100 EXPECT_FALSE(mCameraProvider->setCallback(nullptr).isOk()); in TEST_F()
120 ASSERT_TRUE(mCameraProvider->setCallback(mMockCameraProviderCallback).isOk()); in TEST_F()
141 ASSERT_TRUE(mCameraProvider->setCallback(mMockCameraProviderCallback).isOk()); in TEST_F()
150 ASSERT_TRUE(mCameraProvider->setCallback(mMockCameraProviderCallback).isOk()); in TEST_F()
167 ASSERT_TRUE(mCameraProvider->setCallback(mMockCameraProviderCallback).isOk()); in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImplTest.kt129 controller.setCallback(callback) in testNoCallbackWhenNoServicesAvailable()
139 controller.setCallback(callback) in testCallbackWithNullValueWhenSettingIsDisabled()
148 controller.setCallback(callback) in testSetPriorityPositionIsSetWhenFavoritesAreAvailable()
158 controller.setCallback(callback) in testSetDefaultPositionIsSetWhenNoFavoritesAreAvailable()
180 controller.setCallback(callback) in testControlsDisabledRemoveFromAutoTracker()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java71 .setCallback(layoutLibCallback) in basic()
118 .setCallback(layoutLibCallback) in checkNoErrorWhenUsingDefaults()
151 .setCallback(layoutLibCallback) in noExceptionForCustomService()
172 .setCallback(layoutLibCallback) in dynamicTheming()
204 …SessionParams params = getSessionParamsBuilder().setParser(parser).setCallback(layoutLibCallback).… in noCrashInPowerManager()
231 .setCallback(layoutLibCallback) in testTypedValue()
283 …SessionParams params = getSessionParamsBuilder().setParser(parser).setCallback(layoutLibCallback).… in testWindowMetrics()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DTimer.cpp97 setCallback({}); in cleanup()
115 setCallback(std::move(callback)); in alarmAt()
145 setCallback({}); in alarmCancel()
235 void Timer::setCallback(std::function<void()>&& callback) { in setCallback() function in android::scheduler::Timer
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DDeviceControlsAutoAddableTest.kt74 verify(deviceControlsController).setCallback(capture(callbackCaptor)) in <lambda>()
86 verify(deviceControlsController).setCallback(capture(callbackCaptor)) in <lambda>()
98 verify(deviceControlsController).setCallback(capture(callbackCaptor)) in <lambda>()
/frameworks/av/media/module/service.mediatranscoding/
DMediaTranscodingService.cpp90 mUidPolicy->setCallback(mSessionController); in MediaTranscodingService()
91 mResourcePolicy->setCallback(mSessionController); in MediaTranscodingService()
92 mThermalPolicy->setCallback(mSessionController); in MediaTranscodingService()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java242 mVerticalThumb.setCallback(null); in setVerticalThumbDrawable()
282 mVerticalTrack.setCallback(null); in setVerticalTrackDrawable()
295 mHorizontalThumb.setCallback(null); in setHorizontalThumbDrawable()
304 mHorizontalTrack.setCallback(null); in setHorizontalTrackDrawable()
318 d.setCallback(this); in propagateCurrentState()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambda.java213 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
361 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
415 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
471 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
530 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
591 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
654 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
721 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
790 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
861 return Message.obtain().setCallback(callback.recycleOnUse()); in obtainMessage()
[all …]

12345678910>>...13