/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/av/drm/mediadrm/plugins/clearkey/ |
H A D | ClearKeyUUID.h | 24 bool isClearKeyUUID(const uint8_t uuid[16]);
|
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], android::DrmPlugin** plugin) { 48 if (!isCryptoSchemeSupported(uuid)) { 46 createDrmPlugin( const uint8_t uuid[16], android::DrmPlugin** plugin) argument
|
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 | 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], android::DrmPlugin** plugin);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothUuid.java | 37 * uuid * 2^96 + BASE_UUID 96 public static boolean isAudioSource(ParcelUuid uuid) { argument 97 return uuid.equals(AudioSource); 100 public static boolean isAudioSink(ParcelUuid uuid) { argument 101 return uuid.equals(AudioSink); 104 public static boolean isAdvAudioDist(ParcelUuid uuid) { argument 105 return uuid.equals(AdvAudioDist); 108 public static boolean isHandsfree(ParcelUuid uuid) { argument 109 return uuid.equals(Handsfree); 112 public static boolean isHeadset(ParcelUuid uuid) { argument 116 isAvrcpController(ParcelUuid uuid) argument 120 isAvrcpTarget(ParcelUuid uuid) argument 124 isInputDevice(ParcelUuid uuid) argument 128 isPanu(ParcelUuid uuid) argument 132 isNap(ParcelUuid uuid) argument 136 isBnep(ParcelUuid uuid) argument 139 isMap(ParcelUuid uuid) argument 142 isMns(ParcelUuid uuid) argument 145 isMas(ParcelUuid uuid) argument 148 isSap(ParcelUuid uuid) argument 158 isUuidPresent(ParcelUuid[] uuidArray, ParcelUuid uuid) argument [all...] |
H A D | BluetoothGattDescriptor.java | 124 * @param uuid The UUID for this descriptor 127 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument 128 initDescriptor(null, uuid, 0, permissions); 136 * @param uuid The UUID for this descriptor 139 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument 141 initDescriptor(characteristic, uuid, instance, permissions); 147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { argument 148 initDescriptor(null, uuid, instance, permissions); 151 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, argument 154 mUuid = uuid; [all...] |
H A D | BluetoothGattService.java | 86 * Whether the service uuid should be advertised. 94 * @param uuid The UUID for this service 99 public BluetoothGattService(UUID uuid, int serviceType) { argument 101 mUuid = uuid; 112 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, argument 115 mUuid = uuid; 126 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { argument 128 mUuid = uuid; 242 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { argument 244 if (uuid 348 getCharacteristic(UUID uuid) 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/data/ |
H A D | audio_effects.conf | 50 # 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/av/include/ndk/ |
H A D | NdkMediaCrypto.h | 43 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid); 47 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize);
|
/frameworks/native/cmds/installd/ |
H A D | commands.h | 33 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 35 int restorecon_app_data(const char* uuid, const char* pkgName, userid_t userid, int flags, 37 int migrate_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags); 38 int clear_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 40 int destroy_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 46 int get_app_size(const char *uuid, const char *pkgname, int userid, int flags, ino_t ce_data_inode, 49 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode); 51 int create_user_data(const char *uuid, userid_t userid, int user_serial, int flags); 52 int destroy_user_data(const char *uuid, userid_t userid, int flags); 55 int free_cache(const char *uuid, int64_ [all...] |
/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/services/core/java/com/android/server/pm/ |
H A D | Installer.java | 85 public void createAppData(String uuid, String pkgname, int userid, int flags, int appid, argument 87 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo, 91 public void restoreconAppData(String uuid, String pkgname, int userid, int flags, int appid, argument 93 mInstaller.execute("restorecon_app_data", uuid, pkgname, userid, flags, appid, 97 public void migrateAppData(String uuid, String pkgname, int userid, int flags) argument 99 mInstaller.execute("migrate_app_data", uuid, pkgname, userid, flags); 102 public void clearAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) argument 104 mInstaller.execute("clear_app_data", uuid, pkgname, userid, flags, ceDataInode); 107 public void destroyAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) argument 109 mInstaller.execute("destroy_app_data", uuid, pkgnam 119 getAppSize(String uuid, String pkgname, int userid, int flags, long ceDataInode, String codePath, PackageStats stats) argument 132 getAppDataInode(String uuid, String pkgname, int userid, int flags) argument 190 createUserData(String uuid, int userId, int userSerial, int flags) argument 195 destroyUserData(String uuid, int userId, int flags) argument 204 freeCache(String uuid, long freeStorageSize) argument 213 linkNativeLibraryDirectory(String uuid, String dataPath, String nativeLibPath32, int userId) argument [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 32 static list_elem_t *gSkippedEffects; // list of effects skipped because of duplicate uuid 64 const effect_uuid_t *uuid, 68 static int findSubEffect(const effect_uuid_t *uuid, 72 static int stringToUuid(const char *str, effect_uuid_t *uuid); 73 static int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen); 250 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) argument 259 if (pDescriptor == NULL || uuid == NULL) { 263 ret = findEffect(NULL, uuid, &l, &d); 271 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHandle) argument 281 if (uuid 391 EffectIsNullUuid(const effect_uuid_t *uuid) argument 403 EffectGetSubEffects(const effect_uuid_t *uuid, sub_effect_entry_t **pSube, size_t size) argument 593 effect_uuid_t uuid; local 664 effect_uuid_t uuid; local 778 findSubEffect(const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument 875 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument 943 stringToUuid(const char *str, effect_uuid_t *uuid) argument 965 uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) argument [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/include/media/ |
H A D | Crypto.h | 38 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]); 41 const uint8_t uuid[16], const void *data, size_t size); 75 void findFactoryForScheme(const uint8_t uuid[16]); 76 bool loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 64 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid) { argument 69 return crypto->isCryptoSchemeSupported(uuid); 82 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *data, size_t datasize) { argument 89 if (tmp->createPlugin(uuid, data, datasize) != 0) {
|
/frameworks/native/services/sensorservice/ |
H A D | SensorInterface.cpp | 37 BaseSensor::BaseSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]) : argument 39 mSensor(sensor, Sensor::uuid_t(uuid), mSensorDevice.getHalDeviceVersion()) { 48 HardwareSensor::HardwareSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]): argument 49 BaseSensor(sensor, uuid) {
|
/frameworks/av/drm/libmediadrm/ |
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[0]) * 16); 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/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
H A D | GenericSoundModelTest.java | 99 loadedModelUuids.add(model.uuid); 103 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); 113 loadedModelUuids.add(model.uuid); 116 soundTriggerService.deleteSoundModel(new ParcelUuid(model.uuid)); 117 loadedModelUuids.remove(model.uuid); 121 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); 137 loadedModelUuids.add(model.uuid); 138 int r = soundTriggerService.startRecognition(new ParcelUuid(model.uuid), spyCallback, 144 r = soundTriggerService.stopRecognition(new ParcelUuid(model.uuid), spyCallback); 161 loadedModelUuids.add(model.uuid); [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
H A D | AdvertiseDataTest.java | 80 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/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
|