Home
last modified time | relevance | path

Searched refs:mTunerService (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/media/jni/tuner/
DTunerClient.cpp35 mTunerService = ITunerService::fromBinder(binder); in TunerClient()
36 if (mTunerService == nullptr) { in TunerClient()
39 mTunerService->getTunerHalVersion(&mTunerVersion); in TunerClient()
49 if (mTunerService != nullptr) { in getFrontendIds()
50 Status s = mTunerService->getFrontendIds(&ids); in getFrontendIds()
60 if (mTunerService != nullptr) { in openFrontend()
62 Status s = mTunerService->openFrontend(frontendHandle, &tunerFrontend); in openFrontend()
73 s = mTunerService->getFrontendInfo(id, &frontendInfo); in openFrontend()
85 if (mTunerService != nullptr) { in getFrontendInfo()
87 Status s = mTunerService->getFrontendInfo(id, &aidlFrontendInfo); in getFrontendInfo()
[all …]
DTunerClient.h178 shared_ptr<ITunerService> mTunerService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java41 private final TunerService mTunerService; field in TunablePadding
51 mTunerService = tunerService; in TunablePadding()
52 mTunerService.addTunable(this, key); in TunablePadding()
74 mTunerService.removeTunable(this); in destroy()
83 private final TunerService mTunerService; field in TunablePadding.TunablePaddingService
89 mTunerService = tunerService; in TunablePaddingService()
96 return new TunablePadding(key, defaultSize, flags, view, mTunerService); in add()
DShortcutPicker.java45 private TunerService mTunerService; field in ShortcutPicker
101 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
102 mTunerService.addTunable(this, mKey); in onCreatePreferences()
107 mTunerService.setValue(mKey, preference.toString()); in onPreferenceTreeClick()
125 mTunerService.removeTunable(this); in onDestroy()
DTunerFragment.java60 private final TunerService mTunerService; field in TunerFragment
66 mTunerService = tunerService; in TunerFragment()
144 mTunerService.showResetRequest(() -> { in onOptionsItemSelected()
DTunerActivity.java47 private final TunerService mTunerService; field in TunerActivity
58 mTunerService = tunerService; in TunerActivity()
80 : new TunerFragment(mTunerService); in onCreate()
DLockscreenFragment.java71 private TunerService mTunerService; field in LockscreenFragment
79 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
89 mTunables.forEach(t -> mTunerService.removeTunable(t)); in onDestroy()
110 mTunerService.setValue(buttonSetting, item.getSettingValue()); in showSelectDialog()
136 mTunerService.addTunable(t, keys); in addTunable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameViewController.java46 private final TunerService mTunerService; field in OperatorNameViewController
67 mTunerService = tunerService; in OperatorNameViewController()
83 mTunerService.addTunable(mTunable, KEY_SHOW_OPERATOR_NAME); in onViewAttached()
91 mTunerService.removeTunable(mTunable); in onViewDetached()
100 && (mTunerService.getValue(KEY_SHOW_OPERATOR_NAME, 1) != 0); in update()
123 private final TunerService mTunerService; field in OperatorNameViewController.Factory
141 mTunerService = tunerService; in Factory()
154 mTunerService, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DBatteryMeterViewControllerTest.java60 private TunerService mTunerService; field in BatteryMeterViewControllerTest
88 verify(mTunerService).addTunable(any(), any()); in onViewAttached_callbacksRegistered()
109 verify(mTunerService).removeTunable(any()); in onViewDetached_callbacksUnregistered()
122 verify(mTunerService).removeTunable(any()); in ignoreTunerUpdates_afterOnViewAttached_callbackUnregistered()
133 verify(mTunerService, never()).addTunable(any(), any()); in ignoreTunerUpdates_beforeOnViewAttached_callbackNeverRegistered()
162 mTunerService, in initController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java43 private TunerService mTunerService; field in TunablePaddingTest
51 mTunerService = mock(TunerService.class); in setup()
53 new TunablePadding.TunablePaddingService(mTunerService)); in setup()
58 }).when(mTunerService).addTunable(any(), any()); in setup()
62 }).when(mTunerService).removeTunable(any()); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java53 private final TunerService mTunerService; field in BatteryMeterViewController
149 mTunerService = tunerService; in BatteryMeterViewController()
200 mTunerService.addTunable(mTunable, StatusBarIconController.ICON_HIDE_LIST); in subscribeForTunerUpdates()
209 mTunerService.removeTunable(mTunable); in unsubscribeFromTunerUpdates()
250 private final TunerService mTunerService; field in BatteryMeterViewController.Factory
268 mTunerService = tunerService; in Factory()
282 mTunerService, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSliceViewControllerTest.java56 private TunerService mTunerService; field in KeyguardSliceViewControllerTest
77 mActivityStarter, mConfigurationController, mTunerService, mDumpManager, in setUp()
104 verify(mTunerService).addTunable(any(TunerService.Tunable.class), anyString()); in onAttachedToWindow_registersListeners()
123 verify(mTunerService).removeTunable(any(TunerService.Tunable.class)); in onDetachedFromWindow_unregistersListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java62 private TunerService mTunerService; field in ExtensionControllerImplTest
69 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
74 mTunerService, in setup()
113 verify(mTunerService).addTunable(any(), eq(keys[0]), eq(keys[1])); in testTuner()
116 verify(mTunerService).removeTunable(any()); in testTuner()
185 verify(mTunerService).addTunable(tunable.capture(), any()); in testSortOrder()
/frameworks/av/services/tuner/
DTunerDemux.cpp49 mTunerService = tuner; in TunerDemux()
57 mTunerService = nullptr; in ~TunerDemux()
82 ::ndk::SharedRefBase::make<TunerFilter>(filter, filterCb, in_type, mTunerService); in openFilter()
DTunerFilter.cpp47 mTunerService(tuner) {} in TunerFilter()
57 mTunerService = nullptr; in ~TunerFilter()
253 mTunerService->removeSharedFilter(this->ref<TunerFilter>()); in close()
286 string token = mTunerService->addFilterToShared(this->ref<TunerFilter>()); in acquireSharedFilterToken()
305 mTunerService->removeSharedFilter(this->ref<TunerFilter>()); in freeSharedFilterToken()
DTunerDemux.h66 shared_ptr<TunerService> mTunerService; variable
DTunerFilter.h118 shared_ptr<TunerService> mTunerService; variable
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceViewController.java71 private final TunerService mTunerService; field in KeyguardSliceViewController
127 mTunerService = tunerService; in KeyguardSliceViewController()
138 mTunerService.addTunable(mTunable, Settings.Secure.KEYGUARD_SLICE_URI); in onViewAttached()
156 mTunerService.removeTunable(mTunable); in onViewDetached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelController.java63 private final TunerService mTunerService; field in QSPanelController
108 mTunerService = tunerService; in QSPanelController()
147 mTunerService.addTunable(mView, QS_SHOW_BRIGHTNESS); in onViewAttached()
168 mTunerService.removeTunable(mView); in onViewDetached()
DQSTileHost.java99 private final TunerService mTunerService; field in QSTileHost
144 mTunerService = tunerService; in QSTileHost()
179 mTunerService.removeTunable(this); in destroy()
187 String value = mTunerService.getValue(TILES_SETTING); in onPluginConnected()
197 String value = mTunerService.getValue(TILES_SETTING); in onPluginDisconnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarSignalPolicy.java63 private final TunerService mTunerService; field in StatusBarSignalPolicy
91 mTunerService = tunerService; in StatusBarSignalPolicy()
109 mTunerService.addTunable(this, StatusBarIconController.ICON_HIDE_LIST); in init()
115 mTunerService.removeTunable(this); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java53 private final TunerService mTunerService; field in ExtensionControllerImpl
68 mTunerService = tunerService; in ExtensionControllerImpl()
275 mTunerService.addTunable(this, setting); in TunerItem()
285 mTunerService.removeTunable(this); in destroy()
/frameworks/av/services/tuner/hidl/
DTunerHidlDemux.cpp50 mTunerService = tuner; in TunerHidlDemux()
55 mTunerService = nullptr; in ~TunerHidlDemux()
122 ::ndk::SharedRefBase::make<TunerHidlFilter>(filterSp, filterCb, in_type, mTunerService); in openFilter()
DTunerHidlDemux.h70 shared_ptr<TunerHidlService> mTunerService; variable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java77 @Mock private TunerService mTunerService; field in DozeParametersTest
124 mTunerService, in setup()

12