Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 25 of 74) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DHandleMap.java25 import java.util.UUID;
40 public UUID uuid = null;
48 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry()
57 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, in Entry()
68 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry()
76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry()
100 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, in addService()
105 void addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) { in addCharacteristic()
110 void addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) { in addDescriptor()
137 boolean checkServiceExists(UUID uuid, int handle) { in checkServiceExists()
DScanFilterQueue.java27 import java.util.UUID;
54 public UUID uuid;
55 public UUID uuid_mask;
80 void addUuid(UUID uuid) { in addUuid()
84 entry.uuid_mask = new UUID(0, 0); in addUuid()
88 void addUuid(UUID uuid, UUID uuidMask) { in addUuid()
96 void addSolicitUuid(UUID uuid) { in addSolicitUuid()
100 entry.uuid_mask = new UUID(0, 0); in addSolicitUuid()
104 void addSolicitUuid(UUID uuid, UUID uuidMask) { in addSolicitUuid()
DGattDbElement.java19 import java.util.UUID;
37 public UUID uuid;
55 public static GattDbElement createPrimaryService(UUID uuid) { in createPrimaryService()
62 public static GattDbElement createSecondaryService(UUID uuid) { in createSecondaryService()
69 public static GattDbElement createCharacteristic(UUID uuid, int properties, int permissions) { in createCharacteristic()
78 public static GattDbElement createDescriptor(UUID uuid, int permissions) { in createDescriptor()
DGattDebugUtils.java23 import java.util.UUID;
100 UUID uuid = getUuidExtra(intent); in handleDebugAction()
146 private static UUID getUuidExtra(Intent intent) { in getUuidExtra()
151 return (uuidStr != null) ? UUID.fromString(uuidStr) : null; in getUuidExtra()
DContextMap.java35 import java.util.UUID;
67 public UUID uuid;
123 App(UUID uuid, C callback, T info, String name, AppScanStats appScanStats) { in App()
186 App add(UUID uuid, WorkSource workSource, C callback, T info, GattService service) { in add()
209 void remove(UUID uuid) { in remove()
322 App getByUuid(UUID uuid) { in getByUuid()
DGattService.java88 import java.util.UUID;
123 private static final UUID HID_SERVICE_UUID =
124 UUID.fromString("00001812-0000-1000-8000-00805F9B34FB");
126 private static final UUID[] HID_UUIDS = {
127 UUID.fromString("00002A4A-0000-1000-8000-00805F9B34FB"),
128 UUID.fromString("00002A4B-0000-1000-8000-00805F9B34FB"),
129 UUID.fromString("00002A4C-0000-1000-8000-00805F9B34FB"),
130 UUID.fromString("00002A4D-0000-1000-8000-00805F9B34FB")
133 private static final UUID ANDROID_TV_REMOTE_SERVICE_UUID =
134 UUID.fromString("AB5E0001-5A21-4F05-BC7D-AF01F617B664");
[all …]
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureManager.java43 import java.util.UUID;
106 private final HashMap<UUID, String> mCachedServerUrls = new HashMap<>();
107 private final HashMap<UUID, ImageData> mCachedImages = new HashMap<>();
122 ImageData imageData, Consumer<Pair<UUID, Integer>> callback) { in handleUploadToServer() argument
124 UUID id = UUID.randomUUID(); in handleUploadToServer()
139 UUID id = UUID.randomUUID(); in handleUploadToServer()
186 UUID id = UUID.randomUUID(); in handleDownloadFromServer()
247 public void storeUploadedPictureToCallLog(UUID id, Consumer<Uri> callback) { in storeUploadedPictureToCallLog()
275 public String getServerUrlForImageId(UUID id) { in getServerUrlForImageId()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java43 private static final String UUID = "AVRCP-ITEM-TEST-UUID"; field in AvrcpItemTest
85 builder.setUuid(UUID); in buildAvrcpItem()
102 Assert.assertEquals(UUID, item.getUuid()); in buildAvrcpItem()
466 builder.setUuid(UUID); in avrcpMediaItem_toMediaMetadata()
481 Assert.assertEquals(UUID, metadata.getString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID)); in avrcpMediaItem_toMediaMetadata()
522 builder.setUuid(UUID); in avrcpFolderItem_toMediaMetadata()
535 Assert.assertEquals(UUID, metadata.getString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID)); in avrcpFolderItem_toMediaMetadata()
567 builder.setUuid(UUID); in avrcpItemNoDisplayName_toMediaItem()
577 Assert.assertEquals(UUID, mediaItem.getMediaId()); in avrcpItemNoDisplayName_toMediaItem()
579 Assert.assertEquals(UUID, desc.getMediaId()); in avrcpItemNoDisplayName_toMediaItem()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUtilsTest.java31 import java.util.UUID;
99 UUID uuid = new UUID(123456789L, 987654321L); in testUuidToBytes()
108 UUID expected = new UUID(72623859790382856L, 718316418130246909L); in testBytesToUUID()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceInfoTest.java35 private static final String UUID = "6859dede-8574-59ab-9332-123456789012"; field in WifiP2pUpnpServiceInfoTest
54 UUID, DEVICE, null); in testNewInstance()
58 UUID, DEVICE, mServiceList); in testNewInstance()
72 UUID, in testNewInstance()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java41 import java.util.UUID;
100 public UUID uuid;
128 private static @NonNull UUID readUuid(@NonNull FileDescriptor fd) in readUuid()
132 return new UUID(high, low); in readUuid()
302 public @NonNull long[] getBoxRanges(@NonNull UUID uuid) { in getBoxRanges()
328 public @Nullable byte[] getBoxBytes(@NonNull UUID uuid) { in getBoxBytes()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java42 import java.util.UUID;
278 UUID sUuid = UUID.fromString(GattServer.TEST_SERVICE_UUID); in writeCharacteristic()
284 UUID cUuid = UUID.fromString(GattServer.WRITABLE_CHAR_UUID); in writeCharacteristic()
DGattServer.java38 import java.util.UUID;
88 new BluetoothGattCharacteristic(UUID.fromString(WRITABLE_CHAR_UUID), in GattServer()
94 new BluetoothGattDescriptor(UUID.fromString(READABLE_DESC_UUID), in GattServer()
100 mGattService = new BluetoothGattService(UUID.fromString(TEST_SERVICE_UUID), in GattServer()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java28 import java.util.UUID;
35 …private static final UUID SERIAL_PORT_PROFILE = UUID.fromString("00001101-0000-1000-8000-00805F9B3…
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java45 import java.util.UUID;
55 private final UUID mAnomalyUUID = UUID.fromString("e4330975-17be-43b7-87d6-d9f281d33278");
344 private UUID generateUUID(int result, int httpStatusCode) { in generateUUID()
347 return new UUID(mAnomalyUUID.getMostSignificantBits(), in generateUUID()
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/
DPromiseIconUiTest.java35 import java.util.UUID;
77 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/services/Car/service/src/com/android/car/
DUtils.java34 import java.util.UUID;
225 public static byte[] uuidToBytes(@NonNull UUID uuid) { in uuidToBytes()
241 public static UUID bytesToUUID(@NonNull byte[] bytes) { in bytesToUUID()
247 return new UUID(buffer.getLong(), buffer.getLong()); in bytesToUUID()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/print/
DPrintJobSettingsActivityTest.java56 import java.util.UUID;
95 UUID uuid = UUID.randomUUID(); in viewPrintJobSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java50 import java.util.UUID;
61 private static final UUID GATT_BATTERY_SERVICE_UUID =
62 UUID.fromString("0000180f-0000-1000-8000-00805f9b34fb");
63 private static final UUID GATT_BATTERY_LEVEL_CHARACTERISTIC_UUID =
64 UUID.fromString("00002a19-0000-1000-8000-00805f9b34fb");
/packages/services/Telephony/src/com/android/phone/
DLocalConnectionImpl.java24 import java.util.UUID;
34 public String getCallComposerServerUrlForHandle(int subscriptionId, UUID uuid) { in getCallComposerServerUrlForHandle()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java53 import java.util.UUID;
73 mCallbackAction = UUID.randomUUID().toString(); in setUp()
74 mShortcutId = UUID.randomUUID().toString(); in setUp()
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
DPictureManagerTest.java48 import java.util.UUID;
106 CompletableFuture<UUID> uploadedUuidFuture = new CompletableFuture<>(); in testPictureUpload()
138 UUID id = uploadedUuidFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testPictureUpload()
164 CompletableFuture<UUID> uploadedUuidFuture = new CompletableFuture<>(); in testPictureUploadWithAuthRefresh()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceInfo.java22 import java.util.UUID;
76 UUID.fromString(uuid); in newInstance()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java34 import java.util.UUID;
63 appInfo.storageUuid = UUID.randomUUID(); in createApplicationInfo()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DCustomShortcutConfigActivity.java28 import java.util.UUID;
43 this, UUID.randomUUID().toString(), "Shortcut", in onCreate()

123