Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/jni/tuner/
H A DTunerClient.cpp36 if (mTunerService == nullptr) { in TunerClient()
49 if (mTunerService != nullptr) { in getFrontendIds()
60 if (mTunerService != nullptr) { in openFrontend()
85 if (mTunerService != nullptr) { in getFrontendInfo()
98 if (mTunerService != nullptr) { in openDemux()
111 if (mTunerService != nullptr) { in getDemuxInfo()
123 if (mTunerService != nullptr) { in getDemuxInfoList()
132 if (mTunerService != nullptr) { in getDemuxCaps()
145 if (mTunerService != nullptr) { in openDescrambler()
158 if (mTunerService != nullptr) { in openLnb()
[all …]
H A DTunerClient.h178 shared_ptr<ITunerService> mTunerService;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A 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()
H A 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()
H A DTunerFragment.java58 private final TunerService mTunerService; field in TunerFragment
64 mTunerService = tunerService; in TunerFragment()
135 mTunerService.showResetRequest(() -> { in onOptionsItemSelected()
H A DTunerActivity.java47 private final TunerService mTunerService; field in TunerActivity
58 mTunerService = tunerService; in TunerActivity()
80 : new TunerFragment(mTunerService); in onCreate()
H A DLockscreenFragment.java69 private TunerService mTunerService; field in LockscreenFragment
74 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
84 mTunables.forEach(t -> mTunerService.removeTunable(t)); in onDestroy()
105 mTunerService.setValue(buttonSetting, item.getSettingValue()); in showSelectDialog()
131 mTunerService.addTunable(t, keys); in addTunable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DOperatorNameViewController.java47 private final TunerService mTunerService; field in OperatorNameViewController
62 mTunerService = tunerService; in OperatorNameViewController()
72 mTunerService.addTunable(mTunable, KEY_SHOW_OPERATOR_NAME); in onViewAttached()
80 mTunerService.removeTunable(mTunable); in onViewDetached()
89 && (mTunerService.getValue(KEY_SHOW_OPERATOR_NAME, 1) != 0); in update()
107 private final TunerService mTunerService; field in OperatorNameViewController.Factory
121 mTunerService = tunerService; in Factory()
132 mTunerService, in create()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSliceViewControllerTest.java53 private TunerService mTunerService; field in KeyguardSliceViewControllerTest
70 mTunerService, mDumpManager, mDisplayTracker); in setUp()
96 verify(mTunerService).addTunable(any(TunerService.Tunable.class), anyString()); in onAttachedToWindow_registersListeners()
115 verify(mTunerService).removeTunable(any(TunerService.Tunable.class)); in onDetachedFromWindow_unregistersListeners()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
H A DBatteryMeterViewController.java52 private final TunerService mTunerService; field in BatteryMeterViewController
148 mTunerService = tunerService; in BatteryMeterViewController()
199 mTunerService.addTunable(mTunable, StatusBarIconController.ICON_HIDE_LIST); in subscribeForTunerUpdates()
208 mTunerService.removeTunable(mTunable); in unsubscribeFromTunerUpdates()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSPanelController.java53 private final TunerService mTunerService; field in QSPanelController
86 mTunerService = tunerService; in QSPanelController()
115 mTunerService.addTunable(mView, QS_SHOW_BRIGHTNESS); in onViewAttached()
134 mTunerService.removeTunable(mView); in onViewDetached()
H A DQSTileHost.java98 private final TunerService mTunerService; field in QSTileHost
142 mTunerService = tunerService; in QSTileHost()
174 mTunerService.removeTunable(this); in destroy()
182 String value = mTunerService.getValue(TILES_SETTING); in onPluginConnected()
192 String value = mTunerService.getValue(TILES_SETTING); in onPluginDisconnected()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSliceViewController.java65 private final TunerService mTunerService; field in KeyguardSliceViewController
117 mTunerService = tunerService; in KeyguardSliceViewController()
128 mTunerService.addTunable(mTunable, Settings.Secure.KEYGUARD_SLICE_URI); in onViewAttached()
146 mTunerService.removeTunable(mTunable); in onViewDetached()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarSignalPolicy.java62 private final TunerService mTunerService; field in StatusBarSignalPolicy
90 mTunerService = tunerService; in StatusBarSignalPolicy()
108 mTunerService.addTunable(this, StatusBarIconController.ICON_HIDE_LIST); in init()
114 mTunerService.removeTunable(this); in destroy()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DDozeParametersTest.java77 @Mock private TunerService mTunerService; field in DozeParametersTest
123 mTunerService, in setup()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSTileHostTest.java109 private TunerService mTunerService; field in QSTileHostTest
165 mPluginManager, mTunerService, () -> mAutoTiles, mShadeController, in setUp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutControllerTest.java128 @Mock private TunerService mTunerService; field in NotificationStackScrollLayoutControllerTest
676 mTunerService, in initController()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java266 @Inject Lazy<TunerService> mTunerService; field in Dependency
427 mProviders.put(TunerService.class, mTunerService::get); in start()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutController.java160 private final TunerService mTunerService; field in NotificationStackScrollLayoutController
689 mTunerService = tunerService; in NotificationStackScrollLayoutController()
793 mTunerService.addTunable( in setUpView()