Lines Matching refs:Binder

31 import android.os.Binder;
140 final long token = Binder.clearCallingIdentity(); in registerImsRegistrationCallback()
147 Binder.restoreCallingIdentity(token); in registerImsRegistrationCallback()
162 final long token = Binder.clearCallingIdentity(); in unregisterImsRegistrationCallback()
168 Binder.restoreCallingIdentity(token); in unregisterImsRegistrationCallback()
183 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationState()
194 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationState()
209 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationTransportType()
224 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationTransportType()
242 final long token = Binder.clearCallingIdentity(); in registerRcsAvailabilityCallback()
249 Binder.restoreCallingIdentity(token); in registerRcsAvailabilityCallback()
266 final long token = Binder.clearCallingIdentity(); in unregisterRcsAvailabilityCallback()
272 Binder.restoreCallingIdentity(token); in unregisterRcsAvailabilityCallback()
293 final long token = Binder.clearCallingIdentity(); in isCapable()
301 Binder.restoreCallingIdentity(token); in isCapable()
323 final long token = Binder.clearCallingIdentity(); in isAvailable()
331 Binder.restoreCallingIdentity(token); in isAvailable()
344 final long token = Binder.clearCallingIdentity(); in requestCapabilities()
356 Binder.restoreCallingIdentity(token); in requestCapabilities()
369 final long token = Binder.clearCallingIdentity(); in requestAvailability()
381 Binder.restoreCallingIdentity(token); in requestAvailability()
392 final int uid = Binder.getCallingUid(); in getUcePublishState()
393 final long token = Binder.clearCallingIdentity(); in getUcePublishState()
409 Binder.restoreCallingIdentity(token); in getUcePublishState()
551 final int uid = Binder.getCallingUid(); in registerUcePublishStateCallback()
552 final long token = Binder.clearCallingIdentity(); in registerUcePublishStateCallback()
569 Binder.restoreCallingIdentity(token); in registerUcePublishStateCallback()
580 final long token = Binder.clearCallingIdentity(); in unregisterUcePublishStateCallback()
592 Binder.restoreCallingIdentity(token); in unregisterUcePublishStateCallback()
608 final long token = Binder.clearCallingIdentity(); in isUceSettingEnabled()
613 Binder.restoreCallingIdentity(token); in isUceSettingEnabled()
624 final long token = Binder.clearCallingIdentity(); in setUceSettingEnabled()
629 Binder.restoreCallingIdentity(token); in setUceSettingEnabled()
635 TelephonyPermissions.enforceAnyPermissionGranted(mApp, Binder.getCallingUid(), in isSipDelegateSupported()
642 final long token = Binder.clearCallingIdentity(); in isSipDelegateSupported()
658 Binder.restoreCallingIdentity(token); in isSipDelegateSupported()
672 if (!UserHandle.getUserHandleForUid(Binder.getCallingUid()).isSystem()) { in createSipDelegate()
678 if (Binder.getCallingUid() != remoteUid) { in createSipDelegate()
685 final int uid = Binder.getCallingUid(); in createSipDelegate()
686 final long identity = Binder.clearCallingIdentity(); in createSipDelegate()
699 Binder.restoreCallingIdentity(identity); in createSipDelegate()
710 final long identity = Binder.clearCallingIdentity(); in destroySipDelegate()
721 Binder.restoreCallingIdentity(identity); in destroySipDelegate()
730 final long identity = Binder.clearCallingIdentity(); in triggerNetworkRegistration()
741 Binder.restoreCallingIdentity(identity); in triggerNetworkRegistration()
754 final long identity = Binder.clearCallingIdentity(); in registerSipDialogStateCallback()
772 Binder.restoreCallingIdentity(identity); in registerSipDialogStateCallback()
785 final long identity = Binder.clearCallingIdentity(); in unregisterSipDialogStateCallback()
803 Binder.restoreCallingIdentity(identity); in unregisterSipDialogStateCallback()
815 final long identity = Binder.clearCallingIdentity(); in registerRcsFeatureCallback()
823 Binder.restoreCallingIdentity(identity); in registerRcsFeatureCallback()
834 final long identity = Binder.clearCallingIdentity(); in unregisterImsFeatureCallback()
839 Binder.restoreCallingIdentity(identity); in unregisterImsFeatureCallback()
990 String[] callingUids = mPackageManager.getPackagesForUid(Binder.getCallingUid()); in getCurrentPackageName()
1007 Binder.getCallingUserHandle()) in enforceTelephonyFeatureWithException()