Home
last modified time | relevance | path

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

12345678910>>...34

/hardware/google/pixel/pixelstats/
Dpixelatoms.proto141 optional string pixel = 1 [default = "com.google.pixel"];
181 optional string reverse_domain_name = 1;
183 optional AdapterType adapter_type = 2;
185 optional int32 adapter_voltage = 3;
187 optional int32 adapter_amperage = 4;
191 optional int32 ssoc_in = 5;
193 optional int32 voltage_in = 6;
197 optional int32 ssoc_out = 7;
199 optional int32 voltage_out = 8;
211 optional int32 adapter_capabilities0 = 9;
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DAdpfConfig.h51 std::optional<bool> mGpuBoostOn;
52 std::optional<uint64_t> mGpuBoostCapacityMax;
56 std::optional<bool> mHeuristicBoostOn;
57 std::optional<uint32_t> mHBoostOnMissedCycles;
58 std::optional<double> mHBoostOffMaxAvgRatio;
59 std::optional<uint32_t> mHBoostOffMissedCycles;
60 std::optional<double> mHBoostPidPuFactor;
61 std::optional<uint32_t> mHBoostUclampMin;
62 std::optional<double> mJankCheckTimeFactor;
63 std::optional<uint32_t> mLowFrameRateThreshold;
[all …]
/hardware/google/gfxstream/common/detector/
DGraphicsDetector.proto21 optional string vendor = 1;
22 optional string version = 2;
23 optional string extensions = 3;
24 optional string client_extensions = 4;
27 optional string vendor = 1;
28 optional string version = 2;
29 optional string renderer = 3;
30 optional string extensions = 4;
34 optional GlesContextAvailability gles2_availability = 5;
35 optional GlesContextAvailability gles3_availability = 6;
[all …]
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h36 using ::std::optional;
68 optional<vector<uint8_t>> decodeHex(const string& hexEncoded);
97 optional<vector<uint8_t>> getRandom(size_t numBytes);
105 optional<vector<uint8_t>> decryptAes128Gcm(const vector<uint8_t>& key,
111 optional<vector<uint8_t>> encryptAes128Gcm(const vector<uint8_t>& key, const vector<uint8_t>& nonce,
129 optional<std::pair<vector<uint8_t>, vector<vector<uint8_t>>>> createEcKeyPairAndAttestation(
137 optional<std::pair<vector<uint8_t>, vector<uint8_t>>> createEcKeyPairWithAttestationKey(
143 optional<vector<vector<uint8_t>>> createAttestationForEcPublicKey(
150 optional<vector<uint8_t>> createEcKeyPair();
155 optional<vector<uint8_t>> ecKeyPairGetPublicKey(const vector<uint8_t>& keyPair);
[all …]
/hardware/interfaces/automotive/vehicle/proto/
DVehicleHalProto.proto58 optional sint32 min_int32_value = 2;
59 optional sint32 max_int32_value = 3;
60 optional sint64 min_int64_value = 4;
61 optional sint64 max_int64_value = 5;
62 optional float min_float_value = 6;
63 optional float max_float_value = 7;
68 optional int32 access = 2;
69 optional int32 change_mode = 3;
70 optional int32 value_type = 4;
71 optional int32 supported_areas = 5; // Deprecated - DO NOT USE
[all …]
/hardware/google/camera/common/profiler/
Dprofiler.proto8 optional uint64 start = 1;
9 optional uint64 end = 2;
10 optional uint32 count = 3;
11 optional int32 request_id = 4;
16 optional string name = 1;
25 optional string usecase = 1;
27 optional string build_id = 3;
28 optional string device_type = 4;
29 optional string device_serial = 5;
31 optional int64 profile_start_time_nanos = 6;
[all …]
/hardware/interfaces/bluetooth/audio/aidl/default/
DLeAudioOffloadAudioProvider.h58 const std::optional<std::vector<
59 std::optional<IBluetoothAudioProvider::LeAudioDeviceCapabilities>>>&
61 const std::optional<std::vector<
62 std::optional<IBluetoothAudioProvider::LeAudioDeviceCapabilities>>>&
77 const std::optional<std::vector<std::optional<MetadataLtv>>>& in_metadata)
82 const std::optional<std::vector<std::optional<MetadataLtv>>>& in_metadata)
85 const std::optional<std::vector<
86 std::optional<IBluetoothAudioProvider::LeAudioDeviceCapabilities>>>&
132 std::vector<std::optional<AseDirectionConfiguration>>&
135 std::vector<std::optional<AseDirectionConfiguration>>&
[all …]
DBluetoothAudioProvider.h72 const std::optional<std::vector<std::optional<
75 const std::optional<std::vector<std::optional<
91 const std::optional<::aidl::android::hardware::bluetooth::audio::
94 const std::optional<::aidl::android::hardware::bluetooth::audio::
103 const std::optional<std::vector<std::optional<
110 const std::optional<std::vector<std::optional<
114 const std::optional<std::vector<std::optional<
137 std::optional<audio::A2dpConfiguration>* _aidl_return);
/hardware/interfaces/identity/aidl/default/common/
DSecureHardwareProxy.h29 using ::std::optional;
72 virtual optional<uint32_t> getId() = 0;
82 virtual optional<vector<uint8_t>> createCredentialKey(const vector<uint8_t>& challenge,
92 virtual optional<vector<uint8_t>> createCredentialKeyUsingRkp(
102 virtual optional<vector<uint8_t>> addAccessControlProfile(
110 virtual optional<vector<uint8_t>> addEntryValue(const vector<int>& accessControlProfileIds,
115 virtual optional<vector<uint8_t>> finishAddingEntries() = 0;
118 virtual optional<vector<uint8_t>> finishGetCredentialData(const string& docType) = 0;
139 virtual optional<uint32_t> getId() = 0;
143 virtual optional<uint64_t> getAuthChallenge() = 0;
[all …]
/hardware/interfaces/identity/aidl/default/
DFakeSecureHardwareProxy.h40 optional<uint32_t> getId() override;
43 optional<vector<uint8_t>> createCredentialKey(const vector<uint8_t>& challenge,
46 optional<vector<uint8_t>> createCredentialKeyUsingRkp(
56 optional<vector<uint8_t>> addAccessControlProfile(int id,
66 optional<vector<uint8_t>> addEntryValue(const vector<int>& accessControlProfileIds,
71 optional<vector<uint8_t>> finishAddingEntries() override;
74 optional<vector<uint8_t>> finishGetCredentialData(const string& docType) override;
106 optional<uint32_t> getId() override;
108 optional<uint64_t> getAuthChallenge() override;
111 optional<vector<uint8_t>> getEphemeralKeyPair() override;
[all …]
DEicTests.cpp29 using std::optional;
43 optional<vector<uint8_t>> credKey = in TEST()
54 optional<vector<uint8_t>> encContent = in TEST()
59 optional<vector<uint8_t>> signatureOfToBeSigned = provisioningProxy.finishAddingEntries(); in TEST()
62 optional<vector<uint8_t>> credData = provisioningProxy.finishGetCredentialData(docType); in TEST()
78 optional<vector<uint8_t>> decContent = in TEST()
DFakeSecureHardwareProxy.cpp47 using ::std::optional;
75 optional<uint32_t> id = getId(); in initialize()
97 optional<uint32_t> id = getId(); in initializeForUpdate()
106 optional<uint32_t> FakeSecureHardwareProvisioningProxy::getId() { in getId()
120 optional<uint32_t> id = getId(); in validateId()
148 optional<vector<uint8_t>> FakeSecureHardwareProvisioningProxy::createCredentialKey( in createCredentialKey()
170 optional<vector<uint8_t>> FakeSecureHardwareProvisioningProxy::createCredentialKeyUsingRkp( in createCredentialKeyUsingRkp()
205 optional<vector<uint8_t>> FakeSecureHardwareProvisioningProxy::addAccessControlProfile( in addAccessControlProfile()
243 optional<vector<uint8_t>> FakeSecureHardwareProvisioningProxy::addEntryValue( in addEntryValue()
268 optional<vector<uint8_t>> FakeSecureHardwareProvisioningProxy::finishAddingEntries() { in finishAddingEntries()
[all …]
/hardware/nxp/keymint/KM300/
DCborConverter.h64 std::optional<uint64_t> getUint64(const unique_ptr<Item>& item);
66 std::optional<uint64_t> getUint64(const unique_ptr<Item>& item, const uint32_t pos);
68 std::optional<SharedSecretParameters>
71 std::optional<string> getByteArrayStr(const unique_ptr<Item>& item, const uint32_t pos);
73 std::optional<string> getTextStr(const unique_ptr<Item>& item, const uint32_t pos);
75 std::optional<std::vector<uint8_t>> getByteArrayVec(const unique_ptr<Item>& item,
78 std::optional<vector<KeyParameter>> getKeyParameters(const unique_ptr<Item>& item,
83 bool addAttestationKey(Array& array, const std::optional<AttestationKey>& attestationKey);
89 std::optional<TimeStampToken> getTimeStampToken(const std::unique_ptr<Item>& item,
92 std::optional<vector<KeyCharacteristics>>
[all …]
DJavacardKeyMintOperation.h60 using std::optional;
99 const optional<HardwareAuthToken>& authToken,
100 const optional<TimeStampToken>& timestampToken) override;
102 ScopedAStatus update(const vector<uint8_t>& input, const optional<HardwareAuthToken>& authToken,
103 const optional<TimeStampToken>& timestampToken,
106 ScopedAStatus finish(const optional<vector<uint8_t>>& input,
107 const optional<vector<uint8_t>>& signature,
108 const optional<HardwareAuthToken>& authToken,
109 const optional<TimeStampToken>& timestampToken,
110 const optional<vector<uint8_t>>& confirmationToken,
/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp29 using std::optional;
61 optional<vector<uint8_t>> keyPair = support::createEcKeyPair(); in TEST()
63 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in TEST()
65 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST()
68 optional<vector<uint8_t>> signature = support::signEcDsa(privKey.value(), data); in TEST()
111 optional<vector<uint8_t>> keyPair = support::createEcKeyPair(); in TEST()
113 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in TEST()
115 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST()
119 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa( in TEST()
124 optional<vector<uint8_t>> payload = support::coseSignGetPayload(coseSign1.value()); in TEST()
[all …]
/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.h52 void get_crop_rect(const private_handle_t *hnd, std::optional<Rect> *crop);
55 void get_dataspace(const private_handle_t *hnd, std::optional<Dataspace> *dataspace);
58 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode);
61 void get_smpte2086(const private_handle_t *hnd, std::optional<Smpte2086> *smpte2086);
62 android::status_t set_smpte2086(const private_handle_t *hnd, const std::optional<Smpte2086> &smpte2…
64 void get_cta861_3(const private_handle_t *hnd, std::optional<Cta861_3> *cta861_3);
65 android::status_t set_cta861_3(const private_handle_t *hnd, const std::optional<Cta861_3> &cta861_3…
67 void get_smpte2094_40(const private_handle_t *hnd, std::optional<std::vector<uint8_t>> *smpte2094_4…
68 android::status_t set_smpte2094_40(const private_handle_t *hnd, const std::optional<std::vector<uin…
DSharedMetadata.cpp48 void get_crop_rect(const private_handle_t *hnd, std::optional<Rect> *crop) in get_crop_rect()
72 void get_dataspace(const private_handle_t *hnd, std::optional<Dataspace> *dataspace) in get_dataspace()
84 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode) in get_blend_mode()
96 void get_smpte2086(const private_handle_t *hnd, std::optional<Smpte2086> *smpte2086) in get_smpte2086()
102 android::status_t set_smpte2086(const private_handle_t *hnd, const std::optional<Smpte2086> &smpte2… in set_smpte2086()
110 void get_cta861_3(const private_handle_t *hnd, std::optional<Cta861_3> *cta861_3) in get_cta861_3()
116 android::status_t set_cta861_3(const private_handle_t *hnd, const std::optional<Cta861_3> &cta861_3) in set_cta861_3()
124 void get_smpte2094_40(const private_handle_t *hnd, std::optional<std::vector<uint8_t>> *smpte2094_4… in get_smpte2094_40()
139 android::status_t set_smpte2094_40(const private_handle_t *hnd, const std::optional<std::vector<uin… in set_smpte2094_40()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/config/
DREADME.md28 // (optional, number/string) The access mode for the property.
32 // (optional, number/string) The change mode for the property.
36 // (optional, string) The config string.
38 // (optional, array of number/string) The config array.
40 // (optional, object) The default value for the property.
44 // (optional, array of int number/string) Int values.
46 // (optional, array of int number/string) Long values.
48 // (optional, array of float number/string) Float values.
50 // (optional, string) String value.
53 // (optional, number/string) The minimum sample rate in HZ.
[all …]
/hardware/nxp/keymint/KM200/
DJavacardKeyMintOperation.h36 using std::optional;
77 const optional<HardwareAuthToken>& authToken,
78 const optional<TimeStampToken>& timestampToken) override;
80 ScopedAStatus update(const vector<uint8_t>& input, const optional<HardwareAuthToken>& authToken,
81 const optional<TimeStampToken>& timestampToken,
84 ScopedAStatus finish(const optional<vector<uint8_t>>& input,
85 const optional<vector<uint8_t>>& signature,
86 const optional<HardwareAuthToken>& authToken,
87 const optional<TimeStampToken>& timestampToken,
88 const optional<vector<uint8_t>>& confirmationToken,
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothLeAudioCodecsProvider.h37 static std::optional<setting::LeAudioOffloadSetting>
41 const std::optional<setting::LeAudioOffloadSetting>&
45 GetLeAudioCodecInfo(const std::optional<setting::LeAudioOffloadSetting>&
60 const std::optional<setting::LeAudioOffloadSetting>&
63 const std::optional<setting::LeAudioOffloadSetting>&
66 const std::optional<setting::LeAudioOffloadSetting>&
69 const std::optional<setting::LeAudioOffloadSetting>&
72 const std::optional<setting::LeAudioOffloadSetting>&
/hardware/google/gfxstream/host/
DRenderThreadInfo.h60 std::optional<std::string> m_processName;
64 std::optional<gl::RenderThreadInfoGl> m_glInfo;
67 std::optional<vk::RenderThreadInfoVk> m_vkInfo;
70 std::optional<RenderThreadInfoMagma> m_magmaInfo;
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAndroidHealthMonitor.h90 std::optional<std::function<std::unique_ptr<HangAnnotations>()>>
93 std::optional<Id> parentId = std::nullopt);
113 std::optional<std::function<std::unique_ptr<HangAnnotations>()>>
116 std::optional<Id> parentId;
141 std::optional<Timestamp> hungTimestamp;
143 std::optional<std::function<std::unique_ptr<HangAnnotations>()>> onHangAnnotationsCallback;
144 std::optional<Id> parentId;
181 std::optional<std::function<std::unique_ptr<HangAnnotations>()>>
210 std::optional<typename HealthMonitorT::Id> release() { in release()
217 std::optional<typename HealthMonitorT::Id> mId;
[all …]
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/include/libprotocan/
DMessageDef.h47 std::optional<Signal> counter = std::nullopt,
48 std::optional<Checksum> checksum = std::nullopt);
65 const std::optional<Signal> kCounter;
66 const std::optional<Checksum> kChecksum;
/hardware/interfaces/biometrics/common/config/include/config/
DConfig.h31 using OptBool = std::optional<bool>;
32 using OptInt32 = std::optional<std::int32_t>;
33 using OptInt64 = std::optional<std::int64_t>;
34 using OptString = std::optional<std::string>;
35 using OptIntVec = std::vector<std::optional<std::int32_t>>;
58 std::optional<T> optval = std::get<std::optional<T>>(getInternal(name)); in get()
59 if (!optval) optval = std::get<std::optional<T>>(getDefault(name)); in get()
66 std::optional<T> aval(val); in set()
/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.h31 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath);
39 std::optional<V1_0::ICanController::BusConfig> fromPbBus(const Bus& pb_bus);
47 std::optional<V1_0::ICanController::InterfaceType> getHalIftype(const Bus& pb_bus);

12345678910>>...34