Home
last modified time | relevance | path

Searched refs:state (Results 1 – 17 of 17) sorted by relevance

/device/samsung/tuna/liblight/
Dlights.c75 static int rgb_to_brightness(struct light_state_t const *state) in rgb_to_brightness() argument
77 int color = state->color & 0x00ffffff; in rgb_to_brightness()
84 struct light_state_t const *state) in set_light_backlight() argument
87 int brightness = rgb_to_brightness(state); in set_light_backlight()
135 static int set_light_leds(struct light_state_t const *state, int type) in set_light_leds() argument
141 switch (state->flashMode) { in set_light_leds()
143 led.state = LED_LIGHT_OFF; in set_light_leds()
147 led.state = LED_LIGHT_SLOPE; in set_light_leds()
148 led.color = state->color & 0x00ffffff; in set_light_leds()
153 led.time_slope_up_1 = (SLOPE_UP_1 * state->flashOnMS) / 1000; in set_light_leds()
[all …]
DNOTICE143 5. Submission of Contributions. Unless You explicitly state otherwise,
/device/samsung/tuna/recovery/
Drecovery_updater.c26 Value* WriteBootloaderFn(const char* name, State* state, int argc, Expr* argv[]) in WriteBootloaderFn() argument
34 return ErrorAbort(state, "%s() expects 3 args, got %d", name, argc); in WriteBootloaderFn()
37 if (ReadValueArgs(state, argv, 3, &img, &xloader_loc, &sbl_loc) < 0) { in WriteBootloaderFn()
47 return ErrorAbort(state, "%s(): argument types are incorrect", name); in WriteBootloaderFn()
/device/samsung/tuna/
Dinit.tuna.usb.rc17 setprop sys.usb.state $sys.usb.config
26 setprop sys.usb.state $sys.usb.config
35 setprop sys.usb.state $sys.usb.config
45 setprop sys.usb.state $sys.usb.config
53 setprop sys.usb.state $sys.usb.config
62 setprop sys.usb.state $sys.usb.config
70 setprop sys.usb.state $sys.usb.config
Dinit.tuna.rc89 chmod 0660 /sys/class/rfkill/rfkill0/state
90 chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DDemoKitActivity.java64 private byte state; field in DemoKitActivity.SwitchMsg
66 public SwitchMsg(byte sw, byte state) { in SwitchMsg() argument
68 this.state = state; in SwitchMsg()
76 return state; in getState()
/device/samsung/tuna/audio/
Dril_interface.h69 int ril_set_call_clock_sync(struct ril_handle *ril, enum ril_clock_state state);
Dril_interface.c177 int ril_set_call_clock_sync(struct ril_handle *ril, enum ril_clock_state state) in ril_set_call_clock_sync() argument
182 return _ril_set_call_clock_sync(ril->client, state); in ril_set_call_clock_sync()
Daudio_hw.c2338 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute() argument
2342 adev->mic_mute = state; in adev_set_mic_mute()
2347 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute() argument
2351 *state = adev->mic_mute; in adev_get_mic_mute()
/device/generic/goldfish/audio/
DAudioHardwareGeneric.cpp152 status_t AudioHardwareGeneric::setMicMute(bool state) in setMicMute() argument
154 mMicMute = state; in setMicMute()
158 status_t AudioHardwareGeneric::getMicMute(bool* state) in getMicMute() argument
160 *state = mMicMute; in getMicMute()
DAudioHardwareGeneric.h115 virtual status_t setMicMute(bool state);
116 virtual status_t getMicMute(bool* state);
DNOTICE143 5. Submission of Contributions. Unless You explicitly state otherwise,
/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp63 void USB::setUsbTaskState( byte state ) in setUsbTaskState() argument
65 usb_task_state = state; in setUsbTaskState()
DUsb.h130 void setUsbTaskState( byte state );
/device/samsung/tuna/dumpstate/
DNOTICE143 5. Submission of Contributions. Unless You explicitly state otherwise,
/device/ti/panda/self-extractors/imgtec/
DLICENSE192 state court located in Santa Clara County, California and You consent
/device/samsung/maguro/self-extractors/imgtec/
DLICENSE192 state court located in Santa Clara County, California and You consent