/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsLegacyRestrictionsTest.java | 40 final Object mClientToken = new Object(); field in AppOpsLegacyRestrictionsTest 90 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction() 91 assertEquals(false, mAppOpsRestrictions.getGlobalRestriction(mClientToken, mOpCode1)); in testSetAndGetSingleGlobalRestriction() 93 assertEquals(true, mAppOpsRestrictions.setGlobalRestriction(mClientToken, mOpCode1, true)); in testSetAndGetSingleGlobalRestriction() 95 assertEquals(false, mAppOpsRestrictions.setGlobalRestriction(mClientToken, mOpCode1, true)); in testSetAndGetSingleGlobalRestriction() 97 assertEquals(true, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction() 98 assertEquals(true, mAppOpsRestrictions.getGlobalRestriction(mClientToken, mOpCode1)); in testSetAndGetSingleGlobalRestriction() 100 assertEquals(true, mAppOpsRestrictions.setGlobalRestriction(mClientToken, mOpCode1, false)); in testSetAndGetSingleGlobalRestriction() 103 mAppOpsRestrictions.setGlobalRestriction(mClientToken, mOpCode1, false)); in testSetAndGetSingleGlobalRestriction() 105 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction() [all …]
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | WindowContextWindowRemovalItem.java | 36 private IBinder mClientToken; field in WindowContextWindowRemovalItem 41 client.handleWindowContextWindowRemoval(mClientToken); in execute() 55 instance.mClientToken = requireNonNull(clientToken); in obtain() 62 mClientToken = null; in recycle() 71 dest.writeStrongBinder(mClientToken); in writeToParcel() 76 mClientToken = in.readStrongBinder(); in WindowContextWindowRemovalItem() 98 return Objects.equals(mClientToken, other.mClientToken); in equals() 104 result = 31 * result + Objects.hashCode(mClientToken); in hashCode() 110 return "WindowContextWindowRemovalItem{clientToken=" + mClientToken + "}"; in toString()
|
D | WindowContextInfoChangeItem.java | 38 private IBinder mClientToken; field in WindowContextInfoChangeItem 45 client.handleWindowContextInfoChanged(mClientToken, mInfo); in execute() 60 instance.mClientToken = requireNonNull(clientToken); in obtain() 68 mClientToken = null; in recycle() 78 dest.writeStrongBinder(mClientToken); in writeToParcel() 84 mClientToken = in.readStrongBinder(); in WindowContextInfoChangeItem() 108 return Objects.equals(mClientToken, other.mClientToken) in equals() 115 result = 31 * result + Objects.hashCode(mClientToken); in hashCode() 122 return "WindowContextInfoChangeItem{clientToken=" + mClientToken in toString()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContextListenerControllerTests.java | 84 private WindowTokenClient mClientToken; field in WindowContextListenerControllerTests 126 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testRegisterWindowContextListener() 139 mController.registerWindowContainerListener(mWpc, mClientToken, container, in testRegisterWindowContextListener() 146 mController.mListeners.get(mClientToken); in testRegisterWindowContextListener() 202 assertFalse(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_NullListener_ReturnFalse() 208 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue() 211 assertTrue(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue() 217 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_SameUid_ReturnTrue() 220 assertTrue(mController.assertCallerCanModifyListener(mClientToken, in testAssertCallerCanModifyListener_SameUid_ReturnTrue() 226 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_DifferentUid_ThrowException() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContextListenerController.java | 210 private final IBinder mClientToken; field in WindowContextListenerController.WindowContextListenerImpl 232 mClientToken = clientToken; in WindowContextListenerImpl() 274 final IBinder token = mClientToken; in register() 284 mListeners.remove(mClientToken); in unregister() 304 throw new IllegalStateException("Invalid client token: " + mClientToken); in dispatchWindowContextInfoChange() 334 mClientToken, config, displayId)); in dispatchWindowContextInfoChange() 341 throw new IllegalStateException("Invalid client token: " + mClientToken); in onRemoved() 359 mWpc.scheduleClientTransactionItem(WindowContextWindowRemovalItem.obtain(mClientToken)); in onRemoved() 365 return "WindowContextListenerImpl{clientToken=" + mClientToken + ", " in toString() 379 mClientToken.linkToDeath(this, 0); in linkToDeath() [all …]
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDevice.java | 46 private final IBinder mClientToken; field in MidiDevice 110 mClientToken = clientToken; in MidiDevice() 233 mMidiManager.closeDevice(mClientToken, mDeviceToken); in close()
|
/frameworks/base/native/android/ |
D | surface_control_input_receiver.cpp | 45 mClientToken(clientToken), in InputReceiver() 94 removeInputChannel(mClientToken); in remove() 103 const sp<IBinder> mClientToken; member in InputReceiver
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerInstrumentation.java | 67 private IBinder mClientToken = null; field in SoundTriggerInstrumentation 536 mClientToken = token; in onClientAttached() 544 if (token != mClientToken) return; in onClientDetached() 545 mClientToken = null; in onClientDetached()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeInputListener.java | 78 private final IBinder mClientToken; field in DragResizeInputListener 104 mClientToken = new Binder(); in DragResizeInputListener() 111 mClientToken, in DragResizeInputListener() 255 mWindowSession.remove(mClientToken); in close()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerGlobal.java | 926 removeInputChannel(surfaceControlInputReceiverInfo.mClientToken); in unregisterSurfaceControlInputReceiver() 942 return surfaceControlInputReceiverInfo.mClientToken; in getSurfaceControlInputClientToken() 1050 final IBinder mClientToken; field in WindowManagerGlobal.SurfaceControlInputReceiverInfo 1055 mClientToken = clientToken; in SurfaceControlInputReceiverInfo()
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizerImpl.java | 119 private final IBinder mClientToken = new Binder(); field in SpeechRecognizerImpl 462 mClientToken, in connectToSystemService()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 148 SystemCallbackImpl() : mClientToken(new BBinder()) {} in SystemCallbackImpl() 160 return android::requestCpusetBoost(enable, mClientToken); in requestCpusetBoost() 168 sp<IBinder> mClientToken; member
|
/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
D | TvInteractiveAppManagerService.java | 3441 private IBinder mClientToken; field in TvInteractiveAppManagerService.ClientState 3445 mClientToken = clientToken; in ClientState() 3459 ClientState clientState = userState.mClientStateMap.get(mClientToken); in binderDied() 3470 + mClientToken); in binderDied() 3475 mClientToken = null; in binderDied()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 29064 Landroid/media/midi/MidiDevice;->mClientToken:Landroid/os/IBinder;
|