Home
last modified time | relevance | path

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

/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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java165 BluetoothGattDescriptor descriptor = getDescriptor(); in writeDescriptor() local
166 if (descriptor == null) return; in writeDescriptor()
167 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
168 mBluetoothGatt.writeDescriptor(descriptor); in writeDescriptor()
172 BluetoothGattDescriptor descriptor = getDescriptor(); in readDescriptor() local
173 if (descriptor != null) mBluetoothGatt.readDescriptor(descriptor); in readDescriptor()
277 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); in getDescriptor()
278 if (descriptor == null) { in getDescriptor()
282 return descriptor; in getDescriptor()
374 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor,
[all …]
DBleServerService.java145 BluetoothGattDescriptor descriptor = getDescriptor(); in writeDescriptor() local
146 if (descriptor == null) return; in writeDescriptor()
147 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
218 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); in getDescriptor()
219 if (descriptor == null) { in getDescriptor()
223 return descriptor; in getDescriptor()
231 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); in createService() local
232 characteristic.addDescriptor(descriptor); in createService()
335 int offset, BluetoothGattDescriptor descriptor) {
341 + (descriptor == getDescriptor()));
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DVpnTestActivity.java54 private ParcelFileDescriptor descriptor = null; field in VpnTestActivity
104 descriptor = service.new Builder().addAddress("8.8.8.8", 30).establish(); in establishVpn()
105 if (descriptor == null) { in establishVpn()
114 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.java91 final AssetFileDescriptor descriptor = in readTypedFully() local
94 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) { in readTypedFully()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java73 public IInterface queryLocalInterface(String descriptor) {
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2483 final ParcelFileDescriptor descriptor = ParcelFileDescriptor.open(file,
2496 savePrintedPage(adapter, descriptor, result);
2509 descriptor.close();
2556 final ParcelFileDescriptor descriptor, final FutureTask<Boolean> result) {
2557 adapter.onWrite(new PageRange[] {PageRange.ALL_PAGES}, descriptor,
2563 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