HomeSort by relevance Sort by last modified time
    Searched refs:mode (Results 251 - 275 of 11477) sorted by null

<<11121314151617181920>>

  /hardware/libhardware_legacy/audio/
AudioHardwareInterface.cpp 54 static const char* displayMode(int mode)
56 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES))
58 return routingModeStrings[mode+3];
86 status_t AudioHardwareBase::setMode(int mode)
89 ALOGD("setMode(%s)", displayMode(mode));
91 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES))
93 if (mMode == mode)
95 mMode = mode;
    [all...]
  /external/ltp/testcases/kernel/syscalls/open/
open11.c 100 mode_t mode; member in struct:test_case
111 .mode = 0644,
118 .mode = 0644,
125 .mode = 0644,
132 .mode = 0644,
139 .mode = 0644,
149 .mode = 0755,
156 .mode = 0755,
163 .mode = 0644,
173 .mode = 0644
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
gzlib.c 79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode)
94 const char *mode;
118 /* interpret mode */
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
    [all...]
  /external/python/cpython2/Modules/zlib/
gzlib.c 79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode)
94 const char *mode;
118 /* interpret mode */
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
    [all...]
  /external/python/cpython3/Modules/zlib/
gzlib.c 79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode)
94 const char *mode;
118 /* interpret mode */
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
    [all...]
  /external/zlib/src/
gzlib.c 79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode)
94 const char *mode;
118 /* interpret mode */
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
    [all...]
  /toolchain/binutils/binutils-2.27/zlib/
gzlib.c 79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode)
94 const char *mode;
118 /* interpret mode */
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
    [all...]
  /external/autotest/server/cros/ap_configurators/
ap_spec_unittest.py 22 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE)
31 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE)
38 self.assertEquals(spec.mode, ap_spec.DEFAULT_5GHZ_MODE)
42 """Test setting only a 2GHz mode."""
43 spec = ap_spec.APSpec(mode=ap_spec.MODE_B)
49 """Test setting only a 5GHz mode."""
50 spec = ap_spec.APSpec(mode=ap_spec.MODE_A)
56 """Test setting the mode to N."""
57 spec = ap_spec.APSpec(mode=ap_spec.MODE_N)
66 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE
    [all...]
belkinF7D5301_ap_configurator.py 18 def _set_mode(self, mode):
23 mode_name = mode_mapping.get(mode)
25 raise RuntimeError('The mode %d not supported by router %s. ',
26 hex(mode), self.name)
linksys_ap_15_configurator.py 14 def _set_mode(self, mode):
15 # Create the mode to popup item mapping
19 mode_name = mode_mapping.get(mode)
21 raise RuntimeError('The mode selected %d is not supported by router'
22 ' %s.', hex(mode), self.name)
  /external/mesa3d/src/mesa/main/
polygon.c 45 * \param mode culling mode.
54 _mesa_CullFace( GLenum mode )
59 _mesa_debug(ctx, "glCullFace %s\n", _mesa_enum_to_string(mode));
61 if (mode!=GL_FRONT && mode!=GL_BACK && mode!=GL_FRONT_AND_BACK) {
66 if (ctx->Polygon.CullFaceMode == mode)
70 ctx->Polygon.CullFaceMode = mode;
73 ctx->Driver.CullFace( ctx, mode );
    [all...]
  /external/deqp/framework/delibs/deutil/
deFile.c 66 static int mapOpenMode (deFileMode mode)
71 DE_ASSERT((mode & DE_FILEMODE_READ) != 0 || ((mode & DE_FILEMODE_WRITE) != 0));
73 /* Create, open or create and open mode is required. */
74 DE_ASSERT((mode & DE_FILEMODE_OPEN) != 0 || ((mode & DE_FILEMODE_CREATE) != 0));
77 DE_ASSERT(!(mode & DE_FILEMODE_CREATE) || (mode & DE_FILEMODE_WRITE));
80 DE_ASSERT(!(mode & DE_FILEMODE_TRUNCATE) || ((mode & DE_FILEMODE_WRITE) && (mode & DE_FILEMODE_OPEN)))
    [all...]
  /device/google/contexthub/firmware/os/inc/
spi_priv.h 30 const struct SpiMode *mode);
32 const struct SpiMode *mode);
35 size_t size, const struct SpiMode *mode);
40 int (*slaveStartSync)(struct SpiDevice *dev, const struct SpiMode *mode);
41 int (*slaveStartAsync)(struct SpiDevice *dev, const struct SpiMode *mode);
43 int (*slaveIdle)(struct SpiDevice *dev, const struct SpiMode *mode);
45 size_t size, const struct SpiMode *mode);
  /external/ltp/testcases/kernel/syscalls/chmod/
chmod01.c 24 * Verify that, chmod(2) succeeds when used to change the mode permissions
28 * chmod(2) should return 0 and the mode permissions set on file should match
29 * the specified mode.
97 int mode; local
110 mode = modes[i];
112 TEST(chmod(TESTFILE, mode));
117 mode);
125 if (stat_buf.st_mode == mode)
128 TESTFILE, mode);
133 mode);
    [all...]
  /external/ltp/testcases/kernel/syscalls/fchmod/
