Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DUtils.java40 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createBiometricBoundKey()
42 KeyGenerator keyGenerator = KeyGenerator.getInstance( in createBiometricBoundKey()
60 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createTimeBoundSecretKey_deprecated()
62 KeyGenerator keyGenerator = KeyGenerator.getInstance( in createTimeBoundSecretKey_deprecated()
79 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in initCipher()
83 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initCipher()
91 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in initAeadCipher()
95 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initAeadCipher()
103 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in initSignature()
113 Signature signature = Signature.getInstance("SHA256withECDSA"); in initSignature()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallServiceControl.java64 if (CtsCarModeInCallService.getInstance() != null) {
65 CtsCarModeInCallService.getInstance().disconnectCalls();
71 if (CtsCarModeInCallService.getInstance() != null) {
72 return CtsCarModeInCallService.getInstance().getCallCount();
139 return CtsCarModeInCallService.getInstance().checkCallAddedStatus();
144 return CtsCarModeInCallService.getInstance().getLastCall().getDetails().getVideoState();
149 return CtsCarModeInCallService.getInstance().getLastCall().getState();
154 CtsCarModeInCallService.getInstance().getLastCall().hold();
159 CtsCarModeInCallService.getInstance().getLastCall().unhold();
164 CtsCarModeInCallService.getInstance().getLastCall().disconnect();
[all …]
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_mmap.cpp56 bool mmapAllowed = AAudioExtensions::getInstance().isMMapSupported(); in TEST_F()
65 aaudio_policy_t originalPolicy = AAudioExtensions::getInstance().getMMapPolicy(); in TEST_F()
66 AAudioExtensions::getInstance().setMMapPolicy(AAUDIO_POLICY_ALWAYS); // try to enable MMAP mode in TEST_F()
68 AAudioExtensions::getInstance().setMMapPolicy(originalPolicy); in TEST_F()
85 bool mmapAllowed = AAudioExtensions::getInstance().isMMapSupported(); in TEST_F()
98 ASSERT_TRUE(AAudioExtensions::getInstance().isMMapUsed(stream)); // MMAP? in TEST_F()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsConfig.java34 TestAcsClient.getInstance().setImsConfigImpl(this); in TestImsConfig()
40 TestAcsClient.getInstance().setImsConfigImpl(this); in TestImsConfig()
68 TestAcsClient.getInstance().onConfigChanged(content, isCompressed); in notifyRcsAutoConfigurationReceived()
74 TestAcsClient.getInstance().onConfigRemoved(); in notifyRcsAutoConfigurationRemoved()
80 TestAcsClient.getInstance().onSetRcsClientConfiguration(rcc); in setRcsClientConfiguration()
86 TestAcsClient.getInstance().onTriggerAutoConfiguration(); in triggerAutoConfiguration()
/cts/tests/tests/text/src/android/text/method/cts/
DDateTimeKeyListenerTest.java57 final DateTimeKeyListener emptyListener1 = DateTimeKeyListener.getInstance(); in testGetInstance()
58 final DateTimeKeyListener emptyListener2 = DateTimeKeyListener.getInstance(); in testGetInstance()
59 final DateTimeKeyListener nullListener = DateTimeKeyListener.getInstance(null); in testGetInstance()
67 final DateTimeKeyListener usListener1 = DateTimeKeyListener.getInstance(Locale.US); in testGetInstance()
68 final DateTimeKeyListener usListener2 = DateTimeKeyListener.getInstance( in testGetInstance()
70 final DateTimeKeyListener irListener = DateTimeKeyListener.getInstance( in testGetInstance()
123 DateTimeKeyListener listener = DateTimeKeyListener.getInstance(); in testGetInputType()
127 listener = DateTimeKeyListener.getInstance(Locale.US); in testGetInputType()
129 listener = DateTimeKeyListener.getInstance(Locale.UK); in testGetInputType()
134 listener = DateTimeKeyListener.getInstance(Locale.forLanguageTag("fa-IR")); in testGetInputType()
[all …]
DTimeKeyListenerTest.java56 final TimeKeyListener emptyListener1 = TimeKeyListener.getInstance(); in testGetInstance()
57 final TimeKeyListener emptyListener2 = TimeKeyListener.getInstance(); in testGetInstance()
58 final TimeKeyListener nullListener = TimeKeyListener.getInstance(null); in testGetInstance()
66 final TimeKeyListener usListener1 = TimeKeyListener.getInstance(Locale.US); in testGetInstance()
67 final TimeKeyListener usListener2 = TimeKeyListener.getInstance(new Locale("en", "US")); in testGetInstance()
68 final TimeKeyListener irListener = TimeKeyListener.getInstance( in testGetInstance()
121 TimeKeyListener listener = TimeKeyListener.getInstance(); in testGetInputType()
125 listener = TimeKeyListener.getInstance(Locale.US); in testGetInputType()
127 listener = TimeKeyListener.getInstance(Locale.UK); in testGetInputType()
132 listener = TimeKeyListener.getInstance(Locale.forLanguageTag("fa-IR")); in testGetInputType()
[all …]
DDigitsKeyListenerTest.java85 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(); in testFilter1()
143 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, false); in testFilter2()
242 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(false, true); in testFilter3()
322 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, true); in testFilter4()
432 DigitsKeyListener.getInstance(Locale.forLanguageTag("fa-IR"), true, true); in testFilter4_internationalized()
549 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(); in testDigitsKeyListener1()
584 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, false); in testDigitsKeyListener2()
627 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(false, true); in testDigitsKeyListener3()
672 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, true); in testDigitsKeyListener4()
714 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(accepted); in testDigitsKeyListener5()
[all …]
DTextKeyListenerTest.java118 TextKeyListener listener1 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1()
119 TextKeyListener listener2 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1()
120 TextKeyListener listener3 = TextKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance1()
121 TextKeyListener listener4 = TextKeyListener.getInstance(true, Capitalize.CHARACTERS); in testGetInstance1()
139 TextKeyListener listener1 = TextKeyListener.getInstance(); in testGetInstance2()
140 TextKeyListener listener2 = TextKeyListener.getInstance(); in testGetInstance2()
152 TextKeyListener textKeyListener = TextKeyListener.getInstance(); in testOnSpanChanged()
161 TextKeyListener textKeyListener = TextKeyListener.getInstance(); in testOnSpanChangedNull()
206 = TextKeyListener.getInstance(false, Capitalize.NONE); in testPressKey()
237 = TextKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyOther()
[all …]
DDateKeyListenerTest.java56 final DateKeyListener emptyListener1 = DateKeyListener.getInstance(); in testGetInstance()
57 final DateKeyListener emptyListener2 = DateKeyListener.getInstance(); in testGetInstance()
58 final DateKeyListener nullListener = DateKeyListener.getInstance(null); in testGetInstance()
66 final DateKeyListener usListener1 = DateKeyListener.getInstance(Locale.US); in testGetInstance()
67 final DateKeyListener usListener2 = DateKeyListener.getInstance(new Locale("en", "US")); in testGetInstance()
68 final DateKeyListener irListener = DateKeyListener.getInstance( in testGetInstance()
146 final DateKeyListener dateKeyListener = DateKeyListener.getInstance(); in testDateTimeKeyListener()
DMultiTapKeyListenerTest.java98 = MultiTapKeyListener.getInstance(true, Capitalize.CHARACTERS); in testOnSpanChanged()
112 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone()
134 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters()
157 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeSentences()
185 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeWords()
242 MultiTapKeyListener listener1 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInstance()
243 MultiTapKeyListener listener2 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInstance()
244 MultiTapKeyListener listener3 = MultiTapKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance()
245 MultiTapKeyListener listener4 = MultiTapKeyListener.getInstance(true, Capitalize.NONE); in testGetInstance()
266 MultiTapKeyListener listener = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInputType()
[all …]
DQwertyKeyListenerTest.java69 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone()
91 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters()
114 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeSentences()
143 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeWords()
185 final QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance()
186 final QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance()
187 final QwertyKeyListener listener3 = QwertyKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance()
188 final QwertyKeyListener listener4 = QwertyKeyListener.getInstance(true, in testGetInstance()
243 QwertyKeyListener listener = QwertyKeyListener.getInstance(false, Capitalize.NONE); in testGetInputType()
246 listener = QwertyKeyListener.getInstance(false, Capitalize.CHARACTERS); in testGetInputType()
/cts/apps/CtsVerifier/jni/megaaudio/common/
DGlobals.cpp37 return AAudioExtensions::getInstance().isMMapSupported(); in Java_org_hyphonate_megaaudio_common_Globals_isMMapSupported()
42 return AAudioExtensions::getInstance().isMMapExclusiveSupported(); in Java_org_hyphonate_megaaudio_common_Globals_isMMapExclusiveSupported()
48 AAudioExtensions::getInstance().setMMapEnabled(enabled); in Java_org_hyphonate_megaaudio_common_Globals_setMMapEnabled()
54 return AAudioExtensions::getInstance().isMMapEnabled(); in Java_org_hyphonate_megaaudio_common_Globals_isMMapEnabled()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCurve25519Test.java63 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in deleteEntry()
77 KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", "AndroidKeyStore"); in x25519KeyAgreementTest()
100 KeyAgreement secondKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest()
107 KeyAgreement firstKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest()
133 KeyPairGenerator kpg = KeyPairGenerator.getInstance("XDH"); in x25519KeyImportAndAgreementTest()
138 KeyAgreement secondKa = KeyAgreement.getInstance("XDH"); in x25519KeyImportAndAgreementTest()
145 KeyAgreement firstKa = KeyAgreement.getInstance("XDH"); in x25519KeyImportAndAgreementTest()
158 KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", "AndroidKeyStore"); in ed25519KeyGenerationAndSigningTest()
172 Signature signer = Signature.getInstance("Ed25519"); in ed25519KeyGenerationAndSigningTest()
190 KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", "AndroidKeyStore"); in testX25519CannotBeUsedForSigning()
[all …]
DAndroidKeyStoreTest.java757 KeyStore ksTemp = KeyStore.getInstance("AndroidKeyStore"); in setUp()
766 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); in setUp()
777 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tearDown()
787 KeyFactory kf = KeyFactory.getInstance(keyType); in generatePrivateKey()
792 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in generateCertificate()
958 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificate_Single_Unencrypted_Success()
990 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Unencrypted_Success()
1019 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificateAlias_NonExist_Empty_Unencrypted_Failure()
1163 KeyFactory keyFact = KeyFactory.getInstance(keyType); in assertPrivateKeyEntryEquals()
1166 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in assertPrivateKeyEntryEquals()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java131 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_addsNewRule()
137 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_addsNewRule()
159 pollForSubscribe(LegacyConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherConditionChanges()
162 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherConditionChanges()
168 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_otherConditionChanges()
174 ((LegacyConditionProviderService) LegacyConditionProviderService.getInstance()) in testUnboundCPSMaintainsCondition_otherConditionChanges()
192 pollForSubscribe(LegacyConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
195 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
201 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
219 LegacyConditionProviderService.getInstance().requestUnbind(); in testRequestRebindWhenLostAccess()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java171 GeolocationPermissions.getInstance().clearAll(); in setUp()
464 GeolocationPermissions.getInstance().getAllowed(URL_1, trueCheck); in testSimpleGeolocationRequestAcceptAlways()
469 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways()
480 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways()
483 GeolocationPermissions.getInstance().clear(URL_1); in testSimpleGeolocationRequestAcceptAlways()
486 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways()
495 GeolocationPermissions.getInstance().getAllowed(URL_2, falseCheck); in testGeolocationPermissions()
498 GeolocationPermissions.getInstance().getOrigins(originCheck); in testGeolocationPermissions()
502 GeolocationPermissions.getInstance().clear(URL_2); in testGeolocationPermissions()
505 GeolocationPermissions.getInstance().getOrigins(originCheck); in testGeolocationPermissions()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java328 MockListener.getInstance().resetData(); in tearDown()
334 if (MockListener.getInstance().getPosted(mTag1) != null) { in test()
381 MockListener.getInstance().resetData(); in tearDown()
387 StatusBarNotification sbn = MockListener.getInstance().getPosted(mTag1); in test()
401 if (MockListener.getInstance().getPosted(mTag1) != null) { in test()
473 MockListener.getInstance().resetData(); in tearDown()
651 MockListener.getInstance().resetData(); in tearDown()
729 MockListener.getInstance().resetData(); in tearDown()
800 MockListener.getInstance().resetData(); in tearDown()
831 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()
[all …]
/cts/hostsidetests/media/app/ProxyMediaRouterMediaRoutingControl/src/android/media/router/cts/proxyroutingapp/
DMediaRouter2DeviceTest.java116 () -> MediaRouter2.getInstance(mContext, MEDIA_ROUTER_PROVIDER_1_PACKAGE)); in getInstance_withMediaRoutingControl_flagDisabled_throwsSecurityException()
130 MediaRouter2.getInstance(mContext, MEDIA_ROUTER_PROVIDER_1_PACKAGE); in getInstance_withMediaRoutingControl_flagEnabled_doesNotThrow()
144 () -> MediaRouter2.getInstance(mContext, MEDIA_ROUTER_PROVIDER_1_PACKAGE)); in getInstance_withoutMediaRoutingControl_throwsSecurityException()
158 MediaRouter2.getInstance( in getInstance_withinUser_withMediaRoutingControl_flagEnabled_returnsInstance()
182 MediaRouter2.getInstance( in getInstance_withinUser_withoutMediaRoutingControl_throwsSecurityException()
198 MediaRouter2 localInstance = MediaRouter2.getInstance(mContext); in requestScan_withScreenOff_triggersScanning()
205 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in requestScan_withScreenOff_triggersScanning()
244 MediaRouter2 localInstance = MediaRouter2.getInstance(mContext); in cancelScanRequest_screenOffScanning_unbindsSelfScanProvider()
251 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_screenOffScanning_unbindsSelfScanProvider()
292 MediaRouter2 localInstance = MediaRouter2.getInstance(mContext); in cancelScanRequest_multipleTypes_unbindsSelfScanProvider()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannable_FactoryTest.java40 Factory factory = Spannable.Factory.getInstance(); in testNewSpannable()
50 Factory factory = Spannable.Factory.getInstance(); in testNewSpannableNull()
56 Spannable.Factory factory = Spannable.Factory.getInstance(); in testGetInstance()
58 assertSame(factory, Spannable.Factory.getInstance()); in testGetInstance()
DBidiFormatterTest.java43 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */);
44 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */);
65 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext()); in testIsRtlContext()
66 assertEquals(true, BidiFormatter.getInstance(true).isRtlContext()); in testIsRtlContext()
72 BidiFormatter defaultFormatterInstance = BidiFormatter.getInstance(); in testCachedInstances()
75 assertEquals(LTR_FMT, BidiFormatter.getInstance(false)); in testCachedInstances()
76 assertEquals(RTL_FMT, BidiFormatter.getInstance(true)); in testCachedInstances()
78 assertEquals(LTR_FMT, BidiFormatter.getInstance(false)); in testCachedInstances()
79 assertEquals(RTL_FMT, BidiFormatter.getInstance(Locale.forLanguageTag("ar"))); in testCachedInstances()
90 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE)); in testIsRtl()
[all …]
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityDumpOnFailureRule.java52 AccessibilityDumper.getInstance().dump(flag); in dump()
57 AccessibilityDumper.getInstance().setName(getTestNameFrom(description)); in starting()
62 AccessibilityDumper.getInstance().dump(); in failed()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestJournalProvider.java97 TestJournalContainer.getInstance().addCallback( in call()
103 TestJournalContainer.getInstance().setLastConfigInfo( in call()
109 TestJournalContainer.getInstance().putExtras( in call()
115 TestJournalContainer.getInstance().mResidentData.put(arg, extras); in call()
119 return TestJournalContainer.getInstance().mResidentData.get(arg); in call()
302 return getInstance().getTestJournal(owner); in get()
308 return getInstance().mResidentData.remove(owner); in takeResidentData()
313 getInstance().mResidentData.put(owner, extras); in putResidentData()
321 synchronized (getInstance()) { in withThreadSafeAccess() method
347 private synchronized static TestJournalContainer getInstance() { in getInstance() method in TestJournalProvider.TestJournalContainer
[all …]
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java51 X500Name.getInstance(issuer.getEncoded()), in createCertificate()
55 X500Name.getInstance(subject.getEncoded()), in createCertificate()
56 SubjectPublicKeyInfo.getInstance(keyPair.getPublic().getEncoded())); in createCertificate()
74 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in createCertificate()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsReceiver.java40 AsyncSmsMessageListener.getInstance().offerSmsMessage( in onReceive()
47 AsyncSmsMessageListener.getInstance().offerMessageSentIntent(intent); in onReceive()
52 AsyncSmsMessageListener.getInstance().offerMessageDeliveredIntent(intent); in onReceive()
/cts/hostsidetests/media/app/ProxyMediaRouterWithMediaContentControlApp/src/android/media/router/cts/proxymediacontentcontrolapp/
DMediaRouter2DeviceTest.java110 MediaRouter2 localInstance = MediaRouter2.getInstance(mContext); in requestScan_withScreenOnScanning_triggersScanning()
119 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in requestScan_withScreenOnScanning_triggersScanning()
154 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_callTwice_throwsIllegalArgumentException()
166 MediaRouter2 localInstance = MediaRouter2.getInstance(mContext); in cancelScanRequest_screenOnScanning_unbindsSelfScanProvider()
173 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in cancelScanRequest_screenOnScanning_unbindsSelfScanProvider()
220 MediaRouter2.getInstance( in getInstance_acrossUsers_withInteractAcrossUsersFull_returnsInstance()
240 MediaRouter2.getInstance( in getInstance_acrossUsers_withoutInteractAcrossUsersFull_throwsSecurityException()
253 MediaRouter2.getInstance( in getInstance_acrossUsers_withFakePackageName_throwsIAE()
263 MediaRouter2.getInstance( in getInstance_withinUser_returnsInstance()
272 MediaRouter2 instance = MediaRouter2.getInstance(mContext, mContext.getPackageName()); in getAllRoutes_returnsAtLeastOneSystemRoute()

12345678910>>...27