Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 246) sorted by relevance

12345678910

/hardware/libhardware/tests/input/evdev/
DInputDevice_test.cpp75 nsecs_t when = 2ULL; in TEST_F() local
76 InputEvent msc1 = { when, EV_MSC, MSC_ANDROID_TIME_SEC, 1 }; in TEST_F()
77 InputEvent msc2 = { when, EV_MSC, MSC_ANDROID_TIME_USEC, 900000 }; in TEST_F()
80 InputEvent keyDown = { when, EV_KEY, KEY_HOME, 1 }; in TEST_F()
81 InputEvent syn = { when, EV_SYN, SYN_REPORT, 0 }; in TEST_F()
84 InputEvent keyUp = { when, EV_KEY, KEY_HOME, 0 }; in TEST_F()
86 device->processInput(msc1, when); in TEST_F()
87 device->processInput(msc2, when); in TEST_F()
88 device->processInput(keyDown, when); in TEST_F()
89 device->processInput(syn, when); in TEST_F()
[all …]
/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp31 return lhs.when > rhs.when; in operator <()
46 auto when = steady_clock::now() + delay; in schedule() local
49 mTasks.push(Task({when, task})); in schedule()
67 if (task.when > steady_clock::now()) { in threadLoop()
68 mCond.wait_until(lk, task.when); in threadLoop()
/hardware/interfaces/power/1.2/
Dtypes.hal25 * data parameter is non-zero when stream starts and zero when audio
33 * data parameter is non-zero when low latency audio starts and
34 * zero when ends.
41 * parameter is non-zero when camera launch starts and zero when launch
49 * data parameter is non-zero when stream starts and zero when ends.
56 * data parameter is non-zero when camera shot starts and zero when ends.
/hardware/interfaces/cas/1.0/
Dtypes.hal21 * The CAS plugin must return OK when an operation completes without any
27 * The CAS plugin must return ERROR_CAS_NO_LICENSE, when descrambling is
33 * ERROR_CAS_LICENSE_EXPIRED must be returned when an attempt is made
39 * The CAS plugin must return ERROR_CAS_SESSION_NOT_OPENED when an
45 * The CAS plugin must return ERROR_CAS_CANNOT_HANDLE when an unsupported
51 * ERROR_CAS_INVALID_STATE must be returned when the device is in a state
63 * The CAS plugin must return ERROR_CAS_NOT_PROVISIONED when the device
69 * ERROR_CAS_RESOURCE_BUSY must be returned when resources, such as CAS
77 * when the output protection level enabled on the device is not
97 * The CAS plugin must return ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED when
[all …]
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal65 * possible. Specifically, when layered buffers are not supported, this
70 * BAD_VALUE when any of the specified attributes is
72 * NO_RESOURCES when the creation cannot be fullfilled at
74 * UNSUPPORTED when any of the specified attributes is
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
104 * freeBuffer must be called on it when it is no longer needed.
108 * BAD_BUFFER when the raw handle is invalid.
109 * NO_RESOURCES when the raw handle cannot be imported at
120 * freed with this function when no longer needed.
[all …]
/hardware/interfaces/radio/1.0/
DIRadioIndication.hal24 * Indicates when radio state changes.
32 * Indicates when call state has changed.
45 * Indicates when voice or data network state changed
54 * Indicates when new SMS is received.
68 * Indicates when new SMS Status Report is received.
82 * Indicates when new SMS has been stored on SIM card
90 * Indicates when a new USSD message is received.
101 * Indicates when radio has received a NITZ time message.
124 * activated. A data call is only removed from this list when the
139 * Indicates when STK session is terminated by SIM.
[all …]
/hardware/interfaces/broadcastradio/1.0/
DITunerCallback.hal23 * Method called by the HAL when a HW failure occurs.
29 * Method called by the HAL when a new configuration is applied
39 * Method called by the HAL when a tuning operation completes
47 * Method called by the HAL when a frequency switch occurs.
53 * Method called by the HAL when the antenna connection state changes.
59 * Method called by the HAL when a traffic announcement starts or
66 * Method called by the HAL when an emergency announcement starts
73 * Method called by the HAL when metadata for current station
/hardware/interfaces/biometrics/face/1.0/
DIBiometricsFaceClientCallback.hal26 * A callback invoked when one enrollment step has been completed.
39 * A callback invoked when a face has been successfully authenticated.
53 * A callback invoked when a face is acquired.
66 * when acquiredInfo == FaceAcquiredInfo.VENDOR. This message is opaque
76 * A callback invoked when an error has occured.
80 * @param userId The id of the active user when the error occured, or
84 * when error == FaceError.VENDOR. This message is opaque to the
94 * A callback invoked when a face template has been removed.
115 * A callback invoked when the lockout state changes.
117 * This method must only be invoked when setActiveUser() is called,
[all …]
/hardware/interfaces/biometrics/fingerprint/2.1/
DIBiometricsFingerprintClientCallback.hal24 * Sent when one enrollment step is complete.
33 * Sent when a fingerprint image is acquired by the sensor
37 * valid when acquiredInfo == ACQUIRED_VENDOR
42 * Sent when a fingerprint is authenticated
51 * Sent when a fingerprint error occurs
55 * when error == ERROR_VENDOR
60 * Sent when one template is removed
69 * Sent when one fingerprint template is enumerated
/hardware/libhardware/modules/input/evdev/
DInputDevice.cpp239 ALOGD(log.c_str(), mDeviceNode->getPath().c_str(), event.when, event.type, event.code, in processInput()
253 event.when = s2ns(mOverrideSec) + us2ns(mOverrideUsec); in processInput()
277 if (event.when >= currentTime + s2ns(10)) { in processInput()
280 if (event.when > time) { in processInput()
285 mDeviceNode->getPath().c_str(), event.when, time, currentTime); in processInput()
286 event.when = time; in processInput()
290 ", call time %" PRId64 ".", event.when, time, currentTime); in processInput()
/hardware/interfaces/graphics/mapper/2.1/
DIMapper.hal70 * BAD_BUFFER when the buffer is invalid.
71 * BAD_VALUE when buffer cannot be safely accessed
82 * runtime data at the tail when serializing the imported buffer handle.
85 * data when sending an imported buffer handle. The mapper must support
90 * BAD_BUFFER when the buffer is invalid.
108 * possible. Specifically, when layered buffers are not supported, this
113 * BAD_VALUE when any of the specified attributes is
115 * NO_RESOURCES when the creation cannot be fullfilled at
117 * UNSUPPORTED when any of the specified attributes is
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHwCallback.hal61 * Callback method called by the HAL when the sound recognition triggers.
65 * @param cookie The cookie passed by the framework when recognition was
71 * Callback method called by the HAL when the sound recognition triggers
76 * @param cookie The cookie passed by the framework when recognition was
83 * Callback method called by the HAL when the sound model loading completes.
87 * @param cookie The cookie passed by the framework when loading was
/hardware/interfaces/graphics/composer/2.3/
DIComposerClient.hal40 * Indicates that the display must apply a color transform even when
59 * Must be returned by getDisplayCapabilities when getDozeSupport
182 * BAD_DISPLAY when an invalid display handle was passed in.
183 * UNSUPPORTED when identification data is unavailable.
194 * Returns the format which should be used when allocating a buffer for use by
217 * @return format - the format the client should use when allocating a device
219 * @return dataspace - the dataspace to use when interpreting the
222 * BAD_DISPLAY when an invalid display handle was passed in.
251 * BAD_DISPLAY when an invalid display handle was passed in.
252 * UNSUPPORTED when the given configuration is not supported.
[all …]
/hardware/interfaces/power/1.0/
Dtypes.hal51 * parameter is non-zero when low power mode is activated, and zero
52 * when deactivated.
60 * non-zero when sustained performance mode is activated, and zero
61 * when deactivated.
68 * device can sustain it. The data parameter is non-zero when the mode
69 * is activated and zero when deactivated.
76 * parameter is non-zero when the application starts to launch and zero when
97 * when a Platform-level sleep state is chosen by aggregation of votes from
/hardware/interfaces/usb/gadget/1.0/
DIUsbGadgetCallback.hal26 * @param status SUCCESS when the functions are applied.
27 * FUNCTIONS_NOT_SUPPORTED when the configuration is
39 * @param status FUNCTIONS_APPLIED when list of functions have been
41 * FUNCTIONS_NOT_APPLIED when the functions have not
/hardware/google/pixel/power-libperfmgr/
Dandroid.hardware.power@1.3-service.pixel-libperfmgr.rc10 # restart powerHAL when framework died
17 # restart powerHAL when cameraHAL died
22 # restart powerHAL when audioHAL died
/hardware/interfaces/usb/1.0/
Dtypes.hal23 * error value when the HAL operation fails for reasons not listed here.
28 * error value returned when input argument is invalid.
33 * error value returned when role string is unrecognized.
71 * when the type-c handshake happens.
93 * when the type-c handshake happens.
115 * when the type-c handshake happens.
147 * when type is HAL_USB_DATA_ROLE pass values from enum PortDataRole.
148 * when type is HAL_USB_POWER_ROLE pass values from enum PortPowerRole.
149 * when type is HAL_USB_MODE pass values from enum PortMode.
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal140 * Returns the format which should be used when allocating a buffer for use by
163 * @return format - the format the client should use when allocating a device
165 * @return dataspace - the dataspace to use when interpreting the
168 * BAD_DISPLAY when an invalid display handle was passed in.
182 * Returns an acquire sync fence file descriptor which must signal when the
188 * closing it when it is no longer needed.
278 * UNSUPPORTED when the width or height is too large for the
280 * NO_RESOURCES when the device is unable to create a new virtual
311 * BAD_DISPLAY when an invalid display handle was passed in.
312 * UNSUPPORTED when the given configuration is not supported.
[all …]
/hardware/interfaces/soundtrigger/2.0/
DISoundTriggerHwCallback.hal92 * Callback method called by the HAL when the sound recognition triggers
95 * @param cookie The cookie passed by the framework when recognition was
101 * Callback method called by the HAL when the sound recognition triggers
105 * @param cookie The cookie passed by the framework when recognition was
111 * Callback method called by the HAL when the sound model loading completes
114 * @param cookie The cookie passed by the framework when loading was
/hardware/interfaces/broadcastradio/1.1/
DITunerCallback.hal29 * Method called by the HAL when a tuning operation completes
33 * The 1.0 callback must not be called when HAL implementation detects
46 * Called by the HAL when background scan feature becomes available or not.
54 * Called by the HAL when background scan initiated by startBackgroundScan
80 * Method called by the HAL when current program information (including
90 * 1.0 callbacks must not be called when HAL implementation detects
/hardware/interfaces/graphics/allocator/2.0/
DIAllocator.hal39 * BAD_DESCRIPTOR when the descriptor is invalid.
40 * NO_RESOURCES when the allocation cannot be fulfilled at this
42 * UNSUPPORTED when any of the property encoded in the descriptor
45 * the buffers, when the concept of consecutive rows is defined.
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantStaIfaceCallback.hal32 * start looking for an access point. This state is entered when a
50 * This state is entered when the supplicant starts scanning for a
55 * This state is entered when the supplicant has found a suitable BSS
62 * This state is entered when the supplicant has found a suitable BSS
65 * state is entered when the driver is configured to try to associate
70 * This state is entered when the driver reports that association has
77 * This state is entered when WPA/WPA2 4-Way Handshake is started. In
78 * case of WPA-PSK, this happens when receiving the first EAPOL-Key
80 * when the IEEE 802.1X/EAPOL authentication has been completed.
84 * This state is entered when 4-Way Key Handshake has been completed
[all …]
/hardware/interfaces/drm/1.0/
Dtypes.hal21 * The DRM plugin must return OK when an operation completes without any
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
39 * The DRM plugin must return ERROR_DRM_SESSION_NOT_OPENED when an
45 * The DRM plugin must return ERROR_DRM_CANNOT_HANDLE when an unsupported
51 * ERROR_DRM_INVALID_STATE must be returned when the device is in a state
64 * openSession or provideKeyResponse when the device has not yet been
70 * ERROR_DRM_RESOURCE_BUSY must be returned when resources, such as drm
78 * when the output protection level enabled on the device is not
99 * ERROR_DRM_UNKNOWN must be returned when a fatal failure occurs and no
[all …]
/hardware/interfaces/drm/1.2/
Dtypes.hal45 * from the crypto plugin decrypt method when the security level
53 * decrypt method when the frame being decrypted into the secure
59 * This error must be returned from any session method when an
93 * framework passes KeySetId back to the HAL when referring to the key
101 * time is in the future. The key must become usable when
/hardware/interfaces/broadcastradio/2.0/
DITunerCallback.hal20 * Method called by the HAL when a tuning operation fails asynchronously
24 * This callback is only called when the step(), scan() or tune() command
34 * Method called by the HAL when current program information (including
37 * This is also called when the radio tuned to the static (not a valid
60 * Method called by the HAL when the antenna gets connected or disconnected.

12345678910