Searched refs:identity (Results 1 - 25 of 109) sorted by relevance

12345

/frameworks/base/libs/hwui/tests/unit/
H A DSnapshotTests.cpp26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100));
27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90));
28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
36 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity());
44 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity());
51 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100));
52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90));
57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
59 child->applyClip(&rect, Matrix4::identity());
67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rec
[all...]
H A DDamageAccumulatorTests.cpp32 TEST(DamageAccumulator, identity) {
35 da.pushTransform(&Matrix4::identity());
38 da.pushTransform(&Matrix4::identity());
70 da.pushTransform(&Matrix4::identity());
72 da.pushTransform(&Matrix4::identity());
75 da.pushTransform(&Matrix4::identity());
H A DBakedOpStateTests.cpp37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200));
72 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200));
155 RectOp recordedOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &strokedPaint);
174 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint);
175 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200));
224 RectOp rejectOp(Rect(100, 200), Matrix4::identity(), &clip, &paint);
225 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect()); // Note: empty clip
239 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint);
240 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(200, 200));
254 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(),
[all...]
H A DBakedOpDispatcherTests.cpp62 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 100));
111 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true);
114 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint);
122 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer);
141 RoundRectOp roundRectOp(bounds, Matrix4::identity(), nullptr, &paint, 0, 270);
146 PointsOp antiAliasedPointsOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4);
149 PointsOp pointsOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4);
153 LinesOp antiAliasedLinesOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4);
156 LinesOp linesOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4);
282 PathOp op(bounds, Matrix4::identity(), nullpt
[all...]
H A DOpDumperTests.cpp27 RectOp op(uirenderer::Rect(100, 100), Matrix4::identity(), nullptr, &paint);
H A DClipAreaTests.cpp98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op);
118 area.clipRectWithTransform(expected, &Matrix4::identity(), SkRegion::kReplace_Op);
160 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op);
180 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kIntersect_Op);
192 EXPECT_EQ(nullptr, area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity()));
198 area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity()));
229 area.serializeIntersectedClip(allocator, &recordedClip, Matrix4::identity());
239 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op);
267 auto resolvedClip = area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity());
310 ClipArea::applyTransformToRegion(Matrix4::identity(),
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DDescription.cpp71 const mat3 identity; local
72 return mInputTransformMatrix != identity;
76 const mat4 identity; local
77 return mOutputTransformMatrix != identity;
81 const mat4 identity; local
82 return mColorMatrix != identity;
86 const mat4 identity; local
87 return mSaturationMatrix != identity;
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DSchemaIdentityKey.kt38 fun append(identity: HasSchemaIdentity) {
39 append(identity.getIdKey())
49 fun append(identity: String) {
50 sb.append(identity).append(SEPARATOR)
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java29 * An identity that uniquely identifies a particular device. In this
30 * implementation, the identity is represented as a 64-bit integer encoded to a
56 * Create a verifier device identity from a long.
58 * @param identity device identity in a 64-bit integer.
61 public VerifierDeviceIdentity(long identity) { argument
62 mIdentity = identity;
63 mIdentityString = encodeBase32(identity);
67 final long identity = source.readLong();
69 mIdentity = identity;
[all...]
/frameworks/opt/net/lowpan/libandroid_net_lowpan/
H A DLowpanProvision.cpp48 LowpanProvision::LowpanProvision(const LowpanIdentity& identity, const LowpanCredential& credential) argument
49 : mIdentity(identity), mCredential(credential), mHasCredential(true)
53 LowpanProvision::LowpanProvision(const LowpanIdentity& identity) argument
54 : mIdentity(identity), mHasCredential(false)
/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java146 final long identity = Binder.clearCallingIdentity();
150 Binder.restoreCallingIdentity(identity);
184 final long identity = Binder.clearCallingIdentity();
189 Binder.restoreCallingIdentity(identity);
206 final long identity = Binder.clearCallingIdentity();
210 Binder.restoreCallingIdentity(identity);
231 final long identity = Binder.clearCallingIdentity();
235 Binder.restoreCallingIdentity(identity);
252 final long identity = Binder.clearCallingIdentity();
256 Binder.restoreCallingIdentity(identity);
[all...]
H A DRemotePrintService.java688 final long identity = Binder.clearCallingIdentity();
693 Binder.restoreCallingIdentity(identity);
703 final long identity = Binder.clearCallingIdentity();
708 Binder.restoreCallingIdentity(identity);
718 final long identity = Binder.clearCallingIdentity();
722 Binder.restoreCallingIdentity(identity);
732 final long identity = Binder.clearCallingIdentity();
736 Binder.restoreCallingIdentity(identity);
746 final long identity = Binder.clearCallingIdentity();
750 Binder.restoreCallingIdentity(identity);
[all...]
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java125 final long identity = Binder.clearCallingIdentity();
129 Binder.restoreCallingIdentity(identity);
140 final long identity = Binder.clearCallingIdentity();
151 Binder.restoreCallingIdentity(identity);
163 final long identity = Binder.clearCallingIdentity();
169 Binder.restoreCallingIdentity(identity);
181 final long identity = Binder.clearCallingIdentity();
189 Binder.restoreCallingIdentity(identity);
201 final long identity = Binder.clearCallingIdentity();
209 Binder.restoreCallingIdentity(identity);
[all...]
/frameworks/native/services/sensorservice/
H A DBatteryService.cpp61 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); local
63 IPCThreadState::self()->restoreCallingIdentity(identity);
70 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); local
72 IPCThreadState::self()->restoreCallingIdentity(identity);
80 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); local
90 IPCThreadState::self()->restoreCallingIdentity(identity);
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
H A DLowpanProvision.h45 LowpanProvision(const LowpanIdentity& identity, const LowpanCredential& credential);
46 LowpanProvision(const LowpanIdentity& identity);
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/java/android/net/lowpan/
H A DLowpanIdentityTest.java130 LowpanIdentity identity =
151 assertFalse(identity.isNameValid());
156 LowpanIdentity identity =
164 assertEquals("foo o", identity.getName());
165 assertTrue(identity.isNameValid());
170 LowpanIdentity identity = new LowpanIdentity.Builder().setName("foo o").build();
172 assertTrue(identity.isNameValid());
173 assertEquals("foo o", identity.getName());
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DDisplayAdjustmentUtils.java64 long identity = Binder.clearCallingIdentity();
72 Binder.restoreCallingIdentity(identity);
92 long identity = Binder.clearCallingIdentity();
99 Binder.restoreCallingIdentity(identity);
H A DFingerprintGestureDispatcher.java121 long identity = Binder.clearCallingIdentity();
127 Binder.restoreCallingIdentity(identity);
176 long identity = Binder.clearCallingIdentity();
183 Binder.restoreCallingIdentity(identity);
187 long identity = Binder.clearCallingIdentity();
193 Binder.restoreCallingIdentity(identity);
H A DAccessibilityServiceConnection.java82 final long identity = Binder.clearCallingIdentity();
87 Binder.restoreCallingIdentity(identity);
94 final long identity = Binder.clearCallingIdentity();
105 Binder.restoreCallingIdentity(identity);
127 final long identity = Binder.clearCallingIdentity();
133 Binder.restoreCallingIdentity(identity);
224 final long identity = Binder.clearCallingIdentity();
235 Binder.restoreCallingIdentity(identity);
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java909 long identity = Binder.clearCallingIdentity();
913 Binder.restoreCallingIdentity(identity);
920 long identity = Binder.clearCallingIdentity();
924 Binder.restoreCallingIdentity(identity);
931 long identity = Binder.clearCallingIdentity();
935 Binder.restoreCallingIdentity(identity);
945 long identity = Binder.clearCallingIdentity();
952 Binder.restoreCallingIdentity(identity);
962 long identity = Binder.clearCallingIdentity();
974 Binder.restoreCallingIdentity(identity);
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSelectionActionModeHelperTest.java21 import static java.util.function.Function.identity;
112 mRectFList, identity());
262 identity(), identity());
/frameworks/base/lowpan/java/android/net/lowpan/
H A DLowpanProvision.java40 public Builder setLowpanIdentity(@NonNull LowpanIdentity identity) { argument
41 provision.mIdentity = identity;
78 sb.append("LowpanProvision { identity => ").append(mIdentity.toString());
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaResourceMonitorService.java59 final long identity = Binder.clearCallingIdentity();
79 Binder.restoreCallingIdentity(identity);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierSmsUtils.java82 final long identity = Binder.clearCallingIdentity();
91 Binder.restoreCallingIdentity(identity);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java848 final long identity = Binder.clearCallingIdentity();
859 Binder.restoreCallingIdentity(identity);
867 final long identity = Binder.clearCallingIdentity();
875 Binder.restoreCallingIdentity(identity);
893 final long identity = Binder.clearCallingIdentity();
900 Binder.restoreCallingIdentity(identity);
917 final long identity = Binder.clearCallingIdentity();
925 Binder.restoreCallingIdentity(identity);
939 final long identity = Binder.clearCallingIdentity();
946 Binder.restoreCallingIdentity(identity);
[all...]

Completed in 395 milliseconds

12345