/frameworks/base/media/java/android/media/ |
H A D | MediaCrypto.java | 36 * @param uuid The UUID of the crypto scheme. 38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { argument 39 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid)); 43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { argument 44 long msb = uuid.getMostSignificantBits(); 45 long lsb = uuid.getLeastSignificantBits(); 56 private static final native boolean isCryptoSchemeSupportedNative(@NonNull byte[] uuid); argument 61 * @param uuid The UUID of the crypto scheme. 64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { argument 65 native_setup(getByteArrayFromUUID(uuid), initDat 97 native_setup(@onNull byte[] uuid, @NonNull byte[] initData) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothUuid.java | 38 * uuid * 2^96 + BASE_UUID 99 public static boolean isAudioSource(ParcelUuid uuid) { argument 100 return uuid.equals(AudioSource); 103 public static boolean isAudioSink(ParcelUuid uuid) { argument 104 return uuid.equals(AudioSink); 107 public static boolean isAdvAudioDist(ParcelUuid uuid) { argument 108 return uuid.equals(AdvAudioDist); 111 public static boolean isHandsfree(ParcelUuid uuid) { argument 112 return uuid.equals(Handsfree); 115 public static boolean isHeadset(ParcelUuid uuid) { argument 119 isAvrcpController(ParcelUuid uuid) argument 123 isAvrcpTarget(ParcelUuid uuid) argument 127 isInputDevice(ParcelUuid uuid) argument 131 isPanu(ParcelUuid uuid) argument 135 isNap(ParcelUuid uuid) argument 139 isBnep(ParcelUuid uuid) argument 143 isMap(ParcelUuid uuid) argument 147 isMns(ParcelUuid uuid) argument 151 isMas(ParcelUuid uuid) argument 155 isSap(ParcelUuid uuid) argument 165 isUuidPresent(ParcelUuid[] uuidArray, ParcelUuid uuid) argument 293 uuidToBytes(ParcelUuid uuid) argument [all...] |
H A D | BluetoothGattDescriptor.java | 130 * @param uuid The UUID for this descriptor 133 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument 134 initDescriptor(null, uuid, 0, permissions); 142 * @param uuid The UUID for this descriptor 145 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument 147 initDescriptor(characteristic, uuid, instance, permissions); 153 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { argument 154 initDescriptor(null, uuid, instance, permissions); 157 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument 160 mUuid = uuid; [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/ |
H A D | ClearKeyUUID.h | 24 bool isClearKeyUUID(const uint8_t uuid[16]);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.c | 32 const effect_uuid_t *uuid, 51 if (uuid != NULL && memcmp(&d->uuid, uuid, sizeof(effect_uuid_t)) == 0) { 73 int stringToUuid(const char *str, effect_uuid_t *uuid) argument 81 uuid->timeLow = (uint32_t)tmp[0]; 82 uuid->timeMid = (uint16_t)tmp[1]; 83 uuid->timeHiAndVersion = (uint16_t)tmp[2]; 84 uuid->clockSeq = (uint16_t)tmp[3]; 85 uuid 31 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument 95 uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) argument [all...] |
H A D | EffectsFactoryState.h | 33 // list of effects skipped because of duplicate uuid or invalid version 45 const effect_uuid_t *uuid, 49 int stringToUuid(const char *str, effect_uuid_t *uuid); 51 int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen);
|
H A D | EffectsFactory.c | 57 static int findSubEffect(const effect_uuid_t *uuid, 236 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) argument 245 if (pDescriptor == NULL || uuid == NULL) { 249 ret = findEffect(NULL, uuid, &l, &d); 257 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) argument 266 if (uuid == NULL || pHandle == NULL) { 271 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, 272 uuid 376 EffectIsNullUuid(const effect_uuid_t *uuid) argument 388 EffectGetSubEffects(const effect_uuid_t *uuid, sub_effect_entry_t **pSube, size_t size) argument 460 findSubEffect(const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2Drm.h | 32 memset(this->uuid, 0, sizeof(uuid)); 37 memcpy(this->uuid, a.uuid, sizeof(uuid)); 42 memcpy(this->uuid, uuid_in, sizeof(uuid)); 46 return uuid; 50 return arrayToHex(uuid, UUID_SIZE); 67 uint8_t uuid[UUID_SIZ member in struct:android::DrmUUID [all...] |
H A D | NuPlayer2Drm.cpp | 35 // 16 byte uuid 53 // skip uuid 96 DrmUUID uuid = psshDRMs[i]; local 97 if (AMediaDrmWrapper::isCryptoSchemeSupported(uuid.ptr(), NULL)) { 98 supportedDRMs.add(uuid); 124 DrmUUID uuid = supportedDRMs[i]; local 126 buf.write(reinterpret_cast<const char *>(uuid.ptr()), DrmUUID::UUID_SIZE); 129 uuid.toHexString().string()); 145 pssh.write(reinterpret_cast<const char *>(&entry->uuid), sizeof(entry->uuid)); [all...] |
/frameworks/base/media/java/android/media/soundtrigger/ |
H A D | ISoundTriggerDetectionService.aidl | 30 void setClient(in ParcelUuid uuid, in Bundle params, in ISoundTriggerDetectionServiceClient client); 31 void removeClient(in ParcelUuid uuid); 32 void onGenericRecognitionEvent(in ParcelUuid uuid, int opId, in SoundTrigger.GenericRecognitionEvent event); 33 void onError(in ParcelUuid uuid, int opId, int status); 34 void onStopOperation(in ParcelUuid uuid, int opId);
|
H A D | SoundTriggerDetectionService.java | 74 * Client indexed by model uuid. This is needed for the {@link #operationFinished(UUID, int)} 92 private void setClient(@NonNull UUID uuid, @Nullable Bundle params, argument 94 if (DEBUG) Log.i(LOG_TAG, uuid + ": handle setClient"); 97 mClients.put(uuid, client); 99 onConnected(uuid, params); 102 private void removeClient(@NonNull UUID uuid, @Nullable Bundle params) { argument 103 if (DEBUG) Log.i(LOG_TAG, uuid + ": handle removeClient"); 106 mClients.remove(uuid); 108 onDisconnected(uuid, params); 113 * {@code uuid} 121 onConnected(@onNull UUID uuid, @Nullable Bundle params) argument 138 onDisconnected(@onNull UUID uuid, @Nullable Bundle params) argument 152 onGenericRecognitionEvent(@onNull UUID uuid, @Nullable Bundle params, int opId, @NonNull SoundTrigger.RecognitionEvent event) argument 167 onError(@onNull UUID uuid, @Nullable Bundle params, int opId, int status) argument 179 onStopOperation(@onNull UUID uuid, @Nullable Bundle params, int opId) argument 187 operationFinished(@ullable UUID uuid, int opId) argument [all...] |
/frameworks/av/media/libeffects/data/ |
H A D | audio_effects.conf | 53 # list of effects to load. Each effect element must contain a "library" and a "uuid" element. 56 # The name of the effect element is indicative, only the value of the "uuid" element 58 # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 63 # uuid <effect uuid> 74 #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 80 #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy 87 #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz 93 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 97 uuid [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | DrmFactory.cpp | 32 bool DrmFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) { argument 33 return isClearKeyUUID(uuid); 47 const uint8_t uuid[16], 49 if (!isCryptoSchemeSupported(uuid)) { 46 createDrmPlugin( const uint8_t uuid[16], android::DrmPlugin** plugin) argument
|
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
|
/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/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.h | 32 memset(this->uuid, 0, sizeof(uuid)); 37 memcpy(this->uuid, a.uuid, sizeof(uuid)); 42 memcpy(this->uuid, uuid_in, sizeof(uuid)); 46 return uuid; 50 return arrayToHex(uuid, UUID_SIZE); 67 uint8_t uuid[UUID_SIZ member in struct:android::DrmUUID [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
H A D | ClearKeyUUID.cpp | 23 bool isClearKeyUUID(const uint8_t uuid[16]) { argument 35 return !memcmp(uuid, kCommonPsshBoxUUID, sizeof(kCommonPsshBoxUUID)) || 36 !memcmp(uuid, kClearKeyUUID, sizeof(kClearKeyUUID));
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | CryptoFactory.cpp | 34 const hidl_array<uint8_t, 16> &uuid) 36 return clearkeydrm::isClearKeyUUID(uuid.data()); 40 const hidl_array<uint8_t, 16> &uuid, 44 if (!isCryptoSchemeSupported(uuid.data())) { 33 isCryptoSchemeSupported( const hidl_array<uint8_t, 16> &uuid) argument 39 createPlugin( const hidl_array<uint8_t, 16> &uuid, const hidl_vec<uint8_t> &initData, createPlugin_cb _hidl_cb) argument
|
H A D | DrmFactory.cpp | 40 const hidl_array<uint8_t, 16>& uuid) { 41 return clearkeydrm::isClearKeyUUID(uuid.data()); 55 const hidl_array<uint8_t, 16>& uuid, 61 if (!isCryptoSchemeSupported(uuid.data())) { 39 isCryptoSchemeSupported( const hidl_array<uint8_t, 16>& uuid) argument 54 createPlugin( const hidl_array<uint8_t, 16>& uuid, const hidl_string& appPackageName, createPlugin_cb _hidl_cb) argument
|
/frameworks/av/media/ndk/include/media/ |
H A D | NdkMediaCrypto.h | 44 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid); 48 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize);
|
/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/jni/ |
H A 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/av/drm/mediadrm/plugins/clearkey/default/include/ |
H A D | CryptoFactory.h | 31 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const; 34 const uint8_t uuid[16],
|
H A D | DrmFactory.h | 33 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]); 38 const uint8_t uuid[16],
|
/frameworks/native/cmds/installd/binder/android/os/ |
H A D | IInstalld.aidl | 21 void createUserData(@nullable @utf8InCpp String uuid, int userId, int userSerial, int flags); 22 void destroyUserData(@nullable @utf8InCpp String uuid, int userId, int flags); 24 long createAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, 26 void restoreconAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, 28 void migrateAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, 30 void clearAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, 32 void destroyAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, 35 void fixupAppData(@nullable @utf8InCpp String uuid, int flags); 37 long[] getAppSize(@nullable @utf8InCpp String uuid, in @utf8InCpp String[] packageNames, 40 long[] getUserSize(@nullable @utf8InCpp String uuid, in [all...] |