Home
last modified time | relevance | path

Searched refs:LightsManager (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java37 import android.hardware.lights.LightsManager;
69 fakeHwLight(102, LightsManager.LIGHT_TYPE_MICROPHONE, 4),
70 fakeHwLight(103, LightsManager.LIGHT_TYPE_MICROPHONE, 3),
71 fakeHwLight(104, LightsManager.LIGHT_TYPE_MICROPHONE, 1),
72 fakeHwLight(105, LightsManager.LIGHT_TYPE_MICROPHONE, 2)
113 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testGetLights_filtersSystemLights()
122 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlMultipleLights()
125 LightsManager.LightsSession session = manager.openSession(); in testControlMultipleLights()
144 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlLights_onlyEffectiveForLifetimeOfClient()
151 LightsManager.LightsSession session = manager.openSession(); in testControlLights_onlyEffectiveForLifetimeOfClient()
[all …]
/frameworks/base/core/java/android/hardware/input/
DInputDeviceLightsManager.java23 import android.hardware.lights.LightsManager;
35 class InputDeviceLightsManager extends LightsManager {
92 public final class InputDeviceLightsSession extends LightsManager.LightsSession
DInputManagerGlobal.java33 import android.hardware.lights.LightsManager;
1161 public LightsManager getInputDeviceLightsManager(int deviceId) { in getInputDeviceLightsManager()
/frameworks/base/core/java/android/hardware/lights/
DLightsManager.java37 public abstract class LightsManager { class
62 public LightsManager() {} in LightsManager() method in LightsManager
DSystemLightsManager.java23 import android.hardware.lights.LightsManager.LightsSession;
40 public final class SystemLightsManager extends LightsManager {
136 public final class SystemLightsSession extends LightsManager.LightsSession
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceLightsManagerTest.java39 import android.hardware.lights.LightsManager;
152 LightsManager lightsManager = device.getLightsManager(); in testGetInputDeviceLights()
175 LightsManager lightsManager = device.getLightsManager(); in testControlMultipleLights()
180 LightsManager.LightsSession session = lightsManager.openSession(); in testControlMultipleLights()
225 LightsManager lightsManager = device.getLightsManager(); in testControlPlayerIdLight()
229 LightsManager.LightsSession session = lightsManager.openSession(); in testControlPlayerIdLight()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java29 import android.hardware.lights.LightsManager;
60 private final LightsManager mLightsManager;
68 private LightsManager.LightsSession mLightsSession = null;
119 mLightsManager = mContext.getSystemService(LightsManager.class); in CameraPrivacyLightController()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsManager.java22 public abstract class LightsManager { class
DLightsService.java59 private final LightImpl[] mLightsByType = new LightImpl[LightsManager.LIGHT_ID_COUNT];
428 return (0 <= mHwLight.type && mHwLight.type < LightsManager.LIGHT_ID_COUNT); in isSystemLight()
501 publishLocalService(LightsManager.class, mService); in onStart()
517 private final LightsManager mService = new LightsManager() {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/
DCameraPrivacyLightControllerTest.java43 import android.hardware.lights.LightsManager;
79 private LightsManager mLightsManager;
88 private LightsManager.LightsSession mLightsSession;
142 doReturn(mLightsManager).when(context).getSystemService(LightsManager.class); in prepareCameraPrivacyLightController()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java72 import com.android.server.lights.LightsManager;
156 mock(LightsManager.class), in setUp()
DNotificationAttentionHelperTest.java107 import com.android.server.lights.LightsManager;
246 mAttentionHelper = new NotificationAttentionHelper(getContext(), mock(LightsManager.class), in initAttentionHelper()
DNotificationManagerServiceTest.java299 import com.android.server.lights.LightsManager;
447 private LightsManager mLightsManager;
/frameworks/base/core/java/android/view/
DInputDevice.java36 import android.hardware.lights.LightsManager;
111 private LightsManager mLightsManager;
1299 public LightsManager getLightsManager() { in getLightsManager()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java66 import com.android.server.lights.LightsManager;
115 private LightsManager mMockedLightsManager;
153 LocalServices.removeServiceForTest(LightsManager.class); in setUp()
154 LocalServices.addService(LightsManager.class, mMockedLightsManager); in setUp()
912 .getLight(LightsManager.LIGHT_ID_BACKLIGHT); in testBacklightAdapter_withoutSourceControlSupport_defaultDisplay()
925 .getLight(LightsManager.LIGHT_ID_BACKLIGHT); in testBacklightAdapter_withoutSourceControlSupport_nonDefaultDisplay()
DDisplayManagerServiceTest.java146 import com.android.server.lights.LightsManager;
352 @Mock LightsManager mMockLightsManager;
383 LightsManager.class, mMockLightsManager);
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java60 import com.android.server.lights.LightsManager;
1696 LightsManager lights = LocalServices.getService(LightsManager.class);
1697 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT);
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java73 import com.android.server.lights.LightsManager;
234 mLed = new Led(context, getLocalService(LightsManager.class)); in BatteryService()
1325 public Led(Context context, LightsManager lights) { in Led()
1326 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java76 import com.android.server.lights.LightsManager;
169 public NotificationAttentionHelper(Context context, LightsManager lightsManager, in NotificationAttentionHelper()
186 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in NotificationAttentionHelper()
187 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in NotificationAttentionHelper()
DNotificationManagerService.java347 import com.android.server.lights.LightsManager;
2387 LightsManager lightsManager, NotificationListeners notificationListeners, in init()
2725 getLocalService(LightsManager.class), in onStart()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java120 import android.hardware.lights.LightsManager;
1491 registerService(Context.LIGHTS_SERVICE, LightsManager.class, in registerService()
1492 new CachedServiceFetcher<LightsManager>() { in registerService()
1494 public LightsManager createService(ContextImpl ctx) in registerService()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java107 import com.android.server.lights.LightsManager;
166 @Mock private LightsManager mLightsManagerMock;
244 addLocalServiceMock(LightsManager.class, mLightsManagerMock); in setUp()
380 LocalServices.removeServiceForTest(LightsManager.class); in tearDown()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java135 import com.android.server.lights.LightsManager;
342 private LightsManager mLightsManager;
1394 mLightsManager = getLocalService(LightsManager.class);
1395 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION);
/frameworks/base/core/api/
Dtest-current.txt1815 public abstract class LightsManager {
1816 …method @NonNull public abstract android.hardware.lights.LightsManager.LightsSession openSession(in…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12