/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbDescriptorParser.java | 137 UsbDescriptor descriptor = null; in allocDescriptor() local 143 descriptor = mDeviceDescriptor = new UsbDeviceDescriptor(length, type); in allocDescriptor() 147 descriptor = mCurConfigDescriptor = new UsbConfigDescriptor(length, type); in allocDescriptor() 158 descriptor = mCurInterfaceDescriptor = new UsbInterfaceDescriptor(length, type); in allocDescriptor() 169 descriptor = mCurEndpointDescriptor = new UsbEndpointDescriptor(length, type); in allocDescriptor() 172 (UsbEndpointDescriptor) descriptor); in allocDescriptor() 185 descriptor = new UsbHIDDescriptor(length, type); in allocDescriptor() 192 descriptor = new UsbInterfaceAssoc(length, type); in allocDescriptor() 202 descriptor = in allocDescriptor() 204 if (descriptor instanceof UsbMSMidiHeader) { in allocDescriptor() [all …]
|
D | UsbConfigDescriptor.java | 86 private boolean isAudioInterface(UsbInterfaceDescriptor descriptor) { in isAudioInterface() argument 87 return descriptor.getUsbClass() == UsbDescriptor.CLASSID_AUDIO in isAudioInterface() 88 && descriptor.getUsbSubclass() == UsbDescriptor.AUDIO_AUDIOSTREAMING; in isAudioInterface() 107 for (UsbInterfaceDescriptor descriptor : mInterfaceDescriptors) { in toAndroid() 108 if (!mBlockAudio || !isAudioInterface(descriptor)) { in toAndroid() 109 filteredInterfaces.add(descriptor.toAndroid(parser)); in toAndroid()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 36 const RingBufferDescriptor *descriptor) { in AudioEndpoint_validateQueueDescriptor() argument 37 if (descriptor == nullptr) { in AudioEndpoint_validateQueueDescriptor() 42 if (descriptor->capacityInFrames < 1 in AudioEndpoint_validateQueueDescriptor() 43 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) { in AudioEndpoint_validateQueueDescriptor() 45 descriptor->capacityInFrames); in AudioEndpoint_validateQueueDescriptor() 50 if (descriptor->bytesPerFrame < 1 in AudioEndpoint_validateQueueDescriptor() 51 || descriptor->bytesPerFrame > RIDICULOUSLY_LARGE_FRAME_SIZE) { in AudioEndpoint_validateQueueDescriptor() 53 descriptor->bytesPerFrame); in AudioEndpoint_validateQueueDescriptor() 57 if (descriptor->dataAddress == nullptr) { in AudioEndpoint_validateQueueDescriptor() 63 descriptor->dataAddress); in AudioEndpoint_validateQueueDescriptor() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/ |
D | BodyReplacingMethodVisitor.kt | 34 descriptor: String, 43 isVoid = descriptor.endsWith(")V") 63 descriptor: String?, in visitAnnotation() 66 return super.visitAnnotation(descriptor, visible) in visitAnnotation() 72 descriptor: String?, in visitTypeAnnotation() 75 return super.visitTypeAnnotation(typeRef, typePath, descriptor, visible) in visitTypeAnnotation() 87 descriptor: String?, in visitParameterAnnotation() 90 return super.visitParameterAnnotation(parameter, descriptor, visible) in visitParameterAnnotation() 191 descriptor: String? in visitFieldInsn() 194 super.visitFieldInsn(opcode, owner, name, descriptor) in visitFieldInsn() [all …]
|
D | ImplGeneratingAdapter.kt | 126 descriptor: String, in <lambda>() 137 descriptor: String, in <lambda>() 148 val methodCallHooks = filter.getMethodCallHooks(currentClassName, name, descriptor) in <lambda>() 153 descriptor, in <lambda>() 165 descriptor == CLASS_INITIALIZER_DESC) { in <lambda>() 169 descriptor, in <lambda>() 178 access, name, descriptor, policy) ) { in <lambda>() 182 descriptor, in <lambda>() 189 fun MethodVisitor.withAnnotation(descriptor: String): MethodVisitor { in <lambda>() 190 this.visitAnnotation(descriptor, true) in <lambda>() [all …]
|
D | BaseAdapter.kt | 145 descriptor: String, in <lambda>() 150 return super.visitField(access, name, descriptor, signature, value) in <lambda>() 153 log.d("visitField: %s %s [%x] Policy: %s", name, descriptor, access, policy) in <lambda>() 161 log.v("Emitting field: %s %s %s", name, descriptor, policy) in <lambda>() 162 val ret = super.visitField(access, name, descriptor, signature, value) in <lambda>() 173 descriptor: String, in <lambda>() 178 return super.visitMethod(access, name, descriptor, signature, exceptions) in <lambda>() 180 val p = filter.getPolicyForMethod(currentClassName, name, descriptor) in <lambda>() 181 log.d("visitMethod: %s%s [%x] [%s] Policy: %s", name, descriptor, access, signature, p) in <lambda>() 182 options.stats?.onVisitPolicyForMethod(currentClassName, name, descriptor, p, access) in <lambda>() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/ |
D | InMemoryOutputFilter.kt | 66 descriptor: String in checkMethod() 68 if (classes.findMethod(className, methodName, descriptor) == null) { in checkMethod() 91 descriptor: String, in getPolicyForMethod() 93 return mPolicies[getMethodKey(className, methodName, descriptor)] in getPolicyForMethod() 94 ?: super.getPolicyForMethod(className, methodName, descriptor) in getPolicyForMethod() 100 descriptor: String, in setPolicyForMethod() 103 checkMethod(className, methodName, descriptor) in setPolicyForMethod() 104 mPolicies[getMethodKey(className, methodName, descriptor)] = policy in setPolicyForMethod() 107 override fun getRenameTo(className: String, methodName: String, descriptor: String): String? { in getRenameTo() 108 return mRenames[getMethodKey(className, methodName, descriptor)] in getRenameTo() [all …]
|
D | DelegatingFilter.kt | 62 descriptor: String in getPolicyForMethod() 64 return fallback.getPolicyForMethod(className, methodName, descriptor) in getPolicyForMethod() 70 descriptor: String in getRenameTo() 72 return fallback.getRenameTo(className, methodName, descriptor) in getRenameTo() 86 descriptor: String in getMethodCallHooks() 88 return fallback.getMethodCallHooks(className, methodName, descriptor) in getMethodCallHooks()
|
/frameworks/base/tools/incident_section_gen/ |
D | main.cpp | 108 static bool generateIncidentSectionsCpp(Descriptor const* descriptor) in generateIncidentSectionsCpp() argument 114 N = descriptor->field_count(); in generateIncidentSectionsCpp() 116 const FieldDescriptor* field = descriptor->field(i); in generateIncidentSectionsCpp() 191 static inline PrivacyFlags getPrivacyFlags(const Descriptor* descriptor) { in getPrivacyFlags() argument 192 return descriptor->options().GetExtension(msg_privacy); in getPrivacyFlags() 196 static inline Destination getMessageDest(const Descriptor* descriptor, const Destination overridden… in getMessageDest() argument 197 return overridden != DEST_UNSET ? overridden : getPrivacyFlags(descriptor).dest(); in getMessageDest() 226 static inline string getMessageName(const Descriptor* descriptor, const Destination overridden) { in getMessageName() argument 228 return replaceAll(descriptor->full_name(), '.', "_") + "__MSG__" + in getMessageName() 229 to_string(getMessageDest(descriptor, overridden)); in getMessageName() [all …]
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreProvider.java | 220 @NonNull KeyDescriptor descriptor, in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 242 return new AndroidKeyStoreECPublicKey(descriptor, metadata, in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 245 return new AndroidKeyStoreRSAPublicKey(descriptor, metadata, in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 249 return new AndroidKeyStoreEdECPublicKey(descriptor, metadata, ED25519_OID, in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 252 return new AndroidKeyStoreXDHPublicKey(descriptor, metadata, X25519_ALIAS, in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 277 @NonNull KeyStore2 keyStore, @NonNull KeyDescriptor descriptor) in loadAndroidKeyStoreKeyPairFromKeystore() argument 280 loadAndroidKeyStoreKeyFromKeystore(keyStore, descriptor); in loadAndroidKeyStoreKeyPairFromKeystore() 306 @NonNull KeyStore2 keyStore, @NonNull KeyDescriptor descriptor) in loadAndroidKeyStoreSecretKeyFromKeystore() argument 310 loadAndroidKeyStoreKeyFromKeystore(keyStore, descriptor); in loadAndroidKeyStoreSecretKeyFromKeystore() 320 @NonNull KeyDescriptor descriptor, in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse() [all …]
|
D | AndroidKeyStoreKey.java | 55 public AndroidKeyStoreKey(@NonNull KeyDescriptor descriptor, in AndroidKeyStoreKey() argument 60 mDescriptor = descriptor; in AndroidKeyStoreKey() 72 KeyDescriptor descriptor = new KeyDescriptor(); in getKeyIdDescriptor() local 73 descriptor.nspace = mKeyId; in getKeyIdDescriptor() 74 descriptor.domain = Domain.KEY_ID; in getKeyIdDescriptor() 75 descriptor.alias = null; in getKeyIdDescriptor() 76 descriptor.blob = null; in getKeyIdDescriptor() 77 return descriptor; in getKeyIdDescriptor()
|
/frameworks/av/media/module/mpeg2ts/ |
D | CasManager.cpp | 36 ProgramCasManager(unsigned programNumber, const CADescriptor &descriptor); 39 bool addStream(unsigned elementaryPID, const CADescriptor &descriptor); 51 CasSession(const CADescriptor &descriptor) : in CasSession() 52 mCADescriptor(descriptor) {} in CasSession() 71 unsigned programNumber, const CADescriptor &descriptor) : in ProgramCasManager() argument 74 mProgramCas(descriptor) {} in ProgramCasManager() 82 unsigned elementaryPID, const CADescriptor &descriptor) { in addStream() argument 88 mProgramNumber, elementaryPID, descriptor.mSystemID); in addStream() 89 mStreamPidToCasMap.add(elementaryPID, CasSession(descriptor)); in addStream() 144 const CADescriptor &descriptor = session->mCADescriptor; in initSession() local [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyFetcher.cpp | 71 bool same_parity = (((container.descriptor(0).id() & 0x01) ^ in ObtainKey() 72 (container.descriptor(1).id() & 0x01)) == 0); in ObtainKey() 76 container.descriptor(0).ecm().asset_id(), in ObtainKey() 77 container.descriptor(0).id(), in ObtainKey() 78 container.descriptor(1).id()); in ObtainKey() 82 *asset_id = container.descriptor(0).ecm().asset_id(); in ObtainKey() 109 container.descriptor(i).ecm().buffer(), asset_); in ObtainKey() 118 key.key_id = container.descriptor(i).id(); in ObtainKey() 119 key.key_bytes = container.descriptor(i).ecm().content_key(); in ObtainKey()
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 37 attachInterface(this, descriptor); in BulkCursorNative() 49 IBulkCursor in = (IBulkCursor)obj.queryLocalInterface(descriptor); in asInterface() 63 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 77 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 84 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 91 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 102 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 110 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 118 data.enforceInterface(IBulkCursor.descriptor); in onTransact() 162 data.writeInterfaceToken(IBulkCursor.descriptor); in getWindow() [all …]
|
/frameworks/base/tools/incident_report/ |
D | main.cpp | 39 static bool read_message(CodedInputStream* in, Descriptor const* descriptor, 41 static void print_message(Out* out, Descriptor const* descriptor, GenericMessage const* message); 45 read_length_delimited(CodedInputStream* in, uint32 fieldId, Descriptor const* descriptor, in read_length_delimited() argument 50 fprintf(stderr, "Fail to read size of %s\n", descriptor->name().c_str()); in read_length_delimited() 54 FieldDescriptor const* field = descriptor->FindFieldByNumber(fieldId); in read_length_delimited() 87 read_message(CodedInputStream* in, Descriptor const* descriptor, GenericMessage* message) in read_message() argument 105 tag, tag, in->CurrentPosition(), descriptor->name().c_str()); in read_message() 114 tag, tag, in->CurrentPosition(), descriptor->name().c_str()); in read_message() 118 if (!read_length_delimited(in, fieldId, descriptor, message)) { in read_message() 120 tag, tag, in->CurrentPosition(), descriptor->name().c_str()); in read_message() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerStats.java | 400 public void register(Descriptor descriptor) { in register() argument 401 mDescriptors.put(descriptor.powerComponentId, descriptor); in register() 413 public final Descriptor descriptor; field in PowerStats 436 public PowerStats(Descriptor descriptor) { in PowerStats() argument 437 this.descriptor = descriptor; in PowerStats() 438 stats = new long[descriptor.statsArrayLength]; in PowerStats() 449 parcel.writeInt(descriptor.powerComponentId); in writeToParcel() 453 if (descriptor.stateStatsArrayLength != 0) { in writeToParcel() 486 Descriptor descriptor = registry.get(powerComponentId); in readFromParcel() local 487 if (descriptor == null) { in readFromParcel() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 49 attachInterface(this, descriptor); in ContentProviderNative() 63 (IContentProvider)obj.queryLocalInterface(descriptor); in asInterface() 85 data.enforceInterface(IContentProvider.descriptor); in onTransact() 142 data.enforceInterface(IContentProvider.descriptor); in onTransact() 154 data.enforceInterface(IContentProvider.descriptor); in onTransact() 164 data.enforceInterface(IContentProvider.descriptor); in onTransact() 173 data.enforceInterface(IContentProvider.descriptor); in onTransact() 188 data.enforceInterface(IContentProvider.descriptor); in onTransact() 202 data.enforceInterface(IContentProvider.descriptor); in onTransact() 221 data.enforceInterface(IContentProvider.descriptor); in onTransact() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTestService.cpp | 28 Service(std::string_view descriptor) : mDescriptor(descriptor.data(), descriptor.size()) {} in Service() argument 42 auto descriptor = argv[2]; in main() local 46 auto service = android::sp<Service>::make(descriptor); in main()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_SystemServer.cpp | 53 const std::string instance = std::string() + IStats::descriptor + "/default"; in startStatsAidlService() 67 ALOGW_IF(err != android::OK, "Cannot register HIDL %s: %d", IStats::descriptor, err); in startStatsHidlService() 79 const std::string instance = std::string() + ISensorManager::descriptor + "/default"; in startSensorManagerAidlService() 96 android::hardware::defaultServiceManager1_2()->getTransport(ISensorManager::descriptor, in startSensorManagerHidlService() 100 ISensorManager::descriptor, err); in startSensorManagerHidlService() 102 ALOGW("%s is deprecated. Skipping registration.", ISensorManager::descriptor); in startSensorManagerHidlService() 146 hardware::defaultServiceManager1_2()->getTransport(ISchedulingPolicyService::descriptor, in android_server_SystemServer_startHidlServices() 150 ISchedulingPolicyService::descriptor, err); in android_server_SystemServer_startHidlServices() 152 ALOGW("%s is deprecated. Skipping registration.", ISchedulingPolicyService::descriptor); in android_server_SystemServer_startHidlServices()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/ |
D | UsbDescriptorsTree.java | 105 UsbDescriptor descriptor = descriptors.get(descrIndex); in parse() local 106 switch (descriptor.getType()) { in parse() 111 addDeviceDescriptor((UsbDeviceDescriptor) descriptor); in parse() 115 addConfigDescriptor((UsbConfigDescriptor) descriptor); in parse() 119 addInterfaceDescriptor((UsbInterfaceDescriptor) descriptor); in parse() 123 addEndpointDescriptor((UsbEndpointDescriptor) descriptor); in parse()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 109 …ufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDescriptor *descriptor) { in resolve() argument 113 (void **) &descriptor->readCounterAddress); in resolve() 119 (void **) &descriptor->writeCounterAddress); in resolve() 124 result = mDataParcelable.resolve(memoryParcels, (void **) &descriptor->dataAddress); in resolve() 129 descriptor->bytesPerFrame = mBytesPerFrame; in resolve() 130 descriptor->framesPerBurst = mFramesPerBurst; in resolve() 131 descriptor->capacityInFrames = mCapacityInFrames; in resolve() 132 descriptor->flags = mFlags; in resolve()
|
/frameworks/wilhelm/src/ |
D | devices.h | 22 const SLAudioInputDescriptor *descriptor; member 27 const SLAudioOutputDescriptor *descriptor; member 32 const SLLEDDescriptor *descriptor; member 37 const SLVibraDescriptor *descriptor; member
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore2.java | 162 void delete(KeyDescriptor descriptor) throws KeyStoreException { in delete() argument 166 service.deleteKey(descriptor); in delete() 247 public KeyDescriptor grant(KeyDescriptor descriptor, int granteeUid, int accessVector) in grant() argument 252 (service) -> service.grant(descriptor, granteeUid, accessVector) in grant() 264 public void ungrant(KeyDescriptor descriptor, int granteeUid) in ungrant() argument 269 service.ungrant(descriptor, granteeUid); in ungrant() 282 public KeyEntryResponse getKeyEntry(@NonNull KeyDescriptor descriptor) in getKeyEntry() argument 286 return handleRemoteExceptionWithRetry((service) -> service.getKeyEntry(descriptor)); in getKeyEntry() 332 public void deleteKey(@NonNull KeyDescriptor descriptor) in deleteKey() argument 337 service.deleteKey(descriptor); in deleteKey()
|
/frameworks/base/tools/hoststubgen/hoststubgen/test/com/android/hoststubgen/visitors/ |
D | HelperTest.kt | 40 val descriptor = "()V" in testCheckSubstitutionMethodCompatibility() constant 45 desc = descriptor in testCheckSubstitutionMethodCompatibility() 52 desc = descriptor in testCheckSubstitutionMethodCompatibility() 59 desc = descriptor in testCheckSubstitutionMethodCompatibility() 66 desc = descriptor in testCheckSubstitutionMethodCompatibility() 80 descriptor, in testCheckSubstitutionMethodCompatibility()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioeffect_tests.cpp | 107 bool isPreprocessing(effect_descriptor_t& descriptor) { in isPreprocessing() argument 108 return ((descriptor.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_PRE_PROC); in isPreprocessing() 111 bool isInsert(effect_descriptor_t& descriptor) { in isInsert() argument 112 return ((descriptor.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_INSERT); in isInsert() 115 bool isAux(effect_descriptor_t& descriptor) { in isAux() argument 116 return ((descriptor.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_AUXILIARY); in isAux() 119 bool isPostproc(effect_descriptor_t& descriptor) { in isPostproc() argument 120 return ((descriptor.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_POST_PROC); in isPostproc() 123 bool isFastCompatible(effect_descriptor_t& descriptor) { in isFastCompatible() argument 124 return !(((descriptor.flags & EFFECT_FLAG_HW_ACC_MASK) == 0) && in isFastCompatible() [all …]
|