/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetectionService.java | 92 private void setClient(@NonNull UUID uuid, @Nullable Bundle params, in setClient() argument 94 if (DEBUG) Log.i(LOG_TAG, uuid + ": handle setClient"); in setClient() 97 mClients.put(uuid, client); in setClient() 99 onConnected(uuid, params); in setClient() 102 private void removeClient(@NonNull UUID uuid, @Nullable Bundle params) { in removeClient() argument 103 if (DEBUG) Log.i(LOG_TAG, uuid + ": handle removeClient"); in removeClient() 106 mClients.remove(uuid); in removeClient() 108 onDisconnected(uuid, params); in removeClient() 121 public void onConnected(@NonNull UUID uuid, @Nullable Bundle params) { in onConnected() argument 138 public void onDisconnected(@NonNull UUID uuid, @Nullable Bundle params) { in onDisconnected() argument [all …]
|
D | ISoundTriggerDetectionService.aidl | 30 …void setClient(in ParcelUuid uuid, in Bundle params, in ISoundTriggerDetectionServiceClient client… in setClient() argument 31 void removeClient(in ParcelUuid uuid); in removeClient() argument 32 …void onGenericRecognitionEvent(in ParcelUuid uuid, int opId, in SoundTrigger.GenericRecognitionEve… in onGenericRecognitionEvent() argument 33 void onError(in ParcelUuid uuid, int opId, int status); in onError() argument 34 void onStopOperation(in ParcelUuid uuid, int opId); in onStopOperation() argument
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactoryState.c | 32 const effect_uuid_t *uuid, in findEffect() argument 51 if (uuid != NULL && memcmp(&d->uuid, uuid, sizeof(effect_uuid_t)) == 0) { in findEffect() 73 int stringToUuid(const char *str, effect_uuid_t *uuid) in stringToUuid() argument 81 uuid->timeLow = (uint32_t)tmp[0]; in stringToUuid() 82 uuid->timeMid = (uint16_t)tmp[1]; in stringToUuid() 83 uuid->timeHiAndVersion = (uint16_t)tmp[2]; in stringToUuid() 84 uuid->clockSeq = (uint16_t)tmp[3]; in stringToUuid() 85 uuid->node[0] = (uint8_t)tmp[4]; in stringToUuid() 86 uuid->node[1] = (uint8_t)tmp[5]; in stringToUuid() 87 uuid->node[2] = (uint8_t)tmp[6]; in stringToUuid() [all …]
|
D | EffectsFactory.c | 57 static int findSubEffect(const effect_uuid_t *uuid, 236 int EffectGetDescriptor(const effect_uuid_t *uuid, effect_descriptor_t *pDescriptor) in EffectGetDescriptor() argument 245 if (pDescriptor == NULL || uuid == NULL) { in EffectGetDescriptor() 249 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor() 257 int doEffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, int32_t deviceId, in doEffectCreate() argument 267 if (uuid == NULL || pHandle == NULL) { in doEffectCreate() 272 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, in doEffectCreate() 273 uuid->clockSeq, uuid->node[0], uuid->node[1], uuid->node[2], in doEffectCreate() 274 uuid->node[3], uuid->node[4], uuid->node[5]); in doEffectCreate() 285 ret = findEffect(NULL, uuid, &l, &d); in doEffectCreate() [all …]
|
/frameworks/av/media/libeffects/data/ |
D | audio_effects.conf | 93 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 97 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 101 uuid ce772f20-847d-11df-bb17-0002a5d5c51b 105 uuid 119341a0-8469-11df-81f9-0002a5d5c51b 109 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b 113 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b 117 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b 121 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b 125 uuid d069d9e0-8329-11df-9168-0002a5d5c51b 129 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f [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 66 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] sessionId) throws MediaCryptoException { in MediaCrypto() argument 67 native_setup(getByteArrayFromUUID(uuid), sessionId); in MediaCrypto() 99 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup() argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.h | 32 memset(this->uuid, 0, sizeof(uuid)); in DrmUUID() 37 memcpy(this->uuid, a.uuid, sizeof(uuid)); in DrmUUID() 42 memcpy(this->uuid, uuid_in, sizeof(uuid)); in DrmUUID() 46 return uuid; in ptr() 50 return arrayToHex(uuid, UUID_SIZE); in toHexString() 67 uint8_t uuid[UUID_SIZE]; 84 static sp<ICrypto> createCryptoAndPlugin(const uint8_t uuid[16],
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothUuid.java | 207 for (ParcelUuid uuid : uuidB) { in containsAnyUuid() 208 if (uuidSet.contains(uuid)) return true; in containsAnyUuid() 222 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid() local 223 long value = (uuid.getMostSignificantBits() & 0xFFFFFFFF00000000L) >>> 32; in getServiceIdentifierFromParcelUuid() 285 public static byte[] uuidToBytes(ParcelUuid uuid) { in uuidToBytes() argument 286 if (uuid == null) { in uuidToBytes() 290 if (is16BitUuid(uuid)) { in uuidToBytes() 292 int uuidVal = getServiceIdentifierFromParcelUuid(uuid); in uuidToBytes() 298 if (is32BitUuid(uuid)) { in uuidToBytes() 300 int uuidVal = getServiceIdentifierFromParcelUuid(uuid); in uuidToBytes() [all …]
|
D | BluetoothGattDescriptor.java | 136 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor() argument 137 initDescriptor(null, uuid, 0, permissions); in BluetoothGattDescriptor() 148 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument 150 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor() 156 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor() argument 157 initDescriptor(null, uuid, instance, permissions); in BluetoothGattDescriptor() 160 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument 163 mUuid = uuid; in initDescriptor()
|
D | BluetoothGattService.java | 107 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() argument 109 mUuid = uuid; in BluetoothGattService() 121 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService() argument 124 mUuid = uuid; in BluetoothGattService() 136 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument 138 mUuid = uuid; in BluetoothGattService() 255 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic() argument 257 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 365 public BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 367 if (uuid.equals(characteristic.getUuid())) { in getCharacteristic()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 21 void createUserData(@nullable @utf8InCpp String uuid, int userId, int userSerial, int flags); in createUserData() argument 22 void destroyUserData(@nullable @utf8InCpp String uuid, int userId, int flags); in destroyUserData() argument 24 long createAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in createAppData() argument 29 void restoreconAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in restoreconAppData() argument 31 void migrateAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in migrateAppData() argument 33 void clearAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in clearAppData() argument 35 void destroyAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in destroyAppData() argument 38 void fixupAppData(@nullable @utf8InCpp String uuid, int flags); in fixupAppData() argument 40 long[] getAppSize(@nullable @utf8InCpp String uuid, in @utf8InCpp String[] packageNames, in getAppSize() argument 43 long[] getUserSize(@nullable @utf8InCpp String uuid, int userId, int flags, in int[] appIds); in getUserSize() argument [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/native/cmds/installd/ |
D | QuotaUtils.cpp | 38 std::string& FindQuotaDeviceForUuid(const std::string& uuid) { in FindQuotaDeviceForUuid() argument 40 auto path = create_data_path(uuid.empty() ? nullptr : uuid.c_str()); in FindQuotaDeviceForUuid() 76 bool IsQuotaSupported(const std::string& uuid) { in IsQuotaSupported() argument 77 return !FindQuotaDeviceForUuid(uuid).empty(); in IsQuotaSupported() 80 int64_t GetOccupiedSpaceForUid(const std::string& uuid, uid_t uid) { in GetOccupiedSpaceForUid() argument 81 const std::string device = FindQuotaDeviceForUuid(uuid); in GetOccupiedSpaceForUid() 100 int64_t GetOccupiedSpaceForProjectId(const std::string& uuid, int projectId) { in GetOccupiedSpaceForProjectId() argument 101 const std::string device = FindQuotaDeviceForUuid(uuid); in GetOccupiedSpaceForProjectId() 120 int64_t GetOccupiedSpaceForGid(const std::string& uuid, gid_t gid) { in GetOccupiedSpaceForGid() argument 121 const std::string device = FindQuotaDeviceForUuid(uuid); in GetOccupiedSpaceForGid()
|
D | InstalldNativeService.cpp | 163 binder::Status checkArgumentUuid(const std::optional<std::string>& uuid) { in checkArgumentUuid() argument 164 if (!uuid || is_valid_filename(*uuid)) { in checkArgumentUuid() 168 StringPrintf("UUID %s is malformed", uuid->c_str())); in checkArgumentUuid() 172 binder::Status checkArgumentUuidTestOrNull(const std::optional<std::string>& uuid) { in checkArgumentUuidTestOrNull() argument 173 if (!uuid || strcmp(uuid->c_str(), kTestUuid) == 0) { in checkArgumentUuidTestOrNull() 177 StringPrintf("UUID must be null or \"%s\", got: %s", kTestUuid, uuid->c_str())); in checkArgumentUuidTestOrNull() 226 #define CHECK_ARGUMENT_UUID(uuid) { \ argument 227 binder::Status status = checkArgumentUuid((uuid)); \ 233 #define CHECK_ARGUMENT_UUID_IS_TEST_OR_NULL(uuid) { \ argument 234 auto status = checkArgumentUuidTestOrNull(uuid); \ [all …]
|
D | InstalldNativeService.h | 43 binder::Status createUserData(const std::optional<std::string>& uuid, int32_t userId, 45 binder::Status destroyUserData(const std::optional<std::string>& uuid, int32_t userId, 53 binder::Status createAppData(const std::optional<std::string>& uuid, 56 binder::Status restoreconAppData(const std::optional<std::string>& uuid, 59 binder::Status migrateAppData(const std::optional<std::string>& uuid, 61 binder::Status clearAppData(const std::optional<std::string>& uuid, 63 binder::Status destroyAppData(const std::optional<std::string>& uuid, 66 binder::Status fixupAppData(const std::optional<std::string>& uuid, int32_t flags); 80 binder::Status getAppSize(const std::optional<std::string>& uuid, 84 binder::Status getUserSize(const std::optional<std::string>& uuid, [all …]
|
D | QuotaUtils.h | 30 bool IsQuotaSupported(const std::string& uuid); 33 int64_t GetOccupiedSpaceForUid(const std::string& uuid, uid_t uid); 36 int64_t GetOccupiedSpaceForGid(const std::string& uuid, gid_t gid); 39 int64_t GetOccupiedSpaceForProjectId(const std::string& uuid, int projectId);
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 77 public boolean isQuotaSupported(String uuid) { in isQuotaSupported() argument 78 return isQuotaSupported(convert(uuid)); in isQuotaSupported() 120 public long getTotalBytes(String uuid) throws IOException { in getTotalBytes() argument 121 return getTotalBytes(convert(uuid)); in getTotalBytes() 152 public long getFreeBytes(String uuid) throws IOException { in getFreeBytes() argument 153 return getFreeBytes(convert(uuid)); in getFreeBytes() 170 public long getCacheBytes(String uuid) throws IOException { in getCacheBytes() argument 171 return getCacheBytes(convert(uuid)); in getCacheBytes() 221 public StorageStats queryStatsForPackage(String uuid, String packageName, in queryStatsForPackage() argument 223 return queryStatsForPackage(convert(uuid), packageName, user); in queryStatsForPackage() [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/av/media/libeffects/config/src/ |
D | EffectsConfig.cpp | 61 bool stringToUuid(const char *str, effect_uuid_t *uuid) in stringToUuid() argument 69 uuid->timeLow = (uint32_t)tmp[0]; in stringToUuid() 70 uuid->timeMid = (uint16_t)tmp[1]; in stringToUuid() 71 uuid->timeHiAndVersion = (uint16_t)tmp[2]; in stringToUuid() 72 uuid->clockSeq = (uint16_t)tmp[3]; in stringToUuid() 73 uuid->node[0] = (uint8_t)tmp[4]; in stringToUuid() 74 uuid->node[1] = (uint8_t)tmp[5]; in stringToUuid() 75 uuid->node[2] = (uint8_t)tmp[6]; in stringToUuid() 76 uuid->node[3] = (uint8_t)tmp[7]; in stringToUuid() 77 uuid->node[4] = (uint8_t)tmp[8]; in stringToUuid() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 175 public long createAppData(String uuid, String packageName, int userId, int flags, int appId, in createAppData() argument 179 return mInstalld.createAppData(uuid, packageName, userId, flags, appId, seInfo, in createAppData() 186 public void restoreconAppData(String uuid, String packageName, int userId, int flags, int appId, in restoreconAppData() argument 190 mInstalld.restoreconAppData(uuid, packageName, userId, flags, appId, seInfo); in restoreconAppData() 196 public void migrateAppData(String uuid, String packageName, int userId, int flags) in migrateAppData() argument 200 mInstalld.migrateAppData(uuid, packageName, userId, flags); in migrateAppData() 206 public void clearAppData(String uuid, String packageName, int userId, int flags, in clearAppData() argument 210 mInstalld.clearAppData(uuid, packageName, userId, flags, ceDataInode); in clearAppData() 216 public void destroyAppData(String uuid, String packageName, int userId, int flags, in destroyAppData() argument 220 mInstalld.destroyAppData(uuid, packageName, userId, flags, ceDataInode); in destroyAppData() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ParcelUuid.java | 38 public ParcelUuid(UUID uuid) { in ParcelUuid() argument 39 mUuid = uuid; in ParcelUuid() 53 public static ParcelUuid fromString(String uuid) { in fromString() argument 54 return new ParcelUuid(UUID.fromString(uuid)); in fromString() 118 UUID uuid = new UUID(mostSigBits, leastSigBits); 119 return new ParcelUuid(uuid);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | DrmFactory.cpp | 41 const hidl_array<uint8_t, 16>& uuid) { in isCryptoSchemeSupported() argument 42 return clearkeydrm::isClearKeyUUID(uuid.data()); in isCryptoSchemeSupported() 45 Return<bool> DrmFactory::isCryptoSchemeSupported_1_2(const hidl_array<uint8_t, 16>& uuid, in isCryptoSchemeSupported_1_2() argument 48 return isCryptoSchemeSupported(uuid) && isContentTypeSupported(mimeType) && in isCryptoSchemeSupported_1_2() 63 const hidl_array<uint8_t, 16>& uuid, in createPlugin() argument 69 if (!isCryptoSchemeSupported(uuid.data())) { in createPlugin()
|
/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() 85 const uint8_t uuid[16], const void *initData, size_t initSize) { in MakeCrypto() 92 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 110 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported() 117 return crypto->isCryptoSchemeSupported(uuid); in IsCryptoSchemeSupported() 195 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_native_setup() local 206 env, thiz, (const uint8_t *)uuid, initData, initDataLength); in android_media_MediaCrypto_native_setup() 215 env->ReleaseByteArrayElements(uuidObj, uuid, 0); in android_media_MediaCrypto_native_setup() 216 uuid = NULL; in android_media_MediaCrypto_native_setup() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | AudioEffect.cpp | 46 const effect_uuid_t *uuid, in AudioEffect() argument 57 mStatus = set(type, uuid, priority, cbf, user, sessionId, io, device); in AudioEffect() 74 effect_uuid_t uuid; in AudioEffect() local 86 if (stringToGuid(uuidStr, &uuid) == NO_ERROR) { in AudioEffect() 87 pUuid = &uuid; in AudioEffect() 96 const effect_uuid_t *uuid, in set() argument 125 if (type == NULL && uuid == NULL) { in set() 137 mDescriptor.uuid = *(uuid != NULL ? uuid : EFFECT_UUID_NULL); in set() 149 guidToString(uuid, uuidBuffer, sizeof(uuidBuffer)); in set() 152 uuid != nullptr ? uuidBuffer : "NULL", in set() [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()
|