/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | ClearKeyUUID.cpp | 23 bool isClearKeyUUID(const uint8_t uuid[16]) { argument 29 return !memcmp(uuid, kClearKeyUUID, sizeof(kClearKeyUUID));
|
H A D | CryptoFactory.cpp | 33 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 D | DrmFactory.cpp | 31 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
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaExtractor.h | 129 * mapping of crypto scheme uuid to the scheme specific data for that scheme 132 AMediaUUID uuid; member in struct:PsshEntry
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelUuid.java | 34 * @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/base/media/java/android/media/ |
H A D | MediaCrypto.java | 35 * @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/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pUpnpServiceInfo.java | 56 * @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/proxy/ |
H A D | EffectProxy.h | 33 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
|
H A D | EffectProxy.cpp | 36 {0xaf8da7e0, 0x2ca1, 0x11e3, 0xb71d, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b }}, // uuid 53 int EffectProxyCreate(const effect_uuid_t *uuid, argument 62 if (pHandle == NULL || uuid == NULL) { 70 pContext->uuid = *uuid; 84 int retValue = EffectGetSubEffects(uuid, sube, SUB_FX_COUNT); 126 effect_uuid_t uuid_print = pContext->desc[SUB_FX_HOST].uuid; 168 int EffectProxyGetDescriptor(const effect_uuid_t *uuid, argument 172 if (pDescriptor == NULL || uuid == NULL) { 216 &pContext->desc[SUB_FX_HOST].uuid, [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 78 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/base/core/java/android/bluetooth/ |
H A D | BluetoothServerSocket.java | 94 * @param uuid uuid 98 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument 100 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
|
H A D | BluetoothGattDescriptor.java | 121 * @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;
|
H A D | BluetoothGattService.java | 83 * 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 D | BluetoothGattServer.java | 350 UUID uuid = UUID.randomUUID(); 351 if (DBG) Log.d(TAG, "registerCallback() - UUID=" + uuid); 361 mService.registerServer(new ParcelUuid(uuid), mBluetoothGattServerCallback); 404 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { argument 408 svc.getUuid().equals(uuid)) { 680 * @param uuid UUID of the requested service 684 public BluetoothGattService getService(UUID uuid) { argument 686 if (service.getUuid().equals(uuid)) {
|
H A D | BluetoothUuid.java | 37 * 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...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.h | 91 EffectDesc(const char *name, const effect_uuid_t& uuid) : argument 93 mUuid(uuid) { }
|
H A D | AudioPolicyEffects.cpp | 543 ALOGV("loadEffectConfig() adding effect %s uuid %08x", 616 effect_uuid_t uuid; local 617 if (AudioEffect::stringToGuid(node->value, &uuid) != NO_ERROR) { 618 ALOGW("loadEffect() invalid uuid %s", node->value); 621 return new EffectDesc(root->name, uuid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothUtil.java | 53 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | HardwareConfig.java | 77 * 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...] |
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 37 {0xfa415329, 0x2034, 0x4bea, 0xb5dc, {0x5b, 0x38, 0x1c, 0x8d, 0x1e, 0x2c}}, // uuid 191 int LELib_Create(const effect_uuid_t *uuid, argument 199 if (pHandle == NULL || uuid == NULL) { 203 if (memcmp(uuid, &gLEDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { 247 int LELib_GetDescriptor(const effect_uuid_t *uuid, argument 250 if (pDescriptor == NULL || uuid == NULL){ 255 if (memcmp(uuid, &gLEDescriptor.uuid, sizeof(effect_uuid_t)) == 0) {
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 52 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) { argument 55 data.write(uuid, 16); 62 const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) { 65 data.write(uuid, 16); 184 uint8_t uuid[16]; local 185 data.read(uuid, sizeof(uuid)); 186 reply->writeInt32(isCryptoSchemeSupported(uuid)); 195 uint8_t uuid[16]; local 196 data.read(uuid, sizeo 61 createPlugin( const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 71 * 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/av/media/libstagefright/include/ |
H A D | MPEG4Extractor.h | 71 uint8_t uuid[16]; member in struct:android::MPEG4Extractor::PsshInfo
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanFilter.java | 71 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, argument 76 mServiceUuid = uuid; 160 ParcelUuid uuid = in.readParcelable(ParcelUuid.class.getClassLoader()); 161 builder.setServiceUuid(uuid); 165 builder.setServiceUuid(uuid, uuidMask); 216 * Returns the filter set on the service uuid. 319 // Check if the uuid pattern is contained in a list of parcel uuids. 320 private boolean matchesServiceUuids(ParcelUuid uuid, ParcelUuid parcelUuidMask, argument 322 if (uuid == null) { 331 if (matchesServiceUuid(uuid 339 matchesServiceUuid(UUID uuid, UUID mask, UUID data) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 46 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...] |