/external/webrtc/talk/media/webrtc/ |
D | webrtcvoiceengine_unittest.cc | 190 cricket::AudioSendParameters parameters; in TestSendBandwidth() local 191 parameters.codecs.push_back(codec); in TestSendBandwidth() 192 parameters.max_bandwidth_bps = max_bitrate; in TestSendBandwidth() 193 EXPECT_EQ(expected_result, channel_->SetSendParameters(parameters)); in TestSendBandwidth() 476 cricket::AudioRecvParameters parameters; in TEST_F() local 477 parameters.codecs.push_back(kIsacCodec); in TEST_F() 478 parameters.codecs.push_back(kPcmuCodec); in TEST_F() 479 parameters.codecs.push_back(kTelephoneEventCodec); in TEST_F() 480 parameters.codecs[0].id = 106; // collide with existing telephone-event in TEST_F() 481 parameters.codecs[2].id = 126; in TEST_F() [all …]
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | CameraConfigurationManager.java | 31 * A class which deals with reading, parsing, and setting the camera parameters which are used to 52 Camera.Parameters parameters = camera.getParameters(); in initFromCameraParameters() local 67 cameraResolution = findBestPreviewSizeValue(parameters, screenResolution, false); in initFromCameraParameters() 72 Camera.Parameters parameters = camera.getParameters(); in setDesiredCameraParameters() local 74 if (parameters == null) { in setDesiredCameraParameters() 75 … Log.w(TAG, "Device error: no camera parameters are available. Proceeding without configuration."); in setDesiredCameraParameters() 81 initializeTorch(parameters, prefs); in setDesiredCameraParameters() 82 String focusMode = findSettableValue(parameters.getSupportedFocusModes(), in setDesiredCameraParameters() 83 Camera.Parameters.FOCUS_MODE_AUTO, in setDesiredCameraParameters() 84 Camera.Parameters.FOCUS_MODE_MACRO); in setDesiredCameraParameters() [all …]
|
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = Byte.parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/util/ |
D | PortParser.java | 41 * Parse a 32-bit IP address from the String[] of FTP command parameters. 43 * @param parameters - the String[] of command parameters. It is the concatenation 47 * representation). Thus, the six parameters for the port command would be: 51 * @return the InetAddres representing the host parsed from the parameters 53 …* - if parameters is null or contains an insufficient number of elem… 54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument 57 verifySufficientParameters(parameters); in parseHost() 59 byte host1 = parseByte(parameters[0]); in parseHost() 60 byte host2 = parseByte(parameters[1]); in parseHost() [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = parseByte(parameters[0]); in parseHost() [all …]
|
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/ |
D | PortCommandHandler.java | 36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4) 74 * Parse a 32-bit IP address from the String[] of FTP command parameters. 76 * @param parameters - the String[] of command parameters. It is the concatenation 80 * representation). Thus, the six parameters for the port command would be: 85 * @return the InetAddres representing the host parsed from the parameters 87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem… 88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer 91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument 92 verifySufficientParameters(parameters); in parseHost() 94 byte host1 = parseByte(parameters[0]); in parseHost() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiObjectManagementTests.cpp | 271 Dependency (const Environment& env, const typename Case::Parameters& params) in Dependency() 330 size_t computeSystemMemoryUsage (Context& context, const typename Object::Parameters& params) in computeSystemMemoryUsage() 398 const typename Object::Parameters& params, in getSafeObjectCount() 422 struct Parameters struct 424 Parameters (void) {} in Parameters() argument 429 Resources (const Environment&, const Parameters&) {} in Resources() 432 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent() 437 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters&) in create() 469 struct Parameters struct 474 Parameters (deUint32 deviceIndex_, VkQueueFlags queueFlags_) in Parameters() function [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_filter.c | 85 * Structure with parameters used for pitch-filtering. 127 * filter_param : pitch filter parameters. 135 static void FilterSegment(const double* in_data, PitchFilterParam* parameters, in FilterSegment() argument 143 /* Index of |parameters->buffer| where the output is written to. */ in FilterSegment() 144 int pos = parameters->index + PITCH_BUFFSIZE; in FilterSegment() 145 /* Index of |parameters->buffer| where samples are read for fractional-lag in FilterSegment() 147 int pos_lag = pos - parameters->lag_offset; in FilterSegment() 149 for (n = 0; n < parameters->num_samples; ++n) { in FilterSegment() 152 parameters->damper_state[m] = parameters->damper_state[m - 1]; in FilterSegment() 157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m]; in FilterSegment() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | script_injector_test.py | 94 parameters = {'injection': SCRIPT_TO_INJECT} 96 for parameters['boundary_at_start'] in SEPARATORS_OR_NOT: 97 for parameters['boundary_in_doctype'] in SEPARATORS_OR_NOT: 98 for parameters['boundary_after_doctype'] in SEPARATORS_OR_NOT: 99 for parameters['boundary_in_html'] in SEPARATORS_OR_NOT: 100 for parameters['boundary_after_html'] in SEPARATORS_OR_NOT: 101 for parameters['boundary_in_head'] in SEPARATORS_OR_NOT: 102 for parameters['boundary_after_head'] in SEPARATORS_OR_NOT: 103 source = template.format(**parameters) 107 parameters = {'injection': '{injection}'} [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | background_noise.cc | 47 // Do not update the background noise parameters if we know that the signal in Update() 58 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update() local 69 sample_energy < parameters.energy_update_threshold) || in Update() 76 if (sample_energy < parameters.energy_update_threshold) { in Update() 78 parameters.energy_update_threshold = std::max(sample_energy, 1); in Update() 79 parameters.low_energy_update_threshold = 0; in Update() 110 // Spectrum is flat enough; save filter parameters. in Update() 195 ChannelParameters& parameters = channel_parameters_[channel]; in IncrementEnergyThreshold() local 197 (kThresholdIncrement * parameters.low_energy_update_threshold) >> 16; in IncrementEnergyThreshold() 199 (parameters.energy_update_threshold & 0xFF); in IncrementEnergyThreshold() [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/command/ |
D | Command.java | 25 * Represents a command received from an FTP client, containing a command name and parameters. 34 private String[] parameters; field in Command 37 * Construct a new immutable instance with the specified command name and parameters 40 * @param parameters - the command parameters; may be empty; may not be null 42 public Command(String name, String[] parameters) { in Command() argument 44 Assert.notNull(parameters, "parameters"); in Command() 46 this.parameters = copy(parameters); in Command() 50 * Construct a new immutable instance with the specified command name and parameters 53 * @param parameters - the command parameters; may be empty; may not be null 55 public Command(String name, List parameters) { in Command() argument [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
D | Command.java | 25 * Represents a command received from an FTP client, containing a command name and parameters. 34 private String[] parameters; field in Command 37 * Construct a new immutable instance with the specified command name and parameters 40 * @param parameters - the command parameters; may be empty; may not be null 42 public Command(String name, String[] parameters) { in Command() argument 44 Assert.notNull(parameters, "parameters"); in Command() 46 this.parameters = copy(parameters); in Command() 50 * Construct a new immutable instance with the specified command name and parameters 53 * @param parameters - the command parameters; may be empty; may not be null 55 public Command(String name, List parameters) { in Command() argument [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/command/ |
D | Command.java | 24 * Represents a command received from an FTP client, containing a command name and parameters. 34 private String[] parameters; field in Command 37 * Construct a new immutable instance with the specified command name and parameters 39 * @param parameters - the command parameters; may be empty; may not be null 41 public Command(String name, String[] parameters) { in Command() argument 43 Assert.notNull(parameters, "parameters"); in Command() 45 this.parameters = copy(parameters); in Command() 49 * Construct a new immutable instance with the specified command name and parameters 51 * @param parameters - the command parameters; may be empty; may not be null 53 public Command(String name, List parameters) { in Command() argument [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
D | Command.java | 25 * Represents a command received from an FTP client, containing a command name and parameters. 34 private String[] parameters; field in Command 37 * Construct a new immutable instance with the specified command name and parameters 40 * @param parameters - the command parameters; may be empty; may not be null 42 public Command(String name, String[] parameters) { in Command() argument 44 Assert.notNull(parameters, "parameters"); in Command() 46 this.parameters = copy(parameters); in Command() 50 * Construct a new immutable instance with the specified command name and parameters 53 * @param parameters - the command parameters; may be empty; may not be null 55 public Command(String name, List parameters) { in Command() argument [all …]
|