/system/chre/apps/test/chqts/src/general_test/ |
D | cell_info_gsm.cc | 21 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 …]
|
D | cell_info_wcdma.cc | 21 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 …]
|
D | cell_info_tdscdma.cc | 21 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 …]
|
D | cell_info_lte.cc | 21 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 …]
|
D | cell_info_nr.cc | 25 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 …]
|
D | cell_info_cdma.cc | 21 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/ |
D | Android.bp | 48 "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 …]
|
D | Credential.h | 31 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;
|
D | CredentialStore.h | 29 namespace identity { 37 using ::android::hardware::identity::HardwareInformation; 38 using ::android::hardware::identity::IIdentityCredentialStore;
|
D | WritableCredential.h | 31 namespace identity { 34 using ::android::hardware::identity::HardwareInformation; 35 using ::android::hardware::identity::IWritableIdentityCredential;
|
D | CredentialData.h | 33 namespace identity { 35 using ::android::hardware::identity::Certificate; 36 using ::android::hardware::identity::IIdentityCredential; 37 using ::android::hardware::identity::SecureAccessControlProfile;
|
D | CredentialStoreFactory.cpp | 29 namespace identity { namespace 31 using ::android::hardware::identity::IIdentityCredentialStore;
|
/system/security/identity/binder/android/security/identity/ |
D | ICredential.aidl | 17 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;
|
D | ICredentialStore.aidl | 17 package android.security.identity; 19 import android.security.identity.IWritableCredential; 20 import android.security.identity.ICredential; 21 import android.security.identity.SecurityHardwareInfoParcel;
|
D | IWritableCredential.aidl | 17 package android.security.identity; 19 import android.security.identity.AccessControlProfileParcel; 20 import android.security.identity.EntryNamespaceParcel;
|
D | ICredentialStoreFactory.aidl | 17 package android.security.identity; 19 import android.security.identity.ICredentialStore;
|
D | EntryNamespaceParcel.aidl | 17 package android.security.identity; 19 import android.security.identity.EntryParcel;
|
D | RequestNamespaceParcel.aidl | 17 package android.security.identity; 19 import android.security.identity.RequestEntryParcel;
|
D | ResultNamespaceParcel.aidl | 17 package android.security.identity; 19 import android.security.identity.ResultEntryParcel;
|
D | GetEntriesResultParcel.aidl | 17 package android.security.identity; 19 import android.security.identity.ResultNamespaceParcel;
|
D | AuthKeyParcel.aidl | 17 package android.security.identity;
|
D | RequestEntryParcel.aidl | 17 package android.security.identity;
|
D | SecurityHardwareInfoParcel.aidl | 17 package android.security.identity;
|
D | AccessControlProfileParcel.aidl | 17 package android.security.identity;
|
D | ResultEntryParcel.aidl | 17 package android.security.identity;
|