/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleServerService.java | 598 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 …]
|
D | BleEncryptedServerService.java | 278 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 …]
|
D | BleClientService.java | 557 BluetoothGattDescriptor descriptor = getDescriptor(uid); in writeDescriptor() local 558 if (descriptor != null) { in writeDescriptor() 559 descriptor.setValue(writeValue.getBytes()); in writeDescriptor() 560 mBluetoothGatt.writeDescriptor(descriptor); in writeDescriptor() 565 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor() local 566 if (descriptor != null) { in readDescriptor() 567 mBluetoothGatt.readDescriptor(descriptor); in readDescriptor() 572 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid); in writeDescriptor() local 573 if (descriptor != null) { in writeDescriptor() 574 descriptor.setValue(writeValue.getBytes()); in writeDescriptor() [all …]
|
D | BleEncryptedClientService.java | 241 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 …]
|
D | BleConnectionPriorityServerService.java | 240 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/ |
D | VpnServiceTest.java | 49 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/ |
D | AudioSecurityTest.java | 62 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()
|
D | VisualizerEffectTest.java | 50 AudioEffect.Descriptor descriptor = descriptors[i]; in testVisualizer_MalformedConstructor() local 51 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) == 0) { in testVisualizer_MalformedConstructor()
|
D | EffectBundleTest.java | 468 for (AudioEffect.Descriptor descriptor : AudioEffect.queryEffects()) { in verifyZeroPVSizeRejectedForSetParameter() 469 if (descriptor.type.compareTo(effectType) != 0) continue; in verifyZeroPVSizeRejectedForSetParameter() 479 ae = (AudioEffect) ct.newInstance(descriptor.type, descriptor.uuid, in verifyZeroPVSizeRejectedForSetParameter() 483 Log.w(TAG, "Failed to create effect " + descriptor.uuid); in verifyZeroPVSizeRejectedForSetParameter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | VpnTestActivity.java | 54 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/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | MetricsUtils.java | 91 Descriptor descriptor = bucketInfo.getDescriptorForType(); in assertBucketTimePresent() local 93 FieldDescriptor bucketNum = descriptor.findFieldByName("bucket_num"); in assertBucketTimePresent() 94 FieldDescriptor startMillis = descriptor.findFieldByName("start_bucket_elapsed_millis"); in assertBucketTimePresent() 95 FieldDescriptor endMillis = descriptor.findFieldByName("end_bucket_elapsed_millis"); in assertBucketTimePresent()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileParser.java | 133 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/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BootClassPathClassesProvider.java | 42 .map(descriptor -> { in getAllClasses() 43 String classname = descriptor.replace('/', '.'); in getAllClasses()
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 104 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jstring descriptor) { in Java_android_jvmti_JvmtiActivity_didSeeLoadOf() argument 106 ScopedUtfChars str(env, descriptor); in Java_android_jvmti_JvmtiActivity_didSeeLoadOf()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTestCase.java | 106 final AssetFileDescriptor descriptor = in readTypedFully() local 109 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) { in readTypedFully()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2555 final ParcelFileDescriptor descriptor = ParcelFileDescriptor.open(file, 2569 savePrintedPage(adapter, descriptor, pageRanges, result); 2582 descriptor.close(); 2607 final ParcelFileDescriptor descriptor = ParcelFileDescriptor.open(file, 2623 savePrintedPage(adapter, descriptor, pageRanges, result); 2633 descriptor.close(); 2866 final ParcelFileDescriptor descriptor, final PageRange[] pageRanges, 2868 adapter.onWrite(pageRanges, descriptor, 2874 descriptor.close();
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessengerTest.java | 74 public IInterface queryLocalInterface(String descriptor) {
|
/cts/tools/dasm/src/dasm/ |
D | DAsm.java | 392 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()
|