/frameworks/native/services/inputflinger/tests/ |
D | AnrTracker_test.cpp | 44 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() local 47 tracker.insert(2, token2); in TEST() 49 tracker.insert(4, token2); in TEST() 94 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() local 97 tracker.insert(5, token2); in TEST() 98 tracker.insert(0, token2); in TEST() 101 ASSERT_EQ(token2, tracker.firstToken()); in TEST() 108 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() local 111 tracker.insert(2, token2); in TEST() 112 tracker.insert(10, token2); in TEST() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | InputTransferToken.h | 46 const sp<InputTransferToken>& token2) { 47 if (token1.get() == token2.get()) { 50 return token1->mToken == token2->mToken;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LooperStatsTest.java | 156 Object token2 = looperStats.messageDispatchStarting(); in testThrewException_notSampled() local 160 token2, mHandlerSecond.obtainMessage(7), new ArithmeticException()); in testThrewException_notSampled() 176 Object token2 = looperStats.messageDispatchStarting(); in testMultipleMessagesDispatched() local 179 looperStats.messageDispatched(token2, mHandlerFirst.obtainMessage(1000)); in testMultipleMessagesDispatched() 264 Object token2 = looperStats.messageDispatchStarting(); in testDispatchDelayIsRecorded() local 266 looperStats.messageDispatched(token2, message2); in testDispatchDelayIsRecorded() 306 Object token2 = looperStats.messageDispatchStarting(); in testDataNotCollectedBeforeDeviceStateSet() local 307 looperStats.dispatchingThrewException(token2, mHandlerFirst.obtainMessage(1000), in testDataNotCollectedBeforeDeviceStateSet() 321 Object token2 = looperStats.messageDispatchStarting(); in testDataNotCollectedOnCharger() local 322 looperStats.dispatchingThrewException(token2, mHandlerFirst.obtainMessage(1000), in testDataNotCollectedOnCharger() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTokenTests.java | 100 final TestWindowToken token2 = createTestWindowToken(0, mDisplayContent); in testAddWindow_assignsLayers() local 102 final WindowState window2 = createWindow(null, TYPE_STATUS_BAR, token2, "window2"); in testAddWindow_assignsLayers() 105 token2.addWindow(window2); in testAddWindow_assignsLayers() 108 assertEquals(token2.getLastLayer(), 1); in testAddWindow_assignsLayers() 246 final WindowToken token2 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions() local 254 verify(selectFunc).apply(token2.windowType, options); in testWindowAttachedWithOptions()
|
D | DisplayAreaPolicyBuilderTest.java | 592 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_defaultFunc() local 599 policy.addWindow(token2); in testBuilder_addWindow_selectContainerForWindowFunc_defaultFunc() 601 assertThat(token2.isDescendantOf(mGroupRoot2)).isTrue(); in testBuilder_addWindow_selectContainerForWindowFunc_defaultFunc() 632 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnType() local 639 policy.addWindow(token2); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnType() 642 assertThat(token2.isDescendantOf(mGroupRoot2)).isTrue(); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnType() 694 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() local 704 policy.addWindow(token2); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() 708 assertThat(token2.isDescendantOf(mGroupRoot2)).isTrue(); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncModulatorTest.cpp | 177 const auto token2 = sp<BBinder>::make(); in TEST_F() local 183 EXPECT_EQ(kEarly, mVsyncModulator->setTransactionSchedule(Schedule::EarlyStart, token2)); in TEST_F() 193 EXPECT_EQ(kEarly, mVsyncModulator->setTransactionSchedule(Schedule::EarlyEnd, token2)); in TEST_F()
|
D | FrameTimelineTest.cpp | 198 int64_t token2 = mTokenManager->generateTokenForPredictions({10, 20, 30}); in TEST_F() local 204 predictions = mTokenManager->getPredictionsForToken(token2); in TEST_F() 904 int64_t token2 = mTokenManager->generateTokenForPredictions({40, 50, 60}); in TEST_F() local 914 mFrameTimeline->setSfWakeUp(token2, 20, RR_11, RR_11); in TEST_F()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/util/ |
D | ChoreographerCallbacksTest.java | 114 Object token2 = new Object(); in testRemoveNullAction() local 117 callbacks.add((Runnable) () -> order.add(3), token2, 100); in testRemoveNullAction()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilterTest.kt | 79 private lateinit var token2: MediaSession.Token variable in com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilterTest 111 token2 = session2.sessionToken in setUp() 116 whenever(controller2.getSessionToken()).thenReturn(token2) in setUp() 126 mediaData2 = info.copy(token = token2) in setUp()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 198 uint64_t token2 = proto.start(FIELD_TYPE_MESSAGE | ComplexProto::kLogsFieldNumber); in TEST() local 202 proto.end(token2); in TEST() 237 uint64_t token2 = proto.start(FIELD_TYPE_MESSAGE | ComplexProto::kLogsFieldNumber); in TEST() local 241 proto.end(token2); in TEST()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | EmbeddedWindowController.java | 409 final long token2 = proto.start(IDENTIFIER); in dumpProto() local 412 proto.end(token2); in dumpProto()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 1392 final long token2 = proto.start(AppStateTrackerProto.EXEMPTED_BUCKET_PACKAGES); in dumpProto() local 1398 proto.end(token2); in dumpProto() 1403 final long token2 = proto.start( in dumpProto() local 1408 proto.end(token2); in dumpProto()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | SyntheticPasswordTests.java | 454 byte[] token2 = "some-high-entropy-secure-token-2".getBytes(); in testActivateMultipleEscrowTokens() 462 long handle2 = mLocalService.addEscrowToken(token2, PRIMARY_USER_ID, null); in testActivateMultipleEscrowTokens() 477 pattern, handle2, token2, PRIMARY_USER_ID)); in testActivateMultipleEscrowTokens()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModelTest.kt | 79 private val token2 = MediaSession.Token(2, null) constant in com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModelTest 124 whenever(controller2.sessionToken).thenReturn(token2) in updateDifferentControllerRegistersCallback()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 3149 final IBinder token2 = new Binder(); in testScreenTimeoutOverrideWakeLockFullWakeLock() local 3151 mService.getBinderServiceInstance().acquireWakeLock(token2, flags2, tag2, packageName2, in testScreenTimeoutOverrideWakeLockFullWakeLock() 3162 mService.getBinderServiceInstance().releaseWakeLock(token2, 0 /* flags */); in testScreenTimeoutOverrideWakeLockFullWakeLock() 3190 final IBinder token2 = new Binder(); in testScreenTimeoutOverrideWakeLockMultiClients() local 3192 mService.getBinderServiceInstance().acquireWakeLock(token2, flags2, tag2, packageName2, in testScreenTimeoutOverrideWakeLockMultiClients() 3203 mService.getBinderServiceInstance().releaseWakeLock(token2, 0 /* flags */); in testScreenTimeoutOverrideWakeLockMultiClients()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 7617 const auto token2 = getPhysicalDisplayToken(*id2); in onTransact() local 7621 sp<DisplayDevice> display = getDisplayDeviceLocked(token2); in onTransact() 7625 t.setDisplayLayerStack(token2, layerStack); in onTransact()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 8183 Binder token2 = new Binder(); in testCustomToastPostedWhileInForeground_blockedIfAppGoesToBackground() local 8189 enqueueToast(nmService, testPackage, token2, callback2); in testCustomToastPostedWhileInForeground_blockedIfAppGoesToBackground()
|