Searched refs:uuid (Results 1 - 25 of 48) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattDbElement.java37 public UUID uuid; field in class:GattDbElement
55 public static GattDbElement createPrimaryService(UUID uuid) { argument
58 el.uuid = uuid;
62 public static GattDbElement createSecondaryService(UUID uuid) { argument
65 el.uuid = uuid;
69 public static GattDbElement createCharacteristic(UUID uuid, int properties, int permissions) { argument
72 el.uuid = uuid;
78 createDescriptor(UUID uuid, int permissions) argument
[all...]
H A DHandleMap.java39 UUID uuid = null; field in class:HandleMap.Entry
47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument
51 this.uuid = uuid;
56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument
61 this.uuid = uuid;
67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument
71 this.uuid = uuid;
75 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) argument
99 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, boolean advertisePreferred) argument
104 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument
109 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument
134 getServiceHandle(UUID uuid, int serviceType, int instance) argument
147 getCharacteristicHandle(int serviceHandle, UUID uuid, int instance) argument
[all...]
H A DAdvertiseHelper.java105 byte[] uuid = BluetoothUuid.uuidToBytes(parcelUuid);
107 if (uuid.length == BluetoothUuid.UUID_BYTES_16_BIT) {
108 serviceUuids16.write(uuid, 0, uuid.length);
109 } else if (uuid.length == BluetoothUuid.UUID_BYTES_32_BIT) {
110 serviceUuids32.write(uuid, 0, uuid.length);
111 } else /*if (uuid.length == BluetoothUuid.UUID_BYTES_128_BIT)*/ {
112 serviceUuids128.write(uuid, 0, uuid
[all...]
H A DScanFilterQueue.java54 public UUID uuid; field in class:ScanFilterQueue.Entry
64 return Objects.hash(address, addr_type, type, uuid, uuid_mask,
81 Objects.equals(uuid, other.uuid) &&
106 void addUuid(UUID uuid) { argument
109 entry.uuid = uuid;
114 void addUuid(UUID uuid, UUID uuid_mask) { argument
117 entry.uuid = uuid;
122 addSolicitUuid(UUID uuid) argument
[all...]
H A DGattDebugUtils.java47 private static final String EXTRA_UUID = "uuid";
98 UUID uuid = getUuidExtra(intent);
102 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0);
127 Object uuid = extras != null ? extras.get(extra) : null;
128 if (uuid != null && uuid.getClass().getName().equals("java.lang.String")) {
178 b.append("\n [--es uuid <uuid>] Optional; Can be either full 128-bit");
H A DContextMap.java67 UUID uuid; field in class:ContextMap.App
101 App(UUID uuid, C callback, T info, String name, AppScanStats appScanStats) { argument
102 this.uuid = uuid;
160 App add(UUID uuid, WorkSource workSource, C callback, T info, GattService service) { argument
173 App app = new App(uuid, callback, info, appName, appScanStats);
183 void remove(UUID uuid) { argument
188 if (entry.uuid.equals(uuid)) {
288 App getByUuid(UUID uuid) { argument
[all...]
H A DGattService.java223 boolean permissionCheck(UUID uuid) { argument
224 if (isRestrictedCharUuid(uuid) && (0 != checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED)))
360 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { argument
363 service.registerClient(uuid.getUuid(), callback);
464 public void discoverServiceByUuid(int clientIf, String address, ParcelUuid uuid) { argument
467 service.discoverServiceByUuid(clientIf, address, uuid.getUuid());
476 public void readUsingCharacteristicUuid(int clientIf, String address, ParcelUuid uuid, argument
481 clientIf, address, uuid.getUuid(), startHandle, endHandle, authReq);
541 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { argument
544 service.registerServer(uuid
1793 registerClient(UUID uuid, IBluetoothGattCallback callback) argument
1899 discoverServiceByUuid(int clientIf, String address, UUID uuid) argument
1929 readUsingCharacteristicUuid( int clientIf, String address, UUID uuid, int startHandle, int endHandle, int authReq) argument
2345 registerServer(UUID uuid, IBluetoothGattServerCallback callback) argument
2499 isHidUuid(final UUID uuid) argument
2506 isFidoUUID(final UUID uuid) argument
[all...]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
H A DDiscoveredPrinter.java37 public final Uri uuid; field in class:DiscoveredPrinter
54 * @param uuid Unique identification of the network printer, if known
59 public DiscoveredPrinter(Uri uuid, String name, Uri path, String location) { argument
60 this.uuid = uuid;
69 Uri uuid = null, path = null;
75 case "uuid":
76 uuid = Uri.parse(reader.nextString());
92 this.uuid = uuid;
[all...]
H A DManualDiscovery.java234 Uri uuid = TextUtils.isEmpty(capabilities.uuid) ? null : Uri.parse(capabilities.uuid);
237 DiscoveredPrinter resolvedPrinter = new DiscoveredPrinter(uuid, name, printer.getUri(),
H A DMdnsDiscovery.java46 private static final String PREFIX_URN_UUID = "urn:uuid:";
105 String uuid = getStringAttribute(info, ATTRIBUTE_UUID);
106 if (!TextUtils.isEmpty(uuid)) {
107 uuidUri = Uri.parse(PREFIX_URN_UUID + uuid);
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java77 private native boolean sdpSearchNative(byte[] address, byte[] uuid); argument
106 public SdpSearchInstance(int status, BluetoothDevice device, ParcelUuid uuid){ argument
108 this.mUuid = uuid;
172 ParcelUuid uuid = Utils.byteArrayToUuid(uuidBytes)[0];
175 && inst.getUuid().equals(uuid)) {
182 boolean isSearching(BluetoothDevice device, ParcelUuid uuid) { argument
186 && inst.getUuid().equals(uuid)) {
229 void sdpMasRecordFoundCallback(int status, byte[] address, byte[] uuid, argument
240 SdpSearchInstance inst = sSdpSearchTracker.getSearchInstance(address, uuid);
256 if(D) Log.d(TAG, "UUID: " + Arrays.toString(uuid));
262 sdpMnsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, boolean moreResults) argument
291 sdpPseRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedRepositories, String serviceName, boolean moreResults) argument
321 sdpOppOpsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, String serviceName, byte[] formatsList, boolean moreResults) argument
351 sdpSapsRecordFoundCallback(int status, byte[] address, byte[] uuid, int rfcommCannelNumber, int profileVersion, String serviceName, boolean moreResults) argument
377 sdpRecordFoundCallback(int status, byte[] address, byte[] uuid, int size_record, byte[] record) argument
400 sdpSearch(BluetoothDevice device, ParcelUuid uuid) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppPreference.java98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) { argument
99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid);
115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { argument
116 String key = getChannelKey(remoteDevice, uuid);
121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) +
137 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) { argument
138 if (V) Log.v(TAG, "Setchannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " to "
140 if (channel != getChannel(remoteDevice, uuid)) {
141 String key = getChannelKey(remoteDevice, uuid);
149 public void removeChannel(BluetoothDevice remoteDevice, int uuid) { argument
[all...]
/packages/services/Car/TrustAgent/src/com/android/car/trust/
H A DCarUnlockService.java73 ParcelUuid uuid = new ParcelUuid(
75 start(uuid, mUnlockService);
91 UUID uuid = characteristic.getUuid();
93 if (uuid.equals(mUnlockTokenHandle.getUuid())) {
99 } else if (uuid.equals(mUnlockEscrowToken.getUuid())) {
H A DCarEnrolmentService.java57 ParcelUuid uuid = new ParcelUuid(
59 start(uuid, mEnrolmentService);
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
H A DLocalPreferences.java91 String packageName, @Nullable String uuid, String directory) {
92 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
97 @Nullable String uuid, String directory, @PermissionStatus int status) {
98 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
119 private static String getScopedAccessDenialsKey(String packageName, String uuid, argument
122 return uuid == null
124 : userId + "|" + packageName + "|" + uuid + "|" + directory;
90 getScopedAccessPermissionStatus(Context context, String packageName, @Nullable String uuid, String directory) argument
96 setScopedAccessPermissionStatus(Context context, String packageName, @Nullable String uuid, String directory, @PermissionStatus int status) argument
/packages/apps/Camera2/src/com/android/camera/data/
H A DPlaceholderItem.java59 String uuid = UUID.randomUUID().toString();
60 builder.scheme(SIMPLE_VIEW_URI_SCHEME).appendPath(uuid);
65 uuid,
/packages/services/BuiltInPrintService/jni/include/
H A Dprinter_capabilities_types.h42 char uuid[MAX_UUID]; member in struct:__anon134
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java122 UUID uuid = pUuid.getUuid();
123 msb = uuid.getMostSignificantBits();
124 lsb = uuid.getLeastSignificantBits();
134 UUID uuid;
137 uuid = uuids[i].getUuid();
138 msb = uuid.getMostSignificantBits();
139 lsb = uuid.getLeastSignificantBits();
149 UUID uuid;
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_sdp.cpp47 // The btcore->uuid module should be used for all instances.
130 jbyte* uuid = env->GetByteArrayElements(uuidObj, NULL); local
131 if (!uuid) {
132 ALOGE("failed to get uuid");
136 ALOGD("%s UUID %.*s", __func__, 16, (uint8_t*)uuid);
139 (const uint8_t*)uuid);
145 if (uuid) env->ReleaseByteArrayElements(uuidObj, uuid, 0);
159 ScopedLocalRef<jbyteArray> uuid(
161 if (!uuid
[all...]
H A Dcom_android_bluetooth_gatt.cpp43 #define UUID_PARAMS(uuid) uuid_lsb(uuid), uuid_msb(uuid)
45 static void set_uuid(uint8_t* uuid, jlong uuid_msb, jlong uuid_lsb) { argument
47 uuid[i] = (uuid_lsb >> (8 * i)) & 0xFF;
48 uuid[i + 8] = (uuid_msb >> (8 * i)) & 0xFF;
52 static uint64_t uuid_lsb(const bt_uuid_t& uuid) { argument
57 lsb |= uuid.uu[i];
63 static uint64_t uuid_msb(const bt_uuid_t& uuid) { argument
68 msb |= uuid
559 btgatts_register_app_cb(int status, int server_if, const bt_uuid_t& uuid) argument
942 bt_uuid_t uuid; local
1302 bt_uuid_t uuid, uuid_mask; local
1472 bt_uuid_t uuid; local
[all...]
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DCapabilitiesCache.java184 // Grab uuid from capabilities if possible
187 if (!TextUtils.isEmpty(capabilities.uuid)) {
188 capUuid = Uri.parse(capabilities.uuid);
190 if (printer.uuid != null && !printer.uuid.equals(capUuid)) {
209 if (printer.uuid == null) {
210 // For non-uuid URIs, evict later
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DIntentUtilities.java136 String uuid = uri.getQueryParameter(ACCOUNT_UUID_PARAM);
137 return TextUtils.isEmpty(uuid) ? null : uuid;
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMnsObexServer.java59 byte[] uuid = (byte[]) request.getHeader(HeaderSet.TARGET);
60 if (!Arrays.equals(uuid, MNS_TARGET)) {
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
H A DLocalPrinterCapabilities.java38 public String uuid; field in class:LocalPrinterCapabilities
115 " uuid=" + uuid +
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DDiskReceiver.java90 final String uuid = info.getFsUuid();
148 final String uuid = info.getFsUuid();
150 if (info.getType() != VolumeInfo.TYPE_PUBLIC || TextUtils.isEmpty(uuid)) {
153 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid);

Completed in 601 milliseconds

12