/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | BootCompletedReceiverTest.java | 36 import com.google.android.collect.Sets; 134 Sets.newHashSet(programInNonExistingPackage, programInExistingPackage), in testPackageRemoved() 137 Sets.newHashSet( in testPackageRemoved() 141 Sets.newHashSet( in testPackageRemoved() 145 Sets.newHashSet( in testPackageRemoved() 149 Sets.newHashSet( in testPackageRemoved() 158 Sets.newHashSet(programInExistingPackage), Utils.queryPrograms(mResolver)); in testPackageRemoved() 160 Sets.newHashSet( in testPackageRemoved() 163 Sets.newHashSet(recordedProgramInExistingPackage), in testPackageRemoved() 166 Sets.newHashSet( in testPackageRemoved() [all …]
|
D | PackageRemovedReceiverTest.java | 36 import com.google.android.collect.Sets; 118 Sets.newHashSet(programInPackage1, programInPackage2), in testPackageRemoved() 121 Sets.newHashSet(previewProgramInPackage1, previewProgramInPackage2), in testPackageRemoved() 124 Sets.newHashSet(recordedProgramInPackage1, recordedProgramInPackage2), in testPackageRemoved() 127 Sets.newHashSet(watchedProgramInPackage1, watchedProgramInPackage2), in testPackageRemoved() 130 Sets.newHashSet(watchNextProgramInPackage1, watchNextProgramInPackage2), in testPackageRemoved() 139 Sets.newHashSet(programInPackage2), Utils.queryPrograms(mResolver)); in testPackageRemoved() 141 Sets.newHashSet(previewProgramInPackage2), Utils.queryPreviewPrograms(mResolver)); in testPackageRemoved() 143 Sets.newHashSet(recordedProgramInPackage2), in testPackageRemoved() 146 Sets.newHashSet(watchedProgramInPackage2), Utils.queryWatchedPrograms(mResolver)); in testPackageRemoved() [all …]
|
D | EpgDataCleanupServiceTests.java | 35 import com.google.android.collect.Sets; 160 Set<Program> programs = Sets.newHashSet(); in queryPrograms() 199 Set<Program> programs = Sets.newHashSet(); in queryWatchedPrograms() 220 Sets.newHashSet(program), queryPrograms()); in testClearOldPrograms() 245 Sets.newHashSet(program), queryWatchedPrograms()); in testClearOldWatchedPrograms()
|
D | TransientRowHelperTests.java | 19 import com.google.android.collect.Sets; 155 Set<PreviewProgram> programs = Sets.newHashSet(); in queryPreviewPrograms() 196 Sets.newHashSet(transientProgramInTransientChannel, in testTransientRowsAreDeletedAfterReboot() 205 Sets.newHashSet(permanentProgramInPermanentChannel), queryPreviewPrograms()); in testTransientRowsAreDeletedAfterReboot()
|
D | Utils.java | 31 import com.google.android.collect.Sets; 220 Set<Program> programs = Sets.newHashSet(); in queryPrograms() 254 Set<PreviewProgram> programs = Sets.newHashSet(); in queryPreviewPrograms() 286 Set<RecordedProgram> programs = Sets.newHashSet(); in queryRecordedPrograms() 324 Set<WatchedProgram> programs = Sets.newHashSet(); in queryWatchedPrograms() 358 Set<WatchNextProgram> programs = Sets.newHashSet(); in queryWatchNextPrograms()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelperTest.java | 23 import com.google.android.collect.Sets; 77 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, in testMergeComponentsWithDisjointAccounts() 78 101l), Sets.newHashSet(102l, 103l), Sets.newHashSet(104l, 105l, 106l, 107l)); in testMergeComponentsWithDisjointAccounts() 107 MoreAsserts.assertContentsInAnyOrder(connectedRawContactSets, Sets.newHashSet(100l, in testMergeComponentsWithDisjointAccounts2() 108 101l), Sets.newHashSet(102l), Sets.newHashSet(103l)); in testMergeComponentsWithDisjointAccounts2()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | SignalStrengthListenerTest.java | 39 import org.mockito.internal.util.collections.Sets; 88 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2)); in updateSubscriptionIds_beforeResume_startedListening() 111 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2)); in updateSubscriptionIds_twoCalls_oneIdAdded() 118 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2, SUB_ID_3)); in updateSubscriptionIds_twoCalls_oneIdAdded() 133 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2)); in updateSubscriptionIds_twoCalls_oneIdRemoved() 138 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_2)); in updateSubscriptionIds_twoCalls_oneIdRemoved() 154 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 158 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_3)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 171 mListener.updateSubscriptionIds(Sets.newSet(SUB_ID_1, SUB_ID_2)); in updateSubscriptionIds_thenPauseResume_correctlyStartsAndStops()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | ThreadingTest.java | 27 import com.google.android.collect.Sets; 52 final HashSet<String> expectedBodies = Sets.newHashSet(); in testFilenameRace() 73 final Set<String> seenFiles = Sets.newHashSet(); in testFilenameRace() 74 final HashSet<String> actualBodies = Sets.newHashSet(); in testFilenameRace()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | SignalStrengthListener.java | 28 import com.google.common.collect.Sets; 74 for (int idToRemove : Sets.difference(currentIds, ids)) { in updateSubscriptionIds() 78 for (int idToAdd : Sets.difference(ids, currentIds)) { in updateSubscriptionIds()
|
D | TelephonyDisplayInfoListener.java | 25 import com.google.common.collect.Sets; 87 for (int idToRemove : Sets.difference(currentIds, ids)) { in updateSubscriptionIds() 92 for (int idToAdd : Sets.difference(ids, currentIds)) { in updateSubscriptionIds()
|
D | TelephonyStatusControlSession.kt | 23 import com.google.common.collect.Sets 40 private val controllerSet = Sets.newConcurrentHashSet<TelephonyAvailabilityHandler>()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/ |
D | SignalsShellCommandFactoryTest.java | 25 import com.google.common.collect.Sets; 84 Truth.assertThat(Sets.newHashSet(mFactory.getAllCommandsHelp())) in test_getAllCommandsHelp() 85 .containsExactlyElementsIn(Sets.newHashSet(GenerateInputForEncodingCommand.HELP)); in test_getAllCommandsHelp()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceShellCommandFactoryTest.java | 26 import com.google.common.collect.Sets; 106 Truth.assertThat(Sets.newHashSet(mFactory.getAllCommandsHelp())) in test_getAllCommandsHelp() 108 Sets.newHashSet( in test_getAllCommandsHelp()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/ |
D | AdSelectionShellCommandFactoryTest.java | 27 import com.google.common.collect.Sets; 132 Truth.assertThat(Sets.newHashSet(mFactory.getAllCommandsHelp())) in test_getAllCommandsHelp() 134 Sets.newHashSet( in test_getAllCommandsHelp()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactMultiDeletionInteraction.java | 42 import com.google.common.collect.Sets; 200 final HashSet<Long> readOnlyRawContacts = Sets.newHashSet(); in onLoadFinished() 201 final HashSet<Long> writableRawContacts = Sets.newHashSet(); in onLoadFinished() 202 final HashSet<Long> contactIds = Sets.newHashSet(); in onLoadFinished() 203 final HashSet<String> names = Sets.newHashSet(); in onLoadFinished()
|
D | ContactDeletionInteraction.java | 48 import com.google.common.collect.Sets; 253 HashSet<Long> readOnlyRawContacts = Sets.newHashSet(); in onLoadFinished() 254 HashSet<Long> writableRawContacts = Sets.newHashSet(); in onLoadFinished()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | RenamingDelegatingContext.java | 27 import com.google.android.collect.Sets; 46 private Set<String> mDatabaseNames = Sets.newHashSet(); 47 private Set<String> mFileNames = Sets.newHashSet();
|
D | EvenMoreAsserts.java | 22 import com.google.android.collect.Sets; 110 Set<Object> set = Sets.newHashSet(); in assertUnique()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 43 import com.google.common.collect.Sets; 155 final Set<DatabaseMessage> matchedLocalMessages = Sets.newHashSet(); in scan() 157 final Set<DatabaseMessage> matchedRemoteMessages = Sets.newHashSet(); in scan() 261 for (final DatabaseMessage msg : Sets.difference( in scan() 266 for (final DatabaseMessage msg : Sets.difference( in scan()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | PrivappPermissionsTest.java | 25 import static com.google.common.collect.Sets.difference; 26 import static com.google.common.collect.Sets.intersection; 27 import static com.google.common.collect.Sets.newHashSet;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DefaultCallLogInsertionHelper.java | 31 import com.google.android.collect.Sets; 47 private static final Set<String> LEGACY_UNKNOWN_NUMBERS = Sets.newHashSet("-1", "-2", "-3");
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 31 import com.google.common.collect.Sets; 51 private static final HashSet<String> sPreferResolve = Sets.newHashSet(
|
/packages/services/Telecomm/flags/ |
D | telecom_remote_connection_service.aconfig | 8 description: "Sets the telecom call id for remote connections/ conferences."
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupEvaluatorTest.java | 36 import com.google.android.collect.Sets; 199 Set<ScanResult> scanResults = Sets.newArraySet(savedScanResultLow, savedScanResultHigh); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
|
D | WakeupConfigStoreDataTest.java | 36 import com.google.android.collect.Sets; 147 Set<ScanResultMatchInfo> networks = Sets.newArraySet(network1, network2, network3); in deserializeSerializedData()
|