Searched refs:info1 (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | ImeInsetsSourceConsumer.java | 131 public static boolean areEditorsSimilar(EditorInfo info1, EditorInfo info2) { in areEditorsSimilar() argument 135 info1.imeOptions == info2.imeOptions in areEditorsSimilar() 136 && info1.inputType == info2.inputType in areEditorsSimilar() 137 && TextUtils.equals(info1.packageName, info2.packageName); in areEditorsSimilar() 138 areOptionsSimilar &= info1.privateImeOptions != null in areEditorsSimilar() 139 ? info1.privateImeOptions.equals(info2.privateImeOptions) : true; in areEditorsSimilar() 146 if ((info1.extras == null && info2.extras == null) || info1.extras == info2.extras) { in areEditorsSimilar() 149 if ((info1.extras == null && info2.extras != null) in areEditorsSimilar() 150 || (info1.extras == null && info2.extras != null)) { in areEditorsSimilar() 153 if (info1.extras.hashCode() == info2.extras.hashCode() in areEditorsSimilar() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ImeInsetsSourceConsumerTest.java | 104 EditorInfo info1 = new EditorInfo(); in testAreEditorsSimilar() local 105 info1.privateImeOptions = "dummy"; in testAreEditorsSimilar() 108 assertFalse(areEditorsSimilar(info1, info2)); in testAreEditorsSimilar() 110 info1.privateImeOptions = null; in testAreEditorsSimilar() 111 assertTrue(areEditorsSimilar(info1, info2)); in testAreEditorsSimilar() 113 info1.inputType = info2.inputType = 3; in testAreEditorsSimilar() 114 info1.imeOptions = info2.imeOptions = 0x4; in testAreEditorsSimilar() 115 info1.packageName = info2.packageName = "dummy.package"; in testAreEditorsSimilar() 116 assertTrue(areEditorsSimilar(info1, info2)); in testAreEditorsSimilar() 124 info1.extras = extras1; in testAreEditorsSimilar() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | IconInfoTest.java | 119 IconInfo info1 = new IconInfo(width1, height1, language1, iconType1, fileName1); in testHashCode() local 123 assertNotEquals(info1.hashCode(), info2.hashCode()); in testHashCode() 124 assertEquals(info1.hashCode(), info1Dup.hashCode()); in testHashCode()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 703 std::shared_ptr<C2Info> info1(new C2Number1Info(1)); in TEST_F() local 707 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F() 710 ASSERT_EQ(C2_OK, buffer->setInfo(info1)); in TEST_F() 712 EXPECT_EQ(*info1, *buffer->info().front()); in TEST_F() 713 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F() 718 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F() 721 std::shared_ptr<C2Info> removed = buffer->removeInfo(info1->type()); in TEST_F() 723 EXPECT_EQ(*removed, *info1); in TEST_F() 726 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F() 729 removed = buffer->removeInfo(info1->type()); in TEST_F() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 114 ApplicationInfo info1 = new ApplicationInfo(); in setUp() local 115 info1.uid = 1; in setUp() 116 result.add(info1); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 309 SubscriptionInfo info1 = mSubscriptionManager.getActiveSubscriptionInfo(subId1); in isInGroupDataSwitch() local 311 return (info1 != null && info2 != null && info1.getGroupUuid() != null in isInGroupDataSwitch() 312 && info1.getGroupUuid().equals(info2.getGroupUuid())); in isInGroupDataSwitch() 606 SubscriptionInfo info1 = subscriptions.get(0); in filterMobileSubscriptionInSameGroup() local 608 if (info1.getGroupUuid() != null && info1.getGroupUuid().equals(info2.getGroupUuid())) { in filterMobileSubscriptionInSameGroup() 610 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return; in filterMobileSubscriptionInSameGroup() 618 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup() 620 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup() 621 ? info2 : info1); in filterMobileSubscriptionInSameGroup()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 222 [](const sp<MediaCodecInfo> &info1, const sp<MediaCodecInfo> &info2) { in MediaCodecList() argument 224 return info1 == nullptr in MediaCodecList() 225 || (info2 != nullptr && info1->getRank() < info2->getRank()); in MediaCodecList()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 530 SubscriptionInfo info1 = subscriptions.get(0); in getFilteredSubscriptionInfo() local 532 if (info1.getGroupUuid() != null && info1.getGroupUuid().equals(info2.getGroupUuid())) { in getFilteredSubscriptionInfo() 534 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo() 542 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo() 544 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in getFilteredSubscriptionInfo() 545 ? info2 : info1); in getFilteredSubscriptionInfo()
|