Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java598 BluetoothGattDescriptor descriptor = null; in getDescriptor() local
602 descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); in getDescriptor()
603 if (descriptor == null) { in getDescriptor()
607 return descriptor; in getDescriptor()
620 … BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11); in createAdditionalNotificationService() local
621 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
622 notiCharacteristic.addDescriptor(descriptor); in createAdditionalNotificationService()
628 descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11); in createAdditionalNotificationService()
629 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
630 notiCharacteristic.addDescriptor(descriptor); in createAdditionalNotificationService()
[all …]
DBleEncryptedServerService.java278 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); in createService() local
279 characteristic.addDescriptor(descriptor); in createService()
282 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID, 0x02); in createService()
283 characteristic.addDescriptor(descriptor); in createService()
284 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_ENCRYPTED_WRITE_UUID, 0x20); in createService()
285 characteristic.addDescriptor(descriptor); in createService()
290 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); in createService()
291 characteristic.addDescriptor(descriptor); in createService()
294 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); in createService()
295 characteristic.addDescriptor(descriptor); in createService()
[all …]
DBleClientService.java554 BluetoothGattDescriptor descriptor = getDescriptor(uid); in writeDescriptor() local
555 if (descriptor != null) { in writeDescriptor()
556 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
557 mBluetoothGatt.writeDescriptor(descriptor); in writeDescriptor()
562 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor() local
563 if (descriptor != null) { in readDescriptor()
564 mBluetoothGatt.readDescriptor(descriptor); in readDescriptor()
569 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid); in writeDescriptor() local
570 if (descriptor != null) { in writeDescriptor()
571 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
[all …]
DBleEncryptedClientService.java241 BluetoothGattDescriptor descriptor = null; in getDescriptor() local
245 descriptor = characteristic.getDescriptor(uid); in getDescriptor()
246 if (descriptor == null) { in getDescriptor()
250 return descriptor; in getDescriptor()
264 BluetoothGattDescriptor descriptor; in startEncryptedAction() local
279 descriptor = getDescriptor(DESCRIPTOR_ENCRYPTED_WRITE_UUID); in startEncryptedAction()
280 descriptor.setValue(WRITE_VALUE.getBytes()); in startEncryptedAction()
281 mBluetoothGatt.writeDescriptor(descriptor); in startEncryptedAction()
285 descriptor = getDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID); in startEncryptedAction()
286 mBluetoothGatt.readDescriptor(descriptor); in startEncryptedAction()
[all …]
DBleConnectionPriorityServerService.java240 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); in createService() local
241 characteristic.addDescriptor(descriptor); in createService()
244 characteristic.addDescriptor(descriptor); in createService()
247 characteristic.addDescriptor(descriptor); in createService()
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java49 ParcelFileDescriptor descriptor = null; in testEstablish() local
52 descriptor = mVpnService.new Builder().addAddress("8.8.8.8", 30).establish(); in testEstablish()
53 assertNull(descriptor); in testEstablish()
56 descriptor.close(); in testEstablish()
93 ParcelFileDescriptor descriptor = ParcelFileDescriptor.fromDatagramSocket(socket); in testProtect_int() local
96 assertFalse(mVpnService.protect(descriptor.getFd())); in testProtect_int()
99 descriptor.close(); in testProtect_int()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java62 for (AudioEffect.Descriptor descriptor : AudioEffect.queryEffects()) { in testAllEffects()
67 descriptor.type, in testAllEffects()
68 descriptor.uuid, // uuid overrides type in testAllEffects()
71 Log.w(TAG, "effect " + testName + " " + descriptor.name in testAllEffects()
77 Log.d(TAG, "effect " + testName + " " + descriptor.name + " success"); in testAllEffects()
79 Log.e(TAG, "effect " + testName + " " + descriptor.name + " exception failed!", in testAllEffects()
83 Log.e(TAG, "effect " + testName + " " + descriptor.name + " assert failed!", in testAllEffects()
370 for (AudioEffect.Descriptor descriptor : AudioEffect.queryEffects()) { in testVisualizerCapture_CVE_2017_0396()
371 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) != 0) { in testVisualizerCapture_CVE_2017_0396()
403 descriptor.type, descriptor.uuid, 0 /* priority */, in testVisualizerCapture_CVE_2017_0396()
DVisualizerEffectTest.java50 AudioEffect.Descriptor descriptor = descriptors[i]; in testVisualizer_MalformedConstructor() local
51 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) == 0) { in testVisualizer_MalformedConstructor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DVpnTestActivity.java54 private ParcelFileDescriptor descriptor = null; field in VpnTestActivity
105 descriptor = service.new Builder().addAddress("8.8.8.8", 30).establish(); in establishVpn()
106 if (descriptor == null) { in establishVpn()
115 descriptor.close(); in establishVpn()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java133 String name, String descriptor) { in processFileBytes()
137 + ",desc: " + descriptor); in processFileBytes()
153 String name, String descriptor, Member member) { in processFileBytes()
156 + descriptor); in processFileBytes()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java102 final AssetFileDescriptor descriptor = in readTypedFully() local
105 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) { in readTypedFully()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java74 public IInterface queryLocalInterface(String descriptor) {
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2540 final ParcelFileDescriptor descriptor = ParcelFileDescriptor.open(file,
2553 savePrintedPage(adapter, descriptor, result);
2566 descriptor.close();
2650 final ParcelFileDescriptor descriptor, final FutureTask<Boolean> result) {
2651 adapter.onWrite(new PageRange[] {PageRange.ALL_PAGES}, descriptor,
2657 descriptor.close();
/cts/tools/dasm/src/dasm/
DDAsm.java392 void newMethod(String name, String descriptor, int access) { in newMethod() argument
394 System.out.println("newMethod(" + name + ", " + descriptor + ", " in newMethod()
405 method_nat = new CstNat(new CstString(name), new CstString(descriptor)); in newMethod()
/cts/tools/dex-tools/dex/
Dclasses.out.dex6256 public static final java.lang.String descriptor
7125 public static final java.lang.String descriptor
17808 public static final java.lang.String descriptor
18731 public static final java.lang.String descriptor
26994 public static final java.lang.String descriptor
56697 public static final java.lang.String descriptor
Dclasses0.out.dex10924 int descriptor