/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | ReferenceWithHistoryTest.java | 40 TestRef<String> reference = new TestRef<>(); in testBasicReferenceBehavior() local 43 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 45 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior() 48 setAndCompareReturnValue(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 49 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior() 51 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior() 54 setAndCompareReturnValue(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 55 compareGet(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 57 compareToString(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() 60 setAndCompareReturnValue(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 206 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol() argument 210 if (reference.name) { in ResolveSymbol() 211 const ResourceName& name = reference.name.value(); in ResolveSymbol() 239 } else if (reference.id) { in ResolveSymbol() 240 return symbols->FindById(reference.id.value()); in ResolveSymbol() 246 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility() argument 251 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, context, symbols); in ResolveSymbolCheckVisibility() 257 if (!IsSymbolVisible(*symbol, reference, callsite)) { in ResolveSymbolCheckVisibility() 265 const Reference& reference, const CallSite& callsite, IAaptContext* context, in ResolveAttributeCheckVisibility() argument 268 ResolveSymbolCheckVisibility(reference, callsite, context, symbols, out_error); in ResolveAttributeCheckVisibility() [all …]
|
D | ReferenceLinker.h | 41 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference, 49 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference, 57 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference, 65 static Maybe<xml::AaptAttribute> CompileXmlAttribute(const Reference& reference, 84 static bool LinkReference(const CallSite& callsite, Reference* reference, IAaptContext* context,
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextSelectionTest.java | 50 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel() local 60 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 82 final TextSelection.Request reference = in testParcelRequest() local 89 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testParcelRequest() 93 reference.writeToParcel(parcel, reference.describeContents()); in testParcelRequest()
|
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 | 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 | 96 final TextClassification reference = new TextClassification.Builder() in testParcel() local 108 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 166 final TextClassification reference = new TextClassification.Builder() in testParcelLegacy() local 176 reference.writeToParcel(parcel, reference.describeContents()); in testParcelLegacy() 198 final TextClassification.Request reference = in testParcelParcel() local 206 reference.setSystemTextClassifierMetadata(systemTcMetadata); in testParcelParcel() 210 reference.writeToParcel(parcel, reference.describeContents()); in testParcelParcel()
|
/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()
|
D | OutputSectDesc.h | 157 typedef OutputSectCmds::reference reference; typedef 169 reference front() { return m_OutputSectCmds.front(); } in front() 171 reference back() { return m_OutputSectCmds.back(); } in back()
|
/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/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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteRenderResourcesAdapter.java | 70 @NotNull ResourceReference reference) { in getResolvedResource() 71 return RemoteResourceValue.fromResourceValue(mDelegate.getResolvedResource(reference)); in getResolvedResource() 101 public RemoteResourceValue<StyleResourceValue> getStyle(@NotNull ResourceReference reference) { in getStyle() argument 102 return RemoteResourceValue.fromResourceValue(mDelegate.getStyle(reference)); in getStyle() 113 public RemoteResourceValue<ResourceValue> getUnresolvedResource(ResourceReference reference) { in getUnresolvedResource() argument 114 return RemoteResourceValue.fromResourceValue(mDelegate.getUnresolvedResource(reference)); in getUnresolvedResource()
|
/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/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/layoutlib/bridge/src/android/util/imagepool/ |
D | Bucket.java | 46 SoftReference<BufferedImage> reference = mBufferedImageRef.remove(); in remove() local 47 return reference == null ? null : reference.get(); in remove()
|
/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/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/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteRenderResources.java | 43 …RemoteResourceValue<ResourceValue> getResolvedResource(@NotNull ResourceReference reference) throw… in getResolvedResource() argument 56 …RemoteResourceValue<StyleResourceValue> getStyle(@NotNull ResourceReference reference) throws Remo… in getStyle() argument 60 …RemoteResourceValue<ResourceValue> getUnresolvedResource(ResourceReference reference) throws Remot… in getUnresolvedResource() argument
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteRenderResourcesAdapter.java | 113 public ResourceValue getUnresolvedResource(ResourceReference reference) { in getUnresolvedResource() argument 115 return mDelegate.getUnresolvedResource(reference).toResourceValue(); in getUnresolvedResource() 142 public StyleResourceValue getStyle(ResourceReference reference) { in getStyle() argument 144 return mDelegate.getStyle(reference).toResourceValue(); in getStyle()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | resampler_tests.cpp | 76 void buffercmp(const void *reference, const void *test, in buffercmp() argument 80 int check = memcmp((const char*)reference + i * outputFrameSize, in buffercmp() 123 void* reference = calloc(outputFrames, outputFrameSize); in testBufferIncrement() local 124 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testBufferIncrement() 151 buffercmp(reference, test, outputFrameSize, outputFrames); in testBufferIncrement() 153 free(reference); in testBufferIncrement() 211 void* reference = calloc(outputFrames, outputFrameSize); in testStopbandDownconversion() local 212 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testStopbandDownconversion() 214 TO *out = reinterpret_cast<TO *>(reference); in testStopbandDownconversion() 244 free(reference); in testStopbandDownconversion()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 402 public static boolean isTimeBetween(@NonNull LocalTime reference, in isTimeBetween() argument 406 if ((reference.isBefore(start) && reference.isAfter(end) in isTimeBetween() 408 || (reference.isBefore(end) && reference.isBefore(start) && start.isBefore(end)) in isTimeBetween() 410 || (reference.isAfter(end) && reference.isAfter(start)) && start.isBefore(end))) { in isTimeBetween()
|