Home
last modified time | relevance | path

Searched full:from (Results 1 – 25 of 4538) sorted by relevance

12345678910>>...182

/system/core/fs_mgr/liblp/fuzzer/
DREADME.md32 …ARTITION_ATTR_UPDATED`,<br/> 5.`LP_PARTITION_ATTR_DISABLED`|Value obtained from FuzzedDataProvider|
33 |`blockDevSize`| Integer value from `0` to `100000`|Value obtained from FuzzedDataProvider|
34 |`metadataMaxSize`| Integer value from `0` to `10000` |Value obtained from FuzzedDataProvider|
35 |`metadataSlotCount`| Integer value from `0` to `2` |Value obtained from FuzzedDataProvider|
36 |`partitionName`| String |Value obtained from FuzzedDataProvider|
37 |`superBlockDeviceName`| String |Value obtained from FuzzedDataProvider|
38 |`blockDeviceInfoSize`| Integer |Value obtained from FuzzedDataProvider|
39 |`alignment`| Integer |Value obtained from FuzzedDataProvider|
40 |`alignmentOffset`| Integer |Value obtained from FuzzedDataProvider|
41 |`logicalBlockSize`| Integer |Value obtained from FuzzedDataProvider|
[all …]
/system/core/init/fuzzer/
DREADME.md16 |`kValidPaths`| 0.`/system/etc/init/hw/init.rc`,<br/> 1.`/system/etc/init` |Value obtained from Fuz…
17 …,"14", "10", "unlimited"}`,<br/> 5.`{"","15", "10", "-1"}` |Value obtained from FuzzedDataProvider|
37 …r/> 4.`DOUBLE`,<br/> 5.`SIZE`,<br/>6.`ENUM`,<br/>7.`RANDOM`|Value obtained from FuzzedDataProvider|
73 | `major` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
74 | `minor` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
75 | `partition_num ` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
76 | `uid` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
77 | `gid` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
78 | `action` | `String` | Value obtained from FuzzedDataProvider|
79 | `path` | `String` | Value obtained from FuzzedDataProvider|
[all …]
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/proto/
Dfilter.proto13 // Success response to host operation (from CHRE).
15 // Failure response to host operation (from CHRE).
17 // Message from host to CHRE to set Filters.
19 // Notification from CHRE to host with FilterResults as payload.
23 // Message from host to CHRE to request extended configuration.
25 // Message from CHRE to host for the response of extended configuration.
27 // Message from CHRE to host for the tracker report.
29 // Message from CHRE to host for the storage full event.
/system/hardware/interfaces/net/netd/aidl/android/system/net/netd/
DINetd.aidl21 * @param networkHandle Handle to the OEM network previously returned from
25 * @throws ServiceSpecificException with values from the INetd::STATUS_* constants
33 * @param networkHandle Handle to the OEM network previously returned from
46 * @throws ServiceSpecificException with values from the INetd::STATUS_* constants
69 * @throws ServiceSpecificException with values from the INetd::STATUS_* constants
76 * @param networkHandle Handle to the OEM network previously returned from
78 * @throws ServiceSpecificException with values from the INetd::STATUS_* constants
83 * Remove interface from a specified OEM network.
85 * @param networkHandle Handle to the OEM network previously returned from
87 * @param ifname Interface name to remove from the OEM network.
[all …]
/system/cros-codecs/src/decoder/stateless/av1/
Dvaapi.rs94 Resolution::from(( in coded_size()
101 Rect::from(((0, 0), (self.render_width, self.render_height))) in visible_rect()
105 impl From<&FrameHeaderObu> for libva::AV1FilmGrain {
106 fn from(hdr: &FrameHeaderObu) -> Self { in from() method
114 u32::from(fg.apply_grain), in from()
115 u32::from(fg.chroma_scaling_from_luma), in from()
116 u32::from(fg.grain_scaling_minus_8), in from()
120 u32::from(fg.overlap_flag), in from()
121 u32::from(fg.clip_to_restricted_range), in from()
228 wm.push(libva::AV1WarpedMotionParams::new(wm_type, params, u8::from(!gm.warp_valid[i])));
[all …]
/system/extras/perf2cfg/perf2cfg/
Dparse.py14 """Functions to build and parse directives from CFG files."""
18 from typing import Iterable, List
20 from perf2cfg import exceptions
24 """Builds a flags directive from a list of arguments.
44 """Builds a name directive from an argument.
56 """Parses an address from a line.
59 line (str): A line to parse an address from.
81 """Parses a flags directive from a line.
84 line (str): A line to parse a flags directive from.
87 List[str]: A list of unquoted arguments from a flags directive, or an
[all …]
/system/cros-codecs/src/
Dlib.rs112 impl From<(u32, u32)> for Resolution {
113 fn from(value: (u32, u32)) -> Self { in from() method
118 impl From<Resolution> for (u32, u32) { impl
119 fn from(value: Resolution) -> Self { in from() method
132 impl From<Rect> for Resolution {
133 fn from(value: Rect) -> Self { in from() method
138 impl From<Resolution> for Rect {
139 fn from(value: Resolution) -> Self { in from() method
144 impl From<((u32, u32), (u32, u32))> for Rect {
145 fn from(value: ((u32, u32), (u32, u32))) -> Self { in from() method
[all …]
/system/chre/apps/test/common/chre_cross_validator_sensor/inc/
Dchre_cross_validator_sensor_manager.h71 // event from CHRE comes in
77 // The host endpoint which is read from the start message and used when
80 // The host endpoint which is read from the start message and used when
109 * @param sampleDataFromChre The sample data from CHRE.
230 * @param header The sensor data header from CHRE sensor data event.
237 * Handle a start message from CHRE with the given data from host.
239 * @param hostEndpoint The host endpoint the data was sent from.
240 * @param hostData The data from host that has a start message.
246 * Handle an info message from CHRE with the given data from host.
248 * @param hostEndpoint The host endpoint the data was sent from.
[all …]
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory.h28 * should come from the lowest power memory region available. If alignment is
38 * should come from a high capacity memory region. If DRAM or another large
39 * capacity region is not available, this will allocate from the same memory
49 * Memory free from memory allocated using nanoappBinaryAlloc. The semantics
52 * @param pointer Pointer to data returned from nanoappBinaryAlloc
57 * Memory free from memory allocated using nanoappBinaryDramAlloc. The semantics
60 * @param pointer Pointer to data returned from nanoappBinaryDramAlloc
69 * allocate from the same memory region as memoryAlloc.
74 * Memory free from memory allocated using the DRAM heap. The semantics are the
78 * free from the same memory region as memoryFree.
[all …]
/system/security/keystore2/src/database/
Dversioning.rs28 .query_row("SELECT version FROM persistent.version WHERE id = 0;", [], |row| row.get(0)) in create_or_get_version()
43 "SELECT name FROM persistent.sqlite_master in create_or_get_version()
87 format!("In upgrade_database: Trying to upgrade from db version {}.", db_version) in upgrade_database()
132 for from in 1..29 { in upgrade_database_test()
133 for to in from..30 { in upgrade_database_test()
147 create_or_get_version(&tx, from).unwrap(); in upgrade_database_test()
157 // In the legacy database case all upgraders starting from 0 have to run. So in upgrade_database_test()
159 let from = if *legacy { 0 } else { from }; in upgrade_database_test() localVariable
161 // There must be exactly to - from rows. in upgrade_database_test()
163 to - from, in upgrade_database_test()
[all …]
/system/extras/memory_replay/traces/
DTRACES7 Trace of the native camera app from start-up.
10 Trace of the Google Gmail app from start-up and through reading messages.
13 Trace of the Google Maps app from start-up while looking at various parts
17 Trace of the system app process surfaceflinger from start-up while
21 Trace of the system app process system_server from start-up while
25 Trace of the system app process systemui from start-up while
29 Trace of the Google YouTube app from start-up and while watching various
65 Trace from app start while looking at different photos, scrolling the
/system/secretkeeper/comm/src/data_types/
Derror.rs33 /// Errors from Secretkeeper API. Keep in sync with `ErrorCode` defined for Secretkeeper HAL
73 /// Response received from the server was malformed.
75 /// An error happened when serializing to/from a [`Value`].
86 impl From<ciborium::value::Error> for Error {
87 fn from(_e: ciborium::value::Error) -> Self { in from() method
92 impl From<ciborium::Value> for Error {
93 fn from(_e: ciborium::Value) -> Self { in from() method
98 impl From<core::num::TryFromIntError> for Error {
99 fn from(_e: core::num::TryFromIntError) -> Self { in from() method
104 impl From<coset::CoseError> for Error {
[all …]
/system/extras/simpleperf/scripts/test/
Ddo_test.py20 1. Test profiling Android apps on different Android versions (starting from Android N).
28 from dataclasses import dataclass
33 from pathlib import Path
38 from tqdm import tqdm
40 from typing import List, Optional
43 from simpleperf_utils import BaseArgumentParser, extant_dir, log_exit, remove, is_darwin
45 from . api_profiler_test import *
46 from . annotate_test import *
47 from . app_profiler_test import *
48 from . app_test import *
[all …]
/system/chre/core/include/chre/core/
Devent_loop.h94 * This function is safe to call from any thread.
107 * is safe to call from any thread.
132 * called from the context of the thread that runs this event loop (i.e. from
133 * the same thread that will call run() or from a callback invoked within
161 * events to nanoapps. Only returns after stop() is called (from another
174 * The event is sent from the system to a specific nanoapp if targetInstanceId
183 * This must only be used from the EventLoop thread, and must only be used in
211 * Safe to call from any thread.
234 * Safe to call from any thread.
258 * Posts an event for processing by the system from within the context of the
[all …]
/system/core/trusty/storage/lib/include/trusty/lib/
Dstorage.h58 * @session: the storage_session_t returned from a call to storage_open_session
81 * @handle: the file_handle_t retrieved from storage_open_file
87 * @session: the storage_session_t returned from a call to storage_open_session
98 * @handle: the file_handle_t retrieved from storage_open_file
99 * @off: the start offset from whence to read in the file
110 * @handle: the file_handle_t retrieved from storage_open_file
111 * @off: the start offset from whence to write in the file
124 * @handle: the file_handle_t retrieved from storage_open_file
135 * @session: the storage_session_t returned from a call to storage_open_session
136 * @handle: the file_handle_t retrieved from storage_open_file
[all …]
/system/secretkeeper/comm/tests/
Ddata_types.rs135 *Response::new(vec![Value::from(ERROR_OK), Value::from(5)]).unwrap(); in response_creation()
139 let _ = *<StoreSecretResponse as Response>::new(vec![Value::from(ERROR_OK)]).unwrap(); in response_creation()
143 Value::from(ERROR_OK), in response_creation()
181 Value::from(SecretkeeperError::RequestMalformed as u16), in invalid_response_creation_get_version()
182 Value::from(5) in invalid_response_creation_get_version()
188 Value::from(ERROR_OK), in invalid_response_creation_get_version()
189 Value::from(5), in invalid_response_creation_get_version()
190 Value::from(7) in invalid_response_creation_get_version()
196 Value::from(ERROR_OK), in invalid_response_creation_get_version()
197 Value::from("a tstr") in invalid_response_creation_get_version()
[all …]
/system/cros-codecs/src/device/v4l2/stateless/controls/
Dh264.rs58 impl From<&Sps> for v4l2_ctrl_h264_sps {
59 fn from(sps: &Sps) -> Self { in from() method
125 impl From<&Pps> for v4l2_ctrl_h264_pps {
126 fn from(pps: &Pps) -> Self { in from() method
169 impl From<&Pps> for v4l2_ctrl_h264_scaling_matrix {
170 fn from(pps: &Pps) -> Self { in from() method
191 impl From<&V4l2CtrlH264DpbEntry> for v4l2_h264_dpb_entry {
192 fn from(dpb: &V4l2CtrlH264DpbEntry) -> Self { in from() method
251 self.handle.dpb[i] = v4l2_h264_dpb_entry::from(&dpb[i]); in set_dpb_entries()
268 impl From<&V4l2CtrlH264DecodeParams> for SafeExtControl<H264DecodeParams> {
[all …]
/system/chre/platform/shared/idl/
Dhost_messages.fbs22 /// Represents a message sent to/from a nanoapp from/to a client on the host
35 /// List of Android permissions that cover the contents of a message from a
42 /// For messages from a nanoaapp to the host, this must be a superset of
47 // from suspend to awake as a result of this message transfer). This field is
48 // only valid for messages originating from a nanoapp.
72 /// using the built-in "string" data type from FlatBuffers here, because the
152 /// 3. Once ready, the nanoapp will be loaded from the file specified in the
169 /// requests starting from the second fragment, all fields except
199 /// The nanoapp flag values from the nanoapp header defined in
232 /// The size offset of the token database from the start of the address of
[all …]
/system/see/authmgr/authmgr-be/src/
Derror.rs34 /// Duplicated attempt to start authentication from the same transport ID
67 /// A new connection for a client cannot be created from a non-authenticated pVM instance
79 impl From<AGError> for Error {
80 fn from(ag_error: AGError) -> Self { in from() method
85 impl From<AMError> for Error {
86 fn from(am_error: AMError) -> Self { in from() method
99 impl From<CoseError> for Error {
100 fn from(e: CoseError) -> Self { in from() method
105 impl From<::alloc::collections::TryReserveError> for Error {
106 fn from(e: alloc::collections::TryReserveError) -> Self { in from() method
/system/testing/gtest_extras/gtest_isolated/tests/
DSystemTests.cpp278 "[==========] Running 1 test from 1 test suite (20 jobs).\n" in TEST_F()
281 "[==========] 1 test from 1 test suite ran. (XX ms total)\n" in TEST_F()
289 "[==========] Running 1 test from 1 test suite (20 jobs).\n" in TEST_F()
292 "[==========] 1 test from 1 test suite ran. (XX ms total)\n" in TEST_F()
301 "\x1B[0;32m[==========]\x1B[m Running 1 test from 1 test suite (20 jobs).\n" in TEST_F()
304 "\x1B[0;32m[==========]\x1B[m 1 test from 1 test suite ran. (XX ms total)\n" in TEST_F()
313 "[==========] Running 1 test from 1 test suite (20 jobs).\n" in TEST_F()
317 "[==========] 1 test from 1 test suite ran. (XX ms total)\n" in TEST_F()
327 "[==========] Running 1 test from 1 test suite (20 jobs).\n" in TEST_F()
332 "[==========] 1 test from 1 test suite ran. (XX ms total)\n" in TEST_F()
[all …]
/system/chre/host/common/include/chre_host/
Dlog_message_parser.h61 //! Logs from a log buffer containing one or more log messages (version 1)
64 //! Logs from a log buffer containing one or more log messages (version 2)
79 * Stores a pigweed detokenizer for decoding logs from a given nanoapp.
84 * @param databaseOffset The size offset of the token database from the start
107 // Functions from INanoappLoadListener.
119 // Constants used to extract the log type from log metadata.
156 * Helper struct for readable decoding of a tokenized log message from a
225 * log message from nanoapps.
252 * Helper function to get the logging level from the log message metadata.
254 * @param metadata A byte from the log message payload containing the
[all …]
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py25 from pathlib import Path
29 from bokeh.embed import components
30 from bokeh.io import output_file, show
31 from bokeh.layouts import layout, Spacer
32 from bokeh.models import ColumnDataSource, CustomJS, WheelZoomTool, HoverTool, CustomJSTickFormatter
33 from bokeh.models.widgets import DataTable, DateFormatter, TableColumn
34 from bokeh.models.ranges import FactorRange
35 from bokeh.palettes import Category20b
36 from bokeh.plotting import figure
37 from bokeh.resources import INLINE
[all …]
/system/chre/apps/test/common/chre_stress_test/inc/
Dchre_stress_test_manager.h46 * Handles an event from CHRE. Semantics are the same as nanoappHandleEvent.
68 //! The sensor handle obtained from chreSensorFindDefault().
79 * Handles a message from the host.
82 * @param hostData The data from the host.
87 * Processes data from CHRE.
119 * Handles a start command from the host.
133 * @param result The WiFi async result from CHRE.
138 * @param result The WiFi scan event from CHRE.
172 * @param result The GNSS async result from CHRE.
186 * @param event The GNSS event from CHRE.
[all …]
/system/sepolicy/prebuilts/api/202404/private/
Dprofman.te3 # Allow profman to read APKs and profile files next to them by FDs passed from
11 # Allow profman to use file descriptors passed from privileged programs.
14 # Allow profman to read from memfd created by artd.
15 # profman needs to read the embedded profile that artd extracts from an APK,
/system/security/prng_seeder/src/
Ddrbg.rs25 // SAFETY: entropy must be a valid pointer because it comes from a reference, and a null in new()
35 // SAFETY: We know that self.0 is valid because it was initialised from CTR_DRBG_new in in reseed()
36 // Drbg::new above. The entropy pointer must be valid because it comes from a reference, in reseed()
47 // SAFETY: We know that self.0 is valid because it was initialised from CTR_DRBG_new in in generate()
49 // come from a mutable slice reference, and CTR_DRBG_generate doesn't retain them after in generate()
68 // SAFETY: We know that self.0 is valid because it was initialised from CTR_DRBG_new in in drop()
76 // SAFETY: CTR_DRBG functions can be called from any thread.

12345678910>>...182