Home
last modified time | relevance | path

Searched refs:info1 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java523 RunningTaskInfo info1 = task1.getTaskInfo(); in testCreateDeleteRootTasks() local
525 info1.configuration.windowConfiguration.getWindowingMode()); in testCreateDeleteRootTasks()
526 assertEquals(ACTIVITY_TYPE_UNDEFINED, info1.topActivityType); in testCreateDeleteRootTasks()
538 assertTrue(mWm.mAtmService.mTaskOrganizerController.deleteRootTask(info1.token)); in testCreateDeleteRootTasks()
550 RunningTaskInfo info1 = task.getTaskInfo(); in testTileAddRemoveChild() local
556 wct.reparent(rootTask.mRemoteToken.toWindowContainerToken(), info1.token, true /* onTop */); in testTileAddRemoveChild()
558 assertEquals(info1.configuration.windowConfiguration.getWindowingMode(), in testTileAddRemoveChild()
563 info1 = infos.get(0).getTaskInfo(); in testTileAddRemoveChild()
564 assertEquals(ACTIVITY_TYPE_STANDARD, info1.topActivityType); in testTileAddRemoveChild()
568 Task task1 = WindowContainer.fromBinder(info1.token.asBinder()).asTask(); in testTileAddRemoveChild()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java114 ApplicationInfo info1 = new ApplicationInfo(); in setUp() local
115 info1.uid = 1; in setUp()
116 result.add(info1); in setUp()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp709 std::shared_ptr<C2Info> info1(new C2Number1Info(1)); in TEST_F() local
713 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
716 ASSERT_EQ(C2_OK, buffer->setInfo(info1)); in TEST_F()
718 EXPECT_EQ(*info1, *buffer->info().front()); in TEST_F()
719 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F()
724 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F()
727 std::shared_ptr<C2Info> removed = buffer->removeInfo(info1->type()); in TEST_F()
729 EXPECT_EQ(*removed, *info1); in TEST_F()
732 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
735 removed = buffer->removeInfo(info1->type()); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java445 SubscriptionInfo info1 = mSubscriptionManager.getActiveSubscriptionInfo(subId1); in isInGroupDataSwitch() local
447 return (info1 != null && info2 != null && info1.getGroupUuid() != null in isInGroupDataSwitch()
448 && info1.getGroupUuid().equals(info2.getGroupUuid())); in isInGroupDataSwitch()
831 SubscriptionInfo info1 = subscriptions.get(0); in filterMobileSubscriptionInSameGroup() local
833 if (info1.getGroupUuid() != null && info1.getGroupUuid().equals(info2.getGroupUuid())) { in filterMobileSubscriptionInSameGroup()
835 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return; in filterMobileSubscriptionInSameGroup()
843 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup()
845 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup()
846 ? info2 : info1); in filterMobileSubscriptionInSameGroup()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp226 [](const sp<MediaCodecInfo> &info1, const sp<MediaCodecInfo> &info2) { in MediaCodecList() argument
228 return info1 == nullptr in MediaCodecList()
229 || (info2 != nullptr && info1->getRank() < info2->getRank()); in MediaCodecList()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DShellTransitionTests.java375 TransitionInfo info1 = new TransitionInfoBuilder(TRANSIT_OPEN) in testTransitionQueueing() local
377 transitions.onTransitionReady(transitToken1, info1, mock(SurfaceControl.Transaction.class), in testTransitionQueueing()
417 TransitionInfo info1 = new TransitionInfoBuilder(TRANSIT_OPEN) in testTransitionMerging() local
419 transitions.onTransitionReady(transitToken1, info1, mock(SurfaceControl.Transaction.class), in testTransitionMerging()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java561 SubscriptionInfo info1 = subscriptions.get(0); in getFilteredSubscriptionInfo() local
563 if (info1.getGroupUuid() != null && info1.getGroupUuid().equals(info2.getGroupUuid())) { in getFilteredSubscriptionInfo()
565 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo()
573 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo()
575 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in getFilteredSubscriptionInfo()
576 ? info2 : info1); in getFilteredSubscriptionInfo()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp8870 RawLightInfo info1 = {.id = 1, in TEST_F() local
8890 mFakeEventHub->addRawLightInfo(info1.id, std::move(info1)); in TEST_F()