Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 72) sorted by relevance

123

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java50 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in setUp() local
52 mManager.requestAppFocus(activeTypes[i], owner); in setUp()
53 owner.waitForOwnershipGrantAndAssert(DEFAULT_WAIT_TIMEOUT_MS, activeTypes[i]); in setUp()
54 mManager.abandonAppFocus(owner, activeTypes[i]); in setUp()
55 owner.waitForOwnershipLossAndAssert( in setUp()
224 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter() local
229 manager1.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner)); in testFilter()
230 assertTrue(owner.waitForOwnershipGrantAndAssert( in testFilter()
240 manager1.abandonAppFocus(owner, APP_FOCUS_TYPE_NAVIGATION); in testFilter()
274 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager() local
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java269 public final void onCreate(@NonNull LifecycleOwner owner) { in onCreate() argument
285 public final void onStart(@NonNull LifecycleOwner owner) { in onStart() argument
298 public final void onResume(@NonNull LifecycleOwner owner) { in onResume() argument
310 public final void onPause(@NonNull LifecycleOwner owner) { in onPause() argument
322 public final void onStop(@NonNull LifecycleOwner owner) { in onStop() argument
335 public final void onDestroy(@NonNull LifecycleOwner owner) { in onDestroy() argument
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DSpecialAppAccessViewModel.java86 public void observeManageRoleHolderState(@NonNull LifecycleOwner owner, in observeManageRoleHolderState() argument
92 liveData.observe(owner, state -> observer.onManageRoleHolderStateChanged(liveData, in observeManageRoleHolderState()
108 @NonNull LifecycleOwner owner, @NonNull ManageRoleHolderStateObserver observer) { in getManageRoleHolderStateLiveData() argument
113 liveData.observe(owner, state -> observer.onManageRoleHolderStateChanged(finalLiveData, in getManageRoleHolderStateLiveData()
131 @NonNull UserHandle user, @NonNull String key, @NonNull LifecycleOwner owner, in setSpecialAppAccessAsUser() argument
133 ManageRoleHolderStateLiveData liveData = getManageRoleHolderStateLiveData(key, owner, in setSpecialAppAccessAsUser()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMinimizedPlaybackControlBar.java74 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner, in setModel() argument
76 mMediaButtonController.setModel(model, owner); in setModel()
77 mMetadataController = new MetadataController(owner, model, in setModel()
81 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
83 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
DControlBarHelper.java38 public static void initProgressBar(@NonNull Context context, @NonNull LifecycleOwner owner, in initProgressBar() argument
54 model.getMediaSourceColors().observe(owner, in initProgressBar()
65 model.getProgress().observe(owner, in initProgressBar()
DPlaybackControlsActionBar.java79 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner) { in setModel() argument
80 mMediaButtonController.setModel(model, owner); in setModel()
81 ControlBarHelper.initProgressBar(getContext(), owner, model, mCircularProgressBar, in setModel() local
DMediaButtonController.java108 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner) { in setModel() argument
114 model.getPlaybackController().observe(owner, controller -> { in setModel()
124 model.getMediaSourceColors().observe(owner, this::updateSpinerColors); in setModel()
126 model.getPlaybackStateWrapper().observe(owner, this::onPlaybackStateChanged); in setModel()
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
DBindingBase.java35 public static <T extends BindableData> Binding<T> createBinding(final Object owner) { in createBinding() argument
36 return new Binding<T>(owner); in createBinding()
54 final Object owner) { in createDetachableBinding() argument
55 return new DetachableBinding<T>(owner); in createDetachableBinding()
DDetachableBinding.java30 DetachableBinding(Object owner) { in DetachableBinding() argument
31 super(owner); in DetachableBinding()
DBinding.java32 Binding(final Object owner) { in Binding() argument
33 mOwner = owner; in Binding()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java161 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser() local
162 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
163 owner = mDpm.getProfileOwnerAsUser(MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
165 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
168 return mDpm.getMaximumFailedPasswordsForWipe(owner, MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DPairedTask.java34 public PairedTask(Owner owner) { in PairedTask() argument
35 super(owner::isDestroyed); in PairedTask()
36 mOwner = owner; in PairedTask()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java150 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser() local
151 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
152 owner = mDpm.getProfileOwnerAsUser(MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
154 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
157 return mDpm.getMaximumFailedPasswordsForWipe(owner, MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkUpdateManager.java101 public void onCreate(@NonNull LifecycleOwner owner) { in onCreate() argument
106 public final void onStart(@NonNull LifecycleOwner owner) { in onStart() argument
112 public final void onStop(@NonNull LifecycleOwner owner) { in onStop() argument
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses29 "Licensor" shall mean the copyright owner or entity authorized by
30 the copyright owner that is granting the License.
68 submitted to Licensor for inclusion in the Work by the copyright owner
70 the copyright owner. For the purposes of this definition, "submitted"
77 designated in writing by the copyright owner as "Not a Contribution."
211 "Licensor" shall mean the copyright owner or entity authorized by
212 the copyright owner that is granting the License.
250 submitted to Licensor for inclusion in the Work by the copyright owner
252 the copyright owner. For the purposes of this definition, "submitted"
259 designated in writing by the copyright owner as "Not a Contribution."
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java319 String owner = ""; in createManageSubscriptionIntent() local
321 owner = iNetPolicyManager.getSubscriptionPlansOwner(subId); in createManageSubscriptionIntent()
326 if (TextUtils.isEmpty(owner)) { in createManageSubscriptionIntent()
336 intent.setPackage(owner); in createManageSubscriptionIntent()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pConnectionProcedure.java187 WifiP2pDevice owner = group.getOwner(); in isConnectedToPeer() local
188 if (owner != null && owner.deviceAddress.equals(mPeer.deviceAddress)) { in isConnectedToPeer()
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java307 private void updateFocusOwner(int appType, OwnershipClientInfo owner) { in updateFocusOwner() argument
310 mFocusOwners.put(appType, owner); in updateFocusOwner()
314 callback.onFocusAcquired(appType, owner.getUid(), owner.getPid()); in updateFocusOwner()
/packages/inputmethods/LeanbackIME/
DLICENSE13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
52 submitted to Licensor for inclusion in the Work by the copyright owner
54 the copyright owner. For the purposes of this definition, "submitted"
61 designated in writing by the copyright owner as "Not a Contribution."
190 Copyright [yyyy] [name of copyright owner]
/packages/apps/TV/res/raw/
Dthird_party_licenses42 "Licensor" shall mean the copyright owner or entity authorized by
43 the copyright owner that is granting the License.
81 submitted to Licensor for inclusion in the Work by the copyright owner
83 the copyright owner. For the purposes of this definition, "submitted"
90 designated in writing by the copyright owner as "Not a Contribution."
219 Copyright [yyyy] [name of copyright owner]
247 "Licensor" shall mean the copyright owner or entity authorized by
248 the copyright owner that is granting the License.
286 submitted to Licensor for inclusion in the Work by the copyright owner
288 the copyright owner. For the purposes of this definition, "submitted"
[all …]
/packages/apps/CertInstaller/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
/packages/apps/TimeZoneUpdater/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
/packages/apps/SpareParts/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
/packages/wallpapers/LivePicker/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."
/packages/providers/MediaProvider/
DNOTICE25 "Licensor" shall mean the copyright owner or entity authorized by
26 the copyright owner that is granting the License.
64 submitted to Licensor for inclusion in the Work by the copyright owner
66 the copyright owner. For the purposes of this definition, "submitted"
73 designated in writing by the copyright owner as "Not a Contribution."

123