Home
last modified time | relevance | path

Searched refs:getClientPackageName (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java194 when(info.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()
249 when(info.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()
286 when(info.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()
404 when(info.getClientPackageName()).thenReturn(packageName); in setUpSelectedRoutes()
414 when(availableInfo1.getClientPackageName()).thenReturn(packageName); in setAvailableRoutesList()
420 when(availableInfo2.getClientPackageName()).thenReturn(packageName); in setAvailableRoutesList()
425 when(availableInfo3.getClientPackageName()).thenReturn(packageName); in setAvailableRoutesList()
431 when(availableInfo4.getClientPackageName()).thenReturn(packageName); in setAvailableRoutesList()
488 when(info.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in getRoutesListWithDuplicatedIds()
496 when(info1.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in getRoutesListWithDuplicatedIds()
[all …]
DInfoMediaDeviceTest.java80 when(mRouteInfo.getClientPackageName()).thenReturn(null); in getSummary_clientPackageNameIsNull_returnNull()
87 when(mRouteInfo.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in getSummary_clientPackageNameIsNotNull_returnActive()
DMediaDeviceTest.java458 when(mRouteInfo1.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in getClientPackageName_returnPackageName()
460 assertThat(mInfoMediaDevice1.getClientPackageName()).isEqualTo(TEST_PACKAGE_NAME); in getClientPackageName_returnPackageName()
/frameworks/base/media/java/android/media/
DMediaRouter2.java683 public String getClientPackageName() { in getClientPackageName() method in MediaRouter2
684 return mImpl.getClientPackageName(); in getClientPackageName()
1555 || !TextUtils.isEmpty(sessionInfo.getClientPackageName())) { in ensureClientPackageNameForSystemSession()
2458 String getClientPackageName(); in getClientPackageName() method
2619 public String getClientPackageName() { in getClientPackageName() method in MediaRouter2.ProxyMediaRouter2Impl
2834 if (TextUtils.isEmpty(oldSession.getClientPackageName())) { in requestCreateSession()
3115 if (TextUtils.equals(sessionInfo.getClientPackageName(), mClientPackageName)) { in getRoutingSessions()
3180 || TextUtils.equals(getClientPackageName(), session.getClientPackageName()); in isSessionRelatedToTargetPackageName()
3248 if (!TextUtils.equals(getClientPackageName(), session.getClientPackageName())) { in onSessionReleasedOnHandler()
3257 if (!TextUtils.equals(getClientPackageName(), packageName)) { in onDiscoveryPreferenceChangedOnHandler()
[all …]
DMediaRouter2Manager.java318 String packageName = sessionInfo.getClientPackageName(); in getFilteredRoutes()
431 if (TextUtils.equals(sessionInfo.getClientPackageName(), packageName)) { in getRoutingSessions()
920 if (TextUtils.isEmpty(oldSession.getClientPackageName())) { in requestCreateSession()
DRoutingSessionInfo.java285 public String getClientPackageName() { in getClientPackageName() method in RoutingSessionInfo
512 .append(getClientPackageName()) in toString()
DAudioRecordingConfiguration.java227 public String getClientPackageName() { return mClientPackageName; } in getClientPackageName() method in AudioRecordingConfiguration
DMediaRoute2Info.java674 public String getClientPackageName() { in getClientPackageName() method in MediaRoute2Info
969 .append(getClientPackageName()) in toString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaDevice.java62 return mRouteInfo.getClientPackageName() != null in getSummary()
DMediaDevice.java358 public String getClientPackageName() { in getClientPackageName() method in MediaDevice
363 return mRouteInfo.getClientPackageName(); in getClientPackageName()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java408 if (TextUtils.equals(mPackageName, newSessionInfo.getClientPackageName()) in testGetRoutingSessions()
429 route -> TextUtils.equals(route.getClientPackageName(), null)); in testGetRoutingSessions()
482 if (TextUtils.equals(mPackageName, newSessionInfo.getClientPackageName()) in testRouterRelease_managerGetRoutingSessions()
539 route -> TextUtils.equals(route.getClientPackageName(), mPackageName)); in testSelectAndTransferAndRelease()
554 route -> TextUtils.equals(route.getClientPackageName(), mPackageName)); in testSelectAndTransferAndRelease()
559 route -> TextUtils.equals(route.getClientPackageName(), null)); in testSelectAndTransferAndRelease()
DStubMediaRoute2ProviderService.java320 .setClientPackageName(sessionInfo.getClientPackageName()) in onSelectRoute()
380 .setClientPackageName(sessionInfo.getClientPackageName()) in onTransferToRoute()
/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java110 if (TextUtils.equals(arc.getClientPackageName(), packageName)) { in isRecordingAudio()
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java608 mPackName = config.getClientPackageName(); in RecordingEvent()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java531 transferInitiatorPackageName = newSessionInfo.getClientPackageName(); in createSessionWithPopulatedTransferInitiationDataLocked()
DMediaRouter2ServiceImpl.java1755 String packageName = oldSession.getClientPackageName(); in requestCreateSessionWithManagerLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dsystem-current.txt7316 method @Nullable public String getClientPackageName();
Dcurrent.txt24353 method @Nullable public String getClientPackageName();
25046 method @NonNull public String getClientPackageName();