Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java72 public static boolean isAudioSource(ParcelUuid uuid) { in isAudioSource() argument
73 return uuid.equals(AudioSource); in isAudioSource()
76 public static boolean isAudioSink(ParcelUuid uuid) { in isAudioSink() argument
77 return uuid.equals(AudioSink); in isAudioSink()
80 public static boolean isAdvAudioDist(ParcelUuid uuid) { in isAdvAudioDist() argument
81 return uuid.equals(AdvAudioDist); in isAdvAudioDist()
84 public static boolean isHandsfree(ParcelUuid uuid) { in isHandsfree() argument
85 return uuid.equals(Handsfree); in isHandsfree()
88 public static boolean isHeadset(ParcelUuid uuid) { in isHeadset() argument
89 return uuid.equals(HSP); in isHeadset()
[all …]
DBluetoothSocket.java125 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { in BluetoothSocket() argument
126 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) { in BluetoothSocket()
131 if (uuid == null) { in BluetoothSocket()
135 mSdp = new SdpHelper(device, uuid); in BluetoothSocket()
364 private final ParcelUuid uuid; field in BluetoothSocket.SdpHelper
368 public SdpHelper(BluetoothDevice device, ParcelUuid uuid) { in SdpHelper() argument
371 this.uuid = uuid; in SdpHelper()
384 inProgress = service.fetchRemoteUuids(device.getAddress(), uuid, this); in doSdp()
DBluetoothAdapter.java824 public RfcommChannelPicker(UUID uuid) { in RfcommChannelPicker() argument
839 mUuid = uuid; in RfcommChannelPicker()
899 public BluetoothServerSocket listenUsingRfcommWithServiceRecord(String name, UUID uuid) in listenUsingRfcommWithServiceRecord() argument
901 return createNewRfcommSocketAndRecord(name, uuid, true, true); in listenUsingRfcommWithServiceRecord()
930 public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(String name, UUID uuid) in listenUsingInsecureRfcommWithServiceRecord() argument
932 return createNewRfcommSocketAndRecord(name, uuid, false, false); in listenUsingInsecureRfcommWithServiceRecord()
969 String name, UUID uuid) throws IOException { in listenUsingEncryptedRfcommWithServiceRecord() argument
970 return createNewRfcommSocketAndRecord(name, uuid, false, true); in listenUsingEncryptedRfcommWithServiceRecord()
973 private BluetoothServerSocket createNewRfcommSocketAndRecord(String name, UUID uuid, in createNewRfcommSocketAndRecord() argument
975 RfcommChannelPicker picker = new RfcommChannelPicker(uuid); in createNewRfcommSocketAndRecord()
[all …]
DBluetoothDevice.java803 public int getServiceChannel(ParcelUuid uuid) { in getServiceChannel() argument
805 return sService.getRemoteServiceChannel(mAddress, uuid); in getServiceChannel()
919 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord() argument
921 new ParcelUuid(uuid)); in createRfcommSocketToServiceRecord()
952 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord() argument
954 new ParcelUuid(uuid)); in createInsecureRfcommSocketToServiceRecord()
DIBluetooth.aidl74 boolean fetchRemoteUuids(in String address, in ParcelUuid uuid, in IBluetoothCallback callback); in fetchRemoteUuids() argument
75 int getRemoteServiceChannel(in String address, in ParcelUuid uuid); in getRemoteServiceChannel() argument
87 int addRfcommServiceRecord(in String serviceName, in ParcelUuid uuid, int channel, IBinder b); in addRfcommServiceRecord() argument
DBluetoothA2dp.java417 for (ParcelUuid uuid: uuids) { in shouldSendVolumeKeys()
418 if (BluetoothUuid.isAvrcpTarget(uuid)) { in shouldSendVolumeKeys()
/frameworks/base/media/libeffects/factory/
DEffectsFactory.c57 effect_uuid_t *uuid,
61 static int stringToUuid(const char *str, effect_uuid_t *uuid);
62 static int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen);
239 int EffectGetDescriptor(effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument
248 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor()
252 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor()
260 int EffectCreate(effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) in EffectCreate() argument
270 if (uuid == NULL || pHandle == NULL) { in EffectCreate()
275 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, in EffectCreate()
276 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectCreate()
[all …]
/frameworks/base/media/libeffects/data/
Daudio_effects.conf41 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
45 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
49 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
53 uuid 119341a0-8469-11df-81f9- 0002a5d5c51b
57 uuid 4a387fc0-8ab3-11df-8bad- 0002a5d5c51b
61 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
65 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
69 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
73 uuid d069d9e0-8329-11df-9168-0002a5d5c51b
77 uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
[all …]
/frameworks/base/core/java/android/os/
DParcelUuid.java36 public ParcelUuid(UUID uuid) { in ParcelUuid() argument
37 mUuid = uuid; in ParcelUuid()
51 public static ParcelUuid fromString(String uuid) { in fromString() argument
52 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
115 UUID uuid = new UUID(mostSigBits, leastSigBits);
116 return new ParcelUuid(uuid);
/frameworks/base/media/libmedia/
DAudioEffect.cpp45 const effect_uuid_t *uuid, in AudioEffect() argument
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io); in AudioEffect()
69 effect_uuid_t uuid; in AudioEffect() local
81 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) { in AudioEffect()
82 pUuid = &uuid; in AudioEffect()
90 const effect_uuid_t *uuid, in set() argument
114 if (type == NULL && uuid == NULL) { in set()
126 memcpy(&mDescriptor.uuid, EFFECT_UUID_NULL, sizeof(effect_uuid_t)); in set()
131 if (uuid != NULL) { in set()
132 memcpy(&mDescriptor.uuid, uuid, sizeof(effect_uuid_t)); in set()
[all …]
DIAudioFlinger.cpp974 effect_uuid_t uuid; in onTransact() local
975 data.read(&uuid, sizeof(effect_uuid_t)); in onTransact()
977 status_t status = getEffectDescriptor(&uuid, &desc); in onTransact()
/frameworks/base/core/java/android/server/
DBluetoothService.java173 public ParcelUuid uuid; field in BluetoothService.RemoteService
174 public RemoteService(String address, ParcelUuid uuid) { in RemoteService() argument
176 this.uuid = uuid; in RemoteService()
182 return address.equals(service.address) && uuid.equals(service.uuid); in equals()
191 hash = hash * 31 + (uuid == null ? 0 : uuid.hashCode()); in hashCode()
1255 public synchronized boolean fetchRemoteUuids(String address, ParcelUuid uuid, in fetchRemoteUuids() argument
1264 RemoteService service = new RemoteService(address, uuid); in fetchRemoteUuids()
1265 if (uuid != null && mUuidCallbackTracker.get(service) != null) { in fetchRemoteUuids()
1274 if (uuid != null) { in fetchRemoteUuids()
1275 mUuidCallbackTracker.put(new RemoteService(address, uuid), callback); in fetchRemoteUuids()
[all …]
DBluetoothEventLoop.java433 String uuid = null; in onDevicePropertyChanged() local
441 uuid = str.toString(); in onDevicePropertyChanged()
443 mBluetoothService.setRemoteDeviceProperty(address, name, uuid); in onDevicePropertyChanged()
768 ParcelUuid uuid = ParcelUuid.fromString(deviceUuid); in onAgentAuthorize() local
776 (BluetoothUuid.isAudioSource(uuid) || BluetoothUuid.isAvrcpTarget(uuid) in onAgentAuthorize()
777 || BluetoothUuid.isAdvAudioDist(uuid)) && in onAgentAuthorize()
780 if (authorized && !BluetoothUuid.isAvrcpTarget(uuid)) { in onAgentAuthorize()
793 } else if (BluetoothUuid.isInputDevice(uuid)) { in onAgentAuthorize()
805 } else if (BluetoothUuid.isBnep(uuid)) { in onAgentAuthorize()
/frameworks/base/media/libeffects/visualizer/
DEffectVisualizer.cpp166 int VisualizerLib_Create(effect_uuid_t *uuid, in VisualizerLib_Create() argument
173 if (pHandle == NULL || uuid == NULL) { in VisualizerLib_Create()
177 if (memcmp(uuid, &gVisualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { in VisualizerLib_Create()
216 int VisualizerLib_GetDescriptor(effect_uuid_t *uuid, in VisualizerLib_GetDescriptor() argument
219 if (pDescriptor == NULL || uuid == NULL){ in VisualizerLib_GetDescriptor()
224 if (memcmp(uuid, &gVisualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0) { in VisualizerLib_GetDescriptor()
/frameworks/base/include/media/
DAudioEffect.h111 static status_t getEffectDescriptor(effect_uuid_t *uuid, effect_descriptor_t *descriptor);
227 const effect_uuid_t *uuid = NULL,
261 const effect_uuid_t *uuid = NULL,
/frameworks/base/media/libeffects/testlibs/
DEffectEqualizer.cpp143 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument
152 if (pHandle == NULL || uuid == NULL) { in EffectCreate()
156 if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { in EffectCreate()
198 extern "C" int EffectGetDescriptor(effect_uuid_t *uuid, in EffectGetDescriptor() argument
201 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
206 if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0) { in EffectGetDescriptor()
DEffectReverb.c114 int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument
127 if (pHandle == NULL || uuid == NULL) { in EffectCreate()
133 if (memcmp(uuid, &desc->uuid, sizeof(effect_uuid_t)) in EffectCreate()
185 int EffectGetDescriptor(effect_uuid_t *uuid, in EffectGetDescriptor() argument
190 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
196 if (memcmp(uuid, &gDescriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in EffectGetDescriptor()
199 i, gDescriptors[i]->uuid.timeLow); in EffectGetDescriptor()
DEffectReverb.h311 int EffectGetDescriptor(effect_uuid_t *uuid,
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java217 public Descriptor(String type, String uuid, String connectMode, in Descriptor() argument
220 this.uuid = UUID.fromString(uuid); in Descriptor()
235 public UUID uuid; field in AudioEffect.Descriptor
367 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() argument
374 type.toString(), uuid.toString(), priority, audioSession, id, in AudioEffect()
1177 String uuid, int priority, int audioSession, int[] id, Object[] desc); in native_setup() argument
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp252 … jstring type, jstring uuid, jint priority, jint sessionId, jintArray jId, jobjectArray javadesc) in android_media_AudioEffect_native_setup() argument
278 if (uuid != NULL) { in android_media_AudioEffect_native_setup()
279 uuidStr = env->GetStringUTFChars(uuid, NULL); in android_media_AudioEffect_native_setup()
348 env->ReleaseStringUTFChars(uuid, uuidStr); in android_media_AudioEffect_native_setup()
358 AudioEffect::guidToString(&desc.uuid, str, EFFECT_STRING_LEN_MAX); in android_media_AudioEffect_native_setup()
415 env->ReleaseStringUTFChars(uuid, uuidStr); in android_media_AudioEffect_native_setup()
743 AudioEffect::guidToString(&desc.uuid, str, EFFECT_STRING_LEN_MAX); in android_media_AudioEffect_native_queryEffects()
831 AudioEffect::guidToString(&descriptors[i].uuid, str, EFFECT_STRING_LEN_MAX); in android_media_AudioEffect_native_queryPreProcessings()
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp187 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument
200 if (pHandle == NULL || uuid == NULL){ in EffectCreate()
310 if (memcmp(uuid, &gBassBoostDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ in EffectCreate()
318 } else if (memcmp(uuid, &gVirtualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ in EffectCreate()
326 } else if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ in EffectCreate()
334 } else if (memcmp(uuid, &gVolumeDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ in EffectCreate()
463 extern "C" int EffectGetDescriptor(effect_uuid_t *uuid, in EffectGetDescriptor() argument
467 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
472 if (memcmp(uuid, &gBassBoostDescriptor.uuid, sizeof(effect_uuid_t)) == 0) { in EffectGetDescriptor()
474 } else if (memcmp(uuid, &gVirtualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0) { in EffectGetDescriptor()
[all …]
/frameworks/base/media/libeffects/preprocessing/
DPreProcessing.cpp199 uint32_t UuidToProcId(const effect_uuid_t * uuid) in UuidToProcId() argument
203 if (memcmp(uuid, sUuidToPreProcTable[i], sizeof(*uuid)) == 0) { in UuidToProcId()
1051 const effect_descriptor_t *PreProc_GetDescriptor(effect_uuid_t *uuid) in PreProc_GetDescriptor() argument
1055 if (memcmp(&sDescriptors[i]->uuid, uuid, sizeof(effect_uuid_t)) == 0) { in PreProc_GetDescriptor()
1526 int PreProcessingLib_Create(effect_uuid_t *uuid, in PreProcessingLib_Create() argument
1531 LOGV("EffectCreate: uuid: %08x session %d IO: %d", uuid->timeLow, sessionId, ioId); in PreProcessingLib_Create()
1541 desc = PreProc_GetDescriptor(uuid); in PreProcessingLib_Create()
1543 LOGW("EffectCreate: fx not found uuid: %08x", uuid->timeLow); in PreProcessingLib_Create()
1578 int PreProcessingLib_GetDescriptor(effect_uuid_t *uuid, in PreProcessingLib_GetDescriptor() argument
1581 if (pDescriptor == NULL || uuid == NULL){ in PreProcessingLib_GetDescriptor()
[all …]
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp212 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument
223 if (pHandle == NULL || uuid == NULL){ in EffectCreate()
230 if (memcmp(uuid, &desc->uuid, sizeof(effect_uuid_t)) in EffectCreate()
232 LOGV("\tEffectCreate - UUID matched Reverb type %d, UUID = %x", i, desc->uuid.timeLow); in EffectCreate()
319 extern "C" int EffectGetDescriptor(effect_uuid_t *uuid, in EffectGetDescriptor() argument
324 if (pDescriptor == NULL || uuid == NULL){ in EffectGetDescriptor()
330 if (memcmp(uuid, &gDescriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in EffectGetDescriptor()
333 i, gDescriptors[i]->uuid.timeLow); in EffectGetDescriptor()
/frameworks/base/core/jni/
Dandroid_server_BluetoothEventLoop.cpp1012 uint16_t uuid; in event_filter() local
1017 DBUS_TYPE_UINT16, &uuid, in event_filter()
1023 uuid); in event_filter()
1124 const char *uuid; in agent_event_filter() local
1127 DBUS_TYPE_STRING, &uuid, in agent_event_filter()
1134 LOGV("... uuid = %s", uuid); in agent_event_filter()
1138 env->NewStringUTF(object_path), env->NewStringUTF(uuid), in agent_event_filter()
/frameworks/base/services/audioflinger/
DAudioFlinger.cpp5385 if (!EffectIsNullUuid(&pDesc->uuid)) { in createEffect()
5387 lStatus = EffectGetDescriptor(&pDesc->uuid, &desc); in createEffect()
6046 mStatus = EffectCreate(&desc->uuid, sessionId, thread->id(), &mEffectInterface); in EffectModule()
6682 mDescriptor.uuid.timeLow, mDescriptor.uuid.timeMid, mDescriptor.uuid.timeHiAndVersion, in dump()
6683 …mDescriptor.uuid.clockSeq, mDescriptor.uuid.node[0], mDescriptor.uuid.node[1],mDescriptor.uuid.nod… in dump()
6684 mDescriptor.uuid.node[3],mDescriptor.uuid.node[4],mDescriptor.uuid.node[5]); in dump()
7039 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()

12