Home
last modified time | relevance | path

Searched refs:mClientToken (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContextListenerControllerTests.java57 private final IBinder mClientToken = new Binder(); field in WindowContextListenerControllerTests
68 mController.registerWindowContainerListener(mClientToken, mContainer, -1, in testRegisterWindowContextListener()
81 mController.registerWindowContainerListener(mClientToken, container, -1, in testRegisterWindowContextListener()
88 mController.mListeners.get(mClientToken); in testRegisterWindowContextListener()
139 assertFalse(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_NullListener_ReturnFalse()
145 mController.registerWindowContainerListener(mClientToken, mContainer, TEST_UID, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue()
148 assertTrue(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue()
154 mController.registerWindowContainerListener(mClientToken, mContainer, TEST_UID, in testAssertCallerCanModifyListener_SameUid_ReturnTrue()
157 assertTrue(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_SameUid_ReturnTrue()
163 mController.registerWindowContainerListener(mClientToken, mContainer, TEST_UID, in testAssertCallerCanModifyListener_DifferentUid_ThrowException()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java164 @NonNull private final IBinder mClientToken; field in WindowContextListenerController.WindowContextListenerImpl
182 mClientToken = clientToken; in WindowContextListenerImpl()
194 + "container=%s", mClientToken, mContainer); in WindowContextListenerImpl()
218 throw new IllegalStateException("Invalid client token: " + mClientToken); in register()
220 mListeners.putIfAbsent(mClientToken, this); in register()
227 mListeners.remove(mClientToken); in unregister()
247 throw new IllegalStateException("Invalid client token: " + mClientToken); in reportConfigToWindowTokenClient()
263 IWindowToken windowTokenClient = IWindowToken.Stub.asInterface(mClientToken); in reportConfigToWindowTokenClient()
274 throw new IllegalStateException("Invalid client token: " + mClientToken); in onRemoved()
292 IWindowToken windowTokenClient = IWindowToken.Stub.asInterface(mClientToken); in onRemoved()
[all …]
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java46 private final IBinder mClientToken; field in MidiDevice
110 mClientToken = clientToken; in MidiDevice()
233 mMidiManager.closeDevice(mClientToken, mDeviceToken); in close()
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java213 private final IBinder mClientToken = new Binder(); field in SpeechRecognizer
603 mClientToken, in connectToSystemService()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp280 SystemCallbackImpl() : mClientToken(new BBinder()) {} in SystemCallbackImpl()
292 return android::requestCpusetBoost(enable, mClientToken); in requestCpusetBoost()
300 sp<IBinder> mClientToken; member
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31942 Landroid/media/midi/MidiDevice;->mClientToken:Landroid/os/IBinder;