Home
last modified time | relevance | path

Searched refs:Description (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/base/tests/utils/testutils/tests/src/com/android/test/filters/
DSelectTestTests.java34 import org.junit.runner.Description;
66 private static final Set<Description> TEST_METHOD_A1K = methodTest(METHOD_A1K);
67 private static final Set<Description> TEST_METHOD_A1L = methodTest(METHOD_A1L);
68 private static final Set<Description> TEST_METHOD_A2M = methodTest(METHOD_A2M);
69 private static final Set<Description> TEST_METHOD_A2N = methodTest(METHOD_A2N);
70 private static final Set<Description> TEST_METHOD_B3P = methodTest(METHOD_B3P);
71 private static final Set<Description> TEST_METHOD_B3Q = methodTest(METHOD_B3Q);
72 private static final Set<Description> TEST_METHOD_B4R = methodTest(METHOD_B4R);
73 private static final Set<Description> TEST_METHOD_B4S = methodTest(METHOD_B4S);
74 private static final Set<Description> TEST_METHOD_C5W = methodTest(METHOD_C5W);
[all …]
/frameworks/av/media/libstagefright/renderfright/
DDescription.cpp26 Description::TransferFunction Description::dataSpaceToTransferFunction(ui::Dataspace dataSpace) { in dataSpaceToTransferFunction()
30 return Description::TransferFunction::ST2084; in dataSpaceToTransferFunction()
32 return Description::TransferFunction::HLG; in dataSpaceToTransferFunction()
34 return Description::TransferFunction::LINEAR; in dataSpaceToTransferFunction()
36 return Description::TransferFunction::SRGB; in dataSpaceToTransferFunction()
40 bool Description::hasInputTransformMatrix() const { in hasInputTransformMatrix()
45 bool Description::hasOutputTransformMatrix() const { in hasOutputTransformMatrix()
50 bool Description::hasColorMatrix() const { in hasColorMatrix()
/frameworks/base/core/java/android/util/
DEventLogTags.java28 public static class Description { class in EventLogTags
32 Description(int tag, String name) { in Description() method in EventLogTags.Description
42 public Description get(String name) { return null; } in get()
44 public Description get(int tag) { return null; } in get()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DEfficientXmlChecker.java35 import com.google.errorprone.matchers.Description;
228 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
239 final Description res = new TreePathScanner<Description, Void>() { in matchMethodInvocation()
241 public Description reduce(Description r1, Description r2) { in matchMethodInvocation()
246 public Description visitVariable(VariableTree node, Void param) { in matchMethodInvocation()
251 public Description visitAssignment(AssignmentTree node, Void param) { in matchMethodInvocation()
261 private Description visitWriteSource(Name target, ExpressionTree source) { in matchMethodInvocation()
293 final Description res = new TreePathScanner<Description, Void>() { in matchMethodInvocation()
295 public Description reduce(Description r1, Description r2) { in matchMethodInvocation()
300 public Description visitMethodInvocation(MethodInvocationTree node, in matchMethodInvocation()
[all …]
DBluetoothPermissionChecker.java42 import com.google.errorprone.matchers.Description;
108 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod()
110 if (!BLUETOOTH_API.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
113 if (BINDER_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
114 if (GENERIC_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
118 return Description.NO_MATCH; in matchMethod()
123 if (isCallbackOrWrapper(symbol)) return Description.NO_MATCH; in matchMethod()
126 if (isSuppressed(symbol)) return Description.NO_MATCH; in matchMethod()
144 if (BINDER_METHOD.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
168 return Description.NO_MATCH; in matchMethod()
DRequiresPermissionChecker.java41 import com.google.errorprone.matchers.Description;
137 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod()
139 if (tree.getBody() == null) return Description.NO_MATCH; in matchMethod()
142 if (BINDER_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
145 if (LOCAL_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()
149 if (isSuppressedRecursively(method, state)) return Description.NO_MATCH; in matchMethod()
156 final Description desc = tree.accept(new TreeScanner<Description, Void>() { in matchMethod()
160 public Description visitMethodInvocation(MethodInvocationTree node, Void param) { in matchMethod()
182 public Description reduce(Description r1, Description r2) { in matchMethod()
200 return Description.NO_MATCH; in matchMethod()
[all …]
DUidChecker.java28 import com.google.errorprone.matchers.Description;
55 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
60 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
64 private Description matchArguments(List<VarSymbol> vars, in matchArguments()
77 return Description.NO_MATCH; in matchArguments()
DEfficientStringsChecker.java39 import com.google.errorprone.matchers.Description;
111 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
155 return Description.NO_MATCH; in matchMethodInvocation()
159 public Description matchNewClass(NewClassTree tree, VisitorState state) { in matchNewClass()
166 return Description.NO_MATCH; in matchNewClass()
170 public Description matchCompoundAssignment(CompoundAssignmentTree tree, VisitorState state) { in matchCompoundAssignment()
178 return Description.NO_MATCH; in matchCompoundAssignment()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DDescriptionTest.java60 Description description = new Description(); in testElementName()
63 assertEquals(Description.ELEMENT_NAME, description.getElementName()); in testElementName()
70 Description description = new Description(descriptionValue); in testSerializing()
110 Description description = null; in testParsing()
116 && Description.ELEMENT_NAME.equals(parser.getName())) { in testParsing()
117 description = new Description(); in testParsing()
/frameworks/base/core/java/android/view/animation/
DClipRectAnimation.java67 Description d = Description.parseValue(a.peekValue( in ClipRectAnimation()
72 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
77 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
82 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
88 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
93 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
98 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
103 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
DExtendAnimation.java65 Description d = Description.parseValue(a.peekValue( in ExtendAnimation()
70 d = Description.parseValue(a.peekValue( in ExtendAnimation()
75 d = Description.parseValue(a.peekValue( in ExtendAnimation()
80 d = Description.parseValue(a.peekValue( in ExtendAnimation()
86 d = Description.parseValue(a.peekValue( in ExtendAnimation()
91 d = Description.parseValue(a.peekValue( in ExtendAnimation()
96 d = Description.parseValue(a.peekValue( in ExtendAnimation()
101 d = Description.parseValue(a.peekValue( in ExtendAnimation()
DTranslateAnimation.java75 Description d = Description.parseValue(a.peekValue( in TranslateAnimation()
80 d = Description.parseValue(a.peekValue( in TranslateAnimation()
85 d = Description.parseValue(a.peekValue( in TranslateAnimation()
90 d = Description.parseValue(a.peekValue( in TranslateAnimation()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceDescription.java36 private Description mDescription;
67 public void setDescription(Description description) { in setDescription()
71 public Description getDescription() { in getDescription()
122 } else if (Description.ELEMENT_NAME.equals(tagName)) { in parse()
123 Description description = new Description(); in parse()
DDescription.java32 public class Description extends ElementBase { class
38 public Description() { in Description() method in Description
41 public Description(String description) { in Description() method in Description
/frameworks/base/ravenwood/junit-stub-src/android/platform/test/ravenwood/
DRavenwoodRuleImpl.java19 import org.junit.runner.Description;
31 public static void logTestRunner(String label, Description description) { in logTestRunner()
35 public static void validate(Statement base, Description description, in validate()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/
DOptionalClassRunner.java20 import org.junit.runner.Description;
71 public Description getDescription() { in getDescription()
106 protected Description describeChild(Runner child) { in describeChild()
127 public Description getDescription() { in getDescription()
128 return Description.createTestDescription(mTestClass, "classNotFound"); in getDescription()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DInstantTaskExecutorRule.kt23 import org.junit.runner.Description
33 override fun starting(description: Description) { in starting()
53 override fun finished(description: Description) { in finished()
/frameworks/base/ravenwood/junit-src/android/platform/test/ravenwood/
DRavenwoodRule.java36 import org.junit.runner.Description;
276 static boolean shouldEnableOnDevice(Description description) { in shouldEnableOnDevice()
299 static boolean shouldEnableOnRavenwood(Description description) { in shouldEnableOnRavenwood()
335 static boolean shouldStillIgnoreInProbeIgnoreMode(Description description) { in shouldStillIgnoreInProbeIgnoreMode()
351 public Statement apply(Statement base, Description description) { in apply()
365 private void commonPrologue(Statement base, Description description) { in commonPrologue()
374 private Statement applyDefault(Statement base, Description description) { in applyDefault()
399 private Statement applyProbeIgnored(Statement base, Description description) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java31 import org.hamcrest.Description;
51 public void describeTo(Description description) { in checkUserHandle()
67 public void describeTo(Description description) { in checkIntentComponent()
83 public void describeTo(Description description) { in checkIntentAction()
102 public void describeTo(Description description) { in checkIntent()
130 public void describeTo(Description description) { in createUserRestrictionsBundleMatcher()
159 public void describeTo(Description description) { in createUserRestrictionsSetMatcher()
183 public void describeTo(Description description) { in checkApps()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/
DDescription.h31 struct Description { struct
41 Description() = default; argument
42 ~Description() = default;
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSceneContainerRule.kt23 import org.junit.runner.Description in <lambda>()
33 override fun apply(base: Statement?, description: Description?): Statement { in <lambda>()
85 inline fun <reified T : Annotation> Description?.hasAnnotation(): Boolean = in <lambda>()
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp161 ProgramCache::Key ProgramCache::computeKey(const Description& description) { in computeKey()
192 case Description::TransferFunction::LINEAR: in computeKey()
196 case Description::TransferFunction::SRGB: in computeKey()
199 case Description::TransferFunction::ST2084: in computeKey()
202 case Description::TransferFunction::HLG: in computeKey()
208 case Description::TransferFunction::LINEAR: in computeKey()
212 case Description::TransferFunction::SRGB: in computeKey()
215 case Description::TransferFunction::ST2084: in computeKey()
218 case Description::TransferFunction::HLG: in computeKey()
784 void ProgramCache::useProgram(EGLContext context, const Description& description) { in useProgram()
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DAbstractExtendedMockitoRule.java32 import org.junit.runner.Description;
112 protected Set<Class<?>> getMockedStaticClasses(Description description) { in getMockedStaticClasses()
126 protected Set<Class<?>> getSpiedStaticClasses(Description description) { in getSpiedStaticClasses()
140 protected boolean getClearInlineMethodsAtTheEnd(Description description) { in getClearInlineMethodsAtTheEnd()
145 public Statement apply(Statement base, Description description) { in apply()
177 private void createMockitoSession(Statement base, Description description) {
203 private void setUpMockedClasses(Description description,
232 private void tearDown(Description description, Throwable e) {
255 private void clearInlineMocks(Description description) {
434 Set<A> getAnnotations(Description description) {
/frameworks/base/apct-tests/perftests/windowmanager/src/com/android/server/wm/test/filters/
DFrameworksTestsFilter.java21 import org.junit.runner.Description;
33 public boolean shouldRun(Description description) { in shouldRun()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DMatcherUtils.java20 import org.hamcrest.Description;
46 public void describeTo(final Description description) { in first()

1234567