Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseDataTest.java88 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 …]
DBluetoothLeScanTest.java169 ParcelUuid uuid = serviceData.keySet().iterator().next(); in createScanFilter() local
170 return new ScanFilter.Builder().setServiceData(uuid, new byte[]{0}, in createScanFilter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DUPnPServiceResponseListenerTest.java74 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/
DCTSTestEffect.cpp44 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/media/libmediandkjni/
Dnative-mediadrm-jni.cpp110 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/
DNativeMediaDrmClearkeyTest.java122 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/
DAdoptableHostTest.java112 "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()
DBaseInstallMultiple.java107 T forceUuid(String uuid) { in forceUuid() argument
108 addArg("--force-uuid " + uuid); in forceUuid()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java560 ParcelUuid uuid = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() local
564 List<SubscriptionInfo> infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
567 assertEquals(uuid, infoList.get(0).getGroupUuid()); in testSubscriptionGroupingWithPermission()
577 (sm) -> sm.addSubscriptionsIntoGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
579 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
584 (sm) -> sm.removeSubscriptionsFromGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
589 (sm) -> sm.removeSubscriptionsFromGroup(subGroup, uuid)); in testSubscriptionGroupingWithPermission()
591 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
603 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAddSubscriptionIntoNewGroupWithPermission() local
605 (sm) -> sm.addSubscriptionsIntoGroup(subGroup, uuid)); in testAddSubscriptionIntoNewGroupWithPermission()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java996 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(subGroup); in testCreateAndRemoveSubscriptionGroup() local
999 List<SubscriptionInfo> infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup()
1003 assertEquals(uuid, infoList.get(0).getGroupUuid()); in testCreateAndRemoveSubscriptionGroup()
1007 mSubscriptionManager.removeSubscriptionsFromGroup(subGroup, uuid); in testCreateAndRemoveSubscriptionGroup()
1008 infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup()
1019 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(Arrays.asList(subId)); in testAddSubscriptionToExistingGroupForMultipleSims()
1032 mSubscriptionManager.addSubscriptionsIntoGroup(activeSubGroup, uuid); in testAddSubscriptionToExistingGroupForMultipleSims()
1035 getSubscriptionIdList(mSubscriptionManager.getSubscriptionsInGroup(uuid)); in testAddSubscriptionToExistingGroupForMultipleSims()
1040 removeSubscriptionsFromGroup(uuid); in testAddSubscriptionToExistingGroupForMultipleSims()
1057 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(Arrays.asList(subId)); in testAddSubscriptionToExistingGroupForEsim()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerService.java201 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()
DBleCocClientService.java283 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)) {
DBleClientService.java549 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)) {
DBleScannerHardwareScanFilterActivity.java99 String uuid = intent.getStringExtra(BleScannerService.EXTRA_UUID);
102 mAdapter.addItem(uuid + " : " + data);
DBleAdvertiserService.java181 private AdvertiseData generateAdvertiseData(UUID uuid, byte[] data) { in generateAdvertiseData() argument
184 .addServiceData(new ParcelUuid(uuid), data) in generateAdvertiseData()
DBleServerService.java589 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())) {
DMessageTestActivity.java85 MessageTestActivity(boolean secure, boolean server, UUID uuid) { in MessageTestActivity() argument
88 mUuid = uuid; in MessageTestActivity()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp68 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/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java101 T forceUuid(String uuid) { in forceUuid() argument
102 addArg("--force-uuid " + uuid); in forceUuid()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java101 T forceUuid(String uuid) { in forceUuid() argument
102 addArg("--force-uuid " + uuid); in forceUuid()
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java493 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()
DVisualizerEffectTest.java61 descriptors[visualizerIndex].uuid, 0, mp.getAudioSessionId()); in testVisualizer_MalformedConstructor()
DAudioSecurityTest.java68 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/
Dpoc.cpp55 descriptor.uuid = *EFFECT_UUID_NULL; in main()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java206 final String uuid = volume.getUuid(); in testGetPrimaryVolume() local
211 assertNull("Should not have uuid", uuid); in testGetPrimaryVolume()
214 assertNotNull("Should have uuid", uuid); in testGetPrimaryVolume()
272 final UUID uuid = mStorageManager.getUuidForPath(file); in assertNoUuid() local
273 fail("Unexpected UUID " + uuid + " for " + file); in assertNoUuid()

12