/frameworks/base/services/tests/servicestests/src/com/android/server/lights/ |
D | LightsServiceTest.java | 29 import android.hardware.lights.LightsManager; 55 fakeHwLight(102, LightsManager.LIGHT_TYPE_MICROPHONE, 4), 56 fakeHwLight(103, LightsManager.LIGHT_TYPE_MICROPHONE, 3), 57 fakeHwLight(104, LightsManager.LIGHT_TYPE_MICROPHONE, 1), 58 fakeHwLight(105, LightsManager.LIGHT_TYPE_MICROPHONE, 2) 92 LightsManager manager = new LightsManager(mContext, service.mManagerService); in testGetLights_filtersSystemLights() 101 LightsManager manager = new LightsManager(mContext, service.mManagerService); in testControlMultipleLights() 104 LightsManager.LightsSession session = manager.openSession(); in testControlMultipleLights() 123 LightsManager manager = new LightsManager(mContext, service.mManagerService); in testControlLights_onlyEffectiveForLifetimeOfClient() 130 LightsManager.LightsSession session = manager.openSession(); in testControlLights_onlyEffectiveForLifetimeOfClient() [all …]
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightsManager.java | 50 public final class LightsManager { class 75 public LightsManager(@NonNull Context context) throws ServiceNotFoundException { in LightsManager() method in LightsManager 86 public LightsManager(@NonNull Context context, @NonNull ILightsManager service) { in LightsManager() method in LightsManager
|
D | Light.java | 102 public @LightsManager.LightType int getType() { in getType()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 40 import com.android.server.lights.LightsManager; 71 private LightsManager mMockedLightsManager; 88 LocalServices.removeServiceForTest(LightsManager.class); in setUp() 89 LocalServices.addService(LightsManager.class, mMockedLightsManager); in setUp()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 446 mLights = new LightImpl[LightsManager.LIGHT_ID_COUNT]; in populateAvailableLights() 481 publishLocalService(LightsManager.class, mService); in onStart() 497 private final LightsManager mService = new LightsManager() { 516 return 0 <= light.type && light.type < LightsManager.LIGHT_ID_COUNT; in isSystemLight()
|
D | LightsManager.java | 21 public abstract class LightsManager { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 52 import com.android.server.lights.LightsManager; 101 @Mock LightsManager mMockLightsManager; 113 LocalServices.removeServiceForTest(LightsManager.class); in setUp() 114 LocalServices.addService(LightsManager.class, mMockLightsManager); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 72 import com.android.server.lights.LightsManager; 102 @Mock private LightsManager mLightsManagerMock; 154 addLocalServiceMock(LightsManager.class, mLightsManagerMock); in setUp() 207 LocalServices.removeServiceForTest(LightsManager.class); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 41 import com.android.server.lights.LightsManager; 199 LightsManager lights = LocalServices.getService(LightsManager.class); in LocalDisplayDevice() 200 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT); in LocalDisplayDevice()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 61 import com.android.server.lights.LightsManager; 135 mock(LightsManager.class), in setUp()
|
D | NotificationManagerServiceTest.java | 146 import com.android.server.lights.LightsManager; 354 final LightsManager mockLightsManager = mock(LightsManager.class); in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 71 import com.android.server.lights.LightsManager; 204 mLed = new Led(context, getLocalService(LightsManager.class)); in BatteryService() 1085 public Led(Context context, LightsManager lights) { in Led() 1086 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 86 import android.hardware.lights.LightsManager; 1363 registerService(Context.LIGHTS_SERVICE, LightsManager.class, in registerService() 1364 new CachedServiceFetcher<LightsManager>() { in registerService() 1366 public LightsManager createService(ContextImpl ctx) in registerService() 1368 return new LightsManager(ctx); in registerService()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 98 import com.android.server.lights.LightsManager; 242 private LightsManager mLightsManager; 860 mLightsManager = getLocalService(LightsManager.class); in systemReady() 861 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 237 import com.android.server.lights.LightsManager; 1639 LightsManager lightsManager, NotificationListeners notificationListeners, in init() 1738 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in init() 1739 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in init() 1821 getLocalService(LightsManager.class), in onStart()
|
/frameworks/base/api/ |
D | test-current.txt | 1009 public final class LightsManager { 1012 …fest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession … 1016 public final class LightsManager.LightsSession implements java.lang.AutoCloseable {
|
D | system-current.txt | 2515 public final class LightsManager { 2517 …fest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession … 2521 public final class LightsManager.LightsSession implements java.lang.AutoCloseable {
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2515 public final class LightsManager { 2517 …fest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession … 2521 public final class LightsManager.LightsSession implements java.lang.AutoCloseable {
|
/frameworks/base/services/ |
D | art-profile | 599 …/android/server/BatteryService;Landroid/content/Context;Lcom/android/server/lights/LightsManager;)V 9609 …Manager;Landroid/content/pm/PackageManager;Lcom/android/server/lights/LightsManager;Lcom/android/s… 19387 Lcom/android/server/lights/LightsManager;
|