Home
last modified time | relevance | path

Searched refs:optional (Results 1 – 25 of 273) sorted by relevance

1234567891011

/system/media/camera/docs/
Dcamera_device_info.proto15 optional bool profile_480p = 1;
16 optional bool profile_720p = 2;
17 optional bool profile_1080p = 3;
18 optional bool profile_cif = 4;
19 optional bool profile_qcif = 5;
20 optional bool profile_qvga = 6;
21 optional int32 num_of_camera = 7;
25 optional int32 numerator = 1;
26 optional int32 denominator = 2;
30 optional int32 width = 1;
[all …]
Dcamera_device_info.mako15 optional bool profile_480p = 1;
16 optional bool profile_720p = 2;
17 optional bool profile_1080p = 3;
18 optional bool profile_cif = 4;
19 optional bool profile_qcif = 5;
20 optional bool profile_qvga = 6;
21 optional int32 num_of_camera = 7;
25 optional int32 numerator = 1;
26 optional int32 denominator = 2;
30 optional int32 width = 1;
[all …]
/system/core/storaged/
Dstoraged.proto8 optional uint64 rd_fg_chg_on = 1;
9 optional uint64 rd_fg_chg_off = 2;
10 optional uint64 rd_bg_chg_on = 3;
11 optional uint64 rd_bg_chg_off = 4;
12 optional uint64 wr_fg_chg_on = 5;
13 optional uint64 wr_fg_chg_off = 6;
14 optional uint64 wr_bg_chg_on = 7;
15 optional uint64 wr_bg_chg_off = 8;
19 optional string task_name = 1;
20 optional IOUsage ios = 2;
[all …]
/system/bt/gd/proto/bluetooth/metrics/
Dbluetooth.proto39 optional int32 num_bonded_devices = 5;
42 optional int64 num_bluetooth_session = 6;
45 optional int64 num_pair_event = 7;
48 optional int64 num_wake_event = 8;
51 optional int64 num_scan_event = 9;
76 optional int32 device_class = 1;
79 optional DeviceType device_type = 2;
105 optional int64 session_duration_sec = 2;
108 optional ConnectionTechnologyType connection_technology_type = 3;
111 optional string disconnect_reason = 4 [deprecated = true];
[all …]
/system/bt/gd/security/
Dinitial_informations.h42 std::optional<crypto_toolbox::Octet16> ltk;
43 std::optional<uint16_t> ediv;
44 std::optional<std::array<uint8_t, 8>> rand;
45 std::optional<hci::AddressWithType> identity_address;
46 std::optional<crypto_toolbox::Octet16> irk;
47 std::optional<crypto_toolbox::Octet16> signature_key;
50 std::optional<crypto_toolbox::Octet16> link_key;
94 std::optional<PairingRequestView> pairing_request;
104 std::optional<out_of_band_data> remote_oob_data;
105 std::optional<MyOobData> my_oob_data;
/system/sepolicy/
Dcontexts_tests.mk44 LOCAL_MODULE_TAGS := optional
55 LOCAL_MODULE_TAGS := optional
66 LOCAL_MODULE_TAGS := optional
77 LOCAL_MODULE_TAGS := optional
88 LOCAL_MODULE_TAGS := optional
100 LOCAL_MODULE_TAGS := optional
111 LOCAL_MODULE_TAGS := optional
122 LOCAL_MODULE_TAGS := optional
133 LOCAL_MODULE_TAGS := optional
144 LOCAL_MODULE_TAGS := optional
[all …]
/system/security/keystore/
Doperation_config.proto26 optional string algorithm = 1;
29 optional int32 key_size = 2;
33 optional string origin = 3;
36 optional string user_auth_type = 4;
41 optional int32 user_auth_key_timeout = 5;
44 optional string padding = 6;
47 optional string digest = 7;
50 optional string block_mode = 8;
54 optional bool was_op_successful = 9;
57 optional string purpose = 10;
[all …]
Dkey_config.proto26 optional string algorithm = 1;
29 optional int32 key_size = 2;
32 optional string origin = 3;
35 optional string user_auth_type = 4;
40 optional int32 user_auth_key_timeout = 5;
52 optional bool was_creation_successful = 9;
58 optional string ec_curve = 11;
61 optional string key_blob_usage_reqs = 12;
/system/extras/simpleperf/
Dreport_sample.proto22 optional uint64 time = 1;
23 optional int32 thread_id = 2;
27 optional uint64 vaddr_in_file = 1;
30 optional uint32 file_id = 2;
35 optional int32 symbol_id = 3;
52 optional uint64 event_count = 4;
55 optional uint32 event_type_id = 5;
59 optional uint64 sample_count = 1;
60 optional uint64 lost_count = 2;
65 optional uint32 id = 1;
[all …]
/system/libbase/
Dliblog_symbols.cpp32 const std::optional<LibLogFunctions>& GetLibLogFunctions() { in GetLibLogFunctions()
33 static std::optional<LibLogFunctions> liblog_functions = []() -> std::optional<LibLogFunctions> { in GetLibLogFunctions()
68 const std::optional<LibLogFunctions>& GetLibLogFunctions() {
69 static std::optional<LibLogFunctions> liblog_functions = []() -> std::optional<LibLogFunctions> {
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dscripted_beacon_ble_payload.proto8 optional bytes payload = 1;
9 optional bytes mac_address = 2;
10 optional uint32 delay_before_send_ms = 3;
31 optional PlaybackEventType type = 1;
32 optional uint64 secs_since_epoch = 2;
/system/tools/aidl/tests/
Daidl_test_client_utf8_strings.cpp54 std::optional<std::string> reply; in TEST_F()
60 std::optional<std::string> reply; in TEST_F()
84 Status (ITestService::*func)(const std::optional<std::vector<std::optional<std::string>>>&, in DoTest()
85 std::optional<std::vector<std::optional<std::string>>>*, in DoTest()
86 std::optional<std::vector<std::optional<std::string>>>*)) { in DoTest()
87 std::optional<std::vector<std::optional<std::string>>> input; in DoTest()
96 input = std::vector<std::optional<std::string>>(); in DoTest()
Daidl_test_service.cpp84 using std::optional;
214 Status RepeatNullable(const optional<T>& input, optional<T>* _aidl_return) { in RepeatNullable()
364 Status RepeatNullableIntArray(const optional<vector<int32_t>>& input, in RepeatNullableIntArray()
365 optional<vector<int32_t>>* _aidl_return) { in RepeatNullableIntArray()
369 Status RepeatNullableByteEnumArray(const optional<vector<ByteEnum>>& input, in RepeatNullableByteEnumArray()
370 optional<vector<ByteEnum>>* _aidl_return) { in RepeatNullableByteEnumArray()
374 Status RepeatNullableIntEnumArray(const optional<vector<IntEnum>>& input, in RepeatNullableIntEnumArray()
375 optional<vector<IntEnum>>* _aidl_return) { in RepeatNullableIntEnumArray()
379 Status RepeatNullableLongEnumArray(const optional<vector<LongEnum>>& input, in RepeatNullableLongEnumArray()
380 optional<vector<LongEnum>>* _aidl_return) { in RepeatNullableLongEnumArray()
[all …]
/system/bt/gd/storage/
Dconfig_cache_helper.h46 …virtual std::optional<bool> GetBool(const std::string& section, const std::string& property) const;
48 …virtual std::optional<uint64_t> GetUint64(const std::string& section, const std::string& property)…
50 …virtual std::optional<uint32_t> GetUint32(const std::string& section, const std::string& property)…
52 …virtual std::optional<int64_t> GetInt64(const std::string& section, const std::string& property) c…
54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
56 …virtual std::optional<std::vector<uint8_t>> GetBin(const std::string& section, const std::string& …
59 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
71 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
83 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
88 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
[all …]
/system/core/init/
Dproperty_service.proto22 optional string msg = 1;
23 optional string name = 2;
24 optional int32 pid = 3;
25 optional int32 fd = 4;
29 optional string name = 1;
30 optional string value = 2;
/system/core/fs_mgr/liblp/
Dutility_test.cpp63 std::optional<uint64_t> AlignTo(uint64_t base, uint32_t alignment) { in AlignTo()
72 EXPECT_EQ(AlignTo(37, 0), std::optional<uint64_t>(37)); in TEST()
73 EXPECT_EQ(AlignTo(1024, 1024), std::optional<uint64_t>(1024)); in TEST()
74 EXPECT_EQ(AlignTo(555, 1024), std::optional<uint64_t>(1024)); in TEST()
75 EXPECT_EQ(AlignTo(555, 1000), std::optional<uint64_t>(1000)); in TEST()
76 EXPECT_EQ(AlignTo(0, 1024), std::optional<uint64_t>(0)); in TEST()
77 EXPECT_EQ(AlignTo(54, 32), std::optional<uint64_t>(64)); in TEST()
78 EXPECT_EQ(AlignTo(32, 32), std::optional<uint64_t>(32)); in TEST()
79 EXPECT_EQ(AlignTo(17, 32), std::optional<uint64_t>(32)); in TEST()
83 EXPECT_EQ(AlignTo(u64limit - u32limit + 1, u32limit), std::optional<uint64_t>{u64limit}); in TEST()
[all …]
/system/bt/gd/security/record/
Dsecurity_record.h129 std::optional<hci::AddressWithType> identity_address_;
131 std::optional<crypto_toolbox::Octet16> ltk;
132 std::optional<uint16_t> ediv;
133 std::optional<std::array<uint8_t, 8>> rand;
134 std::optional<crypto_toolbox::Octet16> irk;
135 std::optional<crypto_toolbox::Octet16> signature_key;
/system/update_engine/
Dupdate_metadata.proto111 optional uint64 start_block = 1;
112 optional uint64 num_blocks = 2;
129 optional uint32 version = 1 [deprecated = true];
130 optional bytes data = 2;
139 optional fixed32 unpadded_signature_size = 3;
145 optional uint64 size = 1;
146 optional bytes hash = 2;
156 optional string board = 1;
157 optional string key = 2;
158 optional string channel = 3;
[all …]
/system/update_engine/update_engine/
Dupdate_metadata.proto111 optional uint64 start_block = 1;
112 optional uint64 num_blocks = 2;
129 optional uint32 version = 1 [deprecated = true];
130 optional bytes data = 2;
139 optional fixed32 unpadded_signature_size = 3;
145 optional uint64 size = 1;
146 optional bytes hash = 2;
156 optional string board = 1;
157 optional string key = 2;
158 optional string channel = 3;
[all …]
/system/core/fs_mgr/libsnapshot/update_engine/
Dupdate_metadata.proto39 optional uint64 start_block = 1;
40 optional uint64 num_blocks = 2;
44 optional uint64 size = 1;
61 optional PartitionInfo new_partition_info = 7;
63 optional Extent hash_tree_extent = 11;
64 optional Extent fec_extent = 15;
69 optional uint64 size = 2;
79 optional DynamicPartitionMetadata dynamic_partition_metadata = 15;
80 optional bool partial_update = 16;
/system/timezone/input_tools/android/tzlookup_generator/src/main/proto/
Dcountry_zones_file.proto31 optional string defaultTimeZoneId = 2;
32 optional bool defaultTimeZoneBoost = 3;
38 optional string aliasId = 2;
40 optional bool shownInPicker = 4 [default = true];
41 optional uint32 priority = 5 [default = 1];
/system/update_engine/payload_consumer/
Dpartition_update_generator_android.h51 std::optional<std::set<std::string>> GetStaticAbPartitionsOnDevice();
55 std::optional<PartitionUpdate> CreatePartitionUpdate(
61 std::optional<PartitionUpdate> CreatePartitionUpdate(
66 std::optional<brillo::Blob> CalculateHashForPartition(
/system/security/keystore/tests/
Dverification_token_seralization_test.cpp28 using std::optional;
40 optional<vector<uint8_t>> serialized = serializeVerificationToken(token); in TEST()
42 optional<VerificationToken> deserialized = deserializeVerificationToken(serialized.value()); in TEST()
57 optional<vector<uint8_t>> serialized = serializeVerificationToken(token); in TEST()
59 optional<VerificationToken> deserialized = deserializeVerificationToken(serialized.value()); in TEST()
/system/bt/gd/common/
Dstrings.h54 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str);
66 std::optional<int64_t> Int64FromString(const std::string& str);
68 std::optional<uint64_t> Uint64FromString(const std::string& str);
70 std::optional<bool> BoolFromString(const std::string& str);
/system/libvintf/
DMatrixInstance.cpp38 bool optional, bool isRegex) in MatrixInstance() argument
42 mOptional(optional), in MatrixInstance()
46 const VersionRange& range, bool optional, bool isRegex) in MatrixInstance() argument
50 mOptional(optional), in MatrixInstance()
69 bool MatrixInstance::optional() const { in optional() function in android::vintf::MatrixInstance

1234567891011