/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 96 public static boolean isAudioSource(ParcelUuid uuid) { in isAudioSource() argument 97 return uuid.equals(AudioSource); in isAudioSource() 100 public static boolean isAudioSink(ParcelUuid uuid) { in isAudioSink() argument 101 return uuid.equals(AudioSink); in isAudioSink() 104 public static boolean isAdvAudioDist(ParcelUuid uuid) { in isAdvAudioDist() argument 105 return uuid.equals(AdvAudioDist); in isAdvAudioDist() 108 public static boolean isHandsfree(ParcelUuid uuid) { in isHandsfree() argument 109 return uuid.equals(Handsfree); in isHandsfree() 112 public static boolean isHeadset(ParcelUuid uuid) { in isHeadset() argument 113 return uuid.equals(HSP); in isHeadset() [all …]
|
D | BluetoothGattDescriptor.java | 127 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor() argument 128 initDescriptor(null, uuid, 0, permissions); in BluetoothGattDescriptor() 139 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument 141 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor() 147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor() argument 148 initDescriptor(null, uuid, instance, permissions); in BluetoothGattDescriptor() 151 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument 154 mUuid = uuid; in initDescriptor()
|
D | BluetoothGattService.java | 99 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() argument 101 mUuid = uuid; in BluetoothGattService() 112 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService() argument 115 mUuid = uuid; in BluetoothGattService() 126 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument 128 mUuid = uuid; in BluetoothGattService() 242 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic() argument 244 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 348 public BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 350 if (uuid.equals(characteristic.getUuid())) in getCharacteristic()
|
D | BluetoothGattCharacteristic.java | 234 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic() argument 235 initCharacteristic(null, uuid, 0, properties, permissions); in BluetoothGattCharacteristic() 243 UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument 245 initCharacteristic(service, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic() 252 public BluetoothGattCharacteristic(UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument 254 initCharacteristic(null, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic() 258 UUID uuid, int instanceId, in initCharacteristic() argument 260 mUuid = uuid; in initCharacteristic() 348 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor() argument 350 if (descriptor.getUuid().equals(uuid) in getDescriptor() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 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) in EffectGetDescriptor() argument 259 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor() 263 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor() 271 int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, effect_handle_t *pHand… in EffectCreate() argument 281 if (uuid == NULL || pHandle == NULL) { in EffectCreate() 286 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, in EffectCreate() [all …]
|
/frameworks/av/media/libeffects/data/ |
D | audio_effects.conf | 90 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 94 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 98 uuid ce772f20-847d-11df-bb17-0002a5d5c51b 102 uuid 119341a0-8469-11df-81f9-0002a5d5c51b 106 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b 110 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b 114 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b 118 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b 122 uuid d069d9e0-8329-11df-9168-0002a5d5c51b 126 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 85 public void createAppData(String uuid, String pkgname, int userid, int flags, int appid, in createAppData() argument 87 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo, in createAppData() 91 public void restoreconAppData(String uuid, String pkgname, int userid, int flags, int appid, in restoreconAppData() argument 93 mInstaller.execute("restorecon_app_data", uuid, pkgname, userid, flags, appid, in restoreconAppData() 97 public void migrateAppData(String uuid, String pkgname, int userid, int flags) in migrateAppData() argument 99 mInstaller.execute("migrate_app_data", uuid, pkgname, userid, flags); in migrateAppData() 102 public void clearAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in clearAppData() argument 104 mInstaller.execute("clear_app_data", uuid, pkgname, userid, flags, ceDataInode); in clearAppData() 107 public void destroyAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in destroyAppData() argument 109 mInstaller.execute("destroy_app_data", uuid, pkgname, userid, flags, ceDataInode); in destroyAppData() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaCrypto.java | 38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported() argument 39 return isCryptoSchemeSupportedNative(getByteArrayFromUUID(uuid)); in isCryptoSchemeSupported() 43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID() argument 44 long msb = uuid.getMostSignificantBits(); in getByteArrayFromUUID() 45 long lsb = uuid.getLeastSignificantBits(); in getByteArrayFromUUID() 56 private static final native boolean isCryptoSchemeSupportedNative(@NonNull byte[] uuid); in isCryptoSchemeSupportedNative() argument 64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { in MediaCrypto() argument 65 native_setup(getByteArrayFromUUID(uuid), initData); in MediaCrypto() 97 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup() argument
|
/frameworks/native/cmds/installd/ |
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_t free_size); [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pUpnpServiceInfo.java | 71 public static WifiP2pUpnpServiceInfo newInstance(String uuid, in newInstance() argument 73 if (uuid == null || device == null) { in newInstance() 76 UUID.fromString(uuid); in newInstance() 80 info.add(createSupplicantQuery(uuid, null)); in newInstance() 81 info.add(createSupplicantQuery(uuid, "upnp:rootdevice")); in newInstance() 82 info.add(createSupplicantQuery(uuid, device)); in newInstance() 85 info.add(createSupplicantQuery(uuid, service)); in newInstance() 99 private static String createSupplicantQuery(String uuid, String data) { in createSupplicantQuery() argument 104 sb.append(uuid); in createSupplicantQuery()
|
/frameworks/av/drm/libmediadrm/ |
D | Crypto.cpp | 82 void Crypto::findFactoryForScheme(const uint8_t uuid[16]) { in findFactoryForScheme() 91 uuidVector.appendArray(uuid, sizeof(uuid[0]) * 16); in findFactoryForScheme() 94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) { in findFactoryForScheme() 117 if (loadLibraryForScheme(pluginPath, uuid)) { in findFactoryForScheme() 131 if (loadLibraryForScheme(pluginPath, uuid)) { in findFactoryForScheme() 140 bool Crypto::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { in loadLibraryForScheme() 167 !mFactory->isCryptoSchemeSupported(uuid)) { in loadLibraryForScheme() 175 bool Crypto::isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 178 if (mFactory && mFactory->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported() 182 findFactoryForScheme(uuid); in isCryptoSchemeSupported() [all …]
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
D | GenericSoundModelTest.java | 99 loadedModelUuids.add(model.uuid); in testUpdateGenericSoundModel() 103 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); in testUpdateGenericSoundModel() 113 loadedModelUuids.add(model.uuid); in testDeleteGenericSoundModel() 116 soundTriggerService.deleteSoundModel(new ParcelUuid(model.uuid)); in testDeleteGenericSoundModel() 117 loadedModelUuids.remove(model.uuid); in testDeleteGenericSoundModel() 121 soundTriggerService.getSoundModel(new ParcelUuid(model.uuid)); in testDeleteGenericSoundModel() 137 loadedModelUuids.add(model.uuid); in testStartStopGenericSoundModel() 138 int r = soundTriggerService.startRecognition(new ParcelUuid(model.uuid), spyCallback, in testStartStopGenericSoundModel() 144 r = soundTriggerService.stopRecognition(new ParcelUuid(model.uuid), spyCallback); in testStartStopGenericSoundModel() 161 loadedModelUuids.add(model.uuid); in testTriggerGenericSoundModel() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 36 public ParcelUuid(UUID uuid) { in ParcelUuid() argument 37 mUuid = uuid; in ParcelUuid() 51 public static ParcelUuid fromString(String uuid) { in fromString() argument 52 return new ParcelUuid(UUID.fromString(uuid)); in fromString() 115 UUID uuid = new UUID(mostSigBits, leastSigBits); 116 return new ParcelUuid(uuid);
|
/frameworks/base/media/jni/ |
D | android_media_MediaCrypto.cpp | 47 const uint8_t uuid[16], const void *initData, size_t initSize) { in JCrypto() 50 mCrypto = MakeCrypto(uuid, initData, initSize); in JCrypto() 82 const uint8_t uuid[16], const void *initData, size_t initSize) { in MakeCrypto() 89 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 107 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported() 114 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported() 192 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_native_setup() local 203 env, thiz, (const uint8_t *)uuid, initData, initDataLength); in android_media_MediaCrypto_native_setup() 212 env->ReleaseByteArrayElements(uuidObj, uuid, 0); in android_media_MediaCrypto_native_setup() 213 uuid = NULL; in android_media_MediaCrypto_native_setup() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 80 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData() local 84 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData() 95 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid() local 100 .addServiceUuid(uuid).addServiceUuid(uuid2).build(); in testServiceUuid() 111 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() local 119 .addServiceUuid(uuid).addServiceUuid(uuid2) in testManufacturerData() 132 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData() local 137 .addServiceData(uuid, serviceData).build(); in testServiceData()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | LocalPreferences.java | 100 String packageName, @Nullable String uuid, String directory) { in getScopedAccessPermissionStatus() argument 101 final String key = getScopedAccessDenialsKey(packageName, uuid, directory); in getScopedAccessPermissionStatus() 106 @Nullable String uuid, String directory, @PermissionStatus int status) { in setScopedAccessPermissionStatus() argument 107 final String key = getScopedAccessDenialsKey(packageName, uuid, directory); in setScopedAccessPermissionStatus() 111 private static String getScopedAccessDenialsKey(String packageName, String uuid, in getScopedAccessDenialsKey() argument 114 return uuid == null in getScopedAccessDenialsKey() 116 : userId + "|" + packageName + "|" + uuid + "|" + directory; in getScopedAccessDenialsKey()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | DrmFactory.cpp | 31 bool DrmFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 32 return isClearKeyUUID(uuid); in isCryptoSchemeSupported() 42 const uint8_t uuid[16], android::DrmPlugin** plugin) { in createDrmPlugin() 43 if (!isCryptoSchemeSupported(uuid)) { in createDrmPlugin()
|
D | CryptoFactory.cpp | 33 bool CryptoFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) const { in isCryptoSchemeSupported() 34 return isClearKeyUUID(uuid); in isCryptoSchemeSupported() 38 const uint8_t uuid[16], in createPlugin() 41 if (!isCryptoSchemeSupported(uuid)) { in createPlugin()
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 53 int EffectProxyCreate(const effect_uuid_t *uuid, in EffectProxyCreate() argument 62 if (pHandle == NULL || uuid == NULL) { in EffectProxyCreate() 70 pContext->uuid = *uuid; in EffectProxyCreate() 84 int retValue = EffectGetSubEffects(uuid, sube, SUB_FX_COUNT); in EffectProxyCreate() 126 effect_uuid_t uuid_print = pContext->desc[SUB_FX_HOST].uuid; in EffectProxyCreate() 168 int EffectProxyGetDescriptor(const effect_uuid_t *uuid, in EffectProxyGetDescriptor() argument 172 if (pDescriptor == NULL || uuid == NULL) { in EffectProxyGetDescriptor() 216 &pContext->desc[SUB_FX_HOST].uuid, in Effect_command() 227 &pContext->desc[SUB_FX_OFFLOAD].uuid, in Effect_command() 353 pDescriptor->uuid = pContext->uuid; // Replace the uuid with the Proxy UUID in Effect_getDescriptor()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 63 public final UUID uuid; field in SoundTrigger.ModuleProperties 97 String uuid, int version, int maxSoundModels, int maxKeyphrases, in ModuleProperties() argument 104 this.uuid = UUID.fromString(uuid); in ModuleProperties() 132 String uuid = in.readString(); in fromParcel() local 143 return new ModuleProperties(id, implementor, description, uuid, version, in fromParcel() 154 dest.writeString(uuid.toString()); in writeToParcel() 175 + description + ", uuid=" + uuid + ", version=" + version + ", maxSoundModels=" in toString() 205 public final UUID uuid; field in SoundTrigger.SoundModel 216 public SoundModel(UUID uuid, UUID vendorUuid, int type, byte[] data) { in SoundModel() argument 217 this.uuid = uuid; in SoundModel() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaCrypto.cpp | 64 bool AMediaCrypto_isCryptoSchemeSupported(const AMediaUUID uuid) { in AMediaCrypto_isCryptoSchemeSupported() argument 69 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported() 82 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *data, size_t datasize) { in AMediaCrypto_new() argument 89 if (tmp->createPlugin(uuid, data, datasize) != 0) { in AMediaCrypto_new()
|
/frameworks/av/include/media/ |
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/libmedia/ |
D | ICrypto.cpp | 54 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) { in isCryptoSchemeSupported() 57 data.write(uuid, 16); in isCryptoSchemeSupported() 64 const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) { in createPlugin() 67 data.write(uuid, 16); in createPlugin() 225 uint8_t uuid[16]; in onTransact() local 226 data.read(uuid, sizeof(uuid)); in onTransact() 227 reply->writeInt32(isCryptoSchemeSupported(uuid)); in onTransact() 236 uint8_t uuid[16]; in onTransact() local 237 data.read(uuid, sizeof(uuid)); in onTransact() 247 reply->writeInt32(createPlugin(uuid, opaqueData, opaqueSize)); in onTransact()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 73 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() argument 78 mServiceUuid = uuid; in ScanFilter() 162 ParcelUuid uuid = in.readParcelable(ParcelUuid.class.getClassLoader()); 163 builder.setServiceUuid(uuid); 167 builder.setServiceUuid(uuid, uuidMask); 322 private boolean matchesServiceUuids(ParcelUuid uuid, ParcelUuid parcelUuidMask, in matchesServiceUuids() argument 324 if (uuid == null) { in matchesServiceUuids() 333 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids() 341 private boolean matchesServiceUuid(UUID uuid, UUID mask, UUID data) { in matchesServiceUuid() argument 343 return uuid.equals(data); in matchesServiceUuid() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 37 BaseSensor::BaseSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]) : in BaseSensor() 39 mSensor(sensor, Sensor::uuid_t(uuid), mSensorDevice.getHalDeviceVersion()) { in BaseSensor() 48 HardwareSensor::HardwareSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]): in HardwareSensor() 49 BaseSensor(sensor, uuid) { in HardwareSensor()
|