Home
last modified time | relevance | path

Searched refs:randomUUID (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java80 private final UUID mRecipientId = UUID.randomUUID();
136 String deviceId = UUID.randomUUID().toString(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser()
137 String otherUserDeviceId = UUID.randomUUID().toString(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser()
171 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_throwsIllegalStateExceptionIfNoSecureChannel()
181 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_sendsEncryptedMessage()
194 UUID recipientId = UUID.randomUUID(); in sendMessageSecurely_doesNotSendIfDeviceDisconnected()
204 UUID recipientId = UUID.randomUUID(); in sendMessageUnsecurely_sendsMessageWithoutEncryption()
236 String deviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser()
237 String otherUserDeviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser()
276 String deviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceDisconnectedNotInvokedDeviceForDifferentUser()
[all …]
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinderTest.java55 private final ParcelUuid mRecipientId = new ParcelUuid(UUID.randomUUID());
81 ConnectedDevice connectedDevice = new ConnectedDevice(UUID.randomUUID().toString(), in getActiveUserConnectedDevices_mirrorsConnectedDeviceManager()
111 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in registerDeviceCallback_mirrorsConnectedDeviceManager()
124 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in unregisterDeviceCallback_mirrorsConnectedDeviceManager()
136 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in sendMessageSecurely_mirrorsConnectedDeviceManager()
148 CompanionDevice companionDevice = new CompanionDevice(UUID.randomUUID().toString(), in sendMessageUnsecurely_mirrorsConnectedDeviceManager()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java101 String randomUUID = UUID.randomUUID().toString(); in generateRandomPassword() local
103 return randomUUID.substring(0, 8) + randomUUID.substring(9, 13); in generateRandomPassword()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherPasswordPreferenceController.java101 String randomUUID = UUID.randomUUID().toString(); in generateRandomPassword() local
103 return randomUUID.substring(0, 8) + randomUUID.substring(9, 13); in generateRandomPassword()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherPasswordPreferenceController.java160 String randomUUID = UUID.randomUUID().toString(); in generateRandomPassword() local
162 return randomUUID.substring(0, 8) + randomUUID.substring(9, 13); in generateRandomPassword()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManagerTest.java62 private static final UUID ASSOCIATION_SERVICE_UUID = UUID.randomUUID();
63 private static final UUID WRITE_UUID = UUID.randomUUID();
64 private static final UUID READ_UUID = UUID.randomUUID();
67 private static final UUID TEST_REMOTE_DEVICE_ID = UUID.randomUUID();
203 mCarBlePeripheralManager.connectToDevice(UUID.randomUUID(), timeoutSeconds); in connectToDevice_stopsAdvertisingAfterTimeout()
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/
DPromiseIconUiTest.java77 final String appLabel = "Test Promise App " + UUID.randomUUID().toString(); in testPromiseIcon_addedFromEligibleSession()
99 final String appLabel = "Test Promise App " + UUID.randomUUID().toString(); in testPromiseIcon_notAddedFromIneligibleSession()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorageTest.java126 assertThat(mConnectedDeviceStorage.getEncryptionKey(UUID.randomUUID().toString())).isNull(); in getEncryptionKey_returnsNullForUnrecognizedDeviceId()
130 AssociatedDevice device = new AssociatedDevice(UUID.randomUUID().toString(), in addRandomAssociatedDevice()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java72 mCallbackAction = UUID.randomUUID().toString(); in setUp()
73 mShortcutId = UUID.randomUUID().toString(); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java424 aib.setUuid(UUID.randomUUID().toString()); in onTrackChanged()
591 aib.setUuid(UUID.randomUUID().toString()); in createFromNativeMediaItem()
610 aib.setUuid(UUID.randomUUID().toString()); in createFromNativeFolderItem()
DAvrcpCoverArtManager.java103 String newUuid = UUID.randomUUID().toString(); in getHandleUuid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java63 appInfo.storageUuid = UUID.randomUUID(); in createApplicationInfo()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DCustomShortcutConfigActivity.java43 this, UUID.randomUUID().toString(), "Shortcut", in onCreate()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DCustomTheme.java34 return UUID.randomUUID().toString(); in newId()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIOUtils.java74 String name = UUID.randomUUID().toString(); in createTempFile()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DBaseSearchIndexablesProvider.java78 password = UUID.randomUUID().toString(); in getPassword()
/packages/apps/Camera2/src/com/android/camera/data/
DPlaceholderItem.java59 String uuid = UUID.randomUUID().toString(); in PlaceholderItem()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarSyncFeatureTest.java74 UUID.randomUUID().toString()); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java73 mId = UUID.randomUUID().toString(); in BaseItemDragListener()
/packages/apps/Settings/tests/unit/src/com/android/settings/print/
DPrintJobSettingsActivityTest.java95 UUID uuid = UUID.randomUUID(); in viewPrintJobSettings()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/trust/
DCarTrustAgentEnrollmentServiceTest.java131 UUID uuid = UUID.randomUUID(); in testEncryptionHandshake()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java229 mUniqueId = UUID.randomUUID(); in getUniqueId()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java288 mUniqueId = UUID.randomUUID(); in getUniqueId()
/packages/apps/Car/Cluster/src/android/car/cluster/
DNetworkedVirtualDisplay.java58 private final String mUniqueId = UUID.randomUUID().toString();
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java693 jsonObject.put(UUID.randomUUID().toString(), UUID.randomUUID().toString()); in addRandomDataToJson()

12