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

1234

/frameworks/base/media/java/android/media/
H A DMediaCrypto.java35 * @param uuid The UUID of the crypto scheme.
37 public static final boolean isCryptoSchemeSupported(UUID uuid) { argument
38 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid));
41 private static final byte[] getByteArrayFromUUID(UUID uuid) { argument
42 long msb = uuid.getMostSignificantBits();
43 long lsb = uuid.getLeastSignificantBits();
54 private static final native boolean isCryptoSchemeSupportedNative(byte[] uuid); argument
59 * @param uuid The UUID of the crypto scheme.
62 public MediaCrypto(UUID uuid, byte[] initData) throws MediaCryptoException { argument
63 native_setup(getByteArrayFromUUID(uuid), initDat
81 native_setup(byte[] uuid, byte[] initData) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DClearKeyUUID.h24 bool isClearKeyUUID(const uint8_t uuid[16]);
H A DCryptoFactory.cpp33 bool CryptoFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) const {
34 return isClearKeyUUID(uuid);
38 const uint8_t uuid[16],
41 if (!isCryptoSchemeSupported(uuid)) {
37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
H A DDrmFactory.cpp31 bool DrmFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) { argument
32 return isClearKeyUUID(uuid);
42 const uint8_t uuid[16], android::DrmPlugin** plugin) {
43 if (!isCryptoSchemeSupported(uuid)) {
41 createDrmPlugin( const uint8_t uuid[16], android::DrmPlugin** plugin) argument
H A DClearKeyUUID.cpp23 bool isClearKeyUUID(const uint8_t uuid[16]) { argument
29 return !memcmp(uuid, kClearKeyUUID, sizeof(kClearKeyUUID));
H A DCryptoFactory.h31 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const;
34 const uint8_t uuid[16],
H A DDrmFactory.h33 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]);
38 const uint8_t uuid[16], android::DrmPlugin** plugin);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothUuid.java37 * uuid * 2^96 + BASE_UUID
94 public static boolean isAudioSource(ParcelUuid uuid) { argument
95 return uuid.equals(AudioSource);
98 public static boolean isAudioSink(ParcelUuid uuid) { argument
99 return uuid.equals(AudioSink);
102 public static boolean isAdvAudioDist(ParcelUuid uuid) { argument
103 return uuid.equals(AdvAudioDist);
106 public static boolean isHandsfree(ParcelUuid uuid) { argument
107 return uuid.equals(Handsfree);
110 public static boolean isHeadset(ParcelUuid uuid) { argument
114 isAvrcpController(ParcelUuid uuid) argument
118 isAvrcpTarget(ParcelUuid uuid) argument
122 isInputDevice(ParcelUuid uuid) argument
126 isPanu(ParcelUuid uuid) argument
130 isNap(ParcelUuid uuid) argument
134 isBnep(ParcelUuid uuid) argument
137 isMap(ParcelUuid uuid) argument
140 isMns(ParcelUuid uuid) argument
143 isMas(ParcelUuid uuid) argument
153 isUuidPresent(ParcelUuid[] uuidArray, ParcelUuid uuid) argument
[all...]
H A DBluetoothGattService.java83 * Whether the service uuid should be advertised.
91 * @param uuid The UUID for this service
96 public BluetoothGattService(UUID uuid, int serviceType) { argument
98 mUuid = uuid;
109 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, argument
112 mUuid = uuid;
156 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { argument
158 if (uuid.equals(characteristic.getUuid())
262 public BluetoothGattCharacteristic getCharacteristic(UUID uuid) { argument
264 if (uuid
[all...]
H A DBluetoothGattDescriptor.java121 * @param uuid The UUID for this descriptor
124 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument
125 initDescriptor(null, uuid, 0, permissions);
133 * @param uuid The UUID for this descriptor
136 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument
138 initDescriptor(characteristic, uuid, instance, permissions);
141 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument
144 mUuid = uuid;
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceInfo.java56 * @param uuid a string representation of this UUID in the following format,
71 public static WifiP2pUpnpServiceInfo newInstance(String uuid, argument
73 if (uuid == null || device == null) {
74 throw new IllegalArgumentException("uuid or device cannnot be null");
76 UUID.fromString(uuid);
80 info.add(createSupplicantQuery(uuid, null));
81 info.add(createSupplicantQuery(uuid, "upnp:rootdevice"));
82 info.add(createSupplicantQuery(uuid, device));
85 info.add(createSupplicantQuery(uuid, service));
95 * @param uuid
99 createSupplicantQuery(String uuid, String data) argument
[all...]
/frameworks/av/media/libeffects/data/
H A Daudio_effects.conf50 # list of effects to load. Each effect element must contain a "library" and a "uuid" element.
53 # The name of the effect element is indicative, only the value of the "uuid" element
55 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
60 # uuid <effect uuid>
71 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
77 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
84 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
90 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
94 uuid
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothUtil.java53 public static String uuidToString(ParcelUuid uuid) { argument
54 if (BluetoothUuid.AudioSink.equals(uuid)) return "AudioSink";
55 if (BluetoothUuid.AudioSource.equals(uuid)) return "AudioSource";
56 if (BluetoothUuid.AdvAudioDist.equals(uuid)) return "AdvAudioDist";
57 if (BluetoothUuid.HSP.equals(uuid)) return "HSP";
58 if (BluetoothUuid.HSP_AG.equals(uuid)) return "HSP_AG";
59 if (BluetoothUuid.Handsfree.equals(uuid)) return "Handsfree";
60 if (BluetoothUuid.Handsfree_AG.equals(uuid)) return "Handsfree_AG";
61 if (BluetoothUuid.AvrcpController.equals(uuid)) return "AvrcpController";
62 if (BluetoothUuid.AvrcpTarget.equals(uuid)) retur
99 uuidToProfile(ParcelUuid uuid) argument
[all...]
/frameworks/av/include/ndk/
H A DNdkMediaCrypto.h43 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid);
47 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize);
/frameworks/base/core/java/android/os/
H A DParcelUuid.java34 * @param uuid UUID
36 public ParcelUuid(UUID uuid) { argument
37 mUuid = uuid;
43 * @param uuid
47 * if {@code uuid} is {@code null}.
49 * if {@code uuid} is not formatted correctly.
51 public static ParcelUuid fromString(String uuid) { argument
52 return new ParcelUuid(UUID.fromString(uuid));
115 UUID uuid = new UUID(mostSigBits, leastSigBits);
116 return new ParcelUuid(uuid);
[all...]
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c62 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) argument
257 if (pDescriptor == NULL || uuid == NULL) {
261 ret = findEffect(NULL, uuid, &l, &d);
269 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) argument
279 if (uuid == NULL || pHandle == NULL) {
284 uuid
389 EffectIsNullUuid(const effect_uuid_t *uuid) argument
401 EffectGetSubEffects(const effect_uuid_t *uuid, sub_effect_entry_t **pSube, size_t size) argument
568 effect_uuid_t uuid; local
639 effect_uuid_t uuid; local
740 findSubEffect(const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument
837 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument
897 stringToUuid(const char *str, effect_uuid_t *uuid) argument
919 uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.h31 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);
H A Dandroid_media_MediaCrypto.cpp46 const uint8_t uuid[16], const void *initData, size_t initSize) {
49 mCrypto = MakeCrypto(uuid, initData, initSize);
86 const uint8_t uuid[16], const void *initData, size_t initSize) {
93 status_t err = crypto->createPlugin(uuid, initData, initSize);
111 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { argument
118 return crypto->isCryptoSchemeSupported(uuid);
187 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); local
198 env, thiz, (const uint8_t *)uuid, initData, initDataLength);
207 env->ReleaseByteArrayElements(uuidObj, uuid, 0);
208 uuid
44 JCrypto( JNIEnv *env, jobject thiz, const uint8_t uuid[16], const void *initData, size_t initSize) argument
85 MakeCrypto( const uint8_t uuid[16], const void *initData, size_t initSize) argument
239 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); local
[all...]
H A Dandroid_media_MediaDrm.h40 static bool IsCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
42 JDrm(JNIEnv *env, jobject thiz, const uint8_t uuid[16]);
64 static sp<IDrm> MakeDrm(const uint8_t uuid[16]);
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h38 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]);
H A DCrypto.cpp71 * specified by uuid
82 void Crypto::findFactoryForScheme(const uint8_t uuid[16]) { argument
91 uuidVector.appendArray(uuid, sizeof(uuid));
94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) {
117 if (loadLibraryForScheme(pluginPath, uuid)) {
131 if (loadLibraryForScheme(pluginPath, uuid)) {
140 bool Crypto::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { argument
167 !mFactory->isCryptoSchemeSupported(uuid)) {
175 bool Crypto::isCryptoSchemeSupported(const uint8_t uuid[1 argument
186 createPlugin( const uint8_t uuid[16], const void *data, size_t size) argument
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
H A DAdvertiseDataTest.java80 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB");
84 .addServiceData(uuid, serviceData).build();
95 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB");
100 .addServiceUuid(uuid).addServiceUuid(uuid2).build();
111 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB");
119 .addServiceUuid(uuid).addServiceUuid(uuid2)
132 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB");
137 .addServiceData(uuid, serviceData).build();
/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp78 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid) { argument
83 return crypto->isCryptoSchemeSupported(uuid);
96 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *data, size_t datasize) { argument
103 if (tmp->createPlugin(uuid, data, datasize) != 0) {
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.h33 int EffectProxyCreate(const effect_uuid_t *uuid,
38 int EffectProxyGetDescriptor(const effect_uuid_t *uuid,
76 effect_uuid_t uuid; // UUID of the Proxy member in struct:android::EffectContext
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHardwareConfig.java77 * uuid - unique identifier for this hardware.
81 public String uuid; field in class:HardwareConfig
129 split[1].trim(), /* uuid */
141 split[1].trim(), /* uuid */
143 split[3].trim() /* modem-uuid */
154 uuid = id;
169 uuid = id;
179 builder.append("{ uuid=" + uuid);
189 builder.append("{ uuid
[all...]

Completed in 436 milliseconds

1234