Home
last modified time | relevance | path

Searched refs:is (Results 1 – 25 of 1164) sorted by relevance

12345678910>>...47

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidItem.cpp52 std::istream is(&buf); in tokenize() local
53 return tokenize(is); in tokenize()
59 std::istream is(&buf); in tokenize() local
60 return tokenize(is); in tokenize()
63 std::vector<HidItem> HidItem::tokenize(std::istream &is) { in tokenize() argument
67 is.unsetf(std::ios_base::skipws); in tokenize()
68 while (!is.eof()) { in tokenize()
70 is >> i; in tokenize()
80 std::istream& operator>>(std::istream &is, HidUtil::HidItem &h) { in operator >>() argument
85 h.offset = is.tellg(); in operator >>()
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
26 /** A valid 'leap second' is stored in the data structure. */
28 /** A valid 'time uncertainty' is stored in the data structure. */
30 /** A valid 'full bias' is stored in the data structure. */
32 /** A valid 'bias' is stored in the data structure. */
34 /** A valid 'bias uncertainty' is stored in the data structure. */
36 /** A valid 'drift' is stored in the data structure. */
38 /** A valid 'drift uncertainty' is stored in the data structure. */
47 /** A valid 'snr' is stored in the data structure. */
49 /** A valid 'carrier frequency' is stored in the data structure. */
[all …]
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
66 * function must return UNSUPPORTED if layerCount is great than 1.
69 * @return error is NONE upon success. Otherwise,
70 * BAD_VALUE when any of the specified attributes is
74 * UNSUPPORTED when any of the specified attributes is
76 * @return descriptor is the newly created buffer descriptor.
88 * A buffer handle is considered raw when it is cloned (e.g., with
89 * native_handle_clone) from another buffer handle locally, or when it is
102 * such a handle as if it is raw and must not return BAD_BUFFER. The
103 * returned handle is independent from the input handle as usual, and
[all …]
/hardware/interfaces/radio/1.0/
DIRadio.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * This interface is used by telephony & telecom to talk to cellular radio.
44 * Response function is IRadioResponse.getIccCardStatusResponse()
56 * Response function is IRadioResponse.supplyIccPinForAppResponse()
69 * Response function is IRadioResponse.supplyIccPukForAppResponse()
82 * Response function is IRadioResponse.supplyIccPin2ForAppResponse()
95 * Response function is IRadioResponse.supplyIccPuk2ForAppResponse()
109 * Response function is IRadioResponse.changeIccPinForAppResponse()
123 * Response function is IRadioResponse.changeIccPin2ForAppResponse()
135 * Response function is IRadioResponse.supplyNetworkDepersonalizationResponse()
[all …]
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * precision. If the DPI for a configuration is unavailable or is
56 * is not a virtual display, this request has no effect.
73 /** The display is fully off (blanked). */
82 * The display is turned on and configured in a low power state that
83 * is suitable for presenting ambient information to the user,
89 * The display is configured as in DOZE but may stop applying display
90 * updates from the client. This is effectively a hint to the device
97 * doze functionality. In this case, the device is free to take over
103 /** The display is fully on. */
[all …]
/hardware/interfaces/biometrics/face/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
20 * In the event setActiveUser is not called, all error messages will return
39 * One of the arguments to the method call is invalid.
63 * authentication. Note this is to accommodate people who have limited
69 * Require a diverse set of poses during enrollment. Note this is to
97 * The current operation took too long to complete. This is intended to
98 * prevent programs from blocking the face HAL indefinitely. The timeout is
99 * framework and sensor-specific, but is generally on the order of 30
102 * The timeout is a device-specific time meant to optimize power. For
104 * indicate that the implementation is no longer looking and the framework
[all …]
/hardware/interfaces/camera/device/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
20 /** The facing of the camera is opposite to that of the screen. */
22 /** The facing of the camera is the same as that of the screen. */
25 * The facing of the camera is not fixed relative to the screen.
42 * The orientation of the camera image. The value is the angle that the
47 * back-facing camera sensor is mounted in landscape. You are looking at the
48 * screen. If the top side of the camera sensor is aligned with the right
50 * top side of a front-facing camera sensor is aligned with the right of the
70 * | | |---------> determine whether the callback is enabled or not
71 * | |-----------> determine whether the callback is one-shot or not
[all …]
/hardware/interfaces/weaver/1.0/
DIWeaver.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
26 * Weaver is structured as an array of slots, each containing a key-value pair.
33 * The config is static i.e. every invocation returns the same information.
35 * @return status is OK if the config was successfuly obtained.
36 * @return config data for this implementation of Weaver if status is OK,
50 * @return status is OK if the write was successfully completed.
58 * The value is only returned if the provided key matches the key stored in
59 * the slot. The value is never returned if the wrong key is provided.
62 * The value is only returned when throttling is not active, even if the
63 * correct key is provided. If called when throttling is active, the time
[all …]
/hardware/interfaces/graphics/composer/2.3/
DIComposerClient.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
44 * If getDisplayCapabilities is supported, the global capability
45 * SKIP_CLIENT_COLOR_TRANSFORM is ignored.
46 * If getDisplayCapabilities is not supported, and the global capability
47 * SKIP_CLIENT_COLOR_TRANSFORM is returned by getCapabilities,
125 * If the device is not capable of apply the matrix on this layer, it must force
128 * The matrix provided is an affine color transformation of the following
152 * @param matrix is a 4x4 transform matrix (16 floats) as described above.
174 * Returns the port and data that describe a physical display. The port is
176 * for display output. The data blob is parsed to determine its format,
[all …]
/hardware/interfaces/power/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * then CPU and GPU load is expected soon, and it may be appropriate
24 * to raise speeds of CPU, memory bus, etc. The data parameter is
25 * non-zero to indicate VSYNC pulse is now requested, or zero for
32 * User is interacting with the device, for example, touchscreen
35 * etc. The data parameter is the estimated length of the interaction
49 * Low power mode is activated or deactivated. Low power mode
50 * is intended to save battery at the cost of performance. The data
51 * parameter is non-zero when low power mode is activated, and zero
57 * Sustained Performance mode is actived or deactivated. Sustained
[all …]
/hardware/interfaces/audio/5.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
26 * @param volume 1.0f means unity, 0.0f is zero.
32 * This method is used to notify the HAL about audio mode changes.
41 * is equivalent to setting legacy "bt_headset_name" parameter.
52 * Calling this method is equivalent to getting AUDIO_PARAMETER_KEY_BT_NREC
62 * Calling this method is equivalent to setting AUDIO_PARAMETER_KEY_BT_NREC
72 * Gets whether BT SCO Wideband mode is enabled. Calling this method is
76 * @return enabled whether BT Wideband is enabled.
81 * Sets whether BT SCO Wideband mode is enabled. Calling this method is
85 * @param enabled whether BT Wideband is enabled.
[all …]
/hardware/interfaces/audio/4.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
26 * @param volume 1.0f means unity, 0.0f is zero.
32 * This method is used to notify the HAL about audio mode changes.
41 * is equivalent to setting legacy "bt_headset_name" parameter.
52 * Calling this method is equivalent to getting AUDIO_PARAMETER_KEY_BT_NREC
62 * Calling this method is equivalent to setting AUDIO_PARAMETER_KEY_BT_NREC
72 * Gets whether BT SCO Wideband mode is enabled. Calling this method is
76 * @return enabled whether BT Wideband is enabled.
81 * Sets whether BT SCO Wideband mode is enabled. Calling this method is
85 * @param enabled whether BT Wideband is enabled.
[all …]
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
32 * The display is configured as in ON but may stop applying display
33 * updates from the client. This is effectively a hint to the device
104 * This is a method that may be called every frame. Thus it's
106 * SET_LAYER_PER_FRAME_METADATA is the command used by the buffered transport
117 * is not Composition::SOLID_COLOR, this call must succeed and have no
120 * @param color is the new color using float type.
128 * @param display is the display on which to create the layer.
129 * @return keys is the vector of PerFrameMetadataKey keys that are
131 * @return error is NONE upon success. Otherwise,
[all …]
/hardware/interfaces/sensors/2.0/
DISensors.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
46 * Data is injected for the supported sensors by the sensor service in
50 * BAD_VALUE if requested mode is not supported
51 * PERMISSION_DENIED if operation is not allowed
63 * @param sensorHandle is the handle of the sensor to change.
65 * @return result OK on success, BAD_VALUE if sensorHandle is invalid.
73 * framework and the HAL. The callback is used by the HAL to notify the
76 * The Event FMQ is used to transport sensor events from the HAL to the
77 * framework. The Event FMQ is created using the eventQueueDescriptor.
79 * the Event FMQ since the framework is the only reader. Upon receiving
[all …]
/hardware/interfaces/audio/2.0/
DIPrimaryDevice.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
28 * @param volume 1.0f means unity, 0.0f is zero.
34 * This method is used to notify the HAL about audio mode changes.
43 * Calling this method is equivalent to getting AUDIO_PARAMETER_KEY_BT_NREC
53 * Calling this method is equivalent to setting AUDIO_PARAMETER_KEY_BT_NREC
62 * Gets whether BT SCO Wideband mode is enabled. Calling this method is
66 * @return enabled whether BT Wideband is enabled.
71 * Sets whether BT SCO Wideband mode is enabled. Calling this method is
74 * @param enabled whether BT Wideband is enabled.
87 * Gets current TTY mode selection. Calling this method is equivalent to
[all …]
/hardware/interfaces/power/1.2/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * This hint indicates that audio stream is being started. Can be used
25 * data parameter is non-zero when stream starts and zero when audio
26 * stream setup is complete.
31 * This hint indicates that low latency audio is active. Can be used
33 * data parameter is non-zero when low latency audio starts and
39 * These hint indicates that camera is being launched. Can be used
41 * parameter is non-zero when camera launch starts and zero when launch
42 * is complete.
47 * This hint indicates that camera stream is being started. Can be used
[all …]
/hardware/interfaces/media/omx/1.0/
DIOmxBufferSource.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
24 * IOmxBufferSource is an interface for a listener for certain events from an
33 * onOmxExecuting() is invoked when the node state changes to
39 * onOmxIdle() is invoked when the node transitions from OMX_StateExecuting
45 * onOmxLoaded() is invoked when the node transitions from OMX_StateIdle or
51 * onInputBufferAdded() is invoked after a new input buffer is added to the
55 * @param[in] buffer is the id of the added buffer.
60 * onInputBufferEmptied() is invoked after an input buffer is emptied. This
63 * @param[in] buffer is the id of the emptied buffer.
64 * @param[in] fence is the fence associated with the buffer.
/hardware/interfaces/radio/1.4/
DIRadio.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
32 * This interface is used by telephony and telecom to talk to cellular radio.
45 * off, reception lost or even transient factors like congestion. This data call list is
48 * The Radio is expected to:
52 * - The interface is configured with one or more addresses and is capable of sending and
55 * - Must not modify routing configuration related to this interface; routing management is
64 * @param roamingAllowed Indicates whether or not data roaming is allowed by the user.
67 * @param addresses If the reason is DataRequestReason.HANDOVER, this indicates the list of link
68 * addresses of the existing data connection. The format is IP address with optional "/"
69 * prefix length (The format is defined in RFC-4291 section 2.3). For example, "192.0.1.3",
[all …]
/hardware/interfaces/input/common/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
34 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
36 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
49 * The value is normalized to a range from -1.0 (up) to 1.0 (down).
51 * The value is normalized to a range from -1.0 (up or far) to 1.0 (down or near).
58 * by a finger or other tool. The value is normalized to a range from
61 * - For a trackball, the value is set to 1 if the trackball button is pressed
63 * - For a mouse, the value is set to 1 if the primary mouse button is pressed
71 * relation to the maximum detectable size for the device. The value is normalized
73 * although it is not a linear scale. This value is of limited use.
[all …]
/hardware/interfaces/media/c2/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
35 /** Argument/Index is valid but not possible. */
44 /** Operation is not permitted in the current state. */
46 /** Operation would block but blocking is not permitted. */
61 /** Operation is not implemented/supported (optional only). */
78 * This is a number that is unique for each C2Param structure type.
87 * The `Params` type is an array of bytes made up by concatenating a list of
89 * object in the list is divisible by 8. Up to 7 padding bytes may be added
111 * Within a given C2Param structure, each field is uniquely identified by @ref
134 * @ref ParamDescriptor is returned by IConfigurable::querySupportedParams().
[all …]
/hardware/interfaces/graphics/mapper/2.1/
DIMapper.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
27 * This is the same as @2.0::IMapper::BufferDescriptorInfo except that it
63 * that the buffer size is large enough. Validating the buffer against
64 * individual buffer attributes is optional.
66 * @param buffer is the buffer to validate against.
68 * @param stride is the buffer stride returned by IAllocator::allocate.
69 * @return error is NONE upon success. Otherwise,
70 * BAD_BUFFER when the buffer is invalid.
79 * Get the transport size of a buffer. An imported buffer handle is a raw
88 * @param buffer is the buffer to get the transport size from.
[all …]
/hardware/interfaces/radio/config/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * Physical slot is inactive
27 * Physical slot is active
42 * An Answer To Reset (ATR) is a message output by a Smart Card conforming to ISO/IEC 7816
46 * This data is applicable only when cardState is CardState:PRESENT.
51 * Integrated Circuit Card IDentifier (ICCID) is Unique Identifier of the SIM CARD. File is
52 * located in the SIM card at EFiccid (0x2FE2) as per ETSI 102.221. The ICCID is defined by
55 * This data is applicable only when cardState is CardState:PRESENT.
/hardware/interfaces/drm/1.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
27 * The DRM plugin must return ERROR_DRM_NO_LICENSE, when decryption is
33 * ERROR_DRM_LICENSE_EXPIRED must be returned when an attempt is made
40 * attempt is made to use a session that has not been opened.
46 * data format or operation is attempted.
51 * ERROR_DRM_INVALID_STATE must be returned when the device is in a state
52 * where it is not able to perform decryption.
57 * The DRM plugin must return BAD_VALUE whenever an illegal parameter is
78 * when the output protection level enabled on the device is not
79 * sufficient to meet the requirements in the license policy. HDCP is an
[all …]
/hardware/interfaces/radio/1.3/
DIRadio.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * Note: IRadio 1.3 is an intermediate layer between Android P and Android Q. It's specifically
26 * This interface is used by telephony and telecom to talk to cellular radio.
36 * If specifyChannels is true, it only scans bands specified in specifiers.
37 * If specifyChannels is false, it scans all bands.
39 * For example, CBRS is only on LTE band 48. By specifying this band,
44 * @param specifiers which bands to scan. Only used if specifyChannels is true.
46 * Response callback is IRadioResponse.setSystemSelectionChannelsResponse()
52 * Toggle logical modem on/off. This is similar to @1.0::IRadio.setRadioPower(), however that
53 * does not enforce that radio power is toggled only for the corresponding radio and certain
[all …]
/hardware/interfaces/keymaster/4.0/
Dtypes.hal11 * distributed under the License is distributed on an "AS IS" BASIS,
22 * reboots, or until at least 50 million years have elapsed (note that this requirement is satisfied
49 /** Boolean. If a tag with this type is present, the value is "true". If absent, "false". */
66 * This tag is repeatable; keys may be generated with multiple values, although an operation has
67 * a single purpose. When begin() is called to start an operation, the purpose of the operation
68 * is specified. If the purpose specified for the operation is not authorized by the key (the
77 * Tag::ALGORITHM specifies the cryptographic algorithm with which the key is used. This tag
99 * is only relevant to AES and 3DES keys. Possible values are defined by the BlockMode enum.
101 * This tag is repeatable for key generation/import. For AES and 3DES operations the caller
102 * must specify a Tag::BLOCK_MODE in the additionalParams argument of begin(). If the mode is
[all …]

12345678910>>...47