/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 57 public static boolean isAudioSource(ParcelUuid uuid) { in isAudioSource() argument 58 return uuid.equals(AudioSource); in isAudioSource() 61 public static boolean isAudioSink(ParcelUuid uuid) { in isAudioSink() argument 62 return uuid.equals(AudioSink); in isAudioSink() 65 public static boolean isAdvAudioDist(ParcelUuid uuid) { in isAdvAudioDist() argument 66 return uuid.equals(AdvAudioDist); in isAdvAudioDist() 69 public static boolean isHandsfree(ParcelUuid uuid) { in isHandsfree() argument 70 return uuid.equals(Handsfree); in isHandsfree() 73 public static boolean isHeadset(ParcelUuid uuid) { in isHeadset() argument 74 return uuid.equals(HSP); in isHeadset() [all …]
|
D | BluetoothSocket.java | 119 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { in BluetoothSocket() argument 120 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) { in BluetoothSocket() 125 if (uuid == null) { in BluetoothSocket() 129 mSdp = new SdpHelper(device, uuid); in BluetoothSocket() 344 private final ParcelUuid uuid; field in BluetoothSocket.SdpHelper 348 public SdpHelper(BluetoothDevice device, ParcelUuid uuid) { in SdpHelper() argument 351 this.uuid = uuid; in SdpHelper() 364 inProgress = service.fetchRemoteUuids(device.getAddress(), uuid, this); in doSdp()
|
D | BluetoothAdapter.java | 702 public RfcommChannelPicker(UUID uuid) { in RfcommChannelPicker() argument 717 mUuid = uuid; in RfcommChannelPicker() 795 public BluetoothServerSocket listenUsingRfcommWithServiceRecord(String name, UUID uuid) in listenUsingRfcommWithServiceRecord() argument 797 return createNewRfcommSocketAndRecord(name, uuid, true, true); in listenUsingRfcommWithServiceRecord() 826 public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(String name, UUID uuid) in listenUsingInsecureRfcommWithServiceRecord() argument 828 return createNewRfcommSocketAndRecord(name, uuid, false, false); in listenUsingInsecureRfcommWithServiceRecord() 831 private BluetoothServerSocket createNewRfcommSocketAndRecord(String name, UUID uuid, in createNewRfcommSocketAndRecord() argument 833 RfcommChannelPicker picker = new RfcommChannelPicker(uuid); in createNewRfcommSocketAndRecord() 867 handle = mService.addRfcommServiceRecord(name, new ParcelUuid(uuid), channel, in createNewRfcommSocketAndRecord()
|
D | IBluetooth.aidl | 60 boolean fetchRemoteUuids(in String address, in ParcelUuid uuid, in IBluetoothCallback callback); in fetchRemoteUuids() argument 61 int getRemoteServiceChannel(in String address, in ParcelUuid uuid); in getRemoteServiceChannel() argument 73 int addRfcommServiceRecord(in String serviceName, in ParcelUuid uuid, int channel, IBinder b); in addRfcommServiceRecord() argument
|
D | BluetoothDevice.java | 663 public int getServiceChannel(ParcelUuid uuid) { in getServiceChannel() argument 665 return sService.getRemoteServiceChannel(mAddress, uuid); in getServiceChannel() 779 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createRfcommSocketToServiceRecord() argument 781 new ParcelUuid(uuid)); in createRfcommSocketToServiceRecord() 812 public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid) throws IOException { in createInsecureRfcommSocketToServiceRecord() argument 814 new ParcelUuid(uuid)); in createInsecureRfcommSocketToServiceRecord()
|
/frameworks/base/media/libeffects/factory/ |
D | EffectsFactory.c | 49 static int findEffect(effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc); 172 int EffectGetDescriptor(effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument 181 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor() 185 ret = findEffect(uuid, &l, &d); in EffectGetDescriptor() 193 int EffectCreate(effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_interface_t *pInterfa… in EffectCreate() argument 203 if (uuid == NULL || pInterface == NULL) { in EffectCreate() 208 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, in EffectCreate() 209 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectCreate() 210 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectCreate() 221 ret = findEffect(uuid, &l, &d); in EffectCreate() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 36 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/ |
D | AudioEffect.cpp | 46 const effect_uuid_t *uuid, in AudioEffect() argument 55 mStatus = set(type, uuid, priority, cbf, user, sessionId, output); in AudioEffect() 70 effect_uuid_t uuid; in AudioEffect() local 82 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) { in AudioEffect() 83 pUuid = &uuid; in AudioEffect() 91 const effect_uuid_t *uuid, in set() argument 115 if (type == NULL && uuid == NULL) { in set() 127 memcpy(&mDescriptor.uuid, EFFECT_UUID_NULL, sizeof(effect_uuid_t)); in set() 132 if (uuid != NULL) { in set() 133 memcpy(&mDescriptor.uuid, uuid, sizeof(effect_uuid_t)); in set() [all …]
|
D | IAudioFlinger.cpp | 1008 effect_uuid_t uuid; in onTransact() local 1009 data.read(&uuid, sizeof(effect_uuid_t)); in onTransact() 1011 status_t status = getEffectDescriptor(&uuid, &desc); in onTransact()
|
/frameworks/base/core/java/android/server/ |
D | BluetoothService.java | 153 public ParcelUuid uuid; field in BluetoothService.RemoteService 154 public RemoteService(String address, ParcelUuid uuid) { in RemoteService() argument 156 this.uuid = uuid; in RemoteService() 162 return address.equals(service.address) && uuid.equals(service.uuid); in equals() 171 hash = hash * 31 + (uuid == null ? 0 : uuid.hashCode()); in hashCode() 1548 public synchronized boolean fetchRemoteUuids(String address, ParcelUuid uuid, in fetchRemoteUuids() argument 1557 RemoteService service = new RemoteService(address, uuid); in fetchRemoteUuids() 1558 if (uuid != null && mUuidCallbackTracker.get(service) != null) { in fetchRemoteUuids() 1567 if (uuid != null) { in fetchRemoteUuids() 1568 mUuidCallbackTracker.put(new RemoteService(address, uuid), callback); in fetchRemoteUuids() [all …]
|
D | BluetoothEventLoop.java | 331 String uuid = null; in onDevicePropertyChanged() local 339 uuid = str.toString(); in onDevicePropertyChanged() 341 mBluetoothService.setRemoteDeviceProperty(address, name, uuid); in onDevicePropertyChanged() 508 ParcelUuid uuid = ParcelUuid.fromString(deviceUuid); in onAgentAuthorize() local 517 (BluetoothUuid.isAudioSource(uuid) || BluetoothUuid.isAvrcpTarget(uuid) in onAgentAuthorize() 518 || BluetoothUuid.isAdvAudioDist(uuid)) && in onAgentAuthorize() 528 if (!BluetoothUuid.isAvrcpTarget(uuid)) { in onAgentAuthorize()
|
/frameworks/base/include/media/ |
D | AudioEffect.h | 154 static status_t getEffectDescriptor(effect_uuid_t *uuid, effect_descriptor_t *descriptor); 240 const effect_uuid_t *uuid = NULL, 274 const effect_uuid_t *uuid = NULL,
|
D | EffectApi.h | 92 effect_uuid_t uuid; // UUID for this particular implementation member 766 typedef int32_t (*effect_CreateEffect_t)(effect_uuid_t *uuid,
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 195 public Descriptor(String type, String uuid, String connectMode, in Descriptor() argument 198 this.uuid = UUID.fromString(uuid); in Descriptor() 213 public UUID uuid; field in AudioEffect.Descriptor 338 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() argument 345 type.toString(), uuid.toString(), priority, audioSession, id, in AudioEffect() 1132 String uuid, int priority, int audioSession, int[] id, Object[] desc); in native_setup() argument
|
/frameworks/base/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 164 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument 171 if (pInterface == NULL || uuid == NULL) { in EffectCreate() 175 if (memcmp(uuid, &gVisualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { in EffectCreate()
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_AudioEffect.cpp | 252 … 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() 413 env->ReleaseStringUTFChars(uuid, uuidStr); in android_media_AudioEffect_native_setup() 750 AudioEffect::guidToString(&desc.uuid, str, EFFECT_STRING_LEN_MAX); in android_media_AudioEffect_native_queryEffects()
|
/frameworks/base/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 141 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument 150 if (pInterface == NULL || uuid == NULL) { in EffectCreate() 154 if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { in EffectCreate()
|
D | EffectReverb.c | 112 int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument 125 if (pInterface == NULL || uuid == NULL) { in EffectCreate() 131 if (memcmp(uuid, &desc->uuid, sizeof(effect_uuid_t)) in EffectCreate()
|
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 187 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument 200 if (pInterface == 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()
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 211 extern "C" int EffectCreate(effect_uuid_t *uuid, in EffectCreate() argument 222 if (pInterface == NULL || uuid == NULL){ in EffectCreate() 229 if (memcmp(uuid, &desc->uuid, sizeof(effect_uuid_t)) in EffectCreate() 231 LOGV("\tEffectCreate - UUID matched Reverb type %d, UUID = %x", i, desc->uuid.timeLow); in EffectCreate()
|
/frameworks/base/core/jni/ |
D | android_server_BluetoothEventLoop.cpp | 908 const char *uuid; in agent_event_filter() local 911 DBUS_TYPE_STRING, &uuid, in agent_event_filter() 918 LOGV("... uuid = %s", uuid); in agent_event_filter() 922 env->NewStringUTF(object_path), env->NewStringUTF(uuid), in agent_event_filter()
|
/frameworks/base/services/audioflinger/ |
D | AudioFlinger.cpp | 4680 memcmp(&pDesc->uuid, &VISUALIZATION_UUID_, sizeof(effect_uuid_t)) == 0) && in createEffect() 4704 if (!EffectIsNullUuid(&pDesc->uuid)) { in createEffect() 4706 lStatus = EffectGetDescriptor(&pDesc->uuid, &desc); in createEffect() 5266 mStatus = EffectCreate(&desc->uuid, sessionId, p->id(), &mEffectInterface); in EffectModule() 5848 mDescriptor.uuid.timeLow, mDescriptor.uuid.timeMid, mDescriptor.uuid.timeHiAndVersion, in dump() 5849 …mDescriptor.uuid.clockSeq, mDescriptor.uuid.node[0], mDescriptor.uuid.node[1],mDescriptor.uuid.nod… in dump() 5850 mDescriptor.uuid.node[3],mDescriptor.uuid.node[4],mDescriptor.uuid.node[5]); in dump() 6142 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaAudioEffectTest.java | 167 desc[0].uuid, in test1_1ConstructorFromUuid()
|