/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/ |
D | ComponentGeneratingStep.java | 21 import static javax.lang.model.element.Modifier.ABSTRACT; 22 import static javax.lang.model.element.Modifier.PUBLIC; 23 import static javax.lang.model.element.Modifier.STATIC; 46 import javax.lang.model.element.AnnotationMirror; 47 import javax.lang.model.element.AnnotationValue; 48 import javax.lang.model.element.Element; 49 import javax.lang.model.element.ExecutableElement; 50 import javax.lang.model.element.TypeElement; 51 import javax.lang.model.element.VariableElement; 184 private void addElement(TypeSpec.Builder builder, Element element) { in addElement() argument [all …]
|
D | MetadataGeneratingStep.java | 34 import javax.lang.model.element.Element; 35 import javax.lang.model.element.TypeElement; 61 for (Element element : elementsByAnnotation.get(IncludeInDialerRoot.class)) { in process() 62 generateMetadataFor(IncludeInDialerRoot.class, MoreElements.asType(element)); in process() 64 for (Element element : elementsByAnnotation.get(InstallIn.class)) { in process() 65 if (element.getAnnotation(InstallIn.class).variants().length == 0) { in process() 69 ERROR, String.format("@InstallIn %s must have at least one variant", element)); in process() 72 generateMetadataFor(InstallIn.class, MoreElements.asType(element)); in process()
|
D | RootComponentGeneratingStep.java | 48 import javax.lang.model.element.AnnotationMirror; 49 import javax.lang.model.element.Element; 50 import javax.lang.model.element.Modifier; 51 import javax.lang.model.element.PackageElement; 52 import javax.lang.model.element.TypeElement; 95 for (Element element : elementsByAnnotation.get(DialerRootComponent.class)) { in process() 102 generateRootComponent(MoreElements.asType(element)); in process() 183 for (Element element : cachePackage.getEnclosedElements()) { in extractInfoFromMetadata() 185 getAnnotationMirror(element, RootComponentGeneratorMetadata.class); in extractInfoFromMetadata() 186 if (isAnnotationPresent(element, RootComponentGeneratorMetadata.class) in extractInfoFromMetadata()
|
/packages/services/Car/cpp/surround_view/service-impl/ |
D | ConfigReaderUtil.cpp | 35 bool ElementHasText(const XMLElement* element) { in ElementHasText() argument 36 if (element->GetText() == "") { in ElementHasText() 37 LOG(ERROR) << "Expected element to have text: " << element->Name(); in ElementHasText() 43 bool GetElement(const XMLElement* parent, const char* elementName, XMLElement const** element) { in GetElement() argument 44 *element = parent->FirstChildElement(elementName); in GetElement() 45 if (*element == nullptr) { in GetElement() 54 const XMLElement* element = nullptr; in ReadValue() local 55 RETURN_IF_FALSE(GetElement(parent, elementName, &element)); in ReadValue() 56 if (element->QueryBoolText(value) != XML_SUCCESS) { in ReadValue() 57 LOG(ERROR) << "Failed to read valid boolean value from: " << element->Name(); in ReadValue() [all …]
|
D | CarModelConfigReader.cpp | 50 const XMLElement* element = nullptr; in ReadValueHex() local 51 RETURN_IF_FALSE(GetElement(parent, elementName, &element)); in ReadValueHex() 52 RETURN_IF_FALSE(ElementHasText(element)); in ReadValueHex() 53 *hex = std::stoul(element->GetText(), nullptr, 16); in ReadValueHex() 70 const XMLElement* element = nullptr; in ReadAnimationType() local 71 RETURN_IF_FALSE(GetElement(parent, elementName, &element)); in ReadAnimationType() 72 RETURN_IF_FALSE(ElementHasText(element)); in ReadAnimationType() 73 const std::string animationTypeStr(element->GetText()); in ReadAnimationType()
|
D | ConfigReader.cpp | 54 const XMLElement* element = nullptr; in ReadValue2dBlendType() local 55 RETURN_IF_FALSE(GetElement(parent, elementName, &element)); in ReadValue2dBlendType() 56 RETURN_IF_FALSE(ElementHasText(element)); in ReadValue2dBlendType() 57 const std::string blendingTypeStr(element->GetText()); in ReadValue2dBlendType()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueue.java | 72 final Element element = expandableArray.get(index); in remove() local 73 if (element == pointer) { in remove() 81 expandableArray.set(newIndex, element); in remove() 104 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local 105 if (element == pointer) { in releaseAllPointersOlderThan() 108 if (!element.isModifier()) { in releaseAllPointersOlderThan() 109 element.onPhantomUpEvent(eventTime); in releaseAllPointersOlderThan() 114 expandableArray.set(newIndex, element); in releaseAllPointersOlderThan() 121 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local 122 if (element == pointer) { in releaseAllPointersOlderThan() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 94 public boolean select(E element); in select() argument 118 public Pinnable(E element) { in Pinnable() argument 119 mElement = element; in Pinnable() 384 Pinnable<E> element = mElements.get(key); in release() local 386 if (element == null) { in release() 391 if (!element.isPinned()) { in release() 396 element.mPins--; in release() 398 if (!element.isPinned()) { in release() 400 mUnpinnedElements.put(key, element); in release() 509 for (Pinnable<E> element : mElements.values()) { in close() [all …]
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | CueView.java | 80 .filter(element -> element.hasImage()) in setCue() 81 .map(element -> element.getImage()) in setCue() 102 for (CueElement element : cue.getElementsList()) { in update() 103 if (element.hasImage()) { in update() 104 Bitmap bitmap = bitmaps.get(element.getImage()); in update() 106 String imageText = element.getText().isEmpty() ? mImageSpanText : in update() 107 element.getText(); in update() 115 } else if (!element.getText().isEmpty()) { in update() 116 builder.append(element.getText()); in update()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 316 void RouteDataSet::importProtocolRoute(xmlNodePtr& element, in importProtocolRoute() argument 328 "%s: element=%s", "RouteDataSet::importProtocolRoute", element->name); in importProtocolRoute() 329 value = xmlGetProp(element, id); in importProtocolRoute() 345 value = xmlGetProp(element, secElem); in importProtocolRoute() 355 value = xmlGetProp(element, switchOn); in importProtocolRoute() 361 value = xmlGetProp(element, switchOff); in importProtocolRoute() 367 value = xmlGetProp(element, batteryOff); in importProtocolRoute() 386 void RouteDataSet::importTechnologyRoute(xmlNodePtr& element, in importTechnologyRoute() argument 398 "%s: element=%s", "RouteDataSet::importTechnologyRoute", element->name); in importTechnologyRoute() 399 value = xmlGetProp(element, id); in importTechnologyRoute() [all …]
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | ArrayInitializerFormatter.java | 81 public void outElement(final String element) { in outElement() argument 82 if (!element.equals(mLastElement)) { in outElement() 86 final int nextLen = mBufferedLen + " ".length() + element.length(); in outElement() 90 mBuffer.append(element); in outElement() 98 mBuffer.append(element); in outElement() 99 mBufferedLen = element.length(); in outElement() 102 mLastElement = element; in outElement()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 89 public abstract void bind(ListElement element); in bind() argument 105 ActivityElement element = (ActivityElement) e; in bind() local 106 mButton.setText(element.getText()); in bind() 108 startActivity(new Intent(itemView.getContext(), element.getActivity()))); in bind() 125 ServiceElement element = (ServiceElement) e; in bind() local 126 mSwitch.setChecked(isServiceRunning(element.getService())); in bind() 127 mSwitch.setText(element.getText()); in bind() 129 Intent intent = new Intent(itemView.getContext(), element.getService()); in bind() 130 if (isServiceRunning(element.getService())) { in bind()
|
/packages/modules/NetworkStack/tests/lib/multivariant/com/android/testutils/ |
D | TrackRecord.kt | 79 override fun contains(element: E) = lock.withLock { elements.contains(element) } in <lambda>() 84 override fun indexOf(element: E): Int = lock.withLock { elements.indexOf(element) } in <lambda>() 85 override fun lastIndexOf(element: E): Int = lock.withLock { elements.lastIndexOf(element) } in <lambda>()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | CountableBufferQueue.java | 38 public void process(T element) { in process() argument 39 mProcessor.process(element); in process() 66 public void process(T element) { in CountableBufferQueue() 107 public void update(@Nonnull T element) { in update() argument 118 mBufferQueue.update(element); in update()
|
D | ConcurrentBufferQueue.java | 51 public void process(T element); in process() argument 104 public void process(T element) { in ConcurrentBufferQueue() 143 public void update(@Nonnull T element) { in update() argument 148 mQueue.add(makeEntry(element)); in update() 152 mUnusedElementProcessor.process(element); in update()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListing.java | 43 public void add(BluetoothMapMessageListingElement element) { in add() argument 44 mList.add(element); in add() 46 if (!element.getReadBool()) { in add() 115 for (BluetoothMapMessageListingElement element : mList) { in encode() 116 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
|
D | BluetoothMapConvoListing.java | 48 public void add(BluetoothMapConvoListingElement element) { in add() argument 49 mList.add(element); in add() 51 if (element.getReadBool()) { in add() 103 for (BluetoothMapConvoListingElement element : mList) { in encode() 104 element.encode(xmlConvoElement); // Append the list element in encode()
|
D | BluetoothMapFolderElement.java | 388 BluetoothMapFolderElement element = in readFolders() local 390 element.setHasEmailContent(mHasEmailContent); in readFolders() 391 element.setHasImContent(mHasImContent); in readFolders() 392 element.setHasSmsMmsContent(mHasSmsMmsContent); in readFolders()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/ |
D | WideScreenImeActivity.java | 244 public abstract void bind(ListElement element); in bind() argument 260 EditTextElement element = (EditTextElement) e; in bind() local 261 mEditText.setText(element.getText()); in bind() 262 mEditText.setOnFocusChangeListener(element.getOnFocusChangeListener()); in bind() 279 ButtonElement element = (ButtonElement) e; in bind() local 280 mSwitch.setText(element.getText()); in bind() 281 mSwitch.setOnClickListener(element.getOnClickListener()); in bind()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 130 for (final String element : array) { in containsInArray() 131 if (text.equals(element)) { in containsInArray() 165 for (final String element : elements) { in removeFromCommaSplittableTextIfExists() 166 if (!text.equals(element)) { in removeFromCommaSplittableTextIfExists() 167 result.add(element); in removeFromCommaSplittableTextIfExists() 635 public String stringize(@Nullable final E element) { in stringize() argument 636 if (element == null) { in stringize() 639 return element.toString(); in stringize()
|
/packages/apps/TV/common/src/com/android/tv/common/flags/proto/ |
D | typed-features.proto | 10 repeated int32 element = 1; field 14 repeated int64 element = 1; field 19 repeated string element = 1; field
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | CollectionUtils.java | 93 public static <T> List<T> singletonOrEmpty(@Nullable T element) { in singletonOrEmpty() argument 94 return element != null ? Collections.singletonList(element) : Collections.emptyList(); in singletonOrEmpty()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractKeyboardBuilder.java | 118 void setElementAt(final int row, final int column, final E element, final boolean insert) { in setElementAt() argument 133 newElements[columnIndex] = element; in setElementAt() 140 newElements[columnIndex] = element; in setElementAt()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 459 ScopedLocalRef<jobject> element( in fillGattDbElementArray() local 464 env->SetIntField(element.get(), fid, curr.id); in fillGattDbElementArray() 467 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray() 473 env->SetObjectField(element.get(), fid, uuid.get()); in fillGattDbElementArray() 476 env->SetIntField(element.get(), fid, curr.type); in fillGattDbElementArray() 479 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray() 482 env->SetIntField(element.get(), fid, curr.start_handle); in fillGattDbElementArray() 485 env->SetIntField(element.get(), fid, curr.end_handle); in fillGattDbElementArray() 488 env->SetIntField(element.get(), fid, curr.properties); in fillGattDbElementArray() 490 env->CallBooleanMethod(*array, arrayAdd, element.get()); in fillGattDbElementArray() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/ |
D | ImageCloser.java | 24 public void process(ImageProxy element) { in process() argument 25 element.close(); in process()
|