/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 94 public static boolean isAudioSource(ParcelUuid uuid) { in isAudioSource() argument 95 return uuid.equals(AudioSource); in isAudioSource() 98 public static boolean isAudioSink(ParcelUuid uuid) { in isAudioSink() argument 99 return uuid.equals(AudioSink); in isAudioSink() 102 public static boolean isAdvAudioDist(ParcelUuid uuid) { in isAdvAudioDist() argument 103 return uuid.equals(AdvAudioDist); in isAdvAudioDist() 106 public static boolean isHandsfree(ParcelUuid uuid) { in isHandsfree() argument 107 return uuid.equals(Handsfree); in isHandsfree() 110 public static boolean isHeadset(ParcelUuid uuid) { in isHeadset() argument 111 return uuid.equals(HSP); in isHeadset() [all …]
|
D | BluetoothGattService.java | 96 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() argument 98 mUuid = uuid; in BluetoothGattService() 109 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService() argument 112 mUuid = uuid; in BluetoothGattService() 156 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic() argument 158 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 262 public BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 264 if (uuid.equals(characteristic.getUuid())) in getCharacteristic()
|
D | BluetoothGattDescriptor.java | 124 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor() argument 125 initDescriptor(null, uuid, 0, permissions); in BluetoothGattDescriptor() 136 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument 138 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor() 141 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument 144 mUuid = uuid; in initDescriptor()
|
D | BluetoothGattCharacteristic.java | 231 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic() argument 232 initCharacteristic(null, uuid, 0, properties, permissions); in BluetoothGattCharacteristic() 240 UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument 242 initCharacteristic(service, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic() 246 UUID uuid, int instanceId, in initCharacteristic() argument 248 mUuid = uuid; in initCharacteristic() 288 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor() argument 290 if (descriptor.getUuid().equals(uuid) in getDescriptor() 406 public BluetoothGattDescriptor getDescriptor(UUID uuid) { in getDescriptor() argument 408 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothUtil.java | 53 public static String uuidToString(ParcelUuid uuid) { in uuidToString() argument 54 if (BluetoothUuid.AudioSink.equals(uuid)) return "AudioSink"; in uuidToString() 55 if (BluetoothUuid.AudioSource.equals(uuid)) return "AudioSource"; in uuidToString() 56 if (BluetoothUuid.AdvAudioDist.equals(uuid)) return "AdvAudioDist"; in uuidToString() 57 if (BluetoothUuid.HSP.equals(uuid)) return "HSP"; in uuidToString() 58 if (BluetoothUuid.HSP_AG.equals(uuid)) return "HSP_AG"; in uuidToString() 59 if (BluetoothUuid.Handsfree.equals(uuid)) return "Handsfree"; in uuidToString() 60 if (BluetoothUuid.Handsfree_AG.equals(uuid)) return "Handsfree_AG"; in uuidToString() 61 if (BluetoothUuid.AvrcpController.equals(uuid)) return "AvrcpController"; in uuidToString() 62 if (BluetoothUuid.AvrcpTarget.equals(uuid)) return "AvrcpTarget"; in uuidToString() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 62 const effect_uuid_t *uuid, 66 int findSubEffect(const effect_uuid_t *uuid, 70 static int stringToUuid(const char *str, effect_uuid_t *uuid); 71 static int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen); 248 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument 257 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor() 261 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor() 269 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHand… in EffectCreate() argument 279 if (uuid == NULL || pHandle == NULL) { in EffectCreate() 284 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, in EffectCreate() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaCrypto.java | 37 public static final boolean isCryptoSchemeSupported(UUID uuid) { in isCryptoSchemeSupported() argument 38 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid)); in isCryptoSchemeSupported() 41 private static final byte[] getByteArrayFromUUID(UUID uuid) { in getByteArrayFromUUID() argument 42 long msb = uuid.getMostSignificantBits(); in getByteArrayFromUUID() 43 long lsb = uuid.getLeastSignificantBits(); in getByteArrayFromUUID() 54 private static final native boolean isCryptoSchemeSupportedNative(byte[] uuid); in isCryptoSchemeSupportedNative() argument 62 public MediaCrypto(UUID uuid, byte[] initData) throws MediaCryptoException { in MediaCrypto() argument 63 native_setup(getByteArrayFromUUID(uuid), initData); in MediaCrypto() 81 private native final void native_setup(byte[] uuid, byte[] initData) in native_setup() argument
|
D | MediaDrm.java | 127 public static final boolean isCryptoSchemeSupported(UUID uuid) { in isCryptoSchemeSupported() argument 128 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid), null); in isCryptoSchemeSupported() 139 public static final boolean isCryptoSchemeSupported(UUID uuid, String mimeType) { in isCryptoSchemeSupported() argument 140 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid), mimeType); in isCryptoSchemeSupported() 143 private static final byte[] getByteArrayFromUUID(UUID uuid) { in getByteArrayFromUUID() argument 144 long msb = uuid.getMostSignificantBits(); in getByteArrayFromUUID() 145 long lsb = uuid.getLeastSignificantBits(); in getByteArrayFromUUID() 156 private static final native boolean isCryptoSchemeSupportedNative(byte[] uuid, in isCryptoSchemeSupportedNative() argument 167 public MediaDrm(UUID uuid) throws UnsupportedSchemeException { in MediaDrm() argument 181 getByteArrayFromUUID(uuid)); in MediaDrm() [all …]
|
/frameworks/av/media/libeffects/data/ |
D | audio_effects.conf | 90 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 94 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 98 uuid ce772f20-847d-11df-bb17-0002a5d5c51b 102 uuid 119341a0-8469-11df-81f9-0002a5d5c51b 106 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b 110 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b 114 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b 118 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b 122 uuid d069d9e0-8329-11df-9168-0002a5d5c51b 126 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pUpnpServiceInfo.java | 71 public static WifiP2pUpnpServiceInfo newInstance(String uuid, in newInstance() argument 73 if (uuid == null || device == null) { in newInstance() 76 UUID.fromString(uuid); in newInstance() 80 info.add(createSupplicantQuery(uuid, null)); in newInstance() 81 info.add(createSupplicantQuery(uuid, "upnp:rootdevice")); in newInstance() 82 info.add(createSupplicantQuery(uuid, device)); in newInstance() 85 info.add(createSupplicantQuery(uuid, service)); in newInstance() 99 private static String createSupplicantQuery(String uuid, String data) { in createSupplicantQuery() argument 104 sb.append(uuid); in createSupplicantQuery()
|
/frameworks/av/media/libmediaplayerservice/ |
D | Crypto.cpp | 82 void Crypto::findFactoryForScheme(const uint8_t uuid[16]) { in findFactoryForScheme() 91 uuidVector.appendArray(uuid, sizeof(uuid)); in findFactoryForScheme() 94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) { in findFactoryForScheme() 117 if (loadLibraryForScheme(pluginPath, uuid)) { in findFactoryForScheme() 131 if (loadLibraryForScheme(pluginPath, uuid)) { in findFactoryForScheme() 140 bool Crypto::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { in loadLibraryForScheme() 167 !mFactory->isCryptoSchemeSupported(uuid)) { in loadLibraryForScheme() 175 bool Crypto::isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 178 if (mFactory && mFactory->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported() 182 findFactoryForScheme(uuid); in isCryptoSchemeSupported() [all …]
|
D | Crypto.h | 38 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]); 41 const uint8_t uuid[16], const void *data, size_t size); 72 void findFactoryForScheme(const uint8_t uuid[16]); 73 bool loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]);
|
/frameworks/base/media/jni/ |
D | android_media_MediaCrypto.cpp | 46 const uint8_t uuid[16], const void *initData, size_t initSize) { in JCrypto() 49 mCrypto = MakeCrypto(uuid, initData, initSize); in JCrypto() 86 const uint8_t uuid[16], const void *initData, size_t initSize) { in MakeCrypto() 93 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 111 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported() 118 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported() 187 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_native_setup() local 198 env, thiz, (const uint8_t *)uuid, initData, initDataLength); in android_media_MediaCrypto_native_setup() 207 env->ReleaseByteArrayElements(uuidObj, uuid, 0); in android_media_MediaCrypto_native_setup() 208 uuid = NULL; in android_media_MediaCrypto_native_setup() [all …]
|
D | android_media_MediaCrypto.h | 31 static bool IsCryptoSchemeSupported(const uint8_t uuid[16]); 34 const uint8_t uuid[16], const void *initData, size_t initSize); 52 const uint8_t uuid[16], const void *initData, size_t initSize);
|
/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/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 80 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData() local 84 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData() 95 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid() local 100 .addServiceUuid(uuid).addServiceUuid(uuid2).build(); in testServiceUuid() 111 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() local 119 .addServiceUuid(uuid).addServiceUuid(uuid2) in testManufacturerData() 132 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData() local 137 .addServiceData(uuid, serviceData).build(); in testServiceData()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | DrmFactory.cpp | 31 bool DrmFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 32 return isClearKeyUUID(uuid); in isCryptoSchemeSupported() 42 const uint8_t uuid[16], android::DrmPlugin** plugin) { in createDrmPlugin() 43 if (!isCryptoSchemeSupported(uuid)) { in createDrmPlugin()
|
D | CryptoFactory.cpp | 33 bool CryptoFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) const { in isCryptoSchemeSupported() 34 return isClearKeyUUID(uuid); in isCryptoSchemeSupported() 38 const uint8_t uuid[16], in createPlugin() 41 if (!isCryptoSchemeSupported(uuid)) { in createPlugin()
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 52 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 55 data.write(uuid, 16); in isCryptoSchemeSupported() 62 const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) { in createPlugin() 65 data.write(uuid, 16); in createPlugin() 184 uint8_t uuid[16]; in onTransact() local 185 data.read(uuid, sizeof(uuid)); in onTransact() 186 reply->writeInt32(isCryptoSchemeSupported(uuid)); in onTransact() 195 uint8_t uuid[16]; in onTransact() local 196 data.read(uuid, sizeof(uuid)); in onTransact() 206 reply->writeInt32(createPlugin(uuid, opaqueData, opaqueSize)); in onTransact()
|
D | AudioEffect.cpp | 45 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 mDescriptor.uuid = *(uuid != NULL ? uuid : EFFECT_UUID_NULL); in set() 422 status_t AudioEffect::getEffectDescriptor(const effect_uuid_t *uuid, in getEffectDescriptor() argument 427 return af->getEffectDescriptor(uuid, descriptor); in getEffectDescriptor()
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 53 int EffectProxyCreate(const effect_uuid_t *uuid, in EffectProxyCreate() argument 62 if (pHandle == NULL || uuid == NULL) { in EffectProxyCreate() 70 pContext->uuid = *uuid; in EffectProxyCreate() 84 int retValue = EffectGetSubEffects(uuid, sube, SUB_FX_COUNT); in EffectProxyCreate() 126 effect_uuid_t uuid_print = pContext->desc[SUB_FX_HOST].uuid; in EffectProxyCreate() 168 int EffectProxyGetDescriptor(const effect_uuid_t *uuid, in EffectProxyGetDescriptor() argument 172 if (pDescriptor == NULL || uuid == NULL) { in EffectProxyGetDescriptor() 216 &pContext->desc[SUB_FX_HOST].uuid, in Effect_command() 227 &pContext->desc[SUB_FX_OFFLOAD].uuid, in Effect_command() 353 pDescriptor->uuid = pContext->uuid; // Replace the uuid with the Proxy UUID in Effect_getDescriptor()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCrypto.cpp | 78 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid) { in AMediaCrypto_isCryptoSchemeSupported() argument 83 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported() 96 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *data, size_t datasize) { in AMediaCrypto_new() argument 103 if (tmp->createPlugin(uuid, data, datasize) != 0) { in AMediaCrypto_new()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 71 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() argument 76 mServiceUuid = uuid; in ScanFilter() 160 ParcelUuid uuid = in.readParcelable(ParcelUuid.class.getClassLoader()); 161 builder.setServiceUuid(uuid); 165 builder.setServiceUuid(uuid, uuidMask); 320 private boolean matchesServiceUuids(ParcelUuid uuid, ParcelUuid parcelUuidMask, in matchesServiceUuids() argument 322 if (uuid == null) { in matchesServiceUuids() 331 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids() 339 private boolean matchesServiceUuid(UUID uuid, UUID mask, UUID data) { in matchesServiceUuid() argument 341 return uuid.equals(data); in matchesServiceUuid() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 81 public String uuid; field in HardwareConfig 154 uuid = id; in assignModem() 169 uuid = id; in assignSim() 179 builder.append("{ uuid=" + uuid); in toString() 189 builder.append("{ uuid=" + uuid); in toString()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 61 public final UUID uuid; field in SoundTrigger.ModuleProperties 95 String uuid, int version, int maxSoundModels, int maxKeyphrases, in ModuleProperties() argument 102 this.uuid = UUID.fromString(uuid); in ModuleProperties() 130 String uuid = in.readString(); in fromParcel() local 141 return new ModuleProperties(id, implementor, description, uuid, version, in fromParcel() 152 dest.writeString(uuid.toString()); in writeToParcel() 173 + description + ", uuid=" + uuid + ", version=" + version + ", maxSoundModels=" in toString() 197 public final UUID uuid; field in SoundTrigger.SoundModel 208 public SoundModel(UUID uuid, UUID vendorUuid, int type, byte[] data) { in SoundModel() argument 209 this.uuid = uuid; in SoundModel() [all …]
|