/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelperTest.java | 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 201 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_unknown() local [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImplTest.java | 176 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake() local 200 NotificationEntry entry = new NotificationEntryBuilder() in testShouldNotHeadsUp_suppressedForGroups() local 272 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant() local 280 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp() local 307 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered() local 319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_suppressPeek() local 345 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_deviceNotInUse() local 364 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_headsUpSuppressed() local 375 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUpAwake_awakeInterruptsSuppressed() local 418 NotificationEntry entry = createBubble(); in shouldNotBubbleUp_notAllowedToBubble() local [all …]
|
/aosp12/frameworks/base/tools/aapt/ |
H A 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() function 44 entry(const entry& o) : value(o.value), offset(o.offset), in entry() function 57 int compare(const entry& o) const; argument
|
/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A 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 …]
|
H A D | VCardExporterTests.java | 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 931 ContactEntry entry = mVerifier.addInputEntry(); in testImVariousTypeSupportCommon() local 987 ContactEntry entry = mVerifier.addInputEntry(); in testImPrefHandlingCommon() local 1016 ContactEntry entry = mVerifier.addInputEntry(); in testWebsiteCommon() local 1055 ContactEntry entry = mVerifier.addInputEntry(); in testEventCommon() local [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
H A 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() 63 default void onEntryUpdated(@NonNull NotificationEntry entry, boolean fromSystem) { in onEntryUpdated() 71 default void onEntryUpdated(@NonNull NotificationEntry entry) { in onEntryUpdated() 79 default void onEntryRemoved(@NonNull NotificationEntry entry, @CancellationReason int reason) { in onEntryRemoved() 91 default void onEntryCleanUp(@NonNull NotificationEntry entry) { in onEntryCleanUp()
|
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
H A D | StandardWifiEntryTest.java | 811 StandardWifiEntry entry = new StandardWifiEntry( in testGetSecurityString_pskAndSae_getWpaWpa2Wpa3Personal() local 850 StandardWifiEntry entry = new StandardWifiEntry( in testGetSecurityString_connected_getConnectionSecurityType() local 891 StandardWifiEntry entry = new StandardWifiEntry( in testGetSecurityString_eapAndEapWpa3_getWpaWpa2Wpa3Enterprise() local 903 StandardWifiEntry entry = in testGetMeteredChoice_afterSetMeteredChoice_getCorrectValue() local 954 StandardWifiEntry entry = new StandardWifiEntry( in testShouldEditBeforeConnect_nullWifiConfig_returnFalse() local 968 StandardWifiEntry entry = new StandardWifiEntry( in testShouldEditBeforeConnect_openNetwork_returnFalse() local 993 StandardWifiEntry entry = new StandardWifiEntry( in testShouldEditBeforeConnect_authenticationFailure_returnTrue() local 1271 StandardWifiEntry entry = new StandardWifiEntry( in testGetLevel_multipleSecurities_configAndScansMatch() local 1299 StandardWifiEntry entry = new StandardWifiEntry( in testConnect_unsavedOpen_configuresOpenNetwork() local 1319 StandardWifiEntry entry = new StandardWifiEntry( in testConnect_unsavedOwe_configuresOweNetwork() local [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A 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()
|
/aosp12/system/extras/memory_replay/tests/ |
H A D | AllocTest.cpp | 27 AllocEntry entry; in TEST() local 38 AllocEntry entry; in TEST() local 47 AllocEntry entry; in TEST() local 58 AllocEntry entry; in TEST() local 64 AllocEntry entry; in TEST() local 75 AllocEntry entry; in TEST() local 87 AllocEntry entry; in TEST() local 98 AllocEntry entry; in TEST() local 110 AllocEntry entry; in TEST() local 121 AllocEntry entry; in TEST() local [all …]
|
/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
H A D | NotificationEntryTest.java | 117 NotificationEntry entry = new NotificationEntry( in testHasPerson() local 126 NotificationEntry entry = new NotificationEntry( in testNotPerson() local 135 NotificationEntry entry = new NotificationEntry( in testHasPerson_matchesDefaultSmsApp() local 144 NotificationEntry entry = new NotificationEntry( in testHasPerson_doesntMatchDefaultSmsApp() local 156 NotificationEntry entry = new NotificationEntry( in testIsInboxStyle() local 168 NotificationEntry entry = new NotificationEntry( in testIsMessagingStyle() local 180 NotificationEntry entry = new NotificationEntry( in testIsNotPersonStyle() local 191 NotificationEntry entry = new NotificationEntry( in testIsAudioAttributes() local 200 NotificationEntry entry = new NotificationEntry( in testIsNotAudioAttributes() local 213 NotificationEntry entry = new NotificationEntry( in testIsCategory() local [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | BatteryDiffEntryTest.java | 85 final BatteryDiffEntry entry = in testSetTotalConsumePower_returnExpectedResult() local 99 final BatteryDiffEntry entry = in testSetTotalConsumePower_setZeroValue_returnsZeroValue() local 317 final BatteryDiffEntry entry = in testIsSystemEntry_userBattery_returnTrue() local 326 final BatteryDiffEntry entry = in testIsSystemEntry_systemBattery_returnTrue() local 335 final BatteryDiffEntry entry = in testIsSystemEntry_uidBattery_returnFalse() local 344 final BatteryDiffEntry entry = in testIsSystemEntry_uidBatteryWithHiddenState_returnTrue() local 353 final BatteryDiffEntry entry = in testIsSystemEntry_uidBatteryWithSystemProcess_returnTrue() local 368 final BatteryDiffEntry entry = in testUpdateRestrictionFlagState_updateFlagAsExpected() local 400 final BatteryDiffEntry entry = in testGetPackageName_returnExpectedResult() local 414 final BatteryDiffEntry entry = in testGetPackageName_withProcessName_returnExpectedResult() local [all …]
|
H A D | BatteryEntryTest.java | 120 BatteryEntry entry = createBatteryEntryForApp(null, APP_DEFAULT_PACKAGE_NAME, in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel() local 142 BatteryEntry entry = createBatteryEntryForApp(null, null, HIGH_DRAIN_PACKAGE); in batteryEntryForApp_shouldSetHighestDrainPackage_whenPackagesCannotBeFoundForUid() local 149 BatteryEntry entry = createBatteryEntryForApp( in batteryEntryForApp_shouldSetHighestDrainPackage_whenMultiplePackagesFoundForUid() local 158 final BatteryEntry entry = new BatteryEntry(RuntimeEnvironment.application, in batteryEntryForAOD_containCorrectInfo() local 167 final BatteryEntry entry = new BatteryEntry(RuntimeEnvironment.application, in batteryEntryForCustomComponent_containCorrectInfo() local 187 final BatteryEntry entry = new BatteryEntry(RuntimeEnvironment.application, in getTimeInForegroundMs_aggregateBatteryConsumer() local 206 final BatteryEntry entry = new BatteryEntry(RuntimeEnvironment.application, in getTimeInBackgroundMs_systemConsumer() local 227 final BatteryEntry entry = createBatteryEntryForApp(null, null, null); in getKey_UidBatteryConsumer() local 234 final BatteryEntry entry = createAggregateBatteryEntry( in getKey_AggregateBatteryConsumer_returnComponentId() local 242 final BatteryEntry entry = createCustomAggregateBatteryEntry( in getKey_CustomAggregateBatteryConsumer_returnComponentId() local [all …]
|
H A D | ConvertUtilsTest.java | 180 BatteryHistEntry entry = createBatteryHistEntry( in getIndexedUsageMap_returnsExpectedResult() local 182 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 193 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 200 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 203 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 210 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 213 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 216 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() local 301 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_usageTimeExceed_returnsExpectedResult() local 341 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_hideBackgroundUsageTime_returnsExpectedResult() local [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifCollection.java | 244 NotificationEntry entry = entriesToDismiss.get(i).first; in dismissNotifications() local 289 NotificationEntry entry, in dismissNotification() 313 NotificationEntry entry = entries.get(i); in dismissAllNotifications() local 337 NotificationEntry entry = entries.get(i); in locallyDismissNotifications() local 429 mNotificationSet.put(sbn.getKey(), entry); in postNotification() local 537 @NonNull NotificationEntry entry) { in onEndLifetimeExtension() 564 private void cancelLifetimeExtension(NotificationEntry entry) { in cancelLifetimeExtension() 573 private boolean isLifetimeExtended(NotificationEntry entry) { in isLifetimeExtended() 577 private void updateLifetimeExtension(NotificationEntry entry) { in updateLifetimeExtension() 600 private void cancelLocalDismissal(NotificationEntry entry) { in cancelLocalDismissal() [all …]
|
/aosp12/bionic/libc/malloc_debug/ |
H A D | MapData.cpp | 70 MapEntry* entry = new MapEntry(start, end, offset, name, name_len, flags); in parse_line() local 81 static inline bool get_val(MapEntry* entry, uintptr_t addr, T* store) { in get_val() 93 static bool valid_elf(MapEntry* entry) { in valid_elf() 103 static void read_loadbias(MapEntry* entry) { in read_loadbias() 136 static void inline init(MapEntry* entry) { in init() 155 MapEntry* entry = parse_line(buffer.data()); in ReadMaps() local 173 for (auto* entry : entries_) { in ~MapData() local 194 MapEntry* entry = *it; in find() local
|
/aosp12/system/extras/memory_replay/ |
H A D | Alloc.cpp | 29 void AllocGetData(const std::string& line, AllocEntry* entry) { in AllocGetData() 83 bool AllocDoesFree(const AllocEntry& entry) { in AllocDoesFree() 99 static uint64_t MallocExecute(const AllocEntry& entry, Pointers* pointers) { in MallocExecute() 111 static uint64_t CallocExecute(const AllocEntry& entry, Pointers* pointers) { in CallocExecute() 123 static uint64_t ReallocExecute(const AllocEntry& entry, Pointers* pointers) { in ReallocExecute() 140 static uint64_t MemalignExecute(const AllocEntry& entry, Pointers* pointers) { in MemalignExecute() 152 static uint64_t FreeExecute(const AllocEntry& entry, Pointers* pointers) { in FreeExecute() 163 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers) { in AllocExecute()
|
/aosp12/system/netd/libnetdutils/ |
H A D | LogTest.cpp | 84 const LogEntry entry = functionName(); in TEST() local 89 const LogEntry entry = prettyFunctionName(); in TEST() local 94 const LogEntry entry = AAA().functionName(); in TEST() local 99 const LogEntry entry = AAA().prettyFunctionName(); in TEST() local 104 const LogEntry entry = AAA::BBB().functionName(); in TEST() local 109 const LogEntry entry = AAA::BBB().prettyFunctionName(); in TEST() local 114 const LogEntry entry = LogEntry() in TEST() local 123 const LogEntry entry = LogEntry() in TEST() local 133 const LogEntry entry = LogEntry().function("testFunc").arg(buf); in TEST() local 138 const LogEntry entry = LogEntry().function("testFunc").args("hello", 42, false); in TEST() local
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/ |
H A D | AppLinkStatePreferenceControllerTest.java | 96 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isBrowserApp_isDisabled() local 114 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_noDomainUrls_isDisabled() local 132 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled() local 150 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk() local 171 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk() local 192 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways() local 213 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in onCreate_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | RemoteInputController.java | 110 public void addRemoteInput(NotificationEntry entry, Object token) { in addRemoteInput() 131 public void removeRemoteInput(NotificationEntry entry, Object token) { in removeRemoteInput() 185 private void apply(NotificationEntry entry) { in apply() 197 public boolean isRemoteInputActive(NotificationEntry entry) { in isRemoteInputActive() 251 public void remoteInputSent(NotificationEntry entry) { in remoteInputSent() 266 NotificationEntry entry = mOpen.get(i).first.get(); in closeRemoteInputs() local 273 NotificationEntry entry = list.get(i); in closeRemoteInputs() local 284 public void lockScrollTo(NotificationEntry entry) { in lockScrollTo() 299 default void onRemoteInputSent(NotificationEntry entry) {} in onRemoteInputSent() 309 void setRemoteInputActive(NotificationEntry entry, boolean remoteInputActive); in setRemoteInputActive() [all …]
|