/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelperTest.java | 132 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>(WIDGET_ID_STRING, "contact"); in testGetKeyType_widgetId() local 138 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_widgetId_twoDigits() local 145 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_valid() local 152 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_validWithSlashes() local 159 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_negativeNumber() local 166 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri() local 173 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri_valid() local 180 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri_invalidPackageName() local 187 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_unknown_unexpectedValueForPeopleTileKey() local 194 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_unknown_unexpectedValueForContactUri() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 164 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testDefaultSuppressorDoesNotSuppress() local 176 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake() local 186 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpAwake_flteredOut() local 200 NotificationEntry entry = new NotificationEntryBuilder() in testShouldNotHeadsUp_suppressedForGroups() local 220 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing() local 233 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_pulseDisabled() local 246 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_notDozing() local 258 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldNotHeadsUpWhenDozing_suppressingAmbient() local 272 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant() local 280 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp() local [all …]
|
/frameworks/base/tools/aapt/ |
D | StringPool.h | 41 struct entry { struct 42 entry() : offset(0) { } in entry() argument 43 explicit entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } in entry() argument 44 entry(const entry& o) : value(o.value), offset(o.offset), in entry() function 57 int compare(const entry& o) const; argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardJapanizationTests.java | 37 ContactEntry entry = mVerifier.addInputEntry(); in testNameUtf8Common() local 65 ContactEntry entry = mVerifier.addInputEntry(); in testNameShiftJis() local 87 ContactEntry entry = mVerifier.addInputEntry(); in testNameDoCoMo() local 113 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneticNameCommon() local 165 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneticNameForMobileV21_1() local 189 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneticNameForMobileV21_2() local 206 ContactEntry entry = mVerifier.addInputEntry(); in testPostalAddressWithJapaneseCommon() local 255 ContactEntry entry = mVerifier.addInputEntry(); in testPostalAdrressForDoCoMo_1() local 283 ContactEntry entry = mVerifier.addInputEntry(); in testPostalAdrressForDoCoMo_2() local 308 ContactEntry entry = mVerifier.addInputEntry(); in testPostalAdrressForDoCoMo_3() local [all …]
|
D | VCardExporterTests.java | 101 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNameUsePrimaryCommon() local 161 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNameUseSuperPrimaryCommon() local 231 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNamePhoneticNameCommon() local 296 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNameComplicatedCommon() local 447 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneVariousTypeSupport() local 554 ContactEntry entry = mVerifier.addInputEntry(); in testPhonePrefHandlingCommon() local 599 ContactEntry entry = mVerifier.addInputEntry(); in testMiscPhoneTypeHandling() local 698 ContactEntry entry = mVerifier.addInputEntry(); in testEmailVariousTypeSupportCommon() local 732 ContactEntry entry = mVerifier.addInputEntry(); in testEmailPrefHandlingCommon() local 890 ContactEntry entry = mVerifier.addInputEntry(); in testOrganizationCommon() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
D | GroupMembershipManagerImpl.java | 35 public boolean isGroupSummary(NotificationEntry entry) { in isGroupSummary() 40 public NotificationEntry getGroupSummary(NotificationEntry entry) { in getGroupSummary() 49 public boolean isChildInGroup(NotificationEntry entry) { in isChildInGroup() 54 public boolean isOnlyChildInGroup(NotificationEntry entry) { in isOnlyChildInGroup() 64 public List<NotificationEntry> getChildren(ListEntry entry) { in getChildren() 77 private boolean isEntryTopLevel(NotificationEntry entry) { in isEntryTopLevel()
|
D | GroupMembershipManager.java | 34 boolean isGroupSummary(NotificationEntry entry); in isGroupSummary() 40 NotificationEntry getGroupSummary(NotificationEntry entry); in getGroupSummary() 49 default NotificationEntry getLogicalGroupSummary(NotificationEntry entry) { in getLogicalGroupSummary() 56 boolean isChildInGroup(NotificationEntry entry); in isChildInGroup() 61 boolean isOnlyChildInGroup(NotificationEntry entry); in isOnlyChildInGroup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryListener.java | 36 default void onPendingEntryAdded(NotificationEntry entry) { in onPendingEntryAdded() 42 default void onNotificationAdded(@NonNull NotificationEntry entry) { in onNotificationAdded() 52 default void onPreEntryUpdated(NotificationEntry entry) { in onPreEntryUpdated() 58 default void onPostEntryUpdated(@NonNull NotificationEntry entry) { in onPostEntryUpdated() 64 default void onEntryInflated(NotificationEntry entry) { in onEntryInflated() 73 default void onEntryReinflated(NotificationEntry entry) { in onEntryReinflated() 92 default void onEntryRemoved( in onEntryRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
D | NotifCollectionListener.java | 36 default void onEntryBind(NotificationEntry entry, StatusBarNotification sbn) { in onEntryBind() 47 default void onEntryInit(@NonNull NotificationEntry entry) { in onEntryInit() 53 default void onEntryAdded(@NonNull NotificationEntry entry) { in onEntryAdded() 60 default void onEntryUpdated(@NonNull NotificationEntry entry) { in onEntryUpdated() 68 default void onEntryRemoved(@NonNull NotificationEntry entry, @CancellationReason int reason) { in onEntryRemoved() 80 default void onEntryCleanUp(@NonNull NotificationEntry entry) { in onEntryCleanUp()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 168 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testConstructor_scanResults_setsBestLevel() local 209 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateScanResultInfo_mismatchedSsids_throwsException() local 228 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateScanResultInfo_notifiesListener() local 245 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateScanResultInfo_updatesLevel() local 262 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testConstructor_wifiConfig_setsTitle() local 275 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testConstructor_wifiConfig_setsSecurity() local 288 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateConfig_mismatchedSsids_throwsException() local 308 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateConfig_mismatchedSecurity_throwsException() local 327 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateConfig_unsavedToSaved() local 349 final StandardWifiEntry entry = new StandardWifiEntry(mMockContext, mTestHandler, in testUpdateConfig_savedToUnsaved() local [all …]
|
D | PasspointWifiEntryTest.java | 142 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetMeteredChoice_afterSetMeteredChoice_getCorrectValue() local 175 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSummary_connectedWifiNetwork_showsConnected() local 215 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSummary_providerModelConnectedButNotDefault_doesNotShowConnected() local 235 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSecurityTypes_connectedWifiNetwork_showsCurrentSecurityType() local 282 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testShouldShowXLevelIcon_unvalidatedOrNotDefault_returnsTrue() local 313 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSpeed_cacheUpdated_speedValueChanges() local 337 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSpeed_connected_useWifiInfoRssiForSpeed() local 355 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetSpeed_newScanResults_speedValueChanges() local 387 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress() local 398 PasspointWifiEntry entry = new PasspointWifiEntry(mMockContext, mTestHandler, in testIsAutoJoinEnabled_nullConfigs_returnsFalse() local [all …]
|
D | MergedCarrierEntryTest.java | 78 final MergedCarrierEntry entry = new MergedCarrierEntry(mTestHandler, mMockWifiManager, in testGetConnectedState_wifiInfoMatches_returnsConnected() local 93 final MergedCarrierEntry entry = new MergedCarrierEntry(mTestHandler, mMockWifiManager, in testConnect_disablesNonCarrierMergedWifi() local 107 final MergedCarrierEntry entry = new MergedCarrierEntry(mTestHandler, mMockWifiManager, in testDisconnect_enablesNonCarrierMergedWifiAndTriggersScan() local 119 final MergedCarrierEntry entry = new MergedCarrierEntry(mTestHandler, mMockWifiManager, in testCanConnect_cellIsDefaultRoute_returnsFalse() local 133 final MergedCarrierEntry entry = new MergedCarrierEntry(mTestHandler, mMockWifiManager, in testGetSsid_connected_returnsSanitizedWifiInfoSsid() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | HighPriorityProvider.java | 66 public boolean isHighPriority(ListEntry entry) { in isHighPriority() 82 private boolean hasHighPriorityChild(ListEntry entry) { in hasHighPriorityChild() 100 private boolean hasHighPriorityCharacteristics(NotificationEntry entry) { in hasHighPriorityCharacteristics() 107 private boolean isMessagingStyle(NotificationEntry entry) { in isMessagingStyle() 111 private boolean isPeopleNotification(NotificationEntry entry) { in isPeopleNotification() 116 private boolean hasUserSetImportance(NotificationEntry entry) { in hasUserSetImportance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BindStage.java | 49 protected abstract void executeStage( in executeStage() 59 protected abstract void abortStage( in abortStage() 67 public final Params getStageParams(@NonNull NotificationEntry entry) { in getStageParams() 85 final void createStageParams(@NonNull NotificationEntry entry) { in createStageParams() 92 final void deleteStageParams(@NonNull NotificationEntry entry) { in deleteStageParams() 110 void onStageFinished(NotificationEntry entry); in onStageFinished()
|
D | NotifRemoteViewCache.java | 38 boolean hasCachedView(NotificationEntry entry, @InflationFlag int flag); in hasCachedView() 47 @Nullable RemoteViews getCachedView(NotificationEntry entry, @InflationFlag int flag); in getCachedView() 57 NotificationEntry entry, in putCachedView() 67 void removeCachedView(NotificationEntry entry, @InflationFlag int flag); in removeCachedView() 74 void clearCache(NotificationEntry entry); in clearCache()
|
D | NotifInflationErrorManager.java | 50 public void setInflationError(NotificationEntry entry, Exception e) { in setInflationError() 60 public void clearInflationError(NotificationEntry entry) { in clearInflationError() 72 public boolean hasInflationError(@NonNull NotificationEntry entry) { in hasInflationError() 93 void onNotifInflationError(NotificationEntry entry, Exception e); in onNotifInflationError() 98 default void onNotifInflationErrorCleared(NotificationEntry entry) {} in onNotifInflationErrorCleared()
|
D | NotifBindPipeline.java | 112 public void manageRow( in manageRow() 127 private void onBindRequested( in onBindRequested() 156 private void requestPipelineRun(NotificationEntry entry) { in requestPipelineRun() 179 private void startPipeline(NotificationEntry entry) { in startPipeline() 192 private void onPipelineComplete(NotificationEntry entry) { in onPipelineComplete() 229 private @NonNull BindEntry getBindEntry(NotificationEntry entry) { in getBindEntry() 241 void onBindFinished(NotificationEntry entry); in onBindFinished() 262 NotificationEntry entry = (NotificationEntry) msg.obj; in handleMessage() local
|
D | NotifRemoteViewCacheImpl.java | 47 public boolean hasCachedView(NotificationEntry entry, @InflationFlag int flag) { in hasCachedView() 52 public @Nullable RemoteViews getCachedView(NotificationEntry entry, @InflationFlag int flag) { in getCachedView() 62 NotificationEntry entry, in putCachedView() 78 public void removeCachedView(NotificationEntry entry, @InflationFlag int flag) { in removeCachedView() 87 public void clearCache(NotificationEntry entry) { in clearCache()
|
D | OnUserInteractionCallback.java | 37 NotificationEntry entry, in onDismiss() 45 void onImportanceChanged(NotificationEntry entry); in onImportanceChanged() 53 NotificationEntry getGroupSummaryToDismiss(NotificationEntry entry); in getGroupSummaryToDismiss()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ |
D | IconManagerTest.kt | 92 val entry = notificationEntry(true, true, true) in testCreateIcons_importantConversation_shortcutIcon() constant 102 val entry = notificationEntry(false, true, true) in testCreateIcons_importantConversation_messageIcon() constant 112 val entry = notificationEntry(false, false, true) in testCreateIcons_importantConversation_largeIcon() constant 122 val entry = notificationEntry(false, false, false) in testCreateIcons_importantConversation_smallIcon() constant 132 val entry = notificationEntry(true, true, true) in testCreateIcons_notImportantConversation() constant 141 val entry = notificationEntry(true, false, false) in testCreateIcons_sensitiveImportantConversation() constant 154 val entry = notificationEntry(true, false, false) in testUpdateIcons_sensitivityChange() constant 204 val entry = builder.build() in notificationEntry() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 237 NotificationEntry entry = entriesToDismiss.get(i).first; in dismissNotifications() local 282 NotificationEntry entry, in dismissNotification() 306 NotificationEntry entry = entries.get(i); in dismissAllNotifications() local 330 NotificationEntry entry = entries.get(i); in locallyDismissNotifications() local 388 final NotificationEntry entry = mNotificationSet.get(sbn.getKey()); in onNotificationRemoved() local 415 NotificationEntry entry = mNotificationSet.get(sbn.getKey()); in postNotification() local 422 mNotificationSet.put(sbn.getKey(), entry); in postNotification() local 454 private boolean tryRemoveNotification(NotificationEntry entry) { in tryRemoveNotification() 526 private void onEndLifetimeExtension(NotifLifetimeExtender extender, NotificationEntry entry) { in onEndLifetimeExtension() 553 private void cancelLifetimeExtension(NotificationEntry entry) { in cancelLifetimeExtension() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotifInflater.java | 32 void rebindViews(NotificationEntry entry, InflationCallback callback); in rebindViews() 40 void inflateViews(NotificationEntry entry, InflationCallback callback); in inflateViews() 46 void abortInflation(NotificationEntry entry); in abortInflation() 52 void onInflationFinished(NotificationEntry entry); in onInflationFinished()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | RemoteInputController.java | 111 public void addRemoteInput(NotificationEntry entry, Object token) { in addRemoteInput() 132 public void removeRemoteInput(NotificationEntry entry, Object token) { in removeRemoteInput() 186 private void apply(NotificationEntry entry) { in apply() 198 public boolean isRemoteInputActive(NotificationEntry entry) { in isRemoteInputActive() 248 public void remoteInputSent(NotificationEntry entry) { in remoteInputSent() 263 NotificationEntry entry = mOpen.get(i).first.get(); in closeRemoteInputs() local 270 NotificationEntry entry = list.get(i); in closeRemoteInputs() local 281 public void lockScrollTo(NotificationEntry entry) { in lockScrollTo() 296 default void onRemoteInputSent(NotificationEntry entry) {} in onRemoteInputSent() 303 void setRemoteInputActive(NotificationEntry entry, boolean remoteInputActive); in setRemoteInputActive() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | AaptGroupEntry_test.cpp | 25 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, in TestParse() 33 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const char* input, in TestParse() 39 AaptGroupEntry entry; in TEST() local 46 AaptGroupEntry entry; in TEST() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptSuppressor.java | 39 default boolean suppressAwakeHeadsUp(NotificationEntry entry) { in suppressAwakeHeadsUp() 50 default boolean suppressAwakeInterruptions(NotificationEntry entry) { in suppressAwakeInterruptions() 61 default boolean suppressInterruptions(NotificationEntry entry) { in suppressInterruptions()
|