/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | ReferenceWithHistoryTest.java | 42 TestRef<String> reference = new TestRef<>(); in testBasicReferenceBehavior() local 45 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 47 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior() 50 setAndCompareReturnValue(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 51 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 53 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior() 56 setAndCompareReturnValue(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 57 compareGet(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 60 compareToString(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 63 setAndCompareReturnValue(referenceWithHistory, reference, null); in testBasicReferenceBehavior() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 252 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol() argument 256 if (reference.name) { in ResolveSymbol() 257 const ResourceName& name = reference.name.value(); in ResolveSymbol() 283 } else if (reference.id) { in ResolveSymbol() 284 return symbols->FindById(reference.id.value()); in ResolveSymbol() 290 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility() argument 295 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, context, symbols); in ResolveSymbolCheckVisibility() 301 if (!IsSymbolVisible(*symbol, reference, callsite)) { in ResolveSymbolCheckVisibility() 309 const Reference& reference, const CallSite& callsite, IAaptContext* context, in ResolveAttributeCheckVisibility() argument 312 ResolveSymbolCheckVisibility(reference, callsite, context, symbols, out_error); in ResolveAttributeCheckVisibility() [all …]
|
D | ReferenceLinker.h | 76 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference, 84 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference, 92 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference, 100 static std::optional<xml::AaptAttribute> CompileXmlAttribute(const Reference& reference, 127 static std::unique_ptr<Item> LinkReference(const CallSite& callsite, const Reference& reference,
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | StringList.h | 31 typedef Tokens::reference reference; typedef 46 reference front() { return m_Tokens.front(); } in front() 48 reference back() { return m_Tokens.back(); } in back()
|
D | SectionsCmd.h | 32 typedef SectionCommands::reference reference; typedef 44 reference front() { return m_SectionCommands.front(); } in front() 46 reference back() { return m_SectionCommands.back(); } in back()
|
D | ScriptFile.h | 52 typedef CommandQueue::reference reference; typedef 64 reference front() { return m_CommandQueue.front(); } in front() 66 reference back() { return m_CommandQueue.back(); } in back()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TypeTraits.h | 23 typedef const DataType& reference; typedef 33 typedef DataType& reference; typedef 43 typedef const DataType& reference; typedef 54 typedef DataType& reference; typedef
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 110 public static @NonNull <T> T checkNotNull(final T reference) { in checkNotNull() argument 111 if (reference == null) { in checkNotNull() 114 return reference; in checkNotNull() 127 public static @NonNull <T> T checkNotNull(final T reference, final Object errorMessage) { in checkNotNull() argument 128 if (reference == null) { in checkNotNull() 131 return reference; in checkNotNull() 145 public static @NonNull <T> T checkNotNull(final T reference, in checkNotNull() argument 148 if (reference == null) { in checkNotNull() 151 return reference; in checkNotNull()
|
/frameworks/native/include/ftl/details/ |
D | array_traits.h | 35 using reference = value_type&; member 58 static reference replace_at(const_iterator it, Args&&... args) { in replace_at() 64 static reference replace_at(const_iterator it, value_type&& value) { in replace_at() 71 static void in_place_swap(reference a, reference b) { in in_place_swap() 98 FTL_ARRAY_TRAIT(T, reference); 126 reference front() { return *self().begin(); } in front() 129 reference back() { return *last(); } in back() 132 reference operator[](size_type i) { return *(self().begin() + i); }
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextLanguageTest.java | 48 final TextLanguage reference = new TextLanguage.Builder() in testParcel() local 56 reference.writeToParcel(parcel, 0); in testParcel() 77 final TextLanguage.Request reference = new TextLanguage.Request.Builder(text) in testRequestParcel() local 82 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testRequestParcel() 85 reference.writeToParcel(parcel, 0); in testRequestParcel()
|
D | TextSelectionTest.java | 62 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel() local 72 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 94 final TextSelection.Request reference = in testParcelRequest() local 101 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testParcelRequest() 105 reference.writeToParcel(parcel, reference.describeContents()); in testParcelRequest()
|
D | TextLinksTest.java | 72 final TextLinks reference = new TextLinks.Builder(fullText) in testParcel() local 80 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 114 final TextLinks.Request reference = new TextLinks.Request.Builder("text") in testParcelOptions() local 122 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testParcelOptions() 126 reference.writeToParcel(parcel, reference.describeContents()); in testParcelOptions()
|
D | TextClassificationTest.java | 98 final TextClassification reference = new TextClassification.Builder() in testParcel() local 110 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 168 final TextClassification reference = new TextClassification.Builder() in testParcelLegacy() local 178 reference.writeToParcel(parcel, reference.describeContents()); in testParcelLegacy() 200 final TextClassification.Request reference = in testParcelParcel() local 208 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testParcelParcel() 212 reference.writeToParcel(parcel, reference.describeContents()); in testParcelParcel()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | DynamicRenderResources.java | 93 public ResourceValue findResValue(String reference, boolean forceFrameworkOnly) { in findResValue() argument 94 ResourceValue baseValue = mBaseResources.findResValue(reference, forceFrameworkOnly); in findResValue() 105 public ResourceValue getUnresolvedResource(ResourceReference reference) { in getUnresolvedResource() argument 106 ResourceValue baseValue = mBaseResources.getUnresolvedResource(reference); in getUnresolvedResource() 111 public ResourceValue getResolvedResource(ResourceReference reference) { in getResolvedResource() argument 112 ResourceValue baseValue = mBaseResources.getResolvedResource(reference); in getResolvedResource() 128 public StyleResourceValue getStyle(ResourceReference reference) { in getStyle() argument 129 return mBaseResources.getStyle(reference); in getStyle()
|
/frameworks/compile/mclinker/include/mcld/Object/ |
D | SectionMap.h | 68 typedef InputList::reference reference; typedef 102 reference front() { return m_InputList.front(); } in front() 104 reference back() { return m_InputList.back(); } in back() 152 typedef OutputDescList::reference reference; typedef 183 reference front() { return m_OutputDescList.front(); } in front() 185 reference back() { return m_OutputDescList.back(); } in back()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | SectionData.h | 38 typedef FragmentListType::reference reference; typedef 68 reference front() { return m_Fragments.front(); } in front() 70 reference back() { return m_Fragments.back(); } in back()
|
D | RelocData.h | 47 typedef RelocationListType::reference reference; typedef 77 reference front() { return m_Relocations.front(); } in front() 79 reference back() { return m_Relocations.back(); } in back()
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 150 public static @NonNull <T> T checkNotNull(final T reference) { in checkNotNull() argument 151 if (reference == null) { in checkNotNull() 154 return reference; in checkNotNull() 171 final T reference, in checkNotNull() argument 173 if (reference == null) { in checkNotNull() 176 return reference; in checkNotNull() 189 final T reference, in checkNotNull() argument 192 if (reference == null) { in checkNotNull() 195 return reference; in checkNotNull()
|
/frameworks/rs/script_api/ |
D | rs_object_info.spec | 34 …See the <a href='http://developer.android.com/reference/android/renderscript/Allocation.html'>andr… 58 …Elements like <a href='http://developer.android.com/reference/android/renderscript/Element.html#F3… 318 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 342 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 366 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren…
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactory.h | 62 typedef typename traits::reference reference; typedef 84 reference operator*() { 112 typedef typename Alloc::reference reference; typedef
|
/frameworks/base/test-runner/src/android/test/ |
D | ViewAsserts.java | 290 static public void assertHorizontalCenterAligned(View reference, View test) { in assertHorizontalCenterAligned() argument 292 reference.getLocationOnScreen(xy); in assertHorizontalCenterAligned() 298 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2; in assertHorizontalCenterAligned() 311 static public void assertVerticalCenterAligned(View reference, View test) { in assertVerticalCenterAligned() argument 313 reference.getLocationOnScreen(xy); in assertVerticalCenterAligned() 319 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2; in assertVerticalCenterAligned()
|
/frameworks/native/include/input/ |
D | RingBuffer.h | 42 using reference = value_type&; variable 105 reference front() { return mBuffer[mBegin]; } in front() 107 reference back() { return mBuffer[bufferIndex(mSize - 1)]; } in back() 110 reference operator[](size_type i) { return mBuffer[bufferIndex(i)]; } 191 using reference = U&; variable 248 reference operator[](difference_type n) { return *(*this + n); } 250 reference operator*() const { return mContainer[mIndex]; }
|
/frameworks/base/errorprone/tests/res/android/util/ |
D | Preconditions.java | 28 public static <T> T checkNotNull(T reference) { in checkNotNull() argument 32 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull() argument
|
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/ |
D | LiveWallpaper.kt | 150 for (reference in configChangeListeners) { in onConfigurationChanged() method 151 reference.get()?.onConfigurationChanged(newConfig) in onConfigurationChanged() 158 for (reference in configChangeListeners) { in addConfigChangeListener() variable 159 if (configChangeListener == reference.get()) { in addConfigChangeListener() 171 for (reference in configChangeListeners) { in removeConfigChangeListener() method 172 if (configChangeListener == reference.get()) { in removeConfigChangeListener() 173 configChangeListeners.remove(reference) in removeConfigChangeListener()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DelegateManager.java | 93 for (Object reference : sJavaReferences) { in dump() 94 int idx = sDelegates.indexOfValue(reference); in dump() 95 out.printf("[%d] %s\n", sDelegates.keyAt(idx), reference.getClass().getSimpleName()); in dump()
|