Searched refs:LightsManager (Results 1 – 25 of 32) sorted by relevance
12
37 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 …]
23 import android.hardware.lights.LightsManager;35 class InputDeviceLightsManager extends LightsManager {92 public final class InputDeviceLightsSession extends LightsManager.LightsSession
33 import android.hardware.lights.LightsManager;1161 public LightsManager getInputDeviceLightsManager(int deviceId) { in getInputDeviceLightsManager()
37 public abstract class LightsManager { class62 public LightsManager() {} in LightsManager() method in LightsManager
23 import android.hardware.lights.LightsManager.LightsSession;40 public final class SystemLightsManager extends LightsManager {136 public final class SystemLightsSession extends LightsManager.LightsSession
39 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()
29 import android.hardware.lights.LightsManager;60 private final LightsManager mLightsManager;68 private LightsManager.LightsSession mLightsSession = null;119 mLightsManager = mContext.getSystemService(LightsManager.class); in CameraPrivacyLightController()
22 public abstract class LightsManager { class
59 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() {
43 import android.hardware.lights.LightsManager;79 private LightsManager mLightsManager;88 private LightsManager.LightsSession mLightsSession;142 doReturn(mLightsManager).when(context).getSystemService(LightsManager.class); in prepareCameraPrivacyLightController()
72 import com.android.server.lights.LightsManager;156 mock(LightsManager.class), in setUp()
107 import com.android.server.lights.LightsManager;246 mAttentionHelper = new NotificationAttentionHelper(getContext(), mock(LightsManager.class), in initAttentionHelper()
299 import com.android.server.lights.LightsManager;447 private LightsManager mLightsManager;
36 import android.hardware.lights.LightsManager;111 private LightsManager mLightsManager;1299 public LightsManager getLightsManager() { in getLightsManager()
66 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()
146 import com.android.server.lights.LightsManager;352 @Mock LightsManager mMockLightsManager;383 LightsManager.class, mMockLightsManager);
60 import com.android.server.lights.LightsManager;1696 LightsManager lights = LocalServices.getService(LightsManager.class);1697 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT);
73 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()
76 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()
347 import com.android.server.lights.LightsManager;2387 LightsManager lightsManager, NotificationListeners notificationListeners, in init()2725 getLocalService(LightsManager.class), in onStart()
120 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()
107 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()
135 import com.android.server.lights.LightsManager;342 private LightsManager mLightsManager;1394 mLightsManager = getLocalService(LightsManager.class);1395 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION);
1815 public abstract class LightsManager {1816 …method @NonNull public abstract android.hardware.lights.LightsManager.LightsSession openSession(in…
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...