Home
last modified time | relevance | path

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

12345

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java57 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in setUp() local
59 mManager.requestAppFocus(activeTypes[i], owner); in setUp()
60 owner.waitForOwnershipGrantAndAssert(DEFAULT_WAIT_TIMEOUT_MS, activeTypes[i]); in setUp()
61 mManager.abandonAppFocus(owner, activeTypes[i]); in setUp()
62 owner.waitForOwnershipLossAndAssert( in setUp()
226 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter() local
230 assertThat(manager1.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, owner)) in testFilter()
232 assertThat(owner.waitForOwnershipGrantAndAssert( in testFilter()
242 manager1.abandonAppFocus(owner, APP_FOCUS_TYPE_NAVIGATION); in testFilter()
278 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager() local
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMinimizedPlaybackControlBar.java86 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner, in setModel() argument
88 mMediaButtonController.setModel(model, owner); in setModel()
89 mMetadataController = new MetadataController(owner, model, in setModel()
93 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
95 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
99 mPlaybackViewModel.getMetadata().observe(owner, in setModel()
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.java115 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner) { in setModel() argument
121 model.getPlaybackController().observe(owner, controller -> { in setModel()
131 model.getMediaSourceColors().observe(owner, this::updateSpinerColors); in setModel()
133 model.getPlaybackStateWrapper().observe(owner, this::onPlaybackStateChanged); in setModel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessViewModel.java89 public void observeManageRoleHolderState(@NonNull LifecycleOwner owner, in observeManageRoleHolderState() argument
95 liveData.observe(owner, state -> observer.onManageRoleHolderStateChanged(liveData, in observeManageRoleHolderState()
111 @NonNull LifecycleOwner owner, @NonNull ManageRoleHolderStateObserver observer) { in getManageRoleHolderStateLiveData() argument
116 liveData.observe(owner, state -> observer.onManageRoleHolderStateChanged(finalLiveData, in getManageRoleHolderStateLiveData()
134 @NonNull UserHandle user, @NonNull String key, @NonNull LifecycleOwner owner, in setSpecialAppAccessAsUser() argument
136 ManageRoleHolderStateLiveData liveData = getManageRoleHolderStateLiveData(key, owner, in setSpecialAppAccessAsUser()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java276 public final void onCreate(@NonNull LifecycleOwner owner) { in onCreate() argument
292 public final void onStart(@NonNull LifecycleOwner owner) { in onStart() argument
306 public final void onResume(@NonNull LifecycleOwner owner) { in onResume() argument
318 public final void onPause(@NonNull LifecycleOwner owner) { in onPause() argument
330 public final void onStop(@NonNull LifecycleOwner owner) { in onStop() argument
344 public final void onDestroy(@NonNull LifecycleOwner owner) { in onDestroy() argument
/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()
/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/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java153 UserHandle owner = volume.getUser(); in onScanVolume() local
154 if (owner == null) { in onScanVolume()
156 owner = context.getUser(); in onScanVolume()
189 new Intent(Intent.ACTION_MEDIA_SCANNER_STARTED, broadcastUri), owner); in onScanVolume()
205 new Intent(Intent.ACTION_MEDIA_SCANNER_FINISHED, broadcastUri), owner); in onScanVolume()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackImpl.java298 WifiP2pDevice owner = new WifiP2pDevice(); in onGroupStarted() local
301 owner.deviceAddress = NativeUtil.macAddressFromByteArray(goDeviceAddress); in onGroupStarted()
307 group.setOwner(owner); in onGroupStarted()
357 WifiP2pDevice owner = new WifiP2pDevice(); in onInvitationReceived() local
360 owner.deviceAddress = NativeUtil.macAddressFromByteArray(goDeviceAddress); in onInvitationReceived()
366 group.setOwner(owner); in onInvitationReceived()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java148 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser() local
149 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
150 owner = mDpm.getProfileOwnerAsUser(MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
152 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
155 return mDpm.getMaximumFailedPasswordsForWipe(owner, MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java149 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser() local
150 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
151 owner = mDpm.getProfileOwnerAsUser(MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
153 if (owner == null) { in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
156 return mDpm.getMaximumFailedPasswordsForWipe(owner, MY_USER_ID); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java329 private void dispatchAcquireFocusOwnerLocked(int appType, OwnershipClientInfo owner, in dispatchAcquireFocusOwnerLocked() argument
335 () -> callback.onFocusAcquired(appType, owner.getUid(), owner.getPid())); in dispatchAcquireFocusOwnerLocked()
339 private void dispatchAbandonFocusOwnerLocked(int appType, OwnershipClientInfo owner, in dispatchAbandonFocusOwnerLocked() argument
345 () -> callback.onFocusAbandoned(appType, owner.getUid(), owner.getPid())); in dispatchAbandonFocusOwnerLocked()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java142 public void notifyNavContextOwnerChanged(ContextOwner owner) { in notifyNavContextOwnerChanged() argument
145 notifyNavContextOwnerChanged(service, owner); in notifyNavContextOwnerChanged()
316 ContextOwner owner) { in notifyNavContextOwnerChanged() argument
318 service.setNavigationContextOwner(owner.uid, owner.pid); in notifyNavContextOwnerChanged()
/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/modules/NeuralNetworks/runtime/test/android_fuzzing/
DAndroid.bp30 owner: "google",
41 owner: "google",
82 owner: "google",
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java276 String owner = ""; in createManageSubscriptionIntent() local
278 owner = networkPolicyManager.getSubscriptionPlansOwner(subId); in createManageSubscriptionIntent()
283 if (TextUtils.isEmpty(owner)) { in createManageSubscriptionIntent()
293 intent.setPackage(owner); in createManageSubscriptionIntent()
/packages/apps/Car/libs/car-uxr-client-lib/src/com/android/car/uxr/
DLifeCycleObserverUxrContentLimiter.java48 public void onStart(@NonNull LifecycleOwner owner) { in onStart() argument
53 public 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.java349 String owner = ""; in createManageSubscriptionIntent() local
351 owner = iNetPolicyManager.getSubscriptionPlansOwner(subId); in createManageSubscriptionIntent()
356 if (TextUtils.isEmpty(owner)) { in createManageSubscriptionIntent()
366 intent.setPackage(owner); in createManageSubscriptionIntent()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DSingleLiveEvent.java37 public void observe(@NonNull LifecycleOwner owner, @NonNull Observer<? super T> observer) { in observe() argument
38 super.observe(owner, value -> { in observe()
/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/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModeAutomaticRulePreferenceController.java119 String owner = rule != null ? rule.getPackageName() : ci.packageName; in getSettingsActivity() local
139 if (settingsActivity == null || owner == null) { in getSettingsActivity()
143 int ownerUid = pm.getPackageUid(owner, 0); in getSettingsActivity()

12345