Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 189) sorted by relevance

12345678

/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DReferenceWithHistoryTest.java42 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/
DReferenceLinker.cpp252 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 …]
DReferenceLinker.h76 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/
DStringList.h31 typedef Tokens::reference reference; typedef
46 reference front() { return m_Tokens.front(); } in front()
48 reference back() { return m_Tokens.back(); } in back()
DSectionsCmd.h32 typedef SectionCommands::reference reference; typedef
44 reference front() { return m_SectionCommands.front(); } in front()
46 reference back() { return m_SectionCommands.back(); } in back()
DScriptFile.h52 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/
DTypeTraits.h23 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/
DPreconditions.java110 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/
Darray_traits.h35 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/
DTextLanguageTest.java48 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()
DTextSelectionTest.java62 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()
DTextLinksTest.java72 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()
DTextClassificationTest.java98 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/
DDynamicRenderResources.java93 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/
DSectionMap.h68 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/
DSectionData.h38 typedef FragmentListType::reference reference; typedef
68 reference front() { return m_Fragments.front(); } in front()
70 reference back() { return m_Fragments.back(); } in back()
DRelocData.h47 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/
DPreconditions.java150 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/
Drs_object_info.spec34 …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/
DGCFactory.h62 typedef typename traits::reference reference; typedef
84 reference operator*() {
112 typedef typename Alloc::reference reference; typedef
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java290 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/
DRingBuffer.h42 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/
DPreconditions.java28 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/
DLiveWallpaper.kt150 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/
DDelegateManager.java93 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()

12345678