/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 2623 final long identity = Binder.clearCallingIdentity(); in dialForSubscriber() local 2638 Binder.restoreCallingIdentity(identity); in dialForSubscriber() 2662 final long identity = Binder.clearCallingIdentity(); in callForSubscriber() local 2688 Binder.restoreCallingIdentity(identity); in callForSubscriber() 2709 final long identity = Binder.clearCallingIdentity(); in supplyPinReportResultForSubscriber() local 2716 Binder.restoreCallingIdentity(identity); in supplyPinReportResultForSubscriber() 2726 final long identity = Binder.clearCallingIdentity(); in supplyPukReportResultForSubscriber() local 2733 Binder.restoreCallingIdentity(identity); in supplyPukReportResultForSubscriber() 2910 final long identity = Binder.clearCallingIdentity(); in updateServiceLocationWithPackageName() local 2914 Binder.restoreCallingIdentity(identity); in updateServiceLocationWithPackageName() [all …]
|
D | ImsRcsController.java | 686 final long identity = Binder.clearCallingIdentity(); in createSipDelegate() local 699 Binder.restoreCallingIdentity(identity); in createSipDelegate() 710 final long identity = Binder.clearCallingIdentity(); in destroySipDelegate() local 721 Binder.restoreCallingIdentity(identity); in destroySipDelegate() 730 final long identity = Binder.clearCallingIdentity(); in triggerNetworkRegistration() local 741 Binder.restoreCallingIdentity(identity); in triggerNetworkRegistration() 754 final long identity = Binder.clearCallingIdentity(); in registerSipDialogStateCallback() local 772 Binder.restoreCallingIdentity(identity); in registerSipDialogStateCallback() 785 final long identity = Binder.clearCallingIdentity(); in unregisterSipDialogStateCallback() local 803 Binder.restoreCallingIdentity(identity); in unregisterSipDialogStateCallback() [all …]
|
/packages/modules/DnsResolver/ |
D | PrivateDnsConfiguration.cpp | 167 for (const auto& [identity, server] : tmp) { in setDot() 168 if (tracker.find(identity) == tracker.end()) { in setDot() 169 tracker[identity] = server; in setDot() 173 for (auto& [identity, server] : tracker) { in setDot() 174 const bool active = tmp.find(identity) != tmp.end(); in setDot() 179 updateServerState(identity, Validation::success_but_expired, netId); in setDot() 183 updateServerState(identity, Validation::in_process, netId); in setDot() 184 startDotValidation(identity, netId, false); in setDot() 302 const ServerIdentity& identity, in requestDotValidation() argument 316 auto result = getDotServerLocked(identity, netId); in requestDotValidation() [all …]
|
D | PrivateDnsConfiguration.h | 136 base::Result<void> requestDotValidation(unsigned netId, const ServerIdentity& identity, 158 base::Result<DnsTlsServer*> getDotServer(const ServerIdentity& identity, unsigned netId) 161 base::Result<DnsTlsServer*> getDotServerLocked(const ServerIdentity& identity, unsigned netId) 169 void startDotValidation(const ServerIdentity& identity, unsigned netId, bool isRevalidation) 172 bool recordDotValidation(const ServerIdentity& identity, unsigned netId, bool success, 175 void sendPrivateDnsValidationEvent(const ServerIdentity& identity, unsigned netId, 183 void updateServerState(const ServerIdentity& identity, Validation state, uint32_t netId) 205 bool needReportEvent(uint32_t netId, ServerIdentity identity, bool success) const 323 RecordEntry(uint32_t netId, const ServerIdentity& identity, Validation state) in RecordEntry() 324 : netId(netId), serverIdentity(identity), state(state) {} in RecordEntry()
|
D | PrivateDnsConfigurationTest.cpp | 141 bool hasPrivateDnsServer(const ServerIdentity& identity, unsigned netId) { in hasPrivateDnsServer() argument 142 return mPdc.getDotServer(identity, netId).ok(); in hasPrivateDnsServer() 333 const ServerIdentity identity(server); in TEST_F() local 361 EXPECT_TRUE(mPdc.requestDotValidation(kNetId, identity, kMark).ok()); in TEST_F() 364 EXPECT_FALSE(mPdc.requestDotValidation(kNetId, identity, kMark).ok()); in TEST_F() 366 EXPECT_FALSE(mPdc.requestDotValidation(kNetId, identity, kMark).ok()); in TEST_F() 370 EXPECT_FALSE(mPdc.requestDotValidation(kNetId, identity, kMark).ok()); in TEST_F() 371 EXPECT_FALSE(mPdc.requestDotValidation(kNetId, identity, kMark + 1).ok()); in TEST_F() 372 EXPECT_FALSE(mPdc.requestDotValidation(kNetId + 1, identity, kMark).ok()); in TEST_F()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | MatrixUtils.h | 44 Matrix33(bool identity) { in Matrix33() argument 45 initialize(identity); in Matrix33() 51 void initialize(bool identity = false) { 53 if (identity) { 102 Matrix9(bool identity) { in Matrix9() argument 103 initialize(identity); in Matrix9() 109 void initialize(bool identity = false) { 111 if (identity) {
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | UserUtils.java | 106 final long identity = Binder.clearCallingIdentity(); in getUserHandles() local 110 Binder.restoreCallingIdentity(identity); in getUserHandles() 132 final long identity = Binder.clearCallingIdentity(); in getUserProfiles() local 150 Binder.restoreCallingIdentity(identity); in getUserProfiles() 171 final long identity = Binder.clearCallingIdentity(); in getProfileParent() local 175 Binder.restoreCallingIdentity(identity); in getProfileParent() 183 final long identity = Binder.clearCallingIdentity(); in isManagedProfile() local 187 Binder.restoreCallingIdentity(identity); in isManagedProfile() 203 final long identity = Binder.clearCallingIdentity(); in isPrivateProfile() local 209 Binder.restoreCallingIdentity(identity); in isPrivateProfile() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 98 final long identity = clearCallingIdentityInternal(); in insert() local 106 restoreCallingIdentityInternal(identity); in insert() 126 final long identity = clearCallingIdentityInternal(); in bulkInsert() local 137 restoreCallingIdentityInternal(identity); in bulkInsert() 153 final long identity = clearCallingIdentityInternal(); in update() local 162 restoreCallingIdentityInternal(identity); in update() 186 final long identity = clearCallingIdentityInternal(); in delete() local 194 restoreCallingIdentityInternal(identity); in delete() 227 final long identity = clearCallingIdentityInternal(); in applyBatch() local 244 restoreCallingIdentityInternal(identity); in applyBatch() [all …]
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | UwbOemExtensionCallbackListener.java | 96 final long identity = Binder.clearCallingIdentity(); in onSessionStatusNotificationReceived() local 105 Binder.restoreCallingIdentity(identity); in onSessionStatusNotificationReceived() 119 final long identity = Binder.clearCallingIdentity(); in onDeviceStatusNotificationReceived() local 128 Binder.restoreCallingIdentity(identity); in onDeviceStatusNotificationReceived() 142 final long identity = Binder.clearCallingIdentity(); in onSessionConfigurationReceived() local 161 Binder.restoreCallingIdentity(identity); in onSessionConfigurationReceived() 174 final long identity = Binder.clearCallingIdentity(); in onRangingReportReceived() local 196 Binder.restoreCallingIdentity(identity); in onRangingReportReceived() 210 final long identity = Binder.clearCallingIdentity(); in onCheckPointedTarget() local 230 Binder.restoreCallingIdentity(identity); in onCheckPointedTarget()
|
D | UwbVendorUciCallbackListener.java | 83 final long identity = Binder.clearCallingIdentity(); in onVendorResponseReceived() local 92 Binder.restoreCallingIdentity(identity); in onVendorResponseReceived() 101 final long identity = Binder.clearCallingIdentity(); in onVendorNotificationReceived() local 110 Binder.restoreCallingIdentity(identity); in onVendorNotificationReceived()
|
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | ThreadNetworkController.java | 394 final long identity = Binder.clearCallingIdentity(); in onDeviceRoleChanged() local 398 Binder.restoreCallingIdentity(identity); in onDeviceRoleChanged() 404 final long identity = Binder.clearCallingIdentity(); in onPartitionIdChanged() local 408 Binder.restoreCallingIdentity(identity); in onPartitionIdChanged() 414 final long identity = Binder.clearCallingIdentity(); in onThreadEnableStateChanged() local 418 Binder.restoreCallingIdentity(identity); in onThreadEnableStateChanged() 427 final long identity = Binder.clearCallingIdentity(); in onEphemeralKeyStateChanged() local 439 Binder.restoreCallingIdentity(identity); in onEphemeralKeyStateChanged() 537 final long identity = Binder.clearCallingIdentity(); in onActiveOperationalDatasetChanged() local 541 Binder.restoreCallingIdentity(identity); in onActiveOperationalDatasetChanged() [all …]
|
/packages/services/Car/car-lib/src/android/car/app/ |
D | RemoteCarDefaultRootTaskView.java | 66 long identity = Binder.clearCallingIdentity(); 79 Binder.restoreCallingIdentity(identity); 92 long identity = Binder.clearCallingIdentity(); 102 Binder.restoreCallingIdentity(identity); 119 long identity = Binder.clearCallingIdentity(); 129 Binder.restoreCallingIdentity(identity); 144 long identity = Binder.clearCallingIdentity(); 154 Binder.restoreCallingIdentity(identity);
|
D | ControlledRemoteCarTaskView.java | 75 long identity = Binder.clearCallingIdentity(); 85 Binder.restoreCallingIdentity(identity); 91 long identity = Binder.clearCallingIdentity(); 99 Binder.restoreCallingIdentity(identity); 105 long identity = Binder.clearCallingIdentity(); 110 Binder.restoreCallingIdentity(identity);
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockServiceImpl.java | 315 final long identity = Binder.clearCallingIdentity(); in canDlcBeDisabledForFinalizedUser() local 329 Binder.restoreCallingIdentity(identity); in canDlcBeDisabledForFinalizedUser() 692 final long identity = Binder.clearCallingIdentity(); 694 Binder.restoreCallingIdentity(identity); 710 final long identity = Binder.clearCallingIdentity(); 723 Binder.restoreCallingIdentity(identity); 745 private void reportResult(boolean accepted, long identity, 747 Binder.restoreCallingIdentity(identity); 755 @NonNull RemoteCallback remoteCallback, @NonNull UserHandle userHandle, long identity, 761 reportResult(accepted, identity, remoteCallback); [all …]
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/ |
D | FastAdvertisement.java | 65 byte[] identity = request.getCredential().getMetadataEncryptionKey(); in createFromRequest() 71 identity.length == IDENTITY_LENGTH, in createFromRequest() 81 identity, in createFromRequest() 110 byte[] identity, in FastAdvertisement() argument 116 this.mIdentity = identity; in FastAdvertisement() 123 + identity.length in FastAdvertisement()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/permissions/ |
D | DiscoveryPermissions.java | 31 import com.android.server.nearby.util.identity.CallerIdentity; 90 CallerIdentity identity, @Nullable String message) { in noteAppOpAllowed() argument 92 identity.getUid(), identity.getPackageName(), identity.getAttributionTag(), message) in noteAppOpAllowed()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/ |
D | NearbyService.java | 51 import com.android.server.nearby.util.identity.CallerIdentity; 112 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in registerScanListener() local 113 DiscoveryPermissions.enforceDiscoveryPermission(mContext, identity); in registerScanListener() 115 return mDiscoveryProviderManager.registerScanListener(scanRequest, listener, identity); in registerScanListener() 123 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in unregisterScanListener() local 124 DiscoveryPermissions.enforceDiscoveryPermission(mContext, identity); in unregisterScanListener() 146 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in stopBroadcast() local 147 BroadcastPermissions.enforceBroadcastPermission(mContext, identity); in stopBroadcast()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 112 public final String identity; field in WifiInfo 151 bundle.putString(EXTRA_PROVISIONING_WIFI_IDENTITY, identity); in toPersistableBundle() 194 identity = builder.identity; in WifiInfo() 225 private String identity; field in WifiInfo.Builder 279 public Builder setIdentity(String identity) { in setIdentity() argument 280 this.identity = identity; in setIdentity()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | OpportunisticNetworkService.java | 242 final long identity = Binder.clearCallingIdentity(); 246 Binder.restoreCallingIdentity(identity); 315 final long identity = Binder.clearCallingIdentity(); 319 Binder.restoreCallingIdentity(identity); 354 final long identity = Binder.clearCallingIdentity(); 358 Binder.restoreCallingIdentity(identity); 603 final long identity = Binder.clearCallingIdentity(); in handleCarrierAppAvailableNetworks() local 609 Binder.restoreCallingIdentity(identity); in handleCarrierAppAvailableNetworks() 626 final long identity = Binder.clearCallingIdentity(); in handleCarrierAppAvailableNetworks() local 657 Binder.restoreCallingIdentity(identity); in handleCarrierAppAvailableNetworks() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 465 public final byte[] identity; field in EapSimAkaAttribute.AtIdentity 472 identity = new byte[identityLength]; in AtIdentity() 473 byteBuffer.get(identity); in AtIdentity() 480 public AtIdentity(int lengthInBytes, byte[] identity) in AtIdentity() argument 483 this.identity = identity; in AtIdentity() 489 byteBuffer.putShort((short) identity.length); in encode() 490 byteBuffer.put(identity); in encode() 492 int bytesUsed = MIN_ATTR_LENGTH + identity.length; in encode() 502 public static AtIdentity getAtIdentity(byte[] identity) in getAtIdentity() argument 504 int lengthInBytes = MIN_ATTR_LENGTH + identity.length; in getAtIdentity() [all …]
|
/packages/modules/Uwb/service/fusion_lib/tests/com/android/uwb/fusion/math/ |
D | MatrixTest.java | 59 Matrix transform = Matrix.identity(); in transformPoint_identityKeepsVector() 157 Matrix inverse = Matrix.identity().invert(); in invert_identityInverseIsIdentity() 159 assertThat(inverse.data).usingTolerance(EPSILON).containsExactly(Matrix.identity().data) in invert_identityInverseIsIdentity() 175 .containsExactly(Matrix.identity().data).inOrder(); in invert_multiplyWithInverseIsIdentity() 179 .containsExactly(Matrix.identity().data).inOrder(); in invert_multiplyWithInverseIsIdentity() 192 product = Matrix.multiply(a, Matrix.identity()); in multiply_multiplyWithIdentityIsNoOp() 195 product = Matrix.multiply(Matrix.identity(), a); in multiply_multiplyWithIdentityIsNoOp()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | page_object.cc | 46 Matrix identity = {1, 0, 0, 1, 0, 0}; in GetPageToDeviceMatrix() local 47 FPDFPageObj_SetMatrix(page_object, reinterpret_cast<FS_MATRIX*>(&identity)); in GetPageToDeviceMatrix() 71 Matrix identity = {1, 0, 0, 1, 0, 0}; in SetDeviceToPageMatrix() local 72 if (!FPDFPageObj_SetMatrix(page_object, reinterpret_cast<FS_MATRIX*>(&identity))) { in SetDeviceToPageMatrix()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtIdentityTest.java | 56 assertArrayEquals(IDENTITY, atIdentity.identity); in testDecode() 72 assertArrayEquals(IDENTITY, atIdentity.identity); in testGetAtIdentity() 83 assertArrayEquals(atIdentity.identity, newAtIdentity.identity); in testGetAtIdentity()
|
/packages/modules/Nfc/framework/java/android/nfc/ |
D | NfcVendorNciCallbackListener.java | 114 final long identity = Binder.clearCallingIdentity(); in onVendorResponseReceived() local 123 Binder.restoreCallingIdentity(identity); in onVendorResponseReceived() 132 final long identity = Binder.clearCallingIdentity(); in onVendorNotificationReceived() local 141 Binder.restoreCallingIdentity(identity); in onVendorNotificationReceived()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 464 final long identity = Binder.clearCallingIdentity(); 474 Binder.restoreCallingIdentity(identity); 493 final long identity = Binder.clearCallingIdentity(); 502 Binder.restoreCallingIdentity(identity); 797 final long identity = Binder.clearCallingIdentity(); in importSms() local 803 Binder.restoreCallingIdentity(identity); in importSms() 818 final long identity = Binder.clearCallingIdentity(); in importMms() local 871 Binder.restoreCallingIdentity(identity); in importMms() 917 final long identity = Binder.clearCallingIdentity(); in updateMessageStatus() local 928 Binder.restoreCallingIdentity(identity); in updateMessageStatus() [all …]
|