Home
last modified time | relevance | path

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

123456

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java146 final long identity = Binder.clearCallingIdentity(); in print() local
155 Binder.restoreCallingIdentity(identity); in print()
185 final long identity = Binder.clearCallingIdentity(); in print() local
190 Binder.restoreCallingIdentity(identity); in print()
207 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfos() local
211 Binder.restoreCallingIdentity(identity); in getPrintJobInfos()
232 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfo() local
236 Binder.restoreCallingIdentity(identity); in getPrintJobInfo()
253 final long identity = Binder.clearCallingIdentity(); in getCustomPrinterIcon() local
257 Binder.restoreCallingIdentity(identity); in getCustomPrinterIcon()
[all …]
DRemotePrintService.java689 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfos() local
694 Binder.restoreCallingIdentity(identity); in getPrintJobInfos()
704 final long identity = Binder.clearCallingIdentity(); in getPrintJobInfo() local
709 Binder.restoreCallingIdentity(identity); in getPrintJobInfo()
719 final long identity = Binder.clearCallingIdentity(); in setPrintJobState() local
723 Binder.restoreCallingIdentity(identity); in setPrintJobState()
733 final long identity = Binder.clearCallingIdentity(); in setPrintJobTag() local
737 Binder.restoreCallingIdentity(identity); in setPrintJobTag()
747 final long identity = Binder.clearCallingIdentity(); in writePrintJobData() local
751 Binder.restoreCallingIdentity(identity); in writePrintJobData()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp206 std::vector<uint8_t> identity(1024); in TEST() local
207 genRandomData(identity); in TEST()
209 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST()
235 ASSERT_FALSE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); in TEST()
241 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST()
242 ASSERT_TRUE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); in TEST()
249 ShaderCache::get().initShaderDiskCache(identity.data(), -1); in TEST()
254 nullptr, identity.size() * sizeof(decltype(identity)::value_type)); in TEST()
261 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST()
262 ASSERT_TRUE(ShaderCacheTestUtils::validateCache(ShaderCache::get(), identity)); 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()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java134 final long identity = Binder.clearCallingIdentity(); in injectInputEvent() local
139 Binder.restoreCallingIdentity(identity); in injectInputEvent()
166 final long identity = Binder.clearCallingIdentity(); in setRotation() local
177 Binder.restoreCallingIdentity(identity); in setRotation()
189 final long identity = Binder.clearCallingIdentity(); in takeScreenshot() local
195 Binder.restoreCallingIdentity(identity); in takeScreenshot()
207 final long identity = Binder.clearCallingIdentity(); in clearWindowContentFrameStats() local
215 Binder.restoreCallingIdentity(identity); in clearWindowContentFrameStats()
227 final long identity = Binder.clearCallingIdentity(); in getWindowContentFrameStats() local
235 Binder.restoreCallingIdentity(identity); in getWindowContentFrameStats()
[all …]
/frameworks/native/libs/renderengine/
DDescription.cpp41 const mat4 identity; in hasInputTransformMatrix() local
42 return inputTransformMatrix != identity; in hasInputTransformMatrix()
46 const mat4 identity; in hasOutputTransformMatrix() local
47 return outputTransformMatrix != identity; in hasOutputTransformMatrix()
51 const mat4 identity; in hasColorMatrix() local
52 return colorMatrix != identity; in hasColorMatrix()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java61 public VerifierDeviceIdentity(long identity) { in VerifierDeviceIdentity() argument
62 mIdentity = identity; in VerifierDeviceIdentity()
63 mIdentityString = encodeBase32(identity); in VerifierDeviceIdentity()
67 final long identity = source.readLong(); in VerifierDeviceIdentity() local
69 mIdentity = identity; in VerifierDeviceIdentity()
70 mIdentityString = encodeBase32(identity); in VerifierDeviceIdentity()
93 long identity = rng.nextLong(); in generate() local
94 return new VerifierDeviceIdentity(identity); in generate()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java867 final long identity = Binder.clearCallingIdentity(); in getTvInputList() local
878 Binder.restoreCallingIdentity(identity); in getTvInputList()
886 final long identity = Binder.clearCallingIdentity(); in getTvInputInfo() local
894 Binder.restoreCallingIdentity(identity); in getTvInputInfo()
912 final long identity = Binder.clearCallingIdentity(); in updateTvInputInfo() local
919 Binder.restoreCallingIdentity(identity); in updateTvInputInfo()
936 final long identity = Binder.clearCallingIdentity(); in getTvInputState() local
944 Binder.restoreCallingIdentity(identity); in getTvInputState()
958 final long identity = Binder.clearCallingIdentity(); in getTvContentRatingSystemList() local
965 Binder.restoreCallingIdentity(identity); in getTvContentRatingSystemList()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java1078 long identity = Binder.clearCallingIdentity(); in onPanelRevealed() local
1082 Binder.restoreCallingIdentity(identity); in onPanelRevealed()
1089 long identity = Binder.clearCallingIdentity(); in clearNotificationEffects() local
1093 Binder.restoreCallingIdentity(identity); in clearNotificationEffects()
1100 long identity = Binder.clearCallingIdentity(); in onPanelHidden() local
1104 Binder.restoreCallingIdentity(identity); in onPanelHidden()
1114 long identity = Binder.clearCallingIdentity(); in shutdown() local
1121 Binder.restoreCallingIdentity(identity); in shutdown()
1131 long identity = Binder.clearCallingIdentity(); in reboot() local
1143 Binder.restoreCallingIdentity(identity); in reboot()
[all …]
/frameworks/native/services/sensorservice/
DBatteryService.cpp61 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in enableSensorImpl() local
63 IPCThreadState::self()->restoreCallingIdentity(identity); in enableSensorImpl()
70 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in disableSensorImpl() local
72 IPCThreadState::self()->restoreCallingIdentity(identity); in disableSensorImpl()
80 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in cleanupImpl() local
90 IPCThreadState::self()->restoreCallingIdentity(identity); in cleanupImpl()
/frameworks/base/core/java/android/os/
DBugreportManager.java205 final long identity = Binder.clearCallingIdentity(); in onProgress() local
211 Binder.restoreCallingIdentity(identity); in onProgress()
217 final long identity = Binder.clearCallingIdentity(); in onError() local
223 Binder.restoreCallingIdentity(identity); in onError()
229 final long identity = Binder.clearCallingIdentity(); in onFinished() local
235 Binder.restoreCallingIdentity(identity); in onFinished()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFingerprintGestureDispatcher.java121 long identity = Binder.clearCallingIdentity(); in isFingerprintGestureDetectionAvailable() local
127 Binder.restoreCallingIdentity(identity); in isFingerprintGestureDetectionAvailable()
176 long identity = Binder.clearCallingIdentity(); in handleMessage() local
183 Binder.restoreCallingIdentity(identity); in handleMessage()
187 long identity = Binder.clearCallingIdentity(); in handleMessage() local
193 Binder.restoreCallingIdentity(identity); in handleMessage()
DAbstractAccessibilityServiceConnection.java357 final long identity = Binder.clearCallingIdentity(); in setServiceInfo() local
373 Binder.restoreCallingIdentity(identity); in setServiceInfo()
788 final long identity = Binder.clearCallingIdentity(); in getMagnificationScale() local
792 Binder.restoreCallingIdentity(identity); in getMagnificationScale()
807 final long identity = Binder.clearCallingIdentity(); in getMagnificationRegion() local
812 Binder.restoreCallingIdentity(identity); in getMagnificationRegion()
830 final long identity = Binder.clearCallingIdentity(); in getMagnificationCenterX() local
834 Binder.restoreCallingIdentity(identity); in getMagnificationCenterX()
852 final long identity = Binder.clearCallingIdentity(); in getMagnificationCenterY() local
856 Binder.restoreCallingIdentity(identity); in getMagnificationCenterY()
[all …]
DAccessibilityServiceConnection.java84 final long identity = Binder.clearCallingIdentity(); in AccessibilityServiceConnection() local
89 Binder.restoreCallingIdentity(identity); in AccessibilityServiceConnection()
96 final long identity = Binder.clearCallingIdentity(); in bindLocked() local
108 Binder.restoreCallingIdentity(identity); in bindLocked()
137 final long identity = Binder.clearCallingIdentity(); in disableSelf() local
143 Binder.restoreCallingIdentity(identity); in disableSelf()
/frameworks/native/libs/math/tests/
Dmat_test.cpp104 const mat4 identity; in TEST_F() local
114 EXPECT_EQ(identity, m0); in TEST_F()
118 const mat4 identity; in TEST_F() local
128 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
143 EXPECT_EQ(m1, m1*identity); in TEST_F()
232 const mat3 identity; in TEST_F() local
241 EXPECT_EQ(identity, m0); in TEST_F()
245 const mat3 identity; in TEST_F() local
255 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
270 EXPECT_EQ(m1, m1*identity); in TEST_F()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp47 bool ShaderCache::validateCache(const void* identity, ssize_t size) { in validateCache() argument
48 if (nullptr == identity && size == 0) return true; in validateCache()
50 if (nullptr == identity || size < 0) { in validateCache()
61 SHA256_Update(&ctx, identity, size); in validateCache()
78 void ShaderCache::initShaderDiskCache(const void* identity, ssize_t size) { in initShaderDiskCache() argument
87 validateCache(identity, size); in initShaderDiskCache()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java546 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfo() local
566 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfo()
623 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfoForIccIdInternal() local
641 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfoForIccIdInternal()
672 final long identity = Binder.clearCallingIdentity(); in getActiveSubscriptionInfoForSimSlotIndex() local
696 Binder.restoreCallingIdentity(identity); in getActiveSubscriptionInfoForSimSlotIndex()
723 final long identity = Binder.clearCallingIdentity(); in getAllSubInfoList() local
734 Binder.restoreCallingIdentity(identity); in getAllSubInfoList()
849 final long identity = Binder.clearCallingIdentity(); in getAllSubInfoCount() local
868 Binder.restoreCallingIdentity(identity); in getAllSubInfoCount()
[all …]
DPhoneSubInfoController.java142 long identity = Binder.clearCallingIdentity(); in getSubscriberIdForSubscriber() local
148 Binder.restoreCallingIdentity(identity); in getSubscriberIdForSubscriber()
158 identity = Binder.clearCallingIdentity(); in getSubscriberIdForSubscriber()
162 Binder.restoreCallingIdentity(identity); in getSubscriberIdForSubscriber()
437 final long identity = Binder.clearCallingIdentity();
447 Binder.restoreCallingIdentity(identity);
525 final long identity = Binder.clearCallingIdentity();
529 Binder.restoreCallingIdentity(identity);
/frameworks/base/core/tests/coretests/src/android/widget/
DSelectionActionModeHelperTest.java21 import static java.util.function.Function.identity;
113 mRectFList, identity()); in testMovePointInsideNearestRectangle()
263 identity(), identity()); in testExpandRectangleList()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java120 Integer phase2, String identity, String anonymousIdentity, String caCert, in createEapConfig() argument
130 if (identity == null) identity = ""; in createEapConfig()
138 config.enterpriseConfig.setIdentity(identity); in createEapConfig()
221 String identity = null; in getWifiConfiguration() local
223 identity = jsonConfig.getString("identity"); in getWifiConfiguration()
237 config = createEapConfig(ssid, password, eapMethod, phase2, identity, in getWifiConfiguration()
/frameworks/base/core/java/android/app/contentsuggestions/
DContentSuggestionsManager.java244 final long identity = Binder.clearCallingIdentity(); in onContentSelectionsAvailable() local
249 Binder.restoreCallingIdentity(identity); in onContentSelectionsAvailable()
268 final long identity = Binder.clearCallingIdentity(); in onContentClassificationsAvailable() local
273 Binder.restoreCallingIdentity(identity); in onContentClassificationsAvailable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java111 String identity = buildIdentity(getSimMethodForConfig(config), imsi, mccMnc, false); in getSimIdentity() local
112 if (identity == null) { in getSimIdentity()
127 return Pair.create(identity, ""); in getSimIdentity()
130 String encryptedIdentity = buildEncryptedIdentity(telephonyUtil, identity, in getSimIdentity()
138 return Pair.create(identity, encryptedIdentity); in getSimIdentity()
211 private static String buildEncryptedIdentity(TelephonyUtil telephonyUtil, String identity, in buildEncryptedIdentity() argument
217 if (identity == null) { in buildEncryptedIdentity()
224 imsiEncryptionInfo.getPublicKey(), identity.getBytes(), Base64.NO_WRAP); in buildEncryptedIdentity()
339 public static boolean isAnonymousAtRealmIdentity(String identity) { in isAnonymousAtRealmIdentity() argument
340 if (identity == null) return false; in isAnonymousAtRealmIdentity()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1032 long identity = Binder.clearCallingIdentity(); in setRequestLocked() local
1036 Binder.restoreCallingIdentity(identity); in setRequestLocked()
1061 long identity = Binder.clearCallingIdentity(); in dumpLocked() local
1065 Binder.restoreCallingIdentity(identity); in dumpLocked()
1073 long identity = Binder.clearCallingIdentity(); in getStatusUpdateTimeLocked() local
1077 Binder.restoreCallingIdentity(identity); in getStatusUpdateTimeLocked()
1087 long identity = Binder.clearCallingIdentity(); in getStatusLocked() local
1091 Binder.restoreCallingIdentity(identity); in getStatusLocked()
1101 long identity = Binder.clearCallingIdentity(); in sendExtraCommandLocked() local
1105 Binder.restoreCallingIdentity(identity); in sendExtraCommandLocked()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java77 long identity = Binder.clearCallingIdentity(); in setDefaultDialerApplication() local
96 Binder.restoreCallingIdentity(identity); in setDefaultDialerApplication()
131 long identity = Binder.clearCallingIdentity(); in getDefaultDialerApplication() local
136 Binder.restoreCallingIdentity(identity); in getDefaultDialerApplication()
/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()

123456