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

12

/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/base/core/java/android/bluetooth/
H A DBluetoothUuid.java35 * uuid * 2^96 + BASE_UUID
72 public static boolean isAudioSource(ParcelUuid uuid) { argument
73 return uuid.equals(AudioSource);
76 public static boolean isAudioSink(ParcelUuid uuid) { argument
77 return uuid.equals(AudioSink);
80 public static boolean isAdvAudioDist(ParcelUuid uuid) { argument
81 return uuid.equals(AdvAudioDist);
84 public static boolean isHandsfree(ParcelUuid uuid) { argument
85 return uuid.equals(Handsfree);
88 public static boolean isHeadset(ParcelUuid uuid) { argument
92 isAvrcpController(ParcelUuid uuid) argument
96 isAvrcpTarget(ParcelUuid uuid) argument
100 isInputDevice(ParcelUuid uuid) argument
104 isPanu(ParcelUuid uuid) argument
108 isNap(ParcelUuid uuid) argument
112 isBnep(ParcelUuid uuid) argument
121 isUuidPresent(ParcelUuid[] uuidArray, ParcelUuid uuid) argument
[all...]
H A DBluetoothServerSocket.java95 * @param uuid uuid
99 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
101 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
H A DIBluetooth.aidl80 ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int port, int flag);
81 ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int port, int flag);
H A DBluetoothDevice.java896 public int getServiceChannel(ParcelUuid uuid) { argument
900 return sService.getRemoteServiceChannel(this, uuid);
1003 * outgoing connection to this remote device using SDP lookup of uuid.
1008 * connection. This will also perform an SDP lookup of the given uuid to
1027 * @param uuid service record uuid to lookup RFCOMM channel
1032 public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid) throws IOException { argument
1034 new ParcelUuid(uuid));
1039 * outgoing connection to this remote device using SDP lookup of uuid.
1050 * connection. This will also perform an SDP lookup of the given uuid t
1065 createInsecureRfcommSocketToServiceRecord(UUID uuid) argument
[all...]
H A DBluetoothAdapter.java944 * @param uuid uuid for SDP record
949 public BluetoothServerSocket listenUsingRfcommWithServiceRecord(String name, UUID uuid) argument
951 return createNewRfcommSocketAndRecord(name, uuid, true, true);
975 * @param uuid uuid for SDP record
980 public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(String name, UUID uuid) argument
982 return createNewRfcommSocketAndRecord(name, uuid, false, false);
1012 * @param uuid uuid fo
1018 listenUsingEncryptedRfcommWithServiceRecord( String name, UUID uuid) argument
1024 createNewRfcommSocketAndRecord(String name, UUID uuid, boolean auth, boolean encrypt) argument
[all...]
H A DBluetoothSocket.java145 * @param uuid SDP uuid
150 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException {
151 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) {
156 if(uuid != null)
157 mUuid = uuid;
149 BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, BluetoothDevice device, int port, ParcelUuid uuid) argument
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceInfo.java55 * @param uuid a string representation of this UUID in the following format,
70 public static WifiP2pUpnpServiceInfo newInstance(String uuid, argument
72 if (uuid == null || device == null) {
73 throw new IllegalArgumentException("uuid or device cannnot be null");
75 UUID.fromString(uuid);
79 info.add(createSupplicantQuery(uuid, null));
80 info.add(createSupplicantQuery(uuid, "upnp:rootdevice"));
81 info.add(createSupplicantQuery(uuid, device));
84 info.add(createSupplicantQuery(uuid, service));
94 * @param uuid
98 createSupplicantQuery(String uuid, String data) argument
[all...]
/frameworks/av/media/libeffects/data/
H A Daudio_effects.conf30 # list of effects to load. Each effect element must contain a "library" and a "uuid" element.
33 # The name of the effect element is indicative, only the value of the "uuid" element
35 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
40 # uuid <effect uuid>
48 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
52 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
56 uuid ce772f20-847d-11df-bb17-0002a5d5c51b
60 uuid 119341a0-8469-11df-81f9-0002a5d5c51b
64 uuid
[all...]
/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.c57 const 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(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) argument
248 if (pDescriptor == NULL || uuid == NULL) {
252 ret = findEffect(NULL, uuid, &l, &d);
260 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) argument
270 if (uuid == NULL || pHandle == NULL) {
275 uuid->timeLow, uuid
375 EffectIsNullUuid(const effect_uuid_t *uuid) argument
525 effect_uuid_t uuid; local
631 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument
691 stringToUuid(const char *str, effect_uuid_t *uuid) argument
713 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...]
/frameworks/av/include/media/
H A DICrypto.h34 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const = 0;
37 const uint8_t uuid[16], const void *data, size_t size) = 0;
H A DAudioEffect.h95 * Returns the descriptor for the specified effect uuid.
98 * uuid: pointer to effect uuid.
105 * BAD_VALUE invalid uuid or descriptor pointers
106 * NAME_NOT_FOUND no effect with this uuid found
111 static status_t getEffectDescriptor(const effect_uuid_t *uuid,
211 * type: type of effect created: can be null if uuid is specified. This corresponds to
213 * uuid: Uuid of effect created: can be null if type is specified. This uuid corresponds to
228 const effect_uuid_t *uuid
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const;
38 const uint8_t uuid[16], const void *data, size_t size);
H A DCrypto.cpp88 bool Crypto::isCryptoSchemeSupported(const uint8_t uuid[16]) const {
95 return mFactory->isCryptoSchemeSupported(uuid);
99 const uint8_t uuid[16], const void *data, size_t size) {
110 return mFactory->createPlugin(uuid, data, size, &mPlugin);
98 createPlugin( const uint8_t uuid[16], const void *data, size_t size) argument
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h32 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const = 0;
35 const uint8_t uuid[16], const void *data, size_t size,
/frameworks/av/media/libmedia/
H A DICrypto.cpp51 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const {
54 data.write(uuid, 16);
61 const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) {
64 data.write(uuid, 16);
174 uint8_t uuid[16]; local
175 data.read(uuid, sizeof(uuid));
176 reply->writeInt32(isCryptoSchemeSupported(uuid));
185 uint8_t uuid[16]; local
186 data.read(uuid, sizeo
60 createPlugin( const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) argument
[all...]
H A DAudioEffect.cpp45 const effect_uuid_t *uuid,
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
69 effect_uuid_t uuid; local
72 ALOGV("Constructor string\n - type: %s\n - uuid: %s", typeStr, uuidStr);
81 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) {
82 pUuid = &uuid;
90 const effect_uuid_t *uuid,
101 ALOGV("set %p mUserData: %p uuid: %p timeLow %08x", this, user, type, type ? type->timeLow : 0);
114 if (type == NULL && uuid == NULL) {
115 ALOGW("Must specify at least type or uuid");
44 AudioEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io ) argument
89 set(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io) argument
408 getEffectDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *descriptor) argument
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h71 int32_t DownmixLib_Create(const effect_uuid_t *uuid,
76 int32_t DownmixLib_GetDescriptor(const effect_uuid_t *uuid,
H A DEffectDownmix.c77 {0x93f04452, 0xe4fe, 0x41cc, 0x91f9, {0xe4, 0x75, 0xb6, 0xd1, 0xd6, 0x9f}}, // uuid
181 int32_t DownmixLib_Create(const effect_uuid_t *uuid, argument
212 if (pHandle == NULL || uuid == NULL) {
218 if (memcmp(uuid, &desc->uuid, sizeof(effect_uuid_t)) == 0) {
263 int32_t DownmixLib_GetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) { argument
267 if (pDescriptor == NULL || uuid == NULL){
274 if (memcmp(uuid, &gDescriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) {
277 i, gDescriptors[i]->uuid
[all...]
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp36 {0xd069d9e0, 0x8329, 0x11df, 0x9168, {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}}, // uuid
197 int VisualizerLib_Create(const effect_uuid_t *uuid, argument
204 if (pHandle == NULL || uuid == NULL) {
208 if (memcmp(uuid, &gVisualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) {
247 int VisualizerLib_GetDescriptor(const effect_uuid_t *uuid, argument
250 if (pDescriptor == NULL || uuid == NULL){
255 if (memcmp(uuid, &gVisualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0) {
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp47 {0xe25aa840, 0x543b, 0x11df, 0x98a5, {0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b}}, // uuid
143 extern "C" int EffectCreate(const effect_uuid_t *uuid, argument
152 if (pHandle == NULL || uuid == NULL) {
156 if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) != 0) {
198 extern "C" int EffectGetDescriptor(const effect_uuid_t *uuid, argument
201 if (pDescriptor == NULL || uuid == NULL){
206 if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0) {
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java203 * <li>uuid: UUID for this particular implementation</li>
217 public Descriptor(String type, String uuid, String connectMode, argument
220 this.uuid = UUID.fromString(uuid);
233 * can have the same type but this uuid is unique to a given implementation.
235 public UUID uuid; field in class:AudioEffect.Descriptor
345 * case only the uuid will be used to select the effect.
346 * @param uuid unique identifier of a particular effect implementation.
367 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) argument
374 type.toString(), uuid
1192 native_setup(Object audioeffect_this, String type, String uuid, int priority, int audioSession, int[] id, Object[] desc) argument
[all...]

Completed in 142 milliseconds

12