Home
last modified time | relevance | path

Searched refs:newOwner (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/tv/tuner/
DLnb.java218 /* package */ void setOwner(@NonNull Tuner newOwner) { in setOwner() argument
219 Objects.requireNonNull(newOwner, "newOwner must not be null"); in setOwner()
221 mOwner = newOwner; in setOwner()
222 mTunerResourceManager = newOwner.getTunerResourceManager(); in setOwner()
223 mClientId = newOwner.getClientId(); in setOwner()
DTuner.java485 public int transferOwner(@NonNull Tuner newOwner) { in transferOwner() argument
492 if (!isFrontendOwner() || !isNewOwnerQualifiedForTransfer(newOwner)) { in transferOwner()
496 int res = transferFeOwner(newOwner); in transferOwner()
501 res = transferCiCamOwner(newOwner); in transferOwner()
506 res = transferLnbOwner(newOwner); in transferOwner()
627 private boolean isNewOwnerQualifiedForTransfer(@NonNull Tuner newOwner) { in isNewOwnerQualifiedForTransfer() argument
629 boolean newOwnerIsTheCurrentSharee = (newOwner.mFeOwnerTuner == this) in isNewOwnerQualifiedForTransfer()
630 && (newOwner.mFrontendHandle.equals(mFrontendHandle)); in isNewOwnerQualifiedForTransfer()
638 (newOwner.mFrontendCiCamHandle != null || newOwner.mLnb != null); in isNewOwnerQualifiedForTransfer()
652 private int transferFeOwner(@NonNull Tuner newOwner) { in transferFeOwner() argument
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java122 public void applyNewOwner(Object newOwner) { in applyNewOwner() argument
123 if (mOwner != newOwner) { in applyNewOwner()
125 mOwner = newOwner; in applyNewOwner()
130 mOwner = newOwner; in applyNewOwner()
135 if (DEBUG) Slog.d(TAG, "Service has new owner " + newOwner in applyNewOwner()
141 if (DEBUG) Slog.d(TAG, "Service has new owner " + newOwner in applyNewOwner()
147 if (DEBUG) Slog.d(TAG, "Service has new owner " + newOwner in applyNewOwner()
153 if (DEBUG) Slog.d(TAG, "Service has new owner " + newOwner in applyNewOwner()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java1735 String newOwner = "new owner"; in testAddSubscriptionsIntoGroup() local
1742 new int[]{1, 2}, newUuid, newOwner); in testAddSubscriptionsIntoGroup()
1746 assertThat(subInfo.getGroupOwner()).isEqualTo(newOwner); in testAddSubscriptionsIntoGroup()
1750 assertThat(subInfo.getGroupOwner()).isEqualTo(newOwner); in testAddSubscriptionsIntoGroup()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2664 ActiveAdmin profileOwner, boolean newOwner) { in ensureUnknownSourcesRestrictionForProfileOwnerLocked() argument
2665 if (newOwner || mInjector.settingsSecureGetIntForUser( in ensureUnknownSourcesRestrictionForProfileOwnerLocked()
5978 int newOwner = requireEntry ? callingUid : -1;
5979 if (policy.mPasswordOwner != newOwner) {
5980 policy.mPasswordOwner = newOwner;
11014 @Nullable ComponentName newOwner, boolean showComponentOnError) {
11020 if (showComponentOnError && newOwner != null) {
11021 append(error, newOwner);
11031 if (showComponentOnError && newOwner != null) {
11032 append(error, newOwner);