/test/vts/drivers/hal/libdatatype/ |
D | hal_light.cpp | 38 light_state_t* state = (light_state_t*)malloc(sizeof(light_state_t)); in GenerateLightState() local 40 state->color = RandomUint32(); in GenerateLightState() 41 state->flashMode = RandomInt32(); in GenerateLightState() 42 state->flashOnMS = RandomInt32(); in GenerateLightState() 43 state->flashOffMS = RandomInt32(); in GenerateLightState() 46 state->brightnessMode = BRIGHTNESS_MODE_USER; in GenerateLightState() 48 state->brightnessMode = BRIGHTNESS_MODE_SENSOR; in GenerateLightState() 51 state->brightnessMode = RandomInt32(); in GenerateLightState() 54 return state; in GenerateLightState() 61 light_state_t* state = (light_state_t*)malloc(sizeof(light_state_t)); in GenerateLightStateUsingMessage() local [all …]
|
/test/vts/hals/light/bullhead/ |
D | lights.c | 101 static int rgb_to_brightness(struct light_state_t const* state) in rgb_to_brightness() argument 103 int color = state->color & 0x00ffffff; in rgb_to_brightness() 118 struct light_state_t const* state) in set_light_backlight() argument 121 int brightness = rgb_to_brightness(state); in set_light_backlight() 133 static int set_light_locked(struct light_state_t const* state, int type __unused) in set_light_locked() argument 139 switch (state->flashMode) { in set_light_locked() 142 onMS = state->flashOnMS; in set_light_locked() 143 offMS = state->flashOffMS; in set_light_locked() 152 colorRGB = state->color; in set_light_locked() 156 state->flashMode, colorRGB, onMS, offMS); in set_light_locked() [all …]
|
D | NOTICE | 143 5. Submission of Contributions. Unless You explicitly state otherwise,
|
/test/vti/dashboard/src/main/webapp/css/ |
D | datepicker.css | 33 .ui-datepicker td span.ui-state-default, .ui-datepicker td a.ui-state-default { 41 .ui-datepicker td span.ui-state-hover, .ui-datepicker td a.ui-state-hover { 45 .ui-datepicker td span.ui-state-active, .ui-datepicker td a.ui-state-active { 57 .ui-datepicker-next.ui-state-hover.ui-datepicker-next-hover { 62 .ui-datepicker-prev.ui-state-hover.ui-datepicker-prev-hover { 67 .ui-datepicker-next.ui-corner-all.ui-state-hover, .ui-datepicker-prev.ui-corner-all.ui-state-hover {
|
/test/vts-testcase/kernel/encryption/ |
D | adiantum.cpp | 90 static void ChaChaInitState(uint32_t state[16], in ChaChaInitState() 97 state[i] = get_unaligned_le32(&consts[i * sizeof(__le32)]); in ChaChaInitState() 99 state[4 + i] = get_unaligned_le32(&key[i * sizeof(__le32)]); in ChaChaInitState() 101 state[12 + i] = get_unaligned_le32(&iv[i * sizeof(__le32)]); in ChaChaInitState() 135 uint32_t state[16]; in XChaCha() local 141 ChaChaInitState(state, key, nonce); in XChaCha() 142 ChaChaPermute(state, nrounds); in XChaCha() 144 put_unaligned_le32(state[(i < 4 ? 0 : 8) + i], in XChaCha() 149 ChaChaInitState(state, real_key, real_iv); in XChaCha() 157 memcpy(x, state, 64); in XChaCha() [all …]
|
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/ |
D | home_bot_config.py | 229 state = os_utilities.get_state() 231 state[u'device'] = _DEVICE.properties 233 extra_state = _BOT_DEVICE_MAP[_DEVICE.bot_id].state 235 state[u'device'].update(extra_state) 237 state[u'quarantined'] = 'device is not reachable' 238 return state
|
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/ |
D | home_bot_config.py | 229 state = os_utilities.get_state() 231 state[u'device'] = _DEVICE.properties 233 extra_state = _BOT_DEVICE_MAP[_DEVICE.bot_id].state 235 state[u'device'].update(extra_state) 237 state[u'quarantined'] = 'device is not reachable' 238 return state
|
/test/vts-testcase/kernel/api/sysfs/ |
D | KernelApiSysfsTest.py | 118 state = '/sys/class/android_usb/android0/state' 119 self.IsReadOnly(state) 120 contents = target_file_utils.ReadFileContent(state, self.shell).strip() 123 '%s does not contain an expected string' % state) 276 for state in content.split(): 277 if state not in allowed_states: 278 asserts.fail("Invalid system power state: %s" % state)
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 45 String state = "/sys/class/android_usb/android0/state"; in testAndroidUSB() local 46 assertTrue(TargetFileUtils.isReadOnly(state, getDevice())); in testAndroidUSB() 47 String content = getDevice().pullFileContents(state).trim(); in testAndroidUSB() 255 for (String state : content.split(" ")) { in testSysPowerState() 256 assertTrue(String.format("Invalid system power state: '%s'", state), in testSysPowerState() 257 allowedStates.contains(state)); in testSysPowerState()
|
/test/framework/harnesses/host_controller/ |
D | tfc_host_controller_test.py | 43 state="Available") 47 state="Allocated") 51 state="Available",
|
D | console.py | 403 def ChangeDeviceState(self, serial, state): argument 414 if state == common._DEVICE_STATUS_DICT["use"]: 420 self.device_status[serial] = state 424 and current_status != state):
|
D | console_test.py | 53 state="Available",
|
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/ |
D | schedule.component.ts | 18 import { animate, state, style, transition, trigger } from "@angular/animations"; 36 state('void', style({height: '0px', minHeight: '0', visibility: 'hidden'})), 37 state('*', style({height: '*', visibility: 'visible'})),
|
/test/vts/testcases/host/kernel_proc_file_api_test/ |
D | vts_kernel_proc_file_api_test.py | 184 def CheckStatsInState(state): argument 191 state = 1 if state else 0 196 wchar_index = 6 if state else 2 198 self.dut.shell.Execute("echo %d %s > %s" % (root_uid, state, filepath))
|
/test/vts-testcase/kernel/api/proc/ |
D | VtsKernelProcFileApiTest.py | 237 def CheckStatsInState(state): argument 244 state = 1 if state else 0 249 wchar_index = 6 if state else 2 251 self.dut.adb.shell("echo %d %s > %s" % (root_uid, state, filepath))
|
/test/vti/test_serving/gae/frontend/src/app/menu/job/ |
D | job.component.ts | 18 import { animate, state, style, transition, trigger } from '@angular/animations'; 40 state('void', style({height: '0px', minHeight: '0', visibility: 'hidden'})), 41 state('*', style({height: '*', visibility: 'visible'})),
|
/test/framework/harnesses/host_controller/tradefed/ |
D | remote_operation.py | 109 state=dev_obj["state"],
|
/test/framework/harnesses/host_controller/tfc/ |
D | tfc_client_test.py | 40 run_target="sailfish", state="Available")]
|
/test/mlts/benchmark/ |
D | LICENSE | 130 5. Submission of Contributions. Unless You explicitly state otherwise,
|
/test/mlts/models/ |
D | LICENSE | 130 5. Submission of Contributions. Unless You explicitly state otherwise,
|