Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 25 of 84) sorted by relevance

1234

/system/chre/apps/test/chqts/src/general_test/
Dcell_info_gsm.cc21 const struct chreWwanCellIdentityGsm &identity) { in validateIdentity() argument
24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
25 sendFatalFailureInt32("Invalid GSM Mobile Country Code: %d", identity.mcc); in validateIdentity()
26 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
27 sendFatalFailureInt32("Invalid GSM Mobile Network Code: %d", identity.mnc); in validateIdentity()
28 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
29 sendFatalFailureInt32("Invalid GSM Location Area Code", identity.lac); in validateIdentity()
30 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
31 sendFatalFailureInt32("Invalid GSM Cell Identity: %d", identity.cid); in validateIdentity()
32 } else if (!isBoundedInt32(identity.arfcn, 0, 65535, INT32_MAX)) { in validateIdentity()
[all …]
Dcell_info_wcdma.cc21 const struct chreWwanCellIdentityWcdma &identity) { in validateIdentity() argument
24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
26 identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
31 sendFatalFailureInt32("Invalid WCDMA Location Area Code: %d", identity.lac); in validateIdentity()
32 } else if (!isBoundedInt32(identity.cid, 0, 268435455, INT32_MAX)) { in validateIdentity()
33 sendFatalFailureInt32("Invalid WCDMA Cell Identity: %d", identity.cid); in validateIdentity()
34 } else if (!isBoundedInt32(identity.psc, 0, 511, INT32_MAX)) { in validateIdentity()
[all …]
Dcell_info_tdscdma.cc21 const struct chreWwanCellIdentityTdscdma &identity) { in validateIdentity() argument
24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
26 identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
32 identity.lac); in validateIdentity()
33 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
34 sendFatalFailureInt32("Invalid TDSCDMA Cell Identity: %d", identity.cid); in validateIdentity()
35 } else if (!isBoundedInt32(identity.cpid, 0, 127, INT32_MAX)) { in validateIdentity()
[all …]
Dcell_info_lte.cc21 const struct chreWwanCellIdentityLte &identity) { in validateIdentity() argument
24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
25 sendFatalFailureInt32("Invalid LTE Mobile Country Code: %d", identity.mcc); in validateIdentity()
26 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
27 sendFatalFailureInt32("Invalid LTE Mobile Network Code: %d", identity.mnc); in validateIdentity()
28 } else if (!isBoundedInt32(identity.ci, 0, 268435455, INT32_MAX)) { in validateIdentity()
29 sendFatalFailureInt32("Invalid LTE Cell Identity: %d", identity.ci); in validateIdentity()
30 } else if (!isBoundedInt32(identity.pci, 0, 503, INT32_MAX)) { in validateIdentity()
31 sendFatalFailureInt32("Invalid LTE Physical Cell Id: %d", identity.pci); in validateIdentity()
32 } else if (!isBoundedInt32(identity.tac, 0, 65535, INT32_MAX)) { in validateIdentity()
[all …]
Dcell_info_nr.cc29 bool CellInfoNr::validateIdentity(const struct chreWwanCellIdentityNr &identity, in validateIdentity() argument
33 if (!isBoundedInt32(identity.mcc, 0, 999, kInvalid, !registered)) { in validateIdentity()
34 sendFatalFailureInt32("Invalid NR Mobile Country Code: %d", identity.mcc); in validateIdentity()
35 } else if (!isBoundedInt32(identity.mnc, 0, 999, kInvalid, !registered)) { in validateIdentity()
36 sendFatalFailureInt32("Invalid NR Mobile Network Code: %d", identity.mnc); in validateIdentity()
37 } else if (!isBoundedInt64(chreWwanUnpackNrNci(&identity), 0, 68719476735, in validateIdentity()
39 LOGE("Invalid NR Cell Identity: %" PRId64, chreWwanUnpackNrNci(&identity)); in validateIdentity()
41 } else if (!isBoundedInt32(identity.pci, 0, 1007, kInvalid, in validateIdentity()
43 sendFatalFailureInt32("Invalid NR Physical Cell Id: %d", identity.pci); in validateIdentity()
44 } else if (!isBoundedInt32(identity.tac, 0, 16777215, kInvalid)) { in validateIdentity()
[all …]
Dcell_info_cdma.cc21 const struct chreWwanCellIdentityCdma &identity) { in validateIdentity() argument
25 if (!isBoundedInt32(identity.networkId, 0, 65535, max)) { in validateIdentity()
26 sendFatalFailureInt32("Invalid CDMA Network Id: %d", identity.networkId); in validateIdentity()
27 } else if (!isBoundedInt32(identity.systemId, 0, 32767, max)) { in validateIdentity()
28 sendFatalFailureInt32("Invalid CDMA System Id: %d", identity.systemId); in validateIdentity()
29 } else if (!isBoundedInt32(identity.basestationId, 0, 65535, max)) { in validateIdentity()
31 identity.basestationId); in validateIdentity()
32 } else if (!isBoundedInt32(identity.longitude, -2592000, 2592000, max)) { in validateIdentity()
33 sendFatalFailureInt32("Invalid CDMA Longitude: %d", identity.longitude); in validateIdentity()
34 } else if (!isBoundedInt32(identity.latitude, -1296000, 1296000, max)) { in validateIdentity()
[all …]
/system/security/identity/
DAndroid.bp33 "android.hardware.identity-support-lib-deps",
59 "android.hardware.identity-support-lib",
83 "binder/android/security/identity/ICredential.aidl",
84 "binder/android/security/identity/IWritableCredential.aidl",
85 "binder/android/security/identity/ICredentialStore.aidl",
86 "binder/android/security/identity/AccessControlProfileParcel.aidl",
87 "binder/android/security/identity/EntryNamespaceParcel.aidl",
88 "binder/android/security/identity/EntryParcel.aidl",
89 "binder/android/security/identity/RequestNamespaceParcel.aidl",
90 "binder/android/security/identity/RequestEntryParcel.aidl",
[all …]
DSession.h33 namespace identity {
40 using ::android::hardware::identity::CipherSuite;
41 using ::android::hardware::identity::HardwareInformation;
42 using ::android::hardware::identity::IIdentityCredential;
43 using ::android::hardware::identity::IIdentityCredentialStore;
44 using ::android::hardware::identity::IPresentationSession;
45 using ::android::hardware::identity::RequestDataItem;
46 using ::android::hardware::identity::RequestNamespace;
DSession.cpp31 namespace identity { namespace
35 using ::android::hardware::identity::IPresentationSession;
36 using ::android::hardware::identity::IWritableIdentityCredential;
38 using ::android::hardware::identity::support::ecKeyPairGetPkcs12;
39 using ::android::hardware::identity::support::ecKeyPairGetPrivateKey;
40 using ::android::hardware::identity::support::ecKeyPairGetPublicKey;
41 using ::android::hardware::identity::support::hexdump;
42 using ::android::hardware::identity::support::sha256;
DCredential.h31 namespace identity {
38 using ::android::hardware::identity::CipherSuite;
39 using ::android::hardware::identity::HardwareInformation;
40 using ::android::hardware::identity::IIdentityCredential;
41 using ::android::hardware::identity::IIdentityCredentialStore;
42 using ::android::hardware::identity::IPresentationSession;
43 using ::android::hardware::identity::RequestDataItem;
44 using ::android::hardware::identity::RequestNamespace;
DCredentialStore.h28 namespace identity {
37 using ::android::hardware::identity::HardwareInformation;
38 using ::android::hardware::identity::IIdentityCredentialStore;
39 using ::android::hardware::identity::IPresentationSession;
40 using ::android::hardware::identity::IWritableIdentityCredential;
DWritableCredential.h31 namespace identity {
34 using ::android::hardware::identity::HardwareInformation;
35 using ::android::hardware::identity::IWritableIdentityCredential;
DCredentialData.h33 namespace identity {
35 using ::android::hardware::identity::Certificate;
36 using ::android::hardware::identity::IIdentityCredential;
37 using ::android::hardware::identity::SecureAccessControlProfile;
/system/authgraph/boringssl/src/
Dtest_device.rs35 identity: RefCell<Option<(EcSignKey, Identity)>>, field
45 identity: RefCell::new(None), in default()
56 identity: (EcSignKey, Identity), in set_identity()
59 *self.identity.borrow_mut() = Some(identity); in set_identity()
94 if self.identity.borrow().is_none() { in get_identity()
97 let identity = Identity { in get_identity() localVariable
106 self.set_identity((EcSignKey::P256(priv_key), identity), iana::Algorithm::ES256); in get_identity()
108 let (sign_key, identity) = self in get_identity()
109 .identity in get_identity()
114 Ok((Some(sign_key), identity)) in get_identity()
/system/secretkeeper/client/src/
Dauthgraph_dev.rs44 identity: (EcSignKey, Identity), field
57 let identity = Identity { in new() localVariable
71 identity: ( in new()
85 identity, in new()
106 let (sign_key, identity) = self.identity.clone(); in get_identity()
107 Ok((Some(sign_key), identity)) in get_identity()
150 identity: &Identity, in validate_peer_identity()
153 if identity.cert_chain.dice_cert_chain.is_some() { in validate_peer_identity()
156 let root_key = identity.validate(ecdsa)?; in validate_peer_identity()
/system/security/identity/binder/android/security/identity/
DICredentialStore.aidl17 package android.security.identity;
19 import android.security.identity.IWritableCredential;
20 import android.security.identity.ICredential;
21 import android.security.identity.SecurityHardwareInfoParcel;
22 import android.security.identity.ISession;
DICredential.aidl17 package android.security.identity;
19 import android.security.identity.IWritableCredential;
21 import android.security.identity.RequestNamespaceParcel;
22 import android.security.identity.GetEntriesResultParcel;
23 import android.security.identity.AuthKeyParcel;
DIWritableCredential.aidl17 package android.security.identity;
19 import android.security.identity.AccessControlProfileParcel;
20 import android.security.identity.EntryNamespaceParcel;
DICredentialStoreFactory.aidl17 package android.security.identity;
19 import android.security.identity.ICredentialStore;
DRequestNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.RequestEntryParcel;
DResultNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultEntryParcel;
DEntryNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.EntryParcel;
DGetEntriesResultParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultNamespaceParcel;
DISession.aidl17 package android.security.identity;
19 import android.security.identity.ICredential;
/system/authgraph/tests/src/
Dlib.rs487 identity: peer_identity, in test_key_exchange_init()
505 identity: p1_identity, in test_key_exchange_finish()
514 identity: p2_identity, in test_key_exchange_finish()
540 identity: p1_identity, in test_key_exchange_auth_complete()
549 identity: p2_identity, in test_key_exchange_auth_complete()
594 identity: p1_identity, in test_ke_with_newer_source()
603 identity: p2_identity, in test_ke_with_newer_source()
648 identity: p1_identity, in test_ke_with_newer_sink()
657 identity: p2_identity, in test_ke_with_newer_sink()
705 identity: p1_identity, in test_ke_for_version_downgrade()
[all …]

1234