Searched refs:binderToken (Results 1 – 7 of 7) sorted by relevance
47 sp<IBinder> binderToken;// The Binder token associated with the port. member271 port->binderToken = portToken; in AMIDI_openPort()291 Status txResult = port->device->server->closePort(port->binderToken); in AMIDI_closePort()
142 final long binderToken = Binder.clearCallingIdentity(); in getRemoteInstanceLazy() local146 Binder.restoreCallingIdentity(binderToken); in getRemoteInstanceLazy()
6037 final long binderToken = Binder.clearCallingIdentity();6050 Binder.restoreCallingIdentity(binderToken);
1240 public final long binderToken; field in ContentProvider.CallingIdentity1245 public CallingIdentity(long binderToken, @Nullable AttributionSource attributionSource) { in CallingIdentity() argument1246 this.binderToken = binderToken; in CallingIdentity()1275 Binder.restoreCallingIdentity(identity.binderToken); in restoreCallingIdentity()
1563 IBinder binderToken = mock(IBinder.class); in onExternalVibration_ignoreVibrationFromVirtualDevices() local1566 mock(IExternalVibrationController.class), binderToken); in onExternalVibration_ignoreVibrationFromVirtualDevices()1582 IBinder binderToken = mock(IBinder.class); in onExternalVibration_setsExternalControl() local1585 mock(IExternalVibrationController.class), binderToken); in onExternalVibration_setsExternalControl()1593 verify(binderToken).linkToDeath(any(), eq(0)); in onExternalVibration_setsExternalControl()1594 verify(binderToken).unlinkToDeath(any(), eq(0)); in onExternalVibration_setsExternalControl()
2729 final long binderToken = Binder.clearCallingIdentity(); in reportPastUsageStart() local2750 Binder.restoreCallingIdentity(binderToken); in reportPastUsageStart()2758 final long binderToken = Binder.clearCallingIdentity(); in reportUsageStop() local2778 Binder.restoreCallingIdentity(binderToken); in reportUsageStop()
1833 final long binderToken = Binder.clearCallingIdentity();1837 Binder.restoreCallingIdentity(binderToken);