Home
last modified time | relevance | path

Searched refs:who (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/aosp12/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl130 boolean requestBugreport(in ComponentName who); in requestBugreport() argument
176 void setProfileEnabled(in ComponentName who); in setProfileEnabled() argument
178 void clearProfileOwner(in ComponentName who); in clearProfileOwner() argument
214 String getCertInstallerPackage(in ComponentName who); in getCertInstallerPackage() argument
217 String getAlwaysOnVpnPackage(in ComponentName who); in getAlwaysOnVpnPackage() argument
266 int logoutUser(in ComponentName who); in logoutUser() argument
287 String[] getLockTaskPackages(in ComponentName who); in getLockTaskPackages() argument
291 int getLockTaskFeatures(in ComponentName who); in getLockTaskFeatures() argument
302 boolean setTime(in ComponentName who, long millis); in setTime() argument
338 boolean getAutoTimeEnabled(in ComponentName who); in getAutoTimeEnabled() argument
[all …]
/aosp12/frameworks/base/core/java/android/app/
H A DInstrumentation.java775 final boolean match(Context who, in match() argument
1757 intent.prepareToLeaveProcess(who); in execStartActivity()
1759 who.getOpPackageName(), who.getAttributionTag(), intent, in execStartActivity()
1781 who.getUserId()); in execStartActivities()
1834 who.getOpPackageName(), who.getAttributionTag(), intents, resolvedTypes, in execStartActivitiesAsUser()
1902 intent.prepareToLeaveProcess(who); in execStartActivity()
1904 who.getOpPackageName(), who.getAttributionTag(), intent, in execStartActivity()
1972 intent.prepareToLeaveProcess(who); in execStartActivity()
1974 who.getOpPackageName(), who.getAttributionTag(), intent, in execStartActivity()
2021 intent.prepareToLeaveProcess(who); in execStartActivityAsCaller()
[all …]
H A DActivityGroup.java113 void dispatchActivityResult(String who, int requestCode, int resultCode, in dispatchActivityResult() argument
115 if (who != null) { in dispatchActivityResult()
116 Activity act = mLocalActivityManager.getActivity(who); in dispatchActivityResult()
128 super.dispatchActivityResult(who, requestCode, resultCode, data, reason); in dispatchActivityResult()
H A DWaitResult.java82 public ComponentName who; field in WaitResult
98 ComponentName.writeToParcel(who, dest); in writeToParcel()
119 who = ComponentName.readFromParcel(source); in WaitResult()
128 pw.println(prefix + " who=" + who); in dump()
H A DFragmentHostCallback.java254 void inactivateFragment(String who) { in inactivateFragment() argument
257 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in inactivateFragment()
260 mAllLoaderManagers.remove(who); in inactivateFragment()
327 LoaderManagerImpl getLoaderManager(String who, boolean started, boolean create) { in getLoaderManager() argument
331 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in getLoaderManager()
333 lm = new LoaderManagerImpl(who, this, started); in getLoaderManager()
334 mAllLoaderManagers.put(who, lm); in getLoaderManager()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2685 ComponentName who, in getActiveAdminOrCheckPermissionForCallerLocked() argument
2701 if (who != null) { in getActiveAdminOrCheckPermissionForCallerLocked()
2787 if (who != null) { in getActiveAdminWithPolicyForUidLocked()
3915 .setAdmin(who)
4010 who == null || isCallingFromPackage(who.getPackageName(), caller.getUid())
4016 if (who != null) {
4124 .setAdmin(who)
4351 if (who != null) {
8534 return who != null && who.equals(profileOwner);
14541 if (who != null) {
[all …]
/aosp12/frameworks/av/services/camera/libcameraservice/hidl/
H A DCameraHybridInterface.h58 wp<IBinder> who; member
63 recipient(r), cookie(c), flags(f), who(w) { in Obituary()
69 who(o.who) { in Obituary()
75 who = o.who;
81 dr->binderDied(who); in serviceDied()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
H A DDeviceAdminAdd.java128 ComponentName who = (ComponentName)getIntent().getParcelableExtra( in onCreate() local
130 if (who == null) { in onCreate()
138 who = installedAdmin.get(); in onCreate()
141 Log.d(TAG, "Uninstalling admin " + who); in onCreate()
174 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
182 if (!mDPM.isAdminActive(who)) { in onCreate()
218 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
222 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
232 if (mDPM.isAdminActive(who)) { in onCreate()
242 if (!mDPM.hasGrantedPolicy(who, pi.ident)) { in onCreate()
[all …]
/aosp12/system/hwservicemanager/
H A DServiceManager.h88 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who);
97 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName);
98 bool removePackageListener(const wp<IBase>& who);
99 bool removeServiceListener(const wp<IBase>& who);
133 bool removePackageListener(const wp<IBase>& who);
134 bool removeServiceListener(const wp<IBase>& who);
H A DServiceManager.cpp125 void ServiceManager::serviceDied(uint64_t cookie, const wp<IBase>& who) { in serviceDied() argument
132 serviceRemoved = removePackageListener(who); in serviceDied()
135 serviceRemoved = removeServiceListener(who); in serviceDied()
138 sp<IBase> base = who.promote(); in serviceDied()
224 if (interfacesEqual(*it, who.promote())) { in removePackageListener()
240 found |= service->removeListener(who); in removeServiceListener()
840 if (interfacesEqual(service->getService(), who.promote())) { in removeService()
857 bool ServiceManager::removePackageListener(const wp<IBase>& who) { in removePackageListener() argument
861 found |= interfaceMapping.second.removePackageListener(who); in removePackageListener()
867 bool ServiceManager::removeServiceListener(const wp<IBase>& who) { in removeServiceListener() argument
[all …]
/aosp12/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DSipTransportImplBase.java61 public void binderDied(IBinder who) {
62 mBinderExecutor.execute(() -> binderDiedInternal(who));
192 private void binderDiedInternal(IBinder who) { in binderDiedInternal() argument
195 if (who == null || w.getStateCallbackBinder().asBinder().equals(who)) { in binderDiedInternal()
204 Log.w(LOG_TAG, "Binder death detected for IBinder " + who + ", but couldn't find matching " in binderDiedInternal()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTethering.java1751 if (mNotifyList.indexOf(who) < 0) { in handleInterfaceServingStateActive()
1752 mNotifyList.add(who); in handleInterfaceServingStateActive()
1760 mForwardedDownstreams.add(who); in handleInterfaceServingStateActive()
1763 mForwardedDownstreams.remove(who); in handleInterfaceServingStateActive()
1767 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive()
1785 mNotifyList.remove(who); in handleInterfaceServingStateInactive()
1788 mForwardedDownstreams.remove(who); in handleInterfaceServingStateInactive()
1793 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
2479 notifyLinkPropertiesChanged(who, newLp); in makeControlCallback()
2496 final String iface = who.interfaceName();
[all …]
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPickerItem.java51 protected boolean verifyDrawable(Drawable who) { in verifyDrawable() argument
52 return super.verifyDrawable(who) || (who == mFrame) in verifyDrawable()
53 || (who == mOverlay); in verifyDrawable()
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DWatchdogServiceHelper.cpp103 void WatchdogServiceHelper::binderDied(const wp<android::IBinder>& who) { in binderDied() argument
106 if (IBinder* diedBinder = who.unsafe_get(); curBinder == nullptr || diedBinder != curBinder) { in binderDied()
120 Status WatchdogServiceHelper::checkIfAlive(const wp<IBinder>& who, int32_t sessionId, in checkIfAlive() argument
124 who.unsafe_get() != BnCarWatchdogServiceForSystem::asBinder(mService)) { in checkIfAlive()
135 Status WatchdogServiceHelper::prepareProcessTermination(const wp<IBinder>& who) { in prepareProcessTermination() argument
138 who.unsafe_get() != BnCarWatchdogServiceForSystem::asBinder(mService)) { in prepareProcessTermination()
H A DWatchdogServiceHelper.h60 virtual android::binder::Status checkIfAlive(const android::wp<android::IBinder>& who,
64 const android::wp<android::IBinder>& who) = 0;
102 void binderDied(const android::wp<android::IBinder>& who) override;
105 android::binder::Status checkIfAlive(const android::wp<android::IBinder>& who,
108 const android::wp<android::IBinder>& who) override;
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorStateListDrawable.java173 public void invalidateDrawable(@NonNull Drawable who) { in invalidateDrawable() argument
174 if (who == mColorDrawable && getCallback() != null) { in invalidateDrawable()
180 public void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when) { in scheduleDrawable() argument
181 if (who == mColorDrawable && getCallback() != null) { in scheduleDrawable()
187 public void unscheduleDrawable(@NonNull Drawable who, @NonNull Runnable what) { in unscheduleDrawable() argument
188 if (who == mColorDrawable && getCallback() != null) { in unscheduleDrawable()
H A DDrawableContainer.java391 public void invalidateDrawable(@NonNull Drawable who) { in invalidateDrawable() argument
399 if (who == mCurrDrawable && getCallback() != null) { in invalidateDrawable()
405 public void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when) { in scheduleDrawable() argument
406 if (who == mCurrDrawable && getCallback() != null) { in scheduleDrawable()
412 public void unscheduleDrawable(@NonNull Drawable who, @NonNull Runnable what) { in unscheduleDrawable() argument
413 if (who == mCurrDrawable && getCallback() != null) { in unscheduleDrawable()
1263 public void invalidateDrawable(@NonNull Drawable who) { in invalidateDrawable() argument
1268 public void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when) { in scheduleDrawable() argument
1270 mCallback.scheduleDrawable(who, what, when); in scheduleDrawable()
1275 public void unscheduleDrawable(@NonNull Drawable who, @NonNull Runnable what) { in unscheduleDrawable() argument
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
H A DDeviceAdminAdd.java160 ComponentName who = (ComponentName)getIntent().getParcelableExtra( in onCreate() local
162 if (who == null) { in onCreate()
170 who = installedAdmin.get(); in onCreate()
202 ai = packageManager.getReceiverInfo(who, PackageManager.GET_META_DATA); in onCreate()
204 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
212 if (!mDPM.isAdminActive(who)) { in onCreate()
237 Log.w(TAG, "Request to add invalid device admin: " + who); in onCreate()
248 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
252 Log.w(TAG, "Unable to retrieve device policy " + who, e); in onCreate()
262 if (mDPM.isAdminActive(who)) { in onCreate()
[all …]
/aosp12/packages/modules/DnsResolver/
H A DResolverEventReporter.cpp75 void ResolverEventReporter::handleBinderDied(const void* who) { in handleBinderDied() argument
81 [=](const auto& it) { return static_cast<void*>(it.get()) == who; }); in handleBinderDied()
86 void ResolverEventReporter::handleUnsolEventBinderDied(const void* who) { in handleUnsolEventBinderDied() argument
92 [=](const auto& it) { return static_cast<void*>(it.get()) == who; }); in handleUnsolEventBinderDied()
/aosp12/bionic/libc/bionic/
H A Dgetpriority.cpp33 int getpriority(int which, id_t who) { in getpriority() argument
34 int result = __getpriority(which, who); in getpriority()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DLockoutResetDispatcher.java107 public void binderDied(IBinder who) { in binderDied() argument
108 Slog.e(TAG, "Callback binder died: " + who); in binderDied()
110 if (callback.mCallback.asBinder().equals(who)) { in binderDied()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DIconView.java107 protected boolean verifyDrawable(Drawable who) { in verifyDrawable() argument
108 return super.verifyDrawable(who) || who == mDrawable; in verifyDrawable()
/aosp12/system/libhidl/transport/token/1.0/utils/include/hidl/
H A DHybridInterface.h225 wp<IBinder> who; member
230 recipient(r), cookie(c), flags(f), who(w) { in Obituary()
236 who(o.who) { in Obituary()
242 who = o.who;
248 dr->binderDied(who); in serviceDied()
/aosp12/packages/services/Car/service/jni/evs/
H A DEvsDeathRecipient.cpp33 void EvsDeathRecipient::serviceDied(uint64_t /*cookie*/, const wp<IBase>& who) { in serviceDied() argument
36 mCallback->onServiceDied(who); in serviceDied()
/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DSuspendControlService.cpp90 void SuspendControlService::binderDied(const wp<IBinder>& who) { in binderDied() argument
93 [&who](const sp<ISuspendCallback>& i) { in binderDied()
94 return who == IInterface::asBinder(i); in binderDied()
105 [&who](const sp<IWakelockCallback>& i) { return who == IInterface::asBinder(i); }), in binderDied()

12345678910>>...21