/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleServerService.java | 611 BluetoothGattDescriptor descriptor = null; in getDescriptor() local 615 descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); in getDescriptor() 616 if (descriptor == null) { in getDescriptor() 620 return descriptor; in getDescriptor() 645 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, in createAdditionalNotificationService() local 647 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService() 648 notiCharacteristic.addDescriptor(descriptor); in createAdditionalNotificationService() 654 descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11); in createAdditionalNotificationService() 655 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService() 656 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 | 665 BluetoothGattDescriptor descriptor = getDescriptor(uid); in writeDescriptor() local 666 if (descriptor != null) { in writeDescriptor() 671 descriptor.setValue(writeValue.getBytes()); in writeDescriptor() 672 mBluetoothGatt.writeDescriptor(descriptor, writeValue.getBytes()); in writeDescriptor() 677 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor() local 678 if (descriptor != null) { in readDescriptor() 679 mBluetoothGatt.readDescriptor(descriptor); in readDescriptor() 684 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid); in writeDescriptor() local 685 if (descriptor != null) { in writeDescriptor() 690 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 …]
|
/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/ |
D | SensorInfo.java | 44 public Info(SensorStateProto descriptor) { in Info() argument 45 mStrength = descriptor.getCurrentStrength(); in Info() 46 mModality = descriptor.getModality(); in Info() 56 public SensorInfo(BiometricServiceStateProto descriptor) { in SensorInfo() argument 57 for (SensorServiceStateProto serviceStateProto : descriptor.getSensorServiceStatesList()) { in SensorInfo()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 69 effect_descriptor_t descriptor; in main() local 70 memset(&descriptor, 0, sizeof(descriptor)); in main() 71 descriptor.type = EFFECT_UIID_EQUALIZER; in main() 72 descriptor.uuid = *EFFECT_UUID_NULL; in main() 97 legacy2aidl_effect_descriptor_t_EffectDescriptor(descriptor)); in main() 114 descriptor = VALUE_OR_RETURN_STATUS( in main()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AudioSecurityTest.java | 69 for (AudioEffect.Descriptor descriptor : descriptors) { in testAllEffects() 74 descriptor.type, in testAllEffects() 75 descriptor.uuid, // uuid overrides type in testAllEffects() 78 Log.w(TAG, "effect " + testName + " " + descriptor.name in testAllEffects() 84 Log.d(TAG, "effect " + testName + " " + descriptor.name + " success"); in testAllEffects() 86 Log.e(TAG, "effect " + testName + " " + descriptor.name + " exception failed!", in testAllEffects() 90 Log.e(TAG, "effect " + testName + " " + descriptor.name + " assert failed!", in testAllEffects() 390 for (AudioEffect.Descriptor descriptor : descriptors) { in testVisualizerCapture_CVE_2017_0396() 391 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) != 0) { in testVisualizerCapture_CVE_2017_0396() 424 descriptor.type, descriptor.uuid, 0 /* priority */, in testVisualizerCapture_CVE_2017_0396()
|
D | IBinderExchange.java | 57 java.lang.String descriptor = DESCRIPTOR; in onTransact() local 60 reply.writeString(descriptor); in onTransact() 64 data.enforceInterface(descriptor); in onTransact() 72 data.enforceInterface(descriptor); in onTransact()
|
D | VisualizerEffectTest.java | 52 AudioEffect.Descriptor descriptor = descriptors[i]; in testVisualizer_MalformedConstructor() local 53 if (descriptor.type.compareTo(UUID.fromString(VISUALIZER_TYPE)) == 0) { in testVisualizer_MalformedConstructor()
|
D | EffectBundleTest.java | 505 for (AudioEffect.Descriptor descriptor : descriptors) { in verifyZeroPVSizeRejectedForSetParameter() 506 if (descriptor.type.compareTo(effectType) != 0) continue; in verifyZeroPVSizeRejectedForSetParameter() 516 ae = (AudioEffect) ct.newInstance(descriptor.type, descriptor.uuid, in verifyZeroPVSizeRejectedForSetParameter() 520 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/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsFrameTracerDataSourceTest.java | 74 DataSourceDescriptor descriptor = state.getDataSources(i).getDsDescriptor(); in testFrameTracerProducerAvailable() local 75 if (descriptor != null) { in testFrameTracerProducerAvailable() 76 if (descriptor.getName().equals(FRAME_TRACER_SOURCE_NAME)) { in testFrameTracerProducerAvailable()
|
D | CtsGpuProfilingDataTest.java | 172 DataSourceDescriptor descriptor = source.getDsDescriptor(); in testProfilingDataProducersAvailable() local 173 if (descriptor != null) { in testProfilingDataProducersAvailable() 174 if (descriptor.getName().equals(COUNTERS_SOURCE_NAME)) { in testProfilingDataProducersAvailable() 180 descriptor.hasGpuCounterDescriptor()); in testProfilingDataProducersAvailable() 183 descriptor.getGpuCounterDescriptor().getSpecsList().stream() in testProfilingDataProducersAvailable() 187 if (descriptor.getName().equals(STAGES_SOURCE_NAME)) { in testProfilingDataProducersAvailable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioDescriptorActivity.java | 262 for (AudioDescriptor descriptor : device.getAudioDescriptors()) { in testAudioDescriptors() 263 mLastTestedAudioDescriptor = descriptor; in testAudioDescriptors() 264 Pair<Boolean, String> ret = isAudioDescriptorValid(descriptor); in testAudioDescriptors() 273 private Pair<Boolean, String> isAudioDescriptorValid(AudioDescriptor descriptor) { in isAudioDescriptorValid() argument 274 if (descriptor.getStandard() == AudioDescriptor.STANDARD_NONE) { in isAudioDescriptorValid() 278 if (descriptor.getDescriptor() == null) { in isAudioDescriptorValid() 282 switch (descriptor.getStandard()) { in isAudioDescriptorValid() 284 return verifyShortAudioDescriptor(descriptor.getDescriptor()); in isAudioDescriptorValid() 287 R.string.audio_descriptor_unrecognized_standard, descriptor.getStandard())); in isAudioDescriptorValid()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationShellTest.java | 57 @NonNull ParcelFileDescriptor descriptor, in writeString() 60 try (AutoCloseOutputStream stream = new AutoCloseOutputStream(descriptor)) { in writeString() 64 private String readString(@NonNull ParcelFileDescriptor descriptor) throws IOException { in readString() argument 65 try (AutoCloseInputStream stream = new AutoCloseInputStream(descriptor)) { in readString()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DynamicConfigDeviceSide.java | 58 ParcelFileDescriptor descriptor = resolver.openFileDescriptor(sdcardUri,"r"); in DynamicConfigDeviceSide() local 60 initializeConfig(new ParcelFileDescriptor.AutoCloseInputStream(descriptor)); in DynamicConfigDeviceSide()
|
D | BusinessLogicTestCase.java | 96 ParcelFileDescriptor descriptor = resolver.openFileDescriptor(sdcardUri, "r"); in loadBusinessLogic() local 98 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)); in loadBusinessLogic()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileParser.java | 132 String name, String descriptor) { in processFileBytes() 136 + ",desc: " + descriptor); in processFileBytes() 152 String name, String descriptor, Member member) { in processFileBytes() 155 + descriptor); in processFileBytes()
|
/cts/tests/input/src/android/input/cts/ |
D | KeyboardLayoutTest.kt | 109 private fun getKeyboardLayoutTypeForLayoutDescriptor(descriptor: String): String? { in getKeyboardLayoutTypeForLayoutDescriptor() 111 inputManager.getKeyboardLayoutTypeForLayoutDescriptor(descriptor) in getKeyboardLayoutTypeForLayoutDescriptor()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BootClassPathClassesProvider.java | 47 .map(descriptor -> { in getAllClasses() 48 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/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothGattServerCallbackTest.java | 74 int offset, BluetoothGattDescriptor descriptor) { 79 BluetoothGattDescriptor descriptor,
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/ |
D | poc.cpp | 69 IDrmFactory::descriptor, in makeDrmFactories() 81 ::android::hardware::drm::V1_1::IDrmFactory::descriptor, in makeDrmFactories()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTestCase.java | 125 final AssetFileDescriptor descriptor = in readTypedFully() local 128 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) { in readTypedFully()
|
/cts/tests/sample/ |
D | README | 7 `<option name="config-descriptor:metadata" key="component" value="misc" />`
|