Lines Matching defs:appToken
67 IBinder appToken = callback.asBinder();
72 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken,
76 mVirtualDisplayDevices.put(appToken, device);
80 projection.registerCallback(new MediaProjectionCallback(appToken));
82 appToken.linkToDeath(device, 0);
84 mVirtualDisplayDevices.remove(appToken);
94 public void resizeVirtualDisplayLocked(IBinder appToken,
96 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken);
103 public void setVirtualDisplaySurfaceLocked(IBinder appToken, Surface surface) {
104 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken);
110 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) {
111 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken);
114 appToken.unlinkToDeath(device, 0);
145 private void handleBinderDiedLocked(IBinder appToken) {
146 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken);
155 private void handleMediaProjectionStoppedLocked(IBinder appToken) {
156 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken);
185 public VirtualDisplayDevice(IBinder displayToken, IBinder appToken,
190 mAppToken = appToken;
381 public MediaProjectionCallback(IBinder appToken) {
382 mAppToken = appToken;