Home
last modified time | relevance | path

Searched refs:singleton (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DContentProviderRecord.java46 final boolean singleton; field in ContentProviderRecord
69 singleton = _singleton; in ContentProviderRecord()
80 singleton = cpr.singleton; in ContentProviderRecord()
192 if (singleton) { in dump()
193 pw.print(prefix); pw.print("singleton="); pw.println(singleton); in dump()
DProviderMap.java109 if (record.singleton) { in putProviderByName()
122 if (record.singleton) { in putProviderByClass()
DActivityManagerService.java6458 boolean singleton = isSingleton(cpi.processName, cpi.applicationInfo, in generateApplicationProvidersLocked()
6460 if (singleton && UserHandle.getUserId(app.uid) != UserHandle.USER_SYSTEM) { in generateApplicationProvidersLocked()
6474 cpr = new ContentProviderRecord(this, cpi, app.info, comp, singleton); in generateApplicationProvidersLocked()
6942 boolean singleton = isSingleton(cpi.processName, cpi.applicationInfo, in getContentProviderImpl()
6945 if (singleton) { in getContentProviderImpl()
6957 if ((msg = checkContentProviderPermissionLocked(cpi, r, userId, !singleton)) in getContentProviderImpl()
7019 cpr = new ContentProviderRecord(this, cpi, ai, comp, singleton); in getContentProviderImpl()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java117 Set<ScanResult> scanResults = Collections.singleton( in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks()
130 Set<ScanResult> scanResults = Collections.singleton( in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold()
143 Set<ScanResult> scanResults = Collections.singleton(savedScanResult); in findViableNetwork_returnsConnectableScanResult()
DWakeupControllerTest.java349 Collections.singleton(ScanResultMatchInfo.fromScanResult(savedScanResult)); in startInitializesWakeupLockWithSavedScanResults()
387 Collections.singleton(ScanResultMatchInfo.fromScanResult(savedScanResult)); in startInitializesWakeupLockWithNetworkSuggestions()
468 Collections.singleton(ScanResultMatchInfo.fromScanResult(scanResult24)); in startFiltersOutDfsScanResults()
501 verify(mWakeupLock).update(eq(Collections.singleton(expectedMatchInfo))); in onResultsUpdatesWakeupLockForSavedNetworks()
530 verify(mWakeupLock).update(eq(Collections.singleton(expectedMatchInfo))); in onResultsUpdatesWakeupLockForNetworkSuggestions()
721 verify(mWakeupLock).setLock(eq(Collections.singleton(matchInfo))); in lastConnectedNetworkAddedToLock()
/frameworks/base/media/java/android/media/
DMetadata.java217 public static final Set<Integer> MATCH_ALL = Collections.singleton(ANY);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java94 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequest()
111 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequestWithoutPredefinedBucket()
419 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleExponentialBackOffRequest()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java164 when(properties.getKeyset()).thenReturn(Collections.singleton(name));
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java453 final Set<UidRange> vpnRange2 = Collections.singleton(new UidRange(MOCK_UID2, MOCK_UID2)); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
499 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall()
/frameworks/base/packages/SystemUI/docs/
Ddagger.md41 The root component is composed of root modules, which in turn provide the global singleton
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java278 Set<Integer> expectedCodes = Collections.singleton(CONTINUE_USER_SWITCH_MSG); in testDispatchUserSwitch()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java514 return Collections.singleton(generateSelfSignedCertificateBytes(keyPair)); in createCertificateChain()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java483 sendCacheUpdateCallback(consumer, Collections.singleton(callbackList)); in updateScores()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java1515 .getMatchingPasspointConfigsForOsuProviders(Collections.singleton(provider))) in testOsuAccessPoint_connectsAfterProvisioning()
1549 .getMatchingPasspointConfigsForOsuProviders(Collections.singleton(provider))) in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java3685 final Set<String> userAffiliationIds = Collections.singleton("some.affiliation-id"); in testGetBindDeviceAdminTargetUsers()
3705 dpm.setAffiliationIds(admin1, Collections.singleton("some-different-affiliation-id")); in testGetBindDeviceAdminTargetUsers()
3730 final Set<String> userAffiliationIds = Collections.singleton("some-affiliation-id"); in testGetBindDeviceAdminTargetUsers_differentPackage()
3827 final Set<String> userAffiliationIds = Collections.singleton("some-affiliation-id"); in testLockTaskPolicyAllowedForAffiliatedUsers()
5332 dpm.setCrossProfileCalendarPackages(admin1, Collections.singleton(testPackage)); in testIsPackageAllowedToAccessCalendar_settingOff()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6665 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testFullyRoutedVpnResultsInInterfaceFilteringRules()
6692 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLegacyVpnDoesNotResultInInterfaceFilteringRule()
6708 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule()
6723 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testVpnHandoverChangesInterfaceFilteringRule()
6776 Collections.singleton(vpnRange)); in testUidUpdateChangesInterfaceFilteringRule()
6925 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in setupConnectionOwnerUid()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1922 .getMatchingPasspointConfigsForOsuProviders(Collections.singleton(mOsuProvider)) in onProvisioningComplete()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4291 .thenReturn(Collections.singleton(xmlConfig)); in setDefaultAssistantForUser_fromConfigXml()
4332 .thenReturn(Collections.singleton(xmlConfig)); in setDefaultAssistantForUser_deviceConfigInvalid()
/frameworks/base/config/
Dboot-image-profile.txt28689 HSPLjava/util/Collections;->singleton(Ljava/lang/Object;)Ljava/util/Set;
Dhiddenapi-greylist-max-o.txt61218 Landroid/security/Credentials;->singleton:Landroid/security/Credentials;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt47967 method public static java.util.Set<E> singleton(E);
/frameworks/base/non-updatable-api/
Dcurrent.txt70888 method @NonNull public static <T> java.util.Set<T> singleton(T);
/frameworks/base/api/
Dcurrent.txt71032 method @NonNull public static <T> java.util.Set<T> singleton(T);