HomeSort by relevance Sort by last modified time
    Searched refs:onMS (Results 1 - 14 of 14) sorted by null

  /frameworks/base/services/core/java/com/android/server/lights/
Light.java 45 public abstract void setFlashing(int color, int mode, int onMS, int offMS);
47 public abstract void pulse(int color, int onMS);
LightsService.java 69 public void setFlashing(int color, int mode, int onMS, int offMS) {
71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER);
81 public void pulse(int color, int onMS) {
84 setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000,
87 mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS);
125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) {
132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS ||
140 mOnMS = onMS;
146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode);
216 int onMS, int offMS, int brightnessMode)
    [all...]
  /test/vts/hals/light/bullhead/
lights.c 136 int onMS, offMS;
142 onMS = state->flashOnMS;
147 onMS = 0;
155 ALOGD("set_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
156 state->flashMode, colorRGB, onMS, offMS);
164 if (onMS == 0) {
176 write_on_off(RED_TIMEOUT_FILE, onMS, offMS);
177 write_on_off(GREEN_TIMEOUT_FILE, onMS, offMS);
178 write_on_off(BLUE_TIMEOUT_FILE, onMS, offMS);
  /device/google/marlin/liblight/
lights.c 215 int onMS, offMS;
224 onMS = state->flashOnMS;
229 onMS = 0;
237 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
238 state->flashMode, colorRGB, onMS, offMS);
245 write_double_int(RED_ON_OFF_MS_FILE, onMS, offMS);
247 write_double_int(GREEN_ON_OFF_MS_FILE, onMS, offMS);
249 write_double_int(BLUE_ON_OFF_MS_FILE, onMS, offMS);
  /device/google/wahoo/liblight/
lights.c 214 int onMS, offMS;
223 onMS = state->flashOnMS;
228 onMS = 0;
236 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
237 state->flashMode, colorRGB, onMS, offMS);
244 write_double_int(RED_ON_OFF_MS_FILE, onMS, offMS);
246 write_double_int(GREEN_ON_OFF_MS_FILE, onMS, offMS);
248 write_double_int(BLUE_ON_OFF_MS_FILE, onMS, offMS);
  /hardware/qcom/display/msm8960/liblight/
lights.c 148 int onMS, offMS;
153 onMS = state->flashOnMS;
158 onMS = 0;
166 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
167 state->flashMode, colorRGB, onMS, offMS);
170 if (onMS > 0 && offMS > 0) {
171 int totalMS = onMS + offMS;
179 pwm = (onMS * 255) / totalMS;
  /frameworks/base/services/core/jni/
com_android_server_lights_LightsService.cpp 108 jint onMS,
121 state.flashOnMs = onMS;
163 jint onMS,
179 colorARGB, flashMode, onMS, offMS, brightnessMode);
  /hardware/qcom/display/msm8909/liblight/
lights.c 196 int onMS, offMS;
205 onMS = state->flashOnMS;
210 onMS = 0;
218 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
219 state->flashMode, colorRGB, onMS, offMS);
226 if (onMS > 0 && offMS > 0) {
233 if (onMS == offMS)
  /hardware/qcom/display/msm8909w_3100/liblight/
lights.c 196 int onMS, offMS;
205 onMS = state->flashOnMS;
210 onMS = 0;
218 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
219 state->flashMode, colorRGB, onMS, offMS);
226 if (onMS > 0 && offMS > 0) {
233 if (onMS == offMS)
  /hardware/qcom/display/msm8996/liblight/
lights.c 135 int onMS, offMS;
144 onMS = state->flashOnMS;
149 onMS = 0;
157 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
158 state->flashMode, colorRGB, onMS, offMS);
165 if (onMS > 0 && offMS > 0) {
172 if (onMS == offMS)
  /hardware/qcom/display/msm8998/liblight/
lights.c 172 int onMS, offMS;
181 onMS = state->flashOnMS;
186 onMS = 0;
194 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
195 state->flashMode, colorRGB, onMS, offMS);
202 if (onMS > 0 && offMS > 0) {
209 if (onMS == offMS)
  /hardware/qcom/display/msm8084/liblight/
lights.c 134 int onMS, offMS;
143 onMS = state->flashOnMS;
148 onMS = 0;
156 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
157 state->flashMode, colorRGB, onMS, offMS);
164 if (onMS > 0 && offMS > 0) {
  /hardware/qcom/display/msm8226/liblight/
lights.c 134 int onMS, offMS;
143 onMS = state->flashOnMS;
148 onMS = 0;
156 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
157 state->flashMode, colorRGB, onMS, offMS);
164 if (onMS > 0 && offMS > 0) {
  /hardware/qcom/display/msm8994/liblight/
lights.c 135 int onMS, offMS;
144 onMS = state->flashOnMS;
149 onMS = 0;
157 ALOGD("set_speaker_light_locked mode %d, colorRGB=%08X, onMS=%d, offMS=%d\n",
158 state->flashMode, colorRGB, onMS, offMS);
165 if (onMS > 0 && offMS > 0) {

Completed in 1178 milliseconds