Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java136 final long identity = Binder.clearCallingIdentity(); in print() local
141 Binder.restoreCallingIdentity(identity); in print()
158 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfos() local
162 Binder.restoreCallingIdentity(identity); in getPrintJobInfos()
183 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfo() local
187 Binder.restoreCallingIdentity(identity); in getPrintJobInfo()
204 final long identity = Binder.clearCallingIdentity(); in getCustomPrinterIcon() local
208 Binder.restoreCallingIdentity(identity); in getCustomPrinterIcon()
229 final long identity = Binder.clearCallingIdentity(); in cancelPrintJob() local
233 Binder.restoreCallingIdentity(identity); in cancelPrintJob()
[all …]
DRemotePrintService.java722 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfos() local
727 Binder.restoreCallingIdentity(identity); in getPrintJobInfos()
737 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfo() local
742 Binder.restoreCallingIdentity(identity); in getPrintJobInfo()
752 final long identity = Binder.clearCallingIdentity(); in setPrintJobState() local
756 Binder.restoreCallingIdentity(identity); in setPrintJobState()
766 final long identity = Binder.clearCallingIdentity(); in setPrintJobTag() local
770 Binder.restoreCallingIdentity(identity); in setPrintJobTag()
780 final long identity = Binder.clearCallingIdentity(); in writePrintJobData() local
784 Binder.restoreCallingIdentity(identity); in writePrintJobData()
[all …]
DRemotePrintSpooler.java918 final long identity = Binder.clearCallingIdentity(); in onPrintJobQueued() local
922 Binder.restoreCallingIdentity(identity); in onPrintJobQueued()
931 final long identity = Binder.clearCallingIdentity(); in onAllPrintJobsForServiceHandled() local
935 Binder.restoreCallingIdentity(identity); in onAllPrintJobsForServiceHandled()
944 final long identity = Binder.clearCallingIdentity(); in onAllPrintJobsHandled() local
948 Binder.restoreCallingIdentity(identity); in onAllPrintJobsHandled()
957 final long identity = Binder.clearCallingIdentity(); in onPrintJobStateChanged() local
961 Binder.restoreCallingIdentity(identity); in onPrintJobStateChanged()
/frameworks/base/libs/hwui/tests/unit/
DSnapshotTests.cpp26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST()
27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST()
28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST()
36 &rect, Matrix4::identity()); in TEST()
44 &rect, Matrix4::identity()); in TEST()
51 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST()
52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST()
57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST()
59 child->applyClip(&rect, Matrix4::identity()); in TEST()
67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST()
[all …]
DBakedOpStateTests.cpp37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST()
72 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST()
167 Matrix4::identity(), &clip, &strokedPaint); in TEST()
186 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint); in TEST()
187 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST()
234 RectOp rejectOp(Rect(100, 200), Matrix4::identity(), &clip, &paint); in TEST()
235 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect()); // Note: empty clip in TEST()
248 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); in TEST()
249 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(200, 200)); in TEST()
263 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); in TEST()
[all …]
DDamageAccumulatorTests.cpp32 TEST(DamageAccumulator, identity) { in TEST() argument
35 da.pushTransform(&Matrix4::identity()); in TEST()
38 da.pushTransform(&Matrix4::identity()); in TEST()
70 da.pushTransform(&Matrix4::identity()); in TEST()
72 da.pushTransform(&Matrix4::identity()); in TEST()
75 da.pushTransform(&Matrix4::identity()); in TEST()
DBakedOpDispatcherTests.cpp59 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 100)); in testUnmergedGlopDispatch()
110 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); in RENDERTHREAD_TEST()
113 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); in RENDERTHREAD_TEST()
121 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); in RENDERTHREAD_TEST()
141 RoundRectOp roundRectOp(bounds, Matrix4::identity(), nullptr, &paint, 0, 270); in RENDERTHREAD_TEST()
146 PointsOp antiAliasedPointsOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); in RENDERTHREAD_TEST()
149 PointsOp pointsOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4); in RENDERTHREAD_TEST()
153 LinesOp antiAliasedLinesOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); in RENDERTHREAD_TEST()
156 LinesOp linesOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4); in RENDERTHREAD_TEST()
DClipAreaTests.cpp98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op); in TEST()
118 area.clipRectWithTransform(expected, &Matrix4::identity(), SkRegion::kReplace_Op); in TEST()
160 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op); in TEST()
180 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kIntersect_Op); in TEST()
192 EXPECT_EQ(nullptr, area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity())); in TEST()
197 … EXPECT_EQ(origRectClip, area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity())); in TEST()
225 … auto resolvedClip = area.serializeIntersectedClip(allocator, &recordedClip, Matrix4::identity()); in TEST()
235 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op); in TEST()
262 auto resolvedClip = area.serializeIntersectedClip(allocator, nullptr, Matrix4::identity()); in TEST()
304 ClipArea::applyTransformToRegion(Matrix4::identity(), &region); in TEST()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java120 final long identity = Binder.clearCallingIdentity(); in injectInputEvent() local
124 Binder.restoreCallingIdentity(identity); in injectInputEvent()
135 final long identity = Binder.clearCallingIdentity(); in setRotation() local
146 Binder.restoreCallingIdentity(identity); in setRotation()
158 final long identity = Binder.clearCallingIdentity(); in takeScreenshot() local
162 Binder.restoreCallingIdentity(identity); in takeScreenshot()
174 final long identity = Binder.clearCallingIdentity(); in clearWindowContentFrameStats() local
182 Binder.restoreCallingIdentity(identity); in clearWindowContentFrameStats()
194 final long identity = Binder.clearCallingIdentity(); in getWindowContentFrameStats() local
202 Binder.restoreCallingIdentity(identity); in getWindowContentFrameStats()
[all …]
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java59 public VerifierDeviceIdentity(long identity) { in VerifierDeviceIdentity() argument
60 mIdentity = identity; in VerifierDeviceIdentity()
61 mIdentityString = encodeBase32(identity); in VerifierDeviceIdentity()
65 final long identity = source.readLong(); in VerifierDeviceIdentity() local
67 mIdentity = identity; in VerifierDeviceIdentity()
68 mIdentityString = encodeBase32(identity); in VerifierDeviceIdentity()
90 long identity = rng.nextLong(); in generate() local
91 return new VerifierDeviceIdentity(identity); in generate()
/frameworks/native/services/sensorservice/
DBatteryService.cpp66 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in enableSensorImpl() local
68 IPCThreadState::self()->restoreCallingIdentity(identity); in enableSensorImpl()
75 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in disableSensorImpl() local
77 IPCThreadState::self()->restoreCallingIdentity(identity); in disableSensorImpl()
85 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in cleanupImpl() local
94 IPCThreadState::self()->restoreCallingIdentity(identity); in cleanupImpl()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java884 final long identity = Binder.clearCallingIdentity(); in getTvInputList() local
895 Binder.restoreCallingIdentity(identity); in getTvInputList()
903 final long identity = Binder.clearCallingIdentity(); in getTvInputInfo() local
911 Binder.restoreCallingIdentity(identity); in getTvInputInfo()
925 final long identity = Binder.clearCallingIdentity(); in updateTvInputInfo() local
932 Binder.restoreCallingIdentity(identity); in updateTvInputInfo()
949 final long identity = Binder.clearCallingIdentity(); in getTvInputState() local
957 Binder.restoreCallingIdentity(identity); in getTvInputState()
965 final long identity = Binder.clearCallingIdentity(); in getTvContentRatingSystemList() local
972 Binder.restoreCallingIdentity(identity); in getTvContentRatingSystemList()
[all …]
/frameworks/native/libs/ui/tests/
Dmat_test.cpp99 const mat4 identity; in TEST_F() local
107 EXPECT_EQ(identity, m0); in TEST_F()
111 const mat4 identity; in TEST_F() local
121 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
136 EXPECT_EQ(m1, m1*identity); in TEST_F()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java724 long identity = Binder.clearCallingIdentity(); in onPanelRevealed() local
728 Binder.restoreCallingIdentity(identity); in onPanelRevealed()
735 long identity = Binder.clearCallingIdentity(); in clearNotificationEffects() local
739 Binder.restoreCallingIdentity(identity); in clearNotificationEffects()
746 long identity = Binder.clearCallingIdentity(); in onPanelHidden() local
750 Binder.restoreCallingIdentity(identity); in onPanelHidden()
759 long identity = Binder.clearCallingIdentity(); in onNotificationClick() local
763 Binder.restoreCallingIdentity(identity); in onNotificationClick()
772 long identity = Binder.clearCallingIdentity(); in onNotificationActionClick() local
777 Binder.restoreCallingIdentity(identity); in onNotificationActionClick()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java404 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfo() local
424 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfo()
443 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfoForIccId() local
461 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfoForIccId()
481 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfoForSimSlotIndex() local
505 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfoForSimSlotIndex()
526 final long identity = Binder.clearCallingIdentity(); in getAllSubInfoList() local
537 Binder.restoreCallingIdentity(identity); in getAllSubInfoList()
554 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfoList() local
586 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfoList()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java119 Integer phase2, String identity, String anonymousIdentity, String caCert, in createEapConfig() argument
129 if (identity == null) identity = ""; in createEapConfig()
137 config.enterpriseConfig.setIdentity(identity); in createEapConfig()
216 String identity = null; in getWifiConfiguration() local
218 identity = jsonConfig.getString("identity"); in getWifiConfiguration()
232 config = createEapConfig(ssid, password, eapMethod, phase2, identity, in getWifiConfiguration()
/frameworks/base/docs/html/training/sign-in/
Dindex.jd20 …The <a href="https://developers.google.com/identity/sign-in/android/">Google Android API</a> allows
31 <a href="https://developers.google.com/identity/sign-in/android/sign-in" class="external-link">Add
40 <a href="https://developers.google.com/identity/sign-in/android/people" class="external-link">
50 "https://developers.google.com/identity/sign-in/android/start-integrating">Start Integrating</a>
/frameworks/native/cmds/flatland/
DRenderers.cpp78 float identity[16] = { in drawGradient() local
109 glUniformMatrix4fv(mObjToNdcUniformLoc, 1, GL_FALSE, identity); in drawGradient()
110 glUniformMatrix4fv(mUVToInterpUniformLoc, 1, GL_FALSE, identity); in drawGradient()
/frameworks/base/core/java/android/net/
DPskKeyManager.java203 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() argument
221 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) { in getKey() argument
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java981 long identity = Binder.clearCallingIdentity(); in locationCallbackFinished() local
983 Binder.restoreCallingIdentity(identity); in locationCallbackFinished()
1253 long identity = Binder.clearCallingIdentity(); in getProviders() local
1275 Binder.restoreCallingIdentity(identity); in getProviders()
1656 long identity = Binder.clearCallingIdentity(); in requestLocationUpdates() local
1668 Binder.restoreCallingIdentity(identity); in requestLocationUpdates()
1722 long identity = Binder.clearCallingIdentity(); in removeUpdates() local
1726 Binder.restoreCallingIdentity(identity); in removeUpdates()
1790 final long identity = Binder.clearCallingIdentity(); in getLastLocation() local
1836 Binder.restoreCallingIdentity(identity); in getLastLocation()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DDescription.cpp86 const mat4 identity; in setColorMatrix() local
88 mColorMatrixEnabled = (mtx != identity); in setColorMatrix()
/frameworks/base/docs/html/distribute/users/
Dota-installs.jd3 page.tags="google", "identity", "installs"
16 <p>Get started with <a href="https://developers.google.com/identity/sign-in/android/">
18 href="https://developers.google.com/identity/sign-in/web/android-app-installs">over-the-air
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1273 final long identity = Binder.clearCallingIdentity(); in persistComponentNamesToSettingLocked() local
1278 Binder.restoreCallingIdentity(identity); in persistComponentNamesToSettingLocked()
1413 final long identity = Binder.clearCallingIdentity(); in showEnableTouchExplorationDialog()
1419 Binder.restoreCallingIdentity(identity); in showEnableTouchExplorationDialog()
1582 final long identity = Binder.clearCallingIdentity(); in updateAccessibilityEnabledSetting() local
1589 Binder.restoreCallingIdentity(identity); in updateAccessibilityEnabledSetting()
1675 final long identity = Binder.clearCallingIdentity(); in updateTouchExplorationLocked() local
1681 Binder.restoreCallingIdentity(identity); in updateTouchExplorationLocked()
1733 final long identity = Binder.clearCallingIdentity(); in updateEnhancedWebAccessibilityLocked() local
1739 Binder.restoreCallingIdentity(identity); in updateEnhancedWebAccessibilityLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java493 long identity = Binder.clearCallingIdentity();
501 Binder.restoreCallingIdentity(identity);
504 identity = Binder.clearCallingIdentity();
508 Binder.restoreCallingIdentity(identity);
647 long identity = Binder.clearCallingIdentity(); in clearSoundLocked() local
655 Binder.restoreCallingIdentity(identity); in clearSoundLocked()
661 long identity = Binder.clearCallingIdentity(); in clearVibrateLocked() local
665 Binder.restoreCallingIdentity(identity); in clearVibrateLocked()
1609 long identity = Binder.clearCallingIdentity();
1634 Binder.restoreCallingIdentity(identity);
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java60 final long identity = Binder.clearCallingIdentity(); in notifyResourceGranted() local
80 Binder.restoreCallingIdentity(identity); in notifyResourceGranted()

12345