Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 40) 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()
125 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testServiceSolicitationUuids() local
130 .addServiceSolicitationUuid(uuid).addServiceSolicitationUuid(uuid2).build(); in testServiceSolicitationUuids()
136 assertTrue(dataFromParcel.getServiceSolicitationUuids().contains(uuid)); in testServiceSolicitationUuids()
143 ParcelUuid uuid = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testManufacturerData() local
[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/src/android/media/cts/
DDrmInitDataTest.java33 UUID uuid = new UUID(1, 1); in testSchemeInitDataConstructor() local
37 new DrmInitData.SchemeInitData(uuid, mimeType, data); in testSchemeInitDataConstructor()
38 assertSame(uuid, schemeInitData.uuid); in testSchemeInitDataConstructor()
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/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp113 static bool isUuidSizeValid(Uuid uuid) { in isUuidSizeValid() argument
114 return (uuid.size() == kUuidSize); in isUuidSizeValid()
128 static Uuid jbyteArrayToUuid(JNIEnv* env, jbyteArray const &uuid) { in jbyteArrayToUuid() argument
131 if (uuid != NULL) { in jbyteArrayToUuid()
132 juuid = jbyteArrayToVector(env, uuid); in jbyteArrayToUuid()
172 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative() argument
174 if (NULL == uuid) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative()
179 Uuid juuid = jbyteArrayToUuid(env, uuid); in Java_android_media_cts_NativeMediaDrmClearkeyTest_isCryptoSchemeSupportedNative()
204 JNIEnv* env, jclass clazz, jbyteArray uuid, in Java_android_media_cts_NativeMediaDrmClearkeyTest_testGetPropertyStringNative() argument
207 if (NULL == uuid || NULL == name || NULL == outValue) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testGetPropertyStringNative()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/
Dpoc.cpp97 const uint8_t uuid[16], in makeDrmPlugin()
100 factory->createPlugin(uuid, appPackageName.string(), in makeDrmPlugin()
111 const uint8_t uuid[16] = {0x10, 0x77, 0xef, 0xec, 0xc0, 0xb2, 0x4d, 0x02, in createPlugin() local
114 if (drmFactories[i]->isCryptoSchemeSupported(uuid)) { in createPlugin()
115 drmPlugin = makeDrmPlugin(drmFactories[i], uuid, String8("ele7enxxh")); in createPlugin()
/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.java282 private void readCharacteristic(UUID uuid) { in readCharacteristic() argument
283 BluetoothGattCharacteristic characteristic = getCharacteristic(uuid); in readCharacteristic()
354 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument
359 characteristic = service.getCharacteristic(uuid); in getCharacteristic()
473 for (ParcelUuid uuid : uuids) {
474 if (uuid.getUuid().equals(BleCocServerService.ADV_COC_SERVICE_UUID)) {
DBleScannerHardwareScanFilterActivity.java99 String uuid = intent.getStringExtra(BleScannerService.EXTRA_UUID);
102 mAdapter.addItem(uuid + " : " + data);
DBleClientService.java570 private void readCharacteristic(UUID uuid) { in readCharacteristic() argument
571 BluetoothGattCharacteristic characteristic = getCharacteristic(uuid); in readCharacteristic()
585 private void readDescriptor(UUID uuid) { in readDescriptor() argument
586 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor()
880 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument
885 characteristic = service.getCharacteristic(uuid); in getCharacteristic()
1296 for (ParcelUuid uuid : uuids) {
1297 if (uuid.getUuid().equals(BleServerService.ADV_SERVICE_UUID)) {
DBleAdvertiserService.java181 private AdvertiseData generateAdvertiseData(UUID uuid, byte[] data) { in generateAdvertiseData() argument
184 .addServiceData(new ParcelUuid(uuid), data) in generateAdvertiseData()
DBleServerService.java611 private BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic() argument
612 BluetoothGattCharacteristic characteristic = mService.getCharacteristic(uuid); in getCharacteristic()
948 UUID uuid = service.getUuid();
950 if (uuid.equals(mService.getUuid())) {
962 } else if (uuid.equals(SERVICE_UUID_INCLUDED)) {
965 } else if (uuid.equals(mAdditionalNotificationService.getUuid())) {
967 } else if (uuid.equals(mServiceChangedService.getUuid())) {
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java174 "pm move-package " + PKG + " " + vol.uuid)); in testApps()
240 getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid, out, 2, in verifyPrimaryInternal()
259 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " " + vol.uuid)); in verifyPrimaryInternal()
293 assertSuccess(getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid)); in verifyPrimaryPhysical()
329 new InstallMultiple().locationAuto().forceUuid(vol.uuid) in testPackageInstaller()
358 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addFile(APK).run(); in testEjected()
510 public String uuid; field in AdoptableHostTest.LocalVolumeInfo
516 uuid = split[2]; in LocalVolumeInfo()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java1055 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(subGroup); in testCreateAndRemoveSubscriptionGroup() local
1058 List<SubscriptionInfo> infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup()
1062 assertThat(infoList.get(0).getGroupUuid()).isEqualTo(uuid); in testCreateAndRemoveSubscriptionGroup()
1066 mSubscriptionManager.removeSubscriptionsFromGroup(subGroup, uuid); in testCreateAndRemoveSubscriptionGroup()
1067 infoList = mSubscriptionManager.getSubscriptionsInGroup(uuid); in testCreateAndRemoveSubscriptionGroup()
1083 ParcelUuid uuid = ShellIdentityUtils.invokeMethodWithShellPermissions(mSubscriptionManager, in testAddSubscriptionToExistingGroupForMultipleSims()
1095 (sm) -> sm.addSubscriptionsIntoGroup(activeSubGroup, uuid)); in testAddSubscriptionToExistingGroupForMultipleSims()
1099 (sm) -> getSubscriptionIdList(sm.getSubscriptionsInGroup(uuid))); in testAddSubscriptionToExistingGroupForMultipleSims()
1105 removeSubscriptionsFromGroup(uuid); in testAddSubscriptionToExistingGroupForMultipleSims()
1120 ParcelUuid uuid = mSubscriptionManager.createSubscriptionGroup(Arrays.asList(subId)); in testAddSubscriptionToExistingGroupForEsim()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java596 ParcelUuid uuid = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() local
600 List<SubscriptionInfo> infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
606 (sm) -> sm.getSubscriptionsInGroup(uuid)); in testSubscriptionGroupingWithPermission()
609 assertEquals(uuid, infoList.get(0).getGroupUuid()); in testSubscriptionGroupingWithPermission()
627 (sm) -> sm.addSubscriptionsIntoGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
629 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
634 (sm) -> sm.removeSubscriptionsFromGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
639 (sm) -> sm.removeSubscriptionsFromGroup(subGroup, uuid)); in testSubscriptionGroupingWithPermission()
641 infoList = mSm.getSubscriptionsInGroup(uuid); in testSubscriptionGroupingWithPermission()
653 ParcelUuid uuid = new ParcelUuid(UUID.randomUUID()); in testAddSubscriptionIntoNewGroupWithPermission() local
[all …]
/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/securitybulletin/securityPatch/CVE-2017-13253/
Dpoc.cpp97 const uint8_t uuid[16] = {0x10, 0x77, 0xef, 0xec, 0xc0, 0xb2, 0x4d, 0x02, in main() local
102 for (const auto &plugin : DrmUtils::MakeCryptoPlugins(uuid, nullptr, 0)) { in main()
/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.java492 ae = (AudioEffect) ct.newInstance(descriptor.type, descriptor.uuid, in verifyZeroPVSizeRejectedForSetParameter()
496 Log.w(TAG, "Failed to create effect " + descriptor.uuid); in verifyZeroPVSizeRejectedForSetParameter()
530 assertTrue("Negative reply value expected, effect " + ae.getDescriptor().uuid + in executeSetParameter()
537 Log.w(TAG, "\"Set parameter\" command rejected for effect " + ae.getDescriptor().uuid + in executeSetParameter()
DVisualizerEffectTest.java60 descriptors[visualizerIndex].uuid, 0, mp.getAudioSessionId()); in testVisualizer_MalformedConstructor()
DAudioSecurityTest.java67 descriptor.uuid, // uuid overrides type in testAllEffects()
407 descriptor.type, descriptor.uuid, 0 /* priority */, in testVisualizerCapture_CVE_2017_0396()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/
Dpoc.cpp65 descriptor.uuid = *EFFECT_UUID_NULL; in main()

12