Searched refs:singleton (Results 1 - 18 of 18) sorted by path

/frameworks/base/config/
H A Dboot-image-profile.txt[all...]
/frameworks/base/keystore/java/android/security/
H A DCredentials.java173 private static Credentials singleton; field in class:Credentials
176 if (singleton == null) {
177 singleton = new Credentials();
179 return singleton;
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreKeyPairGeneratorSpi.java501 return Collections.singleton(generateSelfSignedCertificateBytes(keyPair));
/frameworks/base/media/java/android/media/
H A DMetadata.java212 public static final Set<Integer> MATCH_ALL = Collections.singleton(ANY);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkScoreService.java487 sendCacheUpdateCallback(consumer, Collections.singleton(callbackList));
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java11835 boolean singleton = isSingleton(cpi.processName, cpi.applicationInfo,
11837 if (singleton && UserHandle.getUserId(app.uid) != UserHandle.USER_SYSTEM) {
11838 // This is a singleton provider, but a user besides the
11851 cpr = new ContentProviderRecord(this, cpi, app.info, comp, singleton);
12161 // verify that it's a singleton provider before using it.
12283 // If the provider is a singleton AND
12286 // Then allow connecting to the singleton provider
12287 boolean singleton = isSingleton(cpi.processName, cpi.applicationInfo,
12290 if (singleton) {
12298 if ((msg = checkContentProviderPermissionLocked(cpi, r, userId, !singleton))
[all...]
H A DContentProviderRecord.java41 final boolean singleton; field in class:ContentProviderRecord
64 singleton = _singleton;
74 singleton = cpr.singleton;
160 if (singleton) {
161 pw.print(prefix); pw.print("singleton="); pw.println(singleton);
H A DProviderMap.java110 if (record.singleton) {
123 if (record.singleton) {
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java210 Set<Integer> expectedCodes = Collections.singleton(CONTINUE_USER_SWITCH_MSG);
279 Set<Integer> expectedCodes = Collections.singleton(REPORT_USER_SWITCH_COMPLETE_MSG);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java3658 final Set<String> userAffiliationIds = Collections.singleton("some.affiliation-id");
3678 dpm.setAffiliationIds(admin1, Collections.singleton("some-different-affiliation-id"));
3703 final Set<String> userAffiliationIds = Collections.singleton("some-affiliation-id");
3800 final Set<String> userAffiliationIds = Collections.singleton("some-affiliation-id");
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java57 Set<String> excludeClasses = Collections.singleton("java.lang.JavaClass");
H A DAsmGeneratorTest.java141 return Collections.singleton("java.lang.JavaClass");
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWakeupControllerTest.java328 Collections.singleton(ScanResultMatchInfo.fromScanResult(savedScanResult));
364 Collections.singleton(ScanResultMatchInfo.fromScanResult(scanResult24));
397 verify(mWakeupLock).update(eq(Collections.singleton(expectedMatchInfo)));
H A DWakeupEvaluatorTest.java112 Set<ScanResult> scanResults = Collections.singleton(
125 Set<ScanResult> scanResults = Collections.singleton(
138 Set<ScanResult> scanResults = Collections.singleton(savedScanResult);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DBackgroundScanSchedulerTest.java93 Collection<ScanSettings> requests = Collections.singleton(createRequest(
110 Collection<ScanSettings> requests = Collections.singleton(createRequest(
418 Collection<ScanSettings> requests = Collections.singleton(createRequest(
/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/
H A DPreferenceDataStoreTest.java281 Set<String> testSet = Collections.singleton(TEST_STR);
H A DPreferencePersistTest.java61 private static final Set<String> TEST_DEFAULT_STR_SET = Collections.singleton("e");

Completed in 407 milliseconds