/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | UPnPServiceResponseListenerTest.java | 74 String uuid = "uuid:6859dede-8574-59ab-9332-123456789011"; in initialize() local 75 ALL_UPNP_SERVICES.add(new Argument(uuid)); in initialize() 76 ALL_UPNP_SERVICES.add(new Argument(uuid + in initialize() 78 ALL_UPNP_SERVICES.add(new Argument(uuid + in initialize() 80 ALL_UPNP_SERVICES.add(new Argument(uuid + in initialize() 82 ALL_UPNP_SERVICES.add(new Argument(uuid + in initialize() 85 UPNP_ROOT_DEVICE.add(new Argument(uuid + in initialize()
|
/cts/tests/tests/security/testeffect/ |
D | CTSTestEffect.cpp | 44 int CTSEffectsLib_Create(const effect_uuid_t *uuid, in CTSEffectsLib_Create() argument 48 if (pHandle == NULL || uuid == NULL) { in CTSEffectsLib_Create() 52 if (memcmp(uuid, &gCTSEffectsDescriptor.uuid, sizeof(effect_uuid_t)) != 0) { in CTSEffectsLib_Create() 77 int CTSEffectsLib_GetDescriptor(const effect_uuid_t *uuid, in CTSEffectsLib_GetDescriptor() argument 80 if (pDescriptor == NULL || uuid == NULL){ in CTSEffectsLib_GetDescriptor() 84 if (memcmp(uuid, &gCTSEffectsDescriptor.uuid, sizeof(effect_uuid_t)) == 0) { in CTSEffectsLib_GetDescriptor()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | AdvertiseDataTest.java | 88 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testEmptyServiceData() local 92 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData() 98 TestUtils.assertArrayEquals(new byte[0], dataFromParcel.getServiceData().get(uuid)); in testEmptyServiceData() 104 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceUuid() local 109 .addServiceUuid(uuid).addServiceUuid(uuid2).build(); in testServiceUuid() 115 assertTrue(dataFromParcel.getServiceUuids().contains(uuid)); in testServiceUuid() 122 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() local 130 .addServiceUuid(uuid).addServiceUuid(uuid2) in testManufacturerData() 145 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceData() local 150 .addServiceData(uuid, serviceData).build(); in testServiceData() [all …]
|
D | BluetoothLeScanTest.java | 174 ParcelUuid uuid = serviceData.keySet().iterator().next(); in createScanFilter() local 175 return new ScanFilter.Builder().setServiceData(uuid, new byte[]{0}, in createScanFilter()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 110 static bool isUuidSizeValid(Uuid uuid) { in isUuidSizeValid() argument 111 return (uuid.size() == kUuidSize); in isUuidSizeValid() 125 static Uuid jbyteArrayToUuid(JNIEnv* env, jbyteArray const &uuid) { in jbyteArrayToUuid() argument 128 if (uuid != NULL) { in jbyteArrayToUuid() 129 juuid = jbyteArrayToVector(env, uuid); in jbyteArrayToUuid() 135 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative() argument 137 if (NULL == uuid) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative() 142 Uuid juuid = jbyteArrayToUuid(env, uuid); in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative() 167 JNIEnv* env, jclass clazz, jbyteArray uuid, in Java_android_media_cts_NativeMediaDrmClearkeyTest_testGetPropertyStringNative() argument 170 if (NULL == uuid || NULL == name || NULL == outValue) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testGetPropertyStringNative() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NativeMediaDrmClearkeyTest.java | 122 private static final byte[] uuidByteArray(UUID uuid) { in uuidByteArray() argument 124 buffer.putLong(uuid.getMostSignificantBits()); in uuidByteArray() 125 buffer.putLong(uuid.getLeastSignificantBits()); in uuidByteArray() 274 private static native boolean isCryptoSchemeSupportedNative(final byte[] uuid); in isCryptoSchemeSupportedNative() argument 276 private static native boolean testClearKeyPlaybackNative(final byte[] uuid, in testClearKeyPlaybackNative() argument 279 private static native boolean testFindSessionIdNative(final byte[] uuid); in testFindSessionIdNative() argument 281 private static native boolean testGetPropertyStringNative(final byte[] uuid, in testGetPropertyStringNative() argument 284 private static native boolean testPropertyByteArrayNative(final byte[] uuid); in testPropertyByteArrayNative() argument 286 private static native boolean testPsshNative(final byte[] uuid, final String videoUrl); in testPsshNative() argument 288 private static native boolean testQueryKeyStatusNative(final byte[] uuid); in testQueryKeyStatusNative() argument
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 112 "pm move-package " + PKG + " " + vol.uuid)); in testApps() 185 getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid, out, 2, in verifyPrimaryInternal() 199 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " " + vol.uuid)); in verifyPrimaryInternal() 230 assertSuccess(getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid)); in verifyPrimaryPhysical() 262 new InstallMultiple().locationAuto().forceUuid(vol.uuid) in testPackageInstaller() 291 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addApk(APK).run(); in testEjected() 395 public String uuid; field in AdoptableHostTest.LocalVolumeInfo 401 uuid = split[2]; in LocalVolumeInfo()
|
D | BaseInstallMultiple.java | 107 T forceUuid(String uuid) { in forceUuid() argument 108 addArg("--force-uuid " + uuid); in forceUuid()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerService.java | 201 String uuid = ""; in onScanResult() local 203 uuid = BleAdvertiserService.SCANNABLE_UUID.toString(); in onScanResult() 207 uuid = BleAdvertiserService.UNSCANNABLE_UUID.toString(); in onScanResult() 210 if (uuid.length() > 0) { in onScanResult() 212 scanIntent.putExtra(EXTRA_UUID, uuid); in onScanResult()
|
D | BleCocClientService.java | 283 private void readCharacteristic(UUID uuid) { in readCharacteristic() argument 284 BluetoothGattCharacteristic characteristic = getCharacteristic(uuid); in readCharacteristic() 355 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 360 characteristic = service.getCharacteristic(uuid); in getCharacteristic() 474 for (ParcelUuid uuid : uuids) { 475 if (uuid.getUuid().equals(BleCocServerService.ADV_COC_SERVICE_UUID)) {
|
D | BleScannerHardwareScanFilterActivity.java | 99 String uuid = intent.getStringExtra(BleScannerService.EXTRA_UUID); 102 mAdapter.addItem(uuid + " : " + data);
|
D | BleClientService.java | 549 private void readCharacteristic(UUID uuid) { in readCharacteristic() argument 550 BluetoothGattCharacteristic characteristic = getCharacteristic(uuid); in readCharacteristic() 564 private void readDescriptor(UUID uuid) { in readDescriptor() argument 565 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor() 830 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 835 characteristic = service.getCharacteristic(uuid); in getCharacteristic() 1233 for (ParcelUuid uuid : uuids) { 1234 if (uuid.getUuid().equals(BleServerService.ADV_SERVICE_UUID)) {
|
D | BleAdvertiserService.java | 181 private AdvertiseData generateAdvertiseData(UUID uuid, byte[] data) { in generateAdvertiseData() argument 184 .addServiceData(new ParcelUuid(uuid), data) in generateAdvertiseData()
|
D | BleServerService.java | 589 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 590 BluetoothGattCharacteristic characteristic = mService.getCharacteristic(uuid); in getCharacteristic() 910 UUID uuid = service.getUuid(); 912 if (uuid.equals(mService.getUuid())) { 924 } else if (uuid.equals(SERVICE_UUID_INCLUDED)) { 927 } else if (uuid.equals(mAdditionalNotificationService.getUuid())) {
|
D | MessageTestActivity.java | 85 MessageTestActivity(boolean secure, boolean server, UUID uuid) { in MessageTestActivity() argument 88 mUuid = uuid; in MessageTestActivity()
|
D | BleConnectionPriorityClientService.java | 291 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument 296 characteristic = service.getCharacteristic(uuid); in getCharacteristic()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 940 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(subGroup); in testCreateAndRemoveSubscriptionGroup() local 943 List<SubscriptionInfo> infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup() 947 assertEquals(uuid, infoList.get(0).getGroupUuid()); in testCreateAndRemoveSubscriptionGroup() 951 mSubscriptionManager.removeSubscriptionsFromGroup(subGroup, uuid); in testCreateAndRemoveSubscriptionGroup() 952 infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup() 962 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(Arrays.asList(subId)); in testAddSubscriptionToExistingGroupForMultipleSims() local 975 mSubscriptionManager.addSubscriptionsIntoGroup(activeSubGroup, uuid); in testAddSubscriptionToExistingGroupForMultipleSims() 978 getSubscriptionIdList(mSubscriptionManager.getSubscriptionsInGroup(uuid)); in testAddSubscriptionToExistingGroupForMultipleSims() 983 removeSubscriptionsFromGroup(uuid); in testAddSubscriptionToExistingGroupForMultipleSims() 999 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(Arrays.asList(subId)); in testAddSubscriptionToExistingGroupForEsim() local [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 68 uint8_t uuid[16] = {0x10, 0x77, 0xef, 0xec, 0xc0, 0xb2, 0x4d, 0x02, in create_plugin() local 70 data.write(uuid, 16); in create_plugin()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 415 ParcelUuid uuid = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() local 419 List<SubscriptionInfo> infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission() 422 assertEquals(uuid, infoList.get(0).getGroupUuid()); in testSubscriptionGroupingWithPermission() 432 (sm) -> sm.addSubscriptionsIntoGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission() 434 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission() 439 (sm) -> sm.removeSubscriptionsFromGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission() 444 (sm) -> sm.removeSubscriptionsFromGroup(subGroup, uuid)); in testSubscriptionGroupingWithPermission() 446 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | BaseInstallMultiple.java | 101 T forceUuid(String uuid) { in forceUuid() argument 102 addArg("--force-uuid " + uuid); in forceUuid()
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | BaseInstallMultiple.java | 101 T forceUuid(String uuid) { in forceUuid() argument 102 addArg("--force-uuid " + uuid); in forceUuid()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | EffectBundleTest.java | 493 ae = (AudioEffect) ct.newInstance(descriptor.type, descriptor.uuid, in verifyZeroPVSizeRejectedForSetParameter() 497 Log.w(TAG, "Failed to create effect " + descriptor.uuid); in verifyZeroPVSizeRejectedForSetParameter() 531 assertTrue("Negative reply value expected, effect " + ae.getDescriptor().uuid + in executeSetParameter() 538 Log.w(TAG, "\"Set parameter\" command rejected for effect " + ae.getDescriptor().uuid + in executeSetParameter()
|
D | VisualizerEffectTest.java | 61 descriptors[visualizerIndex].uuid, 0, mp.getAudioSessionId()); in testVisualizer_MalformedConstructor()
|
D | AudioSecurityTest.java | 68 descriptor.uuid, // uuid overrides type in testAllEffects() 408 descriptor.type, descriptor.uuid, 0 /* priority */, in testVisualizerCapture_CVE_2017_0396()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 55 descriptor.uuid = *EFFECT_UUID_NULL; in main()
|