Home
last modified time | relevance | path

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

12

/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()
/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.java345 Collections.singleton(ScanResultMatchInfo.fromScanResult(savedScanResult)); in startInitializesWakeupLockWithSavedScanResults()
383 Collections.singleton(ScanResultMatchInfo.fromScanResult(savedScanResult)); in startInitializesWakeupLockWithNetworkSuggestions()
464 Collections.singleton(ScanResultMatchInfo.fromScanResult(scanResult24)); in startFiltersOutDfsScanResults()
497 verify(mWakeupLock).update(eq(Collections.singleton(expectedMatchInfo))); in onResultsUpdatesWakeupLockForSavedNetworks()
526 verify(mWakeupLock).update(eq(Collections.singleton(expectedMatchInfo))); in onResultsUpdatesWakeupLockForNetworkSuggestions()
717 verify(mWakeupLock).setLock(eq(Collections.singleton(matchInfo))); in lastConnectedNetworkAddedToLock()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DProtobufArrayListTest.java190 list.addAll(0, Collections.singleton(1)); in assertImmutable()
239 list.removeAll(Collections.singleton(1)); in assertImmutable()
260 list.retainAll(Collections.singleton(1)); in assertImmutable()
DFloatArrayListTest.java258 assertTrue(list.addAll(Collections.singleton(1F))); in testAddAll()
349 list.addAll(0, Collections.singleton(1F)); in assertImmutable()
405 list.removeAll(Collections.singleton(1F)); in assertImmutable()
426 list.retainAll(Collections.singleton(1F)); in assertImmutable()
DLongArrayListTest.java258 assertTrue(list.addAll(Collections.singleton(1L))); in testAddAll()
349 list.addAll(0, Collections.singleton(1L)); in assertImmutable()
405 list.removeAll(Collections.singleton(1L)); in assertImmutable()
426 list.retainAll(Collections.singleton(1L)); in assertImmutable()
DIntArrayListTest.java258 assertTrue(list.addAll(Collections.singleton(1))); in testAddAll()
349 list.addAll(0, Collections.singleton(1)); in assertImmutable()
405 list.removeAll(Collections.singleton(1)); in assertImmutable()
426 list.retainAll(Collections.singleton(1)); in assertImmutable()
DBooleanArrayListTest.java258 assertTrue(list.addAll(Collections.singleton(true))); in testAddAll()
346 list.addAll(0, Collections.singleton(true)); in assertImmutable()
402 list.removeAll(Collections.singleton(Boolean.TRUE)); in assertImmutable()
423 list.removeAll(Collections.singleton(Boolean.TRUE)); in assertImmutable()
DDoubleArrayListTest.java258 assertTrue(list.addAll(Collections.singleton(1D))); in testAddAll()
349 list.addAll(0, Collections.singleton(1D)); in assertImmutable()
405 list.removeAll(Collections.singleton(1D)); in assertImmutable()
426 list.retainAll(Collections.singleton(1D)); in assertImmutable()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmessage.cc288 static GeneratedMessageFactory* singleton();
322 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { in singleton() function in google::protobuf::__anon9dfd28d60111::GeneratedMessageFactory
393 return GeneratedMessageFactory::singleton(); in generated_factory()
398 GeneratedMessageFactory::singleton()->RegisterFile(filename, in InternalRegisterGeneratedFile()
404 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype); in InternalRegisterGeneratedMessage()
Dstruct.proto81 // `NullValue` is a singleton enumeration to represent the null value for the
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/
DEmpty.pbobjc.m36 // about thread safety of the singleton.
DSourceContext.pbobjc.m36 // about thread safety of the singleton.
DFieldMask.pbobjc.m36 // about thread safety of the singleton.
DTimestamp.pbobjc.m36 // about thread safety of the singleton.
DDuration.pbobjc.m36 // about thread safety of the singleton.
DAny.pbobjc.m36 // about thread safety of the singleton.
DStruct.pbobjc.m37 // about thread safety of the singleton.
DApi.pbobjc.m53 // about thread safety of the singleton.
/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/opt/gamesdk/third_party/protobuf-3.0.0/cmake/
Dextract_includes.bat.in105 …UF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\singleton.h include\google\protobuf\stubs\singl…
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java491 final Set<UidRange> vpnRange2 = Collections.singleton(new UidRange(MOCK_UID2, MOCK_UID2)); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
536 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall()

12