/frameworks/base/media/jni/tuner/ |
D | TunerClient.cpp | 30 shared_ptr<ITunerService> TunerClient::mTunerService; member in android::TunerClient 36 if (mTunerService == nullptr) { in TunerClient() 38 mTunerService = ITunerService::fromBinder(binder); in TunerClient() 40 if (mTunerService == nullptr) { in TunerClient() 43 mTunerService->getTunerHalVersion(&mTunerVersion); in TunerClient() 53 if (mTunerService != nullptr) { in getFrontendIds() 54 Status s = mTunerService->getFrontendIds(&ids); in getFrontendIds() 64 if (mTunerService != nullptr) { in openFrontend() 66 Status s = mTunerService->openFrontend(frontendHandle, &tunerFrontend); in openFrontend() 77 s = mTunerService->getFrontendInfo(id, &frontendInfo); in openFrontend() [all …]
|
D | TunerClient.h | 156 static shared_ptr<ITunerService> mTunerService;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 41 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()
|
D | ShortcutPicker.java | 45 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()
|
D | TunerFragment.java | 58 private final TunerService mTunerService; field in TunerFragment 64 mTunerService = tunerService; in TunerFragment() 135 mTunerService.showResetRequest(() -> { in onOptionsItemSelected()
|
D | TunerActivity.java | 47 private final TunerService mTunerService; field in TunerActivity 58 mTunerService = tunerService; in TunerActivity() 80 : new TunerFragment(mTunerService); in onCreate()
|
D | LockscreenFragment.java | 69 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameViewController.java | 47 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | BatteryMeterViewControllerTest.java | 59 private TunerService mTunerService; field in BatteryMeterViewControllerTest 87 verify(mTunerService).addTunable(any(), any()); in onViewAttached_callbacksRegistered() 108 verify(mTunerService).removeTunable(any()); in onViewDetached_callbacksUnregistered() 121 verify(mTunerService).removeTunable(any()); in ignoreTunerUpdates_afterOnViewAttached_callbackUnregistered() 132 verify(mTunerService, never()).addTunable(any(), any()); in ignoreTunerUpdates_beforeOnViewAttached_callbackNeverRegistered() 158 mTunerService, in initController()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
D | TunablePaddingTest.java | 43 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/tests/src/com/android/keyguard/ |
D | KeyguardSliceViewControllerTest.java | 51 private TunerService mTunerService; field in KeyguardSliceViewControllerTest 68 mTunerService, mDumpManager, mDisplayTracker); in setUp() 86 verify(mTunerService).addTunable(any(TunerService.Tunable.class), anyString()); in onAttachedToWindow_registersListeners() 101 verify(mTunerService).removeTunable(any(TunerService.Tunable.class)); in onDetachedFromWindow_unregistersListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 57 private TunerService mTunerService; field in ExtensionControllerImplTest 64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup() 70 mTunerService, in setup() 109 verify(mTunerService).addTunable(any(), eq(keys[0]), eq(keys[1])); in testTuner() 112 verify(mTunerService).removeTunable(any()); in testTuner() 181 verify(mTunerService).addTunable(tunable.capture(), any()); in testSortOrder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterViewController.java | 48 private final TunerService mTunerService; field in BatteryMeterViewController 126 mTunerService = tunerService; in BatteryMeterViewController() 175 mTunerService.addTunable(mTunable, StatusBarIconController.ICON_HIDE_LIST); in subscribeForTunerUpdates() 184 mTunerService.removeTunable(mTunable); in unsubscribeFromTunerUpdates()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 142 private TunerService mTunerService; field in ScreenDecorationsTest 237 mTunerService, mUserTracker, mDisplayTracker, mDotViewController, mThreadFactory, in setup() 273 reset(mTunerService); in setup() 468 verify(mTunerService, never()).addTunable(any(), any()); in testNoRounding_NoCutout_NoPrivacyDot_NoFaceScanning() 501 verify(mTunerService, times(1)).addTunable(any(), any()); in testNoRounding_NoCutout_PrivacyDot_NoFaceScanning() 532 verify(mTunerService, times(1)).addTunable(any(), any()); in testRounding_NoCutout_NoPrivacyDot_NoFaceScanning() 564 verify(mTunerService, times(1)).addTunable(any(), any()); in testRounding_NoCutout_PrivacyDot_NoFaceScanning() 1079 verify(mTunerService, times(0)).addTunable(any(), any()); in testRegistration_From_NoOverlay_To_HasOverlays() 1080 verify(mTunerService, times(1)).removeTunable(any()); in testRegistration_From_NoOverlay_To_HasOverlays() 1082 reset(mTunerService); in testRegistration_From_NoOverlay_To_HasOverlays() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanelController.java | 53 private final TunerService mTunerService; field in QSPanelController 85 mTunerService = tunerService; in QSPanelController() 114 mTunerService.addTunable(mView, QS_SHOW_BRIGHTNESS); in onViewAttached() 133 mTunerService.removeTunable(mView); in onViewDetached()
|
D | QSTileHost.java | 100 private final TunerService mTunerService; field in QSTileHost 148 mTunerService = tunerService; in QSTileHost() 187 mTunerService.removeTunable(this); in destroy() 197 String value = mTunerService.getValue(TILES_SETTING); in onPluginConnected() 207 String value = mTunerService.getValue(TILES_SETTING); in onPluginDisconnected()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceViewController.java | 65 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 53 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarSignalPolicy.java | 66 private final TunerService mTunerService; field in StatusBarSignalPolicy 98 mTunerService = tunerService; in StatusBarSignalPolicy() 117 mTunerService.addTunable(this, StatusBarIconController.ICON_HIDE_LIST); in init() 123 mTunerService.removeTunable(this); in destroy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | DozeParametersTest.java | 77 @Mock private TunerService mTunerService; field in DozeParametersTest 123 mTunerService, in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeUiTest.java | 71 private TunerService mTunerService; field in DozeUiTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutControllerTest.java | 105 @Mock private TunerService mTunerService; field in NotificationStackScrollLayoutControllerTest 161 mTunerService, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 134 private final TunerService mTunerService; field in ScreenDecorations 325 mTunerService = tunerService; in ScreenDecorations() 608 mTunerService.addTunable(this, SIZE); in setupDecorationsInner() 632 mTunerService.removeTunable(this); in setupDecorationsInner()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewTest.java | 80 @Mock private TunerService mTunerService; field in NotificationShadeWindowViewTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSTileHostTest.java | 109 private TunerService mTunerService; field in QSTileHostTest 168 mPluginManager, mTunerService, mAutoTiles, mDumpManager, mCentralSurfaces, in setUp()
|