Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 137) sorted by relevance

123456

/system/secretkeeper/comm/src/data_types/
Drequest_response_impl.rs55 fn new(args: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
75 fn new(res: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
102 fn new(args: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
124 fn new(response_cbor: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
144 fn new(args: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
167 fn new(res: Vec<Value>) -> Result<Box<Self>, Error> { in new() method
Drequest.rs41 fn new(args: Vec<Value>) -> Result<Box<Self>, Error>; in new() method
Dresponse.rs47 fn new(response_cbor: Vec<Value>) -> Result<Box<Self>, Error>; in new() method
/system/keymint/common/src/crypto/
Ddes.rs45 pub fn new(data: Vec<u8>) -> Result<Key, Error> { in new() method
81 pub fn new( in new() method
Daes.rs66 pub fn new(data: Vec<u8>) -> Result<Self, Error> { in new() method
137 pub fn new( in new() method
Drsa.rs157 pub fn new(params: &[KeyParam]) -> Result<Self, Error> { in new() method
189 pub fn new(params: &[KeyParam]) -> Result<Self, Error> { in new() method
Dhmac.rs57 pub fn new(data: Vec<u8>) -> Key { in new() method
/system/see/authmgr/authmgr-be/src/
Dtests.rs58 pub fn new( in new() method
120 pub fn new( in new() method
147 pub fn new(transport_id: TransportID) -> Self { in new() method
202 pub fn new(transport_id: TransportID, raw_fd: i32) -> Self { in new() method
Ddata_structures.rs75 pub fn new( in new() method
221 pub fn new(capacity: usize) -> Result<Self, Error> { in new() method
287 pub fn new(capacity: usize) -> Result<Self, Error> { in new() method
341 pub fn new(token: Token, client_connection: Box<dyn RawConnection>) -> Self { in new() method
360 pub fn new(transport_id: TransportID, capacity: usize) -> Result<Self, Error> { in new() method
420 pub fn new(capacity: usize, max_entries_per_pvm: usize) -> Result<Self, Error> { in new() method
500 pub fn new(capacity: usize) -> Result<Self, Error> { in new() method
/system/cros-codecs/src/device/v4l2/stateless/controls/
Dav1.rs117 pub fn new() -> Self { in new() method
201 pub fn new() -> Self { in new() method
485 pub fn new() -> Self { in new() method
569 pub fn new() -> Self { in new() method
/system/memory/mmd/src/
Dsuspend_history.rs54 pub fn new() -> Self { in new() method
144 pub fn new() -> Self { in new() method
/system/cros-codecs/src/c2_wrapper/
Dc2_v4l2_decoder.rs32 fn new(_options: C2V4L2DecoderOptions) -> Result<Self, String> { in new() method
Dc2_vaapi_decoder.rs34 fn new(options: C2VaapiDecoderOptions) -> Result<Self, String> { in new() method
Dc2_decoder.rs54 fn new(options: Self::DecoderOptions) -> Result<Self, String> in new() method
173 fn new( in new() function
/system/security/keystore2/src/database/
Dutils.rs61 pub fn new(index: usize, row: &'a Row<'a>) -> Self { in new() method
/system/cros-codecs/src/backend/v4l2/decoder/
Dstateless.rs33 pub fn new(request: Rc<RefCell<V4l2Request<V>>>) -> Self { in new() method
109 pub fn new() -> Result<Self, NewStatelessDecoderError> { in new() method
/system/keymint/hal/src/
Dsecureclock.rs34 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() method
Dsharedsecret.rs36 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() method
/system/security/prng_seeder/src/
Ddrbg.rs24 pub fn new(entropy: &Entropy) -> Result<Drbg> { in new() method
/system/cros-codecs/src/device/v4l2/stateless/
Drequest.rs31 fn new( in new() method
117 fn new( in new() method
203 pub fn new( in new() method
Dqueue.rs181 fn new( in new() method
229 pub fn new(device: Arc<Device>) -> Result<Self, NewStatelessDecoderError> { in new() method
331 fn new(frame: Arc<V>, handle: DqBuffer<Capture, V4l2VideoFrame<V>>) -> Self { in new() method
351 pub fn new(device: Arc<Device>) -> Result<Self, NewStatelessDecoderError> { in new() method
Ddevice.rs45 fn new() -> Result<Self, NewStatelessDecoderError> { in new() method
157 pub fn new() -> Result<Self, NewStatelessDecoderError> { in new() method
/system/cros-codecs/src/backend/vaapi/
Dsurface_pool.rs30 fn new(surface: Surface<M>, pool: &Rc<RefCell<VaSurfacePoolInner<M>>>) -> Self { in new() method
135 pub fn new( in new() method
Dencoder.rs174 pub fn new( in new() function
331 pub fn new( in new() function
475 pub fn new( in new() method
517 pub fn new( in new() function
611 pub fn new( in new() method
/system/security/keystore2/src/
Dremote_provisioning.rs49 pub fn new(security_level: SecurityLevel) -> Self { in new() method

123456