Home
last modified time | relevance | path

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

123

/system/chre/apps/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()
26 "Invalid GSM Mobile Country Code: %d", identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 "Invalid GSM Mobile Network Code: %d", identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
31 sendFatalFailureInt32("Invalid GSM Location Area Code", identity.lac); in validateIdentity()
32 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
33 sendFatalFailureInt32("Invalid GSM Cell Identity: %d", identity.cid); in validateIdentity()
34 } 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 "Invalid WCDMA Mobile Country Code: %d", identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 "Invalid WCDMA Mobile Network Code: %d", identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
32 "Invalid WCDMA Location Area Code: %d", identity.lac); in validateIdentity()
33 } else if (!isBoundedInt32(identity.cid, 0, 268435455, INT32_MAX)) { in validateIdentity()
34 sendFatalFailureInt32("Invalid WCDMA Cell Identity: %d", identity.cid); in validateIdentity()
35 } 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 "Invalid TDSCDMA Mobile Country Code: %d", identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 "Invalid TDSCDMA Mobile Network Code: %d", identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
32 "Invalid TDSCDMA Location Area Code: %d", identity.lac); in validateIdentity()
33 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
35 "Invalid TDSCDMA Cell Identity: %d", identity.cid); in validateIdentity()
36 } 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()
26 "Invalid LTE Mobile Country Code: %d", identity.mcc); in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
29 "Invalid LTE Mobile Network Code: %d", identity.mnc); in validateIdentity()
30 } else if (!isBoundedInt32(identity.ci, 0, 268435455, INT32_MAX)) { in validateIdentity()
31 sendFatalFailureInt32("Invalid LTE Cell Identity: %d", identity.ci); in validateIdentity()
32 } else if (!isBoundedInt32(identity.pci, 0, 503, INT32_MAX)) { in validateIdentity()
33 sendFatalFailureInt32("Invalid LTE Physical Cell Id: %d", identity.pci); in validateIdentity()
34 } else if (!isBoundedInt32(identity.tac, 0, 65535, INT32_MAX)) { in validateIdentity()
[all …]
Dcell_info_cdma.cc21 const struct chreWwanCellIdentityCdma identity) { in validateIdentity() argument
25 if (!isBoundedInt32(identity.networkId, 0, 65535, max)) { in validateIdentity()
27 "Invalid CDMA Network Id: %d", identity.networkId); in validateIdentity()
28 } else if (!isBoundedInt32(identity.systemId, 0, 32767, max)) { in validateIdentity()
30 "Invalid CDMA System Id: %d", identity.systemId); in validateIdentity()
31 } else if (!isBoundedInt32(identity.basestationId, 0, 65535, max)) { in validateIdentity()
33 identity.basestationId); in validateIdentity()
34 } else if (!isBoundedInt32(identity.longitude, -2592000, 2592000, max)) { in validateIdentity()
35 sendFatalFailureInt32("Invalid CDMA Longitude: %d", identity.longitude); in validateIdentity()
36 } else if (!isBoundedInt32(identity.latitude, -1296000, 1296000, max)) { in validateIdentity()
[all …]
/system/security/identity/
DAndroid.bp36 "android.hardware.identity-support-lib",
41 "android.hardware.identity-cpp",
50 "binder/android/security/identity/ICredential.aidl",
51 "binder/android/security/identity/IWritableCredential.aidl",
52 "binder/android/security/identity/ICredentialStore.aidl",
53 "binder/android/security/identity/AccessControlProfileParcel.aidl",
54 "binder/android/security/identity/EntryNamespaceParcel.aidl",
55 "binder/android/security/identity/EntryParcel.aidl",
56 "binder/android/security/identity/RequestNamespaceParcel.aidl",
57 "binder/android/security/identity/RequestEntryParcel.aidl",
[all …]
DCredential.h31 namespace identity {
38 using ::android::hardware::identity::CipherSuite;
39 using ::android::hardware::identity::IIdentityCredential;
40 using ::android::hardware::identity::IIdentityCredentialStore;
41 using ::android::hardware::identity::RequestDataItem;
42 using ::android::hardware::identity::RequestNamespace;
DCredentialStore.h29 namespace identity {
37 using ::android::hardware::identity::HardwareInformation;
38 using ::android::hardware::identity::IIdentityCredentialStore;
DCredentialData.h33 namespace identity {
35 using ::android::hardware::identity::Certificate;
36 using ::android::hardware::identity::IIdentityCredential;
37 using ::android::hardware::identity::SecureAccessControlProfile;
DWritableCredential.h29 namespace identity {
32 using ::android::hardware::identity::IWritableIdentityCredential;
DCredentialStoreFactory.cpp29 namespace identity { namespace
31 using ::android::hardware::identity::IIdentityCredentialStore;
/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;
DICredential.aidl17 package android.security.identity;
19 import android.security.identity.RequestNamespaceParcel;
20 import android.security.identity.GetEntriesResultParcel;
21 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;
DEntryNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.EntryParcel;
DResultNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultEntryParcel;
DRequestNamespaceParcel.aidl17 package android.security.identity;
19 import android.security.identity.RequestEntryParcel;
DGetEntriesResultParcel.aidl17 package android.security.identity;
19 import android.security.identity.ResultNamespaceParcel;
DAuthKeyParcel.aidl17 package android.security.identity;
DRequestEntryParcel.aidl17 package android.security.identity;
DAccessControlProfileParcel.aidl17 package android.security.identity;
DSecurityHardwareInfoParcel.aidl17 package android.security.identity;
DEntryParcel.aidl17 package android.security.identity;
DResultEntryParcel.aidl17 package android.security.identity;

123