Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 841) sorted by relevance

12345678910>>...34

/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySavingStatsTest.java111 final BatterySavingStatsTestable target = new BatterySavingStatsTestable(); in checkAll() local
113 target.assertDumpable(); in checkAll()
115 target.advanceClock(1); in checkAll()
116 target.drainBattery(200); in checkAll()
118 target.transitionState( in checkAll()
123 target.advanceClock(4); in checkAll()
124 target.drainBattery(100); in checkAll()
126 target.transitionState( in checkAll()
131 target.advanceClock(2); in checkAll()
132 target.drainBattery(500); in checkAll()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DPrimitiveFormat.java28 public static MutableFrameFormat createByteFormat(int count, int target) { in createByteFormat() argument
29 return createFormat(FrameFormat.TYPE_BYTE, count, target); in createByteFormat()
32 public static MutableFrameFormat createInt16Format(int count, int target) { in createInt16Format() argument
33 return createFormat(FrameFormat.TYPE_INT16, count, target); in createInt16Format()
36 public static MutableFrameFormat createInt32Format(int count, int target) { in createInt32Format() argument
37 return createFormat(FrameFormat.TYPE_INT32, count, target); in createInt32Format()
40 public static MutableFrameFormat createFloatFormat(int count, int target) { in createFloatFormat() argument
41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); in createFloatFormat()
44 public static MutableFrameFormat createDoubleFormat(int count, int target) { in createDoubleFormat() argument
45 return createFormat(FrameFormat.TYPE_DOUBLE, count, target); in createDoubleFormat()
[all …]
DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { in fromClass() argument
31 MutableFrameFormat result = new MutableFrameFormat(FrameFormat.TYPE_OBJECT, target); in fromClass()
36 result.setBytesPerSample(bytesPerSampleForClass(clazz, target)); in fromClass()
40 public static MutableFrameFormat fromClass(Class clazz, int target) { in fromClass() argument
41 return fromClass(clazz, FrameFormat.SIZE_UNSPECIFIED, target); in fromClass()
44 public static MutableFrameFormat fromObject(Object object, int target) { in fromObject() argument
46 ? new MutableFrameFormat(FrameFormat.TYPE_OBJECT, target) in fromObject()
47 : fromClass(object.getClass(), FrameFormat.SIZE_UNSPECIFIED, target); in fromObject()
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { in fromObject() argument
52 ? new MutableFrameFormat(FrameFormat.TYPE_OBJECT, target) in fromObject()
[all …]
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java84 final LinkProperties target = new LinkProperties(source); in testLinkPropertiesIdenticalEqual() local
86 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(source, target)); in testLinkPropertiesIdenticalEqual()
87 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(target, source)); in testLinkPropertiesIdenticalEqual()
89 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(source, target)); in testLinkPropertiesIdenticalEqual()
90 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(target, source)); in testLinkPropertiesIdenticalEqual()
92 assertTrue(LinkPropertiesUtils.isIdenticalDnses(source, target)); in testLinkPropertiesIdenticalEqual()
93 assertTrue(LinkPropertiesUtils.isIdenticalDnses(target, source)); in testLinkPropertiesIdenticalEqual()
95 assertTrue(LinkPropertiesUtils.isIdenticalRoutes(source, target)); in testLinkPropertiesIdenticalEqual()
96 assertTrue(LinkPropertiesUtils.isIdenticalRoutes(target, source)); in testLinkPropertiesIdenticalEqual()
98 assertTrue(LinkPropertiesUtils.isIdenticalHttpProxy(source, target)); in testLinkPropertiesIdenticalEqual()
[all …]
/frameworks/base/core/java/android/animation/
DObjectAnimator.java212 private ObjectAnimator(Object target, String propertyName) { in ObjectAnimator() argument
213 setTarget(target); in ObjectAnimator()
223 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument
224 setTarget(target); in ObjectAnimator()
243 public static ObjectAnimator ofInt(Object target, String propertyName, int... values) { in ofInt() argument
244 ObjectAnimator anim = new ObjectAnimator(target, propertyName); in ofInt()
266 public static ObjectAnimator ofInt(Object target, String xPropertyName, String yPropertyName, in ofInt() argument
273 return ofPropertyValuesHolder(target, x, y); in ofInt()
289 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() argument
290 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt()
[all …]
/frameworks/base/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s…
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/FrameworkTest_intermediates/)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.policy*)
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates)
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationIconDozeHelper.java47 public void setImageDark(ImageView target, boolean dark, boolean fade, long delay, in setImageDark() argument
51 fadeImageColorFilter(target, dark, delay); in setImageDark()
52 fadeImageAlpha(target, dark, delay); in setImageDark()
54 fadeGrayscale(target, dark, delay); in setImageDark()
58 updateImageColorFilter(target, dark); in setImageDark()
59 updateImageAlpha(target, dark); in setImageDark()
61 updateGrayscale(target, dark); in setImageDark()
66 private void fadeImageColorFilter(final ImageView target, boolean dark, long delay) { in fadeImageColorFilter() argument
68 updateImageColorFilter(target, (Float) animation.getAnimatedValue()); in fadeImageColorFilter()
72 private void fadeImageAlpha(final ImageView target, boolean dark, long delay) { in fadeImageAlpha() argument
[all …]
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java167 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() argument
169 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual()
170 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual()
172 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual()
173 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual()
175 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual()
176 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual()
178 assertTrue(source.isIdenticalPrivateDns(target)); in assertLinkPropertiesEqual()
179 assertTrue(target.isIdenticalPrivateDns(source)); in assertLinkPropertiesEqual()
181 assertTrue(source.isIdenticalValidatedPrivateDnses(target)); in assertLinkPropertiesEqual()
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11ExtensionPack.java111 int target, in glBindFramebufferOES() argument
116 int target, in glBindRenderbufferOES() argument
121 int target, in glBindTexture() argument
142 int target in glCheckFramebufferStatusOES() argument
146 int target, in glCompressedTexImage2D() argument
157 int target, in glCopyTexImage2D() argument
194 int target, in glFramebufferRenderbufferOES() argument
201 int target, in glFramebufferTexture2DOES() argument
209 int target in glGenerateMipmapOES() argument
235 int target, in glGetFramebufferAttachmentParameterivOES() argument
[all …]
DGL11.java148 int target, in glBindBuffer() argument
153 int target, in glBufferData() argument
160 int target, in glBufferSubData() argument
243 int target, in glGetBufferParameteriv() argument
250 int target, in glGetBufferParameteriv() argument
378 int target, in glGetTexParameterfv() argument
385 int target, in glGetTexParameterfv() argument
391 int target, in glGetTexParameteriv() argument
398 int target, in glGetTexParameteriv() argument
404 int target, in glGetTexParameterxv() argument
[all …]
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp67 LDSection* target = m_Module.getSection(output_name); in MergeSection() local
69 if (target == NULL) { in MergeSection()
70 target = LDSection::Create(output_name, in MergeSection()
74 target->setAlign(pInputSection.align()); in MergeSection()
75 m_Module.getSectionTable().push_back(target); in MergeSection()
78 switch (target->kind()) { in MergeSection()
81 if (target->hasEhFrame()) in MergeSection()
82 eh_frame = target->getEhFrame(); in MergeSection()
84 eh_frame = IRBuilder::CreateEhFrame(*target); in MergeSection()
87 UpdateSectionAlign(*target, pInputSection); in MergeSection()
[all …]
/frameworks/base/tools/bit/
Dmain.cpp184 Target* target; member
270 m_currentAction->target->testPassCount++; in OnTestStatus()
281 line << ": " << m_currentAction->target->name << ':' << className << "\\#" << testName; in OnTestStatus()
288 m_currentAction->target->testFailCount++; in OnTestStatus()
290 m_currentAction->target->name.c_str(), className.c_str(), in OnTestStatus()
312 m_currentAction->target->unknownFailureCount++; in OnSessionStatus()
534 Target* target = new Target(flagBuild || !anyPhases, flagInstall || !anyPhases, in parse_args() local
541 delete target; in parse_args()
544 target->name = arg; in parse_args()
546 target->name.assign(arg, 0, colonPos); in parse_args()
[all …]
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.1extpack1 void glBindFramebufferOES ( GLint target, GLint framebuffer )
2 void glBindRenderbufferOES ( GLint target, GLint renderbuffer )
3 void glBindTexture ( GLint target, GLint texture )
7 GLint glCheckFramebufferStatusOES ( GLint target )
8 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLs…
9 void glCopyTexImage2D ( GLint target, GLint level, GLint internalformat, GLint x, GLint y, GLint wi…
13 void glFramebufferRenderbufferOES ( GLint target, GLint attachment, GLint renderbuffertarget, GLint…
14 void glFramebufferTexture2DOES ( GLint target, GLint attachment, GLint textarget, GLint texture, GL…
15 void glGenerateMipmapOES ( GLint target )
18 void glGetFramebufferAttachmentParameterivOES ( GLint target, GLint attachment, GLint pname, GLint …
[all …]
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll1 ; This test assembles this file to bitcode with all supported target
5 ; RUN: %llvm-rs-as -target-api 11 %s -o %t11
7 ; RUN: %llvm-rs-as -target-api 12 %s -o %t12
9 ; RUN: %llvm-rs-as -target-api 13 %s -o %t13
11 ; RUN: %llvm-rs-as -target-api 14 %s -o %t14
13 ; RUN: %llvm-rs-as -target-api 15 %s -o %t15
15 ; RUN: %llvm-rs-as -target-api 16 %s -o %t16
17 ; RUN: %llvm-rs-as -target-api 17 %s -o %t17
19 ; RUN: %llvm-rs-as -target-api 18 %s -o %t18
21 ; RUN: %llvm-rs-as -target-api 19 %s -o %t19
[all …]
/frameworks/opt/telephony/
DCleanSpec.mk41 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
42 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
43 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
44 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
45 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed…
[all …]
/frameworks/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Delegate.java102 private static void callMethod(Object target, long methodID, Object... args) { in callMethod() argument
108 method.invoke(target, args); in callMethod()
137 /*package*/ static void nCallIntMethod(Object target, long methodID, int arg) { in nCallIntMethod() argument
138 callMethod(target, methodID, arg); in nCallIntMethod()
142 /*package*/ static void nCallFloatMethod(Object target, long methodID, float arg) { in nCallFloatMethod() argument
143 callMethod(target, methodID, arg); in nCallFloatMethod()
147 /*package*/ static void nCallTwoIntMethod(Object target, long methodID, int arg1, in nCallTwoIntMethod() argument
149 callMethod(target, methodID, arg1, arg2); in nCallTwoIntMethod()
153 /*package*/ static void nCallFourIntMethod(Object target, long methodID, int arg1, in nCallFourIntMethod() argument
155 callMethod(target, methodID, arg1, arg2, arg3, arg4); in nCallFourIntMethod()
[all …]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackSplitter.java52 for (CaptureCallback target : mRecipients) { in onCaptureCompleted()
53 target.onCaptureCompleted(session, request, result); in onCaptureCompleted()
60 for (CaptureCallback target : mRecipients) { in onCaptureFailed()
61 target.onCaptureFailed(session, request, failure); in onCaptureFailed()
68 for (CaptureCallback target : mRecipients) { in onCaptureProgressed()
69 target.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed()
75 for (CaptureCallback target : mRecipients) { in onCaptureSequenceAborted()
76 target.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
83 for (CaptureCallback target : mRecipients) { in onCaptureSequenceCompleted()
84 target.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java88 public void glBindTexture(int target, int texture) { in glBindTexture() argument
90 mgl.glBindTexture(target, texture); in glBindTexture()
167 public void glCompressedTexImage2D(int target, int level, in glCompressedTexImage2D() argument
171 mgl.glCompressedTexImage2D(target, level, internalformat, width, in glCompressedTexImage2D()
176 public void glCompressedTexSubImage2D(int target, int level, int xoffset, in glCompressedTexSubImage2D() argument
180 mgl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, in glCompressedTexSubImage2D()
185 public void glCopyTexImage2D(int target, int level, int internalformat, in glCopyTexImage2D() argument
188 mgl.glCopyTexImage2D(target, level, internalformat, x, y, width, in glCopyTexImage2D()
193 public void glCopyTexSubImage2D(int target, int level, int xoffset, in glCopyTexSubImage2D() argument
196 mgl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, in glCopyTexSubImage2D()
[all …]
DGLES11.java157 int target, in glBindBuffer() argument
164 int target, in glBufferData() argument
173 int target, in glBufferSubData() argument
284 int target, in glGetBufferParameteriv() argument
293 int target, in glGetBufferParameteriv() argument
480 int target, in glGetTexParameterfv() argument
489 int target, in glGetTexParameterfv() argument
497 int target, in glGetTexParameteriv() argument
506 int target, in glGetTexParameteriv() argument
514 int target, in glGetTexParameterxv() argument
[all …]
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in1 void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) {
2 CALL_GL_API(glEGLImageTargetTexture2DOES, target, image);
4 void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) {
5 CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image);
73 void API_ENTRY(glGetTexEnvxvOES)(GLenum target, GLenum pname, GLfixed *params) {
74 CALL_GL_API(glGetTexEnvxvOES, target, pname, params);
76 void API_ENTRY(glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed *params) {
77 CALL_GL_API(glGetTexParameterxvOES, target, pname, params);
130 void API_ENTRY(glTexEnvxOES)(GLenum target, GLenum pname, GLfixed param) {
131 CALL_GL_API(glTexEnvxOES, target, pname, param);
[all …]
Dgl_api.in40 void API_ENTRY(glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params) {
41 CALL_GL_API(glGetTexEnvfv, target, pname, params);
43 void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) {
44 CALL_GL_API(glGetTexParameterfv, target, pname, params);
73 void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) {
74 CALL_GL_API(glMultiTexCoord4f, target, s, t, r, q);
100 void API_ENTRY(glTexEnvf)(GLenum target, GLenum pname, GLfloat param) {
101 CALL_GL_API(glTexEnvf, target, pname, param);
103 void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) {
104 CALL_GL_API(glTexEnvfv, target, pname, params);
[all …]
/frameworks/base/core/java/android/net/
DLinkProperties.java1364 public boolean isIdenticalInterfaceName(@NonNull LinkProperties target) { in isIdenticalInterfaceName() argument
1365 return LinkPropertiesUtils.isIdenticalInterfaceName(target, this); in isIdenticalInterfaceName()
1375 public boolean isIdenticalDhcpServerAddress(@NonNull LinkProperties target) { in isIdenticalDhcpServerAddress() argument
1376 return Objects.equals(mDhcpServerAddress, target.mDhcpServerAddress); in isIdenticalDhcpServerAddress()
1387 public boolean isIdenticalAddresses(@NonNull LinkProperties target) { in isIdenticalAddresses() argument
1388 return LinkPropertiesUtils.isIdenticalAddresses(target, this); in isIdenticalAddresses()
1399 public boolean isIdenticalDnses(@NonNull LinkProperties target) { in isIdenticalDnses() argument
1400 return LinkPropertiesUtils.isIdenticalDnses(target, this); in isIdenticalDnses()
1411 public boolean isIdenticalPrivateDns(@NonNull LinkProperties target) { in isIdenticalPrivateDns() argument
1412 return (isPrivateDnsActive() == target.isPrivateDnsActive() in isIdenticalPrivateDns()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java131 public Builder addFloat(Object target, String property, float... values) { in addFloat() argument
132 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat()
136 public Builder addInt(Object target, String property, int... values) { in addInt() argument
137 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt()
141 private void add(Object target, KeyframeSet keyframeSet) { in add() argument
142 mTargets.add(target); in add()
146 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() argument
147 if (target instanceof View) { in getProperty()
169 if (target instanceof TouchAnimator && "position".equals(property)) { in getProperty()
172 return Property.of(target.getClass(), cls, property); in getProperty()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/palette/
DTarget.java274 private static void setDefaultDarkLightnessValues(Target target) { in setDefaultDarkLightnessValues() argument
275 target.mLightnessTargets[INDEX_TARGET] = TARGET_DARK_LUMA; in setDefaultDarkLightnessValues()
276 target.mLightnessTargets[INDEX_MAX] = MAX_DARK_LUMA; in setDefaultDarkLightnessValues()
279 private static void setDefaultNormalLightnessValues(Target target) { in setDefaultNormalLightnessValues() argument
280 target.mLightnessTargets[INDEX_MIN] = MIN_NORMAL_LUMA; in setDefaultNormalLightnessValues()
281 target.mLightnessTargets[INDEX_TARGET] = TARGET_NORMAL_LUMA; in setDefaultNormalLightnessValues()
282 target.mLightnessTargets[INDEX_MAX] = MAX_NORMAL_LUMA; in setDefaultNormalLightnessValues()
285 private static void setDefaultLightLightnessValues(Target target) { in setDefaultLightLightnessValues() argument
286 target.mLightnessTargets[INDEX_MIN] = MIN_LIGHT_LUMA; in setDefaultLightLightnessValues()
287 target.mLightnessTargets[INDEX_TARGET] = TARGET_LIGHT_LUMA; in setDefaultLightLightnessValues()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java113 int target, in glBindTexture() argument
234 int target, in glCompressedTexImage2D() argument
247 int target, in glCompressedTexSubImage2D() argument
261 int target, in glCopyTexImage2D() argument
274 int target, in glCopyTexSubImage2D() argument
508 int target, in glHint() argument
740 int target, in glMultiTexCoord4f() argument
750 int target, in glMultiTexCoord4x() argument
1002 int target, in glTexEnvf() argument
1010 int target, in glTexEnvfv() argument
[all …]

12345678910>>...34