/frameworks/base/keystore/java/android/security/ |
D | KeyPairGeneratorSpec.java | 116 AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber, in KeyPairGeneratorSpec() argument 124 } else if (serialNumber == null) { in KeyPairGeneratorSpec() 144 mSerialNumber = serialNumber; in KeyPairGeneratorSpec() 389 public Builder setSerialNumber(@NonNull BigInteger serialNumber) { in setSerialNumber() argument 390 if (serialNumber == null) { in setSerialNumber() 393 mSerialNumber = serialNumber; in setSerialNumber()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 106 int serialNumber = UserDataPreparer.getSerialNumber(userDeDir); in testPrepareUserData_De() local 107 assertEquals(TEST_USER_SERIAL, serialNumber); in testPrepareUserData_De() 108 serialNumber = UserDataPreparer.getSerialNumber(systemDeDir); in testPrepareUserData_De() 109 assertEquals(TEST_USER_SERIAL, serialNumber); in testPrepareUserData_De() 124 int serialNumber = UserDataPreparer.getSerialNumber(userCeDir); in testPrepareUserData_Ce() local 125 assertEquals(TEST_USER_SERIAL, serialNumber); in testPrepareUserData_Ce() 126 serialNumber = UserDataPreparer.getSerialNumber(systemCeDir); in testPrepareUserData_Ce() 127 assertEquals(TEST_USER_SERIAL, serialNumber); in testPrepareUserData_Ce()
|
D | UserManagerTest.java | 391 int serialNumber1 = user1.serialNumber; in testSerialNumber() 395 int serialNumber2 = user2.serialNumber; in testSerialNumber() 407 assertTrue(errMsg + user1.serialNumber, in testGetSerialNumbersOfUsers() 408 ArrayUtils.contains(serialNumbersOfUsers, user1.serialNumber)); in testGetSerialNumbersOfUsers() 409 assertTrue(errMsg + user2.serialNumber, in testGetSerialNumbersOfUsers() 410 ArrayUtils.contains(serialNumbersOfUsers, user2.serialNumber)); in testGetSerialNumbersOfUsers()
|
D | UserManagerServiceUserInfoTest.java | 125 user.serialNumber = 5; in createUser()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 98 public int serialNumber; field in UserInfo 230 serialNumber = orig.serialNumber; in UserInfo() 259 dest.writeInt(serialNumber); in writeToParcel() 285 serialNumber = source.readInt(); in UserInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 203 enforceSerialNumber(file, info.serialNumber); in reconcileUsers() 268 void enforceSerialNumber(File file, int serialNumber) throws IOException { in enforceSerialNumber() argument 283 setSerialNumber(file, serialNumber); in enforceSerialNumber() 288 } else if (foundSerial != serialNumber) { in enforceSerialNumber() 290 + " doesn't match expected " + serialNumber); in enforceSerialNumber() 299 private static void setSerialNumber(File file, int serialNumber) throws IOException { in setSerialNumber() argument 301 final byte[] buf = Integer.toString(serialNumber).getBytes(StandardCharsets.UTF_8); in setSerialNumber()
|
D | UserManagerService.java | 2024 serializer.attribute(null, ATTR_SERIAL_NO, Integer.toString(userInfo.serialNumber)); in writeUserLP() 2176 int serialNumber = id; in readUserLP() local 2215 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP() 2274 userInfo.serialNumber = serialNumber; in readUserLP() 2472 userInfo.serialNumber = mNextSerialNumber++; in createUserInternalUnchecked() 2503 storage.createUserKey(userId, userInfo.serialNumber, userInfo.isEphemeral()); in createUserInternalUnchecked() 2504 mUserDataPreparer.prepareUserData(userId, userInfo.serialNumber, in createUserInternalUnchecked() 3067 return getUserInfoLU(userHandle).serialNumber; in getUserSerialNumber() 3084 if (info != null && info.serialNumber == userSerialNumber) return userId; in getUserHandle() 3144 final int userSerial = userInfo.serialNumber; in onBeforeStartUser() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDevice.java | 71 @NonNull String version, @Nullable String serialNumber) { in UsbDevice() argument 81 mSerialNumber = serialNumber; in UsbDevice() 303 String serialNumber = in.readString(); 306 manufacturerName, productName, version, serialNumber);
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 281 void createUserKey(int userId, int serialNumber, boolean ephemeral) = 61; in createUserKey() argument 283 void unlockUserKey(int userId, int serialNumber, in byte[] token, in byte[] secret) = 63; in unlockUserKey() argument 286 void prepareUserStorage(in String volumeUuid, int userId, int serialNumber, int flags) = 66; in prepareUserStorage() argument 289 void addUserKeyAuth(int userId, int serialNumber, in byte[] token, in byte[] secret) = 70; in addUserKeyAuth() argument
|
D | StorageManager.java | 1207 public void createUserKey(int userId, int serialNumber, boolean ephemeral) { in createUserKey() argument 1209 mStorageManager.createUserKey(userId, serialNumber, ephemeral); in createUserKey() 1225 public void unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) { in unlockUserKey() argument 1227 mStorageManager.unlockUserKey(userId, serialNumber, token, secret); in unlockUserKey() 1243 public void prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) { in prepareUserStorage() argument 1245 mStorageManager.prepareUserStorage(volumeUuid, userId, serialNumber, flags); in prepareUserStorage()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbHostManager.cpp | 85 jstring serialNumber = AndroidRuntime::NewStringLatin1(env, serial); in usb_device_added() local 90 manufacturerName, productName, version, serialNumber); in usb_device_added() 92 env->DeleteLocalRef(serialNumber); in usb_device_added()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsCbMessage.java | 144 public SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, in SmsCbMessage() argument 149 mSerialNumber = serialNumber; in SmsCbMessage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MockStorageManager.java | 48 public void addUserKeyAuth(int userId, int serialNumber, byte[] token, byte[] secret) in addUserKeyAuth() argument 424 public void createUserKey(int userId, int serialNumber, boolean ephemeral) in createUserKey() argument 435 public void unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) in unlockUserKey() argument 451 public void prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) in prepareUserStorage() argument
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyGenParameterSpec.java | 750 public Builder setCertificateSerialNumber(@NonNull BigInteger serialNumber) { in setCertificateSerialNumber() argument 751 if (serialNumber == null) { in setCertificateSerialNumber() 754 mCertificateSerialNumber = serialNumber; in setCertificateSerialNumber()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 257 BigInteger serialNumber = x509Certificate.getSerialNumber(); in getSerialNumber() local 258 if (serialNumber == null) { in getSerialNumber() 261 return fingerprint(serialNumber.toByteArray()); in getSerialNumber()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 142 String manufacturerName, String productName, int version, String serialNumber) { in beginUsbDeviceAdded() argument 184 manufacturerName, productName, versionString, serialNumber); in beginUsbDeviceAdded()
|
D | UsbProfileGroupSettingsManager.java | 214 String serialNumber = null; in read() local 226 serialNumber = value; in read() 257 manufacturerName, productName, serialNumber); in read()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1438 public UserHandle getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument 1439 int ident = getUserHandle((int) serialNumber); in getUserForSerialNumber() 1792 result[i] = users.get(i).serialNumber; in getSerialNumbersOfUsers()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 894 user.serialNumber, "!", "!"); in initIfReadyAndConnected() 925 mConnector.execute("volume", "user_added", user.id, user.serialNumber); in resetIfReadyAndConnected() 2871 public void createUserKey(int userId, int serialNumber, boolean ephemeral) { in createUserKey() argument 2876 mCryptConnector.execute("cryptfs", "create_user_key", userId, serialNumber, in createUserKey() 2911 public void addUserKeyAuth(int userId, int serialNumber, byte[] token, byte[] secret) { in addUserKeyAuth() argument 2916 mCryptConnector.execute("cryptfs", "add_user_key_auth", userId, serialNumber, in addUserKeyAuth() 2939 public void unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) { in unlockUserKey() argument 2951 mCryptConnector.execute("cryptfs", "unlock_user_key", userId, serialNumber, in unlockUserKey() 2987 public void prepareUserStorage(String volumeUuid, int userId, int serialNumber, int flags) { in prepareUserStorage() argument 2993 userId, serialNumber, flags); in prepareUserStorage()
|
D | LockSettingsService.java | 1317 storageManager.addUserKeyAuth(userId, userInfo.serialNumber, token, secret); in addUserKeyAuth()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 908 public boolean setWpsSerialNumber(String serialNumber) { in setWpsSerialNumber() argument 913 SupplicantStatus status = mISupplicantStaIface.setWpsSerialNumber(serialNumber); in setWpsSerialNumber()
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 1916 String alias, BigInteger serialNumber, X500Principal subjectDN, Date notBefore, in generateCertificate() argument 1925 certGen.setSerialNumber(serialNumber); in generateCertificate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1030 storageManager.unlockUserKey(userId, userInfo.serialNumber, token, secret);
|