fchmod07.c 24 * Verify that, fchmod(2) succeeds when used to change the mode permissions
28 * fchmod(2) should return 0 and the mode permissions set on file should match
29 * the specified mode.
96 int mode; /* file mode permission */ local
109 mode = Modes[ind];
112 * Call fchmod(2) with different mode permission
115 TEST(fchmod(fd, mode));
119 "errno=%d : %s", fd, mode, TEST_ERRNO,
136 * Check for expected mode permission
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_util.c 36 GLuint brw_translate_blend_equation( GLenum mode )
38 switch (mode) {
120 get_hw_prim_for_gl_prim(int mode)
122 if (mode >= BRW_PRIM_OFFSET)
123 return mode - BRW_PRIM_OFFSET;
125 assert(mode < ARRAY_SIZE(prim_to_hw_prim));
126 return prim_to_hw_prim[mode];
  /cts/tests/app/src/android/app/cts/
ActivityActionModeTest.java 59 final ActionMode mode = mActivityRule.getActivity().startActionMode( local
62 assertNotNull(mode);
63 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType());
73 final ActionMode mode = mActivityRule.getActivity().startActionMode( local
76 assertNotNull(mode);
77 assertEquals(ActionMode.TYPE_FLOATING, mode.getType());
87 final ActionMode mode = mActivityRule.getActivity().startActionMode(mCallback); local
89 assertNotNull(mode);
90 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType());
  /external/libopus/silk/
control_audio_bandwidth.c 60 psEncC->sLP.mode = 0;
67 if( psEncC->sLP.mode == 0 ) {
76 psEncC->sLP.mode = 0;
87 psEncC->sLP.mode = -2;
107 psEncC->sLP.mode = 1;
109 if( psEncC->sLP.mode == 0 ) {
115 psEncC->sLP.mode = 1;
119 if (psEncC->sLP.mode<0)
120 psEncC->sLP.mode = 1;
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
amrdecode.cpp 83 Description: Changed '&' to '&&' in the setting of rx_type and mode for
153 state_data->prev_mode contains the new mode
161 used by each codec mode for WMF input format (const
165 used by each codec mode for IF2 input format (const
188 The codec mode and receive frame type is initialized based on the incoming
196 RX_NO_DATA, the mode is obtained from the buffer pointed to by
197 speech_bits_ptr, offset by MAX_SERIAL_SIZE+1, otherwise, the mode is set to
198 the previous mode (found the in state_data->prev_mode).
206 state_data is updated to the current mode.
265 // Determine AMR codec mode and AMR RX frame typ
397 enum Mode mode = (enum Mode)MR475; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/development/
DarkUIPreferenceController.java 63 int mode = mUiModeManager.getNightMode(); local
64 ((ListPreference) preference).setValue(modeToString(mode));
65 preference.setSummary(modeToDescription(mode));
68 private String modeToDescription(int mode) {
70 switch (mode) {
82 private String modeToString(int mode) {
83 switch (mode) {
95 private int modeToInt(String mode) {
96 switch (mode) {
  /external/syslinux/gpxe/src/drivers/net/ath5k/
ath5k_eeprom.c 73 unsigned int mode)
80 if (mode == AR5K_EEPROM_MODE_11A) {
168 unsigned int mode)
176 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f;
177 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f;
178 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f;
181 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf;
182 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f;
183 ee->ee_ant_control[mode][i++] = val & 0x3f;
186 ee->ee_ant_control[mode][i++] = (val >> 10) & 0x3f
463 unsigned int mode; local
1497 int mode; local
1574 u8 mode; local
    [all...]
  /bionic/libc/bionic/
fchmod.cpp 40 int fchmod(int fd, mode_t mode) {
42 int result = ___fchmod(fd, mode);
62 result = chmod(FdPath(fd).c_str(), mode);
64 // Linux does not support changing the mode of a symlink.
fchmodat.cpp 39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) {
56 // doesn't support setting the mode of a symbolic link.
60 int result = fchmod(fd, mode);
66 return ___fchmodat(dirfd, pathname, mode);
  /external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/
video_WebRtcMainFeedSwitching.py 19 def run_once(self, mode = 'functional'):
23 @param mode: 'functional' or 'performance' depending on desired mode.
35 if mode == 'functional':
40 elif mode == 'performance':
48 raise error.TestError('mode must be "functional" or "performance"')
  /external/autotest/client/site_tests/video_WebRtcResolutionSwitching/
video_WebRtcResolutionSwitching.py 16 def run_once(self, mode = 'functional'):
20 @param mode: 'functional' or 'performance' depending on desired mode.
32 if mode == 'functional':
37 elif mode == 'performance':
45 raise error.TestError('mode must be "functional" or "performance"')

Completed in 738 milliseconds

<<11121314151617181920>>