/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 72 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingFQDN() local 73 assertTrue(ANQPMatcher.matchDomainName(element, fqdn, null, null)); in matchDomainNameUsingFQDN() 88 DomainNameElement element = new DomainNameElement(Arrays.asList(domains)); in matchDomainNameUsingIMSI() local 89 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsi)); in matchDomainNameUsingIMSI() 112 RoamingConsortiumElement element = in matchRoamingConsortium() local 114 assertTrue(ANQPMatcher.matchRoamingConsortium(element, new long[] {oi}, false)); in matchRoamingConsortium() 136 NAIRealmElement element = new NAIRealmElement(new ArrayList<NAIRealmData>()); in matchNAIRealmWithEmtpyRealmData() local 137 assertFalse(ANQPMatcher.matchNAIRealm(element, "test.com")); in matchNAIRealmWithEmtpyRealmData() 151 NAIRealmElement element = new NAIRealmElement( in matchNAIRealmWithRealmMatch() local 153 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithRealmMatch() [all …]
|
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/ |
D | MoSerializerTest.java | 60 Element element = mMoSerializer.createMgmtTree(mDocument); in testShouldReturnValidElementForCreateMgmtTree() local 62 assertEquals(element.getTagName(), MoSerializer.TAG_MGMT_TREE); in testShouldReturnValidElementForCreateMgmtTree() 73 Element element = mMoSerializer.writeVersion(mDocument); in testShouldReturnValidElementForWriteVersion() local 75 assertEquals(element.getTagName(), MoSerializer.TAG_VERSION); in testShouldReturnValidElementForWriteVersion() 76 Node childNode = element.getFirstChild(); in testShouldReturnValidElementForWriteVersion() 88 Element element = mMoSerializer.createNodeForUrn(mDocument, TEST_URN); in testShouldReturnValidElementForCreateNodeForUrn() local 90 assertEquals(element.getTagName(), MoSerializer.TAG_RTPROPERTIES); in testShouldReturnValidElementForCreateNodeForUrn() 91 assertEquals(element.getChildNodes().getLength(), 1); in testShouldReturnValidElementForCreateNodeForUrn() 92 Node childNode = element.getFirstChild(); in testShouldReturnValidElementForCreateNodeForUrn() 111 Element element = mMoSerializer.createNode(mDocument, TEST_NODE); in testShouldReturnValidElementForCreateNode() local [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPMatcher.java | 48 public static boolean matchDomainName(DomainNameElement element, String fqdn, in matchDomainName() argument 50 if (element == null) { in matchDomainName() 54 for (String domain : element.getDomains()) { in matchDomainName() 81 public static boolean matchRoamingConsortium(RoamingConsortiumElement element, in matchRoamingConsortium() argument 83 if (element == null) { in matchRoamingConsortium() 89 List<Long> rcOIs = element.getOIs(); in matchRoamingConsortium() 110 public static boolean matchNAIRealm(NAIRealmElement element, String realm) { in matchNAIRealm() argument 111 if (element == null || element.getRealmDataList().isEmpty()) { in matchNAIRealm() 115 for (NAIRealmData realmData : element.getRealmDataList()) { in matchNAIRealm() 132 public static boolean matchThreeGPPNetwork(ThreeGPPNetworkElement element, in matchThreeGPPNetwork() argument [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/DirectRenderingCluster/src/android/car/cluster/ |
D | CueView.java | 80 .filter(element -> element.hasImage()) in setCue() 81 .map(element -> element.getImage()) in setCue() 103 for (CueElement element : cue.getElementsList()) { in update() 104 if (element.hasImage()) { in update() 105 Bitmap bitmap = bitmaps.get(element.getImage()); in update() 107 String imageText = element.getText().isEmpty() ? mImageSpanText : in update() 108 element.getText(); in update() 117 } else if (!element.getText().isEmpty()) { in update() 118 builder.append(element.getText()); in update()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | CueView.java | 87 .filter(element -> element.hasImage()) in setCue() 88 .map(element -> element.getImage()) in setCue() 110 for (CueElement element : cue.getElementsList()) { in update() 111 if (element.hasImage()) { in update() 112 Bitmap bitmap = bitmaps.get(element.getImage()); in update() 114 String imageText = element.getText().isEmpty() ? mImageSpanText : in update() 115 element.getText(); in update() 118 } else if (!element.getText().isEmpty()) { in update() 119 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/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ArrayUtils.java | 133 for (int element : array) { in contains() 134 if (element == value) { in contains() 150 for (long element : array) { in contains() 151 if (element == value) { in contains() 167 for (char element : array) { in contains() 168 if (element == value) { in contains()
|
/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/ |
D | MainActivity.java | 103 public abstract void bind(ListElement element); in bind() argument 119 ActivityElement element = (ActivityElement) e; in bind() local 120 mButton.setText(element.getText()); in bind() 122 startActivity(new Intent(itemView.getContext(), element.getActivity()))); in bind() 139 SwitchElement element = (SwitchElement) e; in bind() local 140 mSwitch.setChecked(element.isChecked()); in bind() 141 mSwitch.setText(element.getText()); in bind() 142 mSwitch.setOnCheckedChangeListener(element.getOnCheckedChangedListener()); in bind()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | MicPrivacyChipDialogController.java | 215 elements.forEach(element -> { in createCarListAdapter() 216 Optional<ApplicationInfo> applicationInfo = getApplicationInfo(element); in createCarListAdapter() 220 element.getPackageName(), element.getUserId(), element.getPhoneCall())); in createCarListAdapter() 241 private Optional<ApplicationInfo> getApplicationInfo(PrivacyDialog.PrivacyElement element) { in getApplicationInfo() argument 242 return getApplicationInfo(element.getPackageName(), element.getUserId()); in getApplicationInfo()
|
/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/modules/Permission/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/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | Conversation.java | 527 for (Parcelable element : bundles) { in getMessagesFromBundleArray() 528 if (element instanceof Bundle) { in getMessagesFromBundleArray() 529 Message message = getMessageFromBundle((Bundle) element); in getMessagesFromBundleArray() 799 for (Parcelable element : bundles) { in getActionsFromBundleArray() 800 if (element instanceof Bundle) { in getActionsFromBundleArray() 801 ConversationAction action = fromBundle((Bundle) element); in getActionsFromBundleArray()
|