Home
last modified time | relevance | path

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

123

/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.cc25 bool CellInfoNr::validateIdentity(const struct chreWwanCellIdentityNr &identity, in validateIdentity() argument
29 if (!isBoundedInt32(identity.mcc, 0, 999, kInvalid, !registered)) { in validateIdentity()
30 sendFatalFailureInt32("Invalid NR Mobile Country Code: %d", identity.mcc); in validateIdentity()
31 } else if (!isBoundedInt32(identity.mnc, 0, 999, kInvalid, !registered)) { in validateIdentity()
32 sendFatalFailureInt32("Invalid NR Mobile Network Code: %d", identity.mnc); in validateIdentity()
33 } else if (!isBoundedInt64(chreWwanUnpackNrNci(&identity), 0, 68719476735, in validateIdentity()
36 chreWwanUnpackNrNci(&identity)); in validateIdentity()
38 } else if (!isBoundedInt32(identity.pci, 0, 1007, kInvalid, in validateIdentity()
40 sendFatalFailureInt32("Invalid NR Physical Cell Id: %d", identity.pci); in validateIdentity()
41 } 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.bp48 "android.hardware.identity-support-lib",
55 "android.hardware.identity-V3-cpp",
64 "binder/android/security/identity/ICredential.aidl",
65 "binder/android/security/identity/IWritableCredential.aidl",
66 "binder/android/security/identity/ICredentialStore.aidl",
67 "binder/android/security/identity/AccessControlProfileParcel.aidl",
68 "binder/android/security/identity/EntryNamespaceParcel.aidl",
69 "binder/android/security/identity/EntryParcel.aidl",
70 "binder/android/security/identity/RequestNamespaceParcel.aidl",
71 "binder/android/security/identity/RequestEntryParcel.aidl",
[all …]
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::RequestDataItem;
43 using ::android::hardware::identity::RequestNamespace;
DCredentialStore.h29 namespace identity {
37 using ::android::hardware::identity::HardwareInformation;
38 using ::android::hardware::identity::IIdentityCredentialStore;
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;
DCredentialStoreFactory.cpp29 namespace identity { namespace
31 using ::android::hardware::identity::IIdentityCredentialStore;
/system/security/identity/binder/android/security/identity/
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;
DICredentialStore.aidl17 package android.security.identity;
19 import android.security.identity.IWritableCredential;
20 import android.security.identity.ICredential;
21 import android.security.identity.SecurityHardwareInfoParcel;
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;
DEntryNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.EntryParcel;
DRequestNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.RequestEntryParcel;
DResultNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultEntryParcel;
DGetEntriesResultParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultNamespaceParcel;
DAuthKeyParcel.aidl17 package android.security.identity;
DRequestEntryParcel.aidl17 package android.security.identity;
DSecurityHardwareInfoParcel.aidl17 package android.security.identity;
DAccessControlProfileParcel.aidl17 package android.security.identity;
DResultEntryParcel.aidl17 package android.security.identity;

123