Searched defs:uuid (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DClearKeyUUID.cpp23 bool isClearKeyUUID(const uint8_t uuid[16]) { argument
29 return !memcmp(uuid, kClearKeyUUID, sizeof(kClearKeyUUID));
H A DDrmFactory.cpp31 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
H A DCryptoFactory.cpp33 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/av/include/ndk/
H A DNdkMediaExtractor.h131 * mapping of crypto scheme uuid to the scheme specific data for that scheme
134 AMediaUUID uuid; member in struct:PsshEntry
/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/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceInfo.java56 * @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 DEffectProxy.h33 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 DEffectProxy.cpp36 {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 DNdkMediaCrypto.cpp64 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/base/core/java/android/bluetooth/
H A DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { argument
50 mUuid = uuid;
H A DBluetoothServerSocket.java121 * @param uuid uuid
125 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
127 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
H A DBluetoothGattDescriptor.java124 * @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 DBluetoothGattServer.java350 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 DBluetoothGattService.java86 * 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...]
H A DBluetoothHeadsetClientCall.java82 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, UUID uuid, int state, argument
86 mUUID = uuid;
148 * @return call uuid
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java36 * @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/native/services/sensorservice/
H A DSensorInterface.cpp37 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/services/audiopolicy/service/
H A DAudioPolicyEffects.h91 EffectDesc(const char *name, const effect_uuid_t& uuid) : argument
93 mUuid(uuid) { }
H A DAudioPolicyEffects.cpp581 ALOGV("loadEffectConfig() adding effect %s uuid %08x",
654 effect_uuid_t uuid; local
655 if (AudioEffect::stringToGuid(node->value, &uuid) != NO_ERROR) {
656 ALOGW("loadEffect() invalid uuid %s", node->value);
659 return new EffectDesc(root->name, uuid);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLocalPreferences.java100 String packageName, @Nullable String uuid, String directory) {
101 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
106 @Nullable String uuid, String directory, @PermissionStatus int status) {
107 final String key = getScopedAccessDenialsKey(packageName, uuid, directory);
111 private static String getScopedAccessDenialsKey(String packageName, String uuid, argument
114 return uuid == null
116 : userId + "|" + packageName + "|" + uuid + "|" + directory;
99 getScopedAccessPermissionStatus(Context context, String packageName, @Nullable String uuid, String directory) argument
105 setScopedAccessPermissionStatus(Context context, String packageName, @Nullable String uuid, String directory, @PermissionStatus int status) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHardwareConfig.java77 * 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/drm/libmediadrm/
H A DCrypto.cpp71 * 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/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp37 {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 DICrypto.cpp54 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) { argument
57 data.write(uuid, 16);
64 const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) {
67 data.write(uuid, 16);
225 uint8_t uuid[16]; local
226 data.read(uuid, sizeof(uuid));
227 reply->writeInt32(isCryptoSchemeSupported(uuid));
236 uint8_t uuid[16]; local
237 data.read(uuid, sizeo
63 createPlugin( const uint8_t uuid[16], const void *opaqueData, size_t opaqueSize) argument
[all...]
/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h72 uint8_t uuid[16]; member in struct:android::MPEG4Extractor::PsshInfo

Completed in 1828 milliseconds

123