/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | CreateInfo.java | 401 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in isNeeded() argument 402 return LINKED_HASH_MAP.equals(owner) && in isNeeded() 410 mi.owner = Type.getInternalName(LinkedHashMap_Delegate.class); in replace() 429 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in isNeeded() argument 430 return owner.equals("android/content/Context") && in isNeeded() 444 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in isNeeded() argument 445 … return Type.getInternalName(System.class).equals(owner) && name.equals("currentTimeMillis"); in isNeeded() 451 mi.owner = "com/android/internal/lang/System_Delegate"; in replace() 457 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in isNeeded() argument 458 return Type.getInternalName(System.class).equals(owner) && name.equals("nanoTime"); in isNeeded() [all …]
|
D | ReplaceMethodCallsAdapter.java | 55 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument 58 if (replacer.isNeeded(owner, name, desc, mOriginalClassName)) { in visitMethodInsn() 59 MethodInformation mi = new MethodInformation(opcode, owner, name, desc); in visitMethodInsn() 62 owner = mi.owner; in visitMethodInsn() 68 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
|
D | ICreateInfo.java | 133 boolean isNeeded(String owner, String name, String desc, String sourceClass); in isNeeded() argument 154 public String owner; field in ICreateInfo.MethodInformation 158 public MethodInformation(int opcode, String owner, String name, String desc) { in MethodInformation() argument 160 this.owner = owner; in MethodInformation()
|
D | AbstractClassAdapter.java | 190 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument 191 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc)); in visitOuterClass() 259 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument 260 owner = renameInternalType(owner); in visitFieldInsn() 263 super.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn() 267 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument 270 if (owner.indexOf(';') > 0) { in visitMethodInsn() 271 owner = renameTypeDesc(owner); in visitMethodInsn() 273 owner = renameInternalType(owner); in visitMethodInsn() 277 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
|
/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 101 UndoOwner owner = mOwners.get(tag); in getOwner() local 102 if (owner != null) { in getOwner() 103 if (owner.mData != data) { in getOwner() 104 if (owner.mData != null) { in getOwner() 105 throw new IllegalStateException("Owner " + owner + " already exists with data " in getOwner() 106 + owner.mData + " but giving different data " + data); in getOwner() 108 owner.mData = data; in getOwner() 110 return owner; in getOwner() 113 owner = new UndoOwner(tag, this); in getOwner() 114 owner.mData = data; in getOwner() [all …]
|
D | UndoOperation.java | 40 public UndoOperation(UndoOwner owner) { in UndoOperation() argument 41 mOwner = owner; in UndoOperation() 71 public boolean matchOwner(UndoOwner owner) { in matchOwner() argument 72 return owner == getOwner(); in matchOwner()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | CloseGuardTest.java | 33 ResourceOwner owner = new ResourceOwner(); in testEnabled_NotOpen() local 34 assertUnreleasedResources(owner, 0); in testEnabled_NotOpen() 39 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenNotClosed() local 40 owner.open(); in testEnabled_OpenNotClosed() 41 assertUnreleasedResources(owner, 1); in testEnabled_OpenNotClosed() 46 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenThenClosed() local 47 owner.open(); in testEnabled_OpenThenClosed() 48 owner.close(); in testEnabled_OpenThenClosed() 49 assertUnreleasedResources(owner, 0); in testEnabled_OpenThenClosed() 58 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount) in assertUnreleasedResources() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermission.java | 127 boolean grantModes(int modeFlags, @Nullable UriPermissionOwner owner) { in grantModes() argument 136 if (owner == null) { in grantModes() 140 addReadOwner(owner); in grantModes() 143 addWriteOwner(owner); in grantModes() 255 private void addReadOwner(UriPermissionOwner owner) { in addReadOwner() argument 261 if (mReadOwners.add(owner)) { in addReadOwner() 262 owner.addReadPermission(this); in addReadOwner() 269 void removeReadOwner(UriPermissionOwner owner) { in removeReadOwner() argument 270 if (!mReadOwners.remove(owner)) { in removeReadOwner() 271 Slog.wtf(TAG, "Unknown read owner " + owner + " in " + this); in removeReadOwner() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 48 LifecycleOwner owner = () -> lifecycle; in testAddCallback() local 55 controller.observe(owner, callback); in testAddCallback() 59 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback() 66 LifecycleOwner owner = () -> lifecycle; in testRemoveCallback() local 73 controller.observe(owner, callback); in testRemoveCallback() 77 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback() 83 SimpleLifecycleOwner owner = new SimpleLifecycleOwner(); in testCallbackIsRemovedOnDestroy() local 87 controller.observe(owner, callback); in testCallbackIsRemovedOnDestroy() 89 owner.setState(Lifecycle.State.RESUMED); in testCallbackIsRemovedOnDestroy() 92 owner.setState(Lifecycle.State.DESTROYED); in testCallbackIsRemovedOnDestroy()
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscodingClientManager.cpp | 86 const std::weak_ptr<TranscodingClientManager>& owner); 108 const std::string& opPackageName, const std::weak_ptr<TranscodingClientManager>& owner) in ClientImpl() argument 116 mOwner(owner) {} in ClientImpl() 123 std::shared_ptr<TranscodingClientManager> owner; in submitRequest() local 124 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in submitRequest() 143 } else if (in_clientUid != callingUid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest() 159 } else if (in_clientPid != callingPid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest() 171 *_aidl_return = owner->mSessionController->submit(mClientId, sessionId, callingUid, in submitRequest() 189 std::shared_ptr<TranscodingClientManager> owner; in cancelSession() local 190 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in cancelSession() [all …]
|
D | TranscodingResourcePolicy.cpp | 43 explicit ResourceObserver(TranscodingResourcePolicy* owner) : mOwner(owner) {} in ResourceObserver() 71 TranscodingResourcePolicy* owner = reinterpret_cast<TranscodingResourcePolicy*>(cookie); in BinderDiedCallback() local 72 if (owner != nullptr) { in BinderDiedCallback() 73 owner->unregisterSelf(); in BinderDiedCallback()
|
D | TranscoderWrapper.cpp | 138 CallbackImpl(const std::shared_ptr<TranscoderWrapper>& owner, ClientIdType clientId, in CallbackImpl() argument 140 : mOwner(owner), mClientId(clientId), mSessionId(sessionId) {} in CallbackImpl() 143 auto owner = mOwner.lock(); in onFinished() local 144 if (owner != nullptr) { in onFinished() 145 owner->onFinish(mClientId, mSessionId); in onFinished() 151 auto owner = mOwner.lock(); in onError() local 152 if (owner != nullptr) { in onError() 153 owner->onError(mClientId, mSessionId, error); in onError() 159 auto owner = mOwner.lock(); in onProgressUpdate() local 160 if (owner != nullptr) { in onProgressUpdate() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AutomaticZenRule.java | 43 private ComponentName owner; field in AutomaticZenRule 70 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule() argument 72 this(name, owner, null, conditionId, null, interruptionFilter, enabled); in AutomaticZenRule() 100 public AutomaticZenRule(@NonNull String name, @Nullable ComponentName owner, in AutomaticZenRule() argument 104 this.owner = getTrimmedComponentName(owner); in AutomaticZenRule() 115 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule() argument 118 this(name, owner, configurationActivity, conditionId, policy, interruptionFilter, enabled); in AutomaticZenRule() 129 owner = getTrimmedComponentName( in AutomaticZenRule() 143 return owner; in getOwner() 288 dest.writeParcelable(owner, 0); in writeToParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceInternalCleanupClient.java | 42 @NonNull Supplier<AidlSession> lazyDaemon, int userId, @NonNull String owner, in FaceInternalCleanupClient() argument 46 super(context, lazyDaemon, userId, owner, sensorId, logger, biometricContext, in FaceInternalCleanupClient() 52 Supplier<AidlSession> lazyDaemon, IBinder token, int userId, String owner, in getEnumerateClient() argument 55 return new FaceInternalEnumerateClient(context, lazyDaemon, token, userId, owner, in getEnumerateClient() 62 int biometricId, int userId, String owner, BiometricUtils<Face> utils, int sensorId, in getRemovalClient() argument 68 null /* ClientMonitorCallbackConverter */, new int[] {biometricId}, userId, owner, in getRemovalClient()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | FaceInternalCleanupClient.java | 43 @NonNull Supplier<IBiometricsFace> lazyDaemon, int userId, @NonNull String owner, in FaceInternalCleanupClient() argument 47 super(context, lazyDaemon, userId, owner, sensorId, logger, biometricContext, in FaceInternalCleanupClient() 53 Supplier<IBiometricsFace> lazyDaemon, IBinder token, int userId, String owner, in getEnumerateClient() argument 56 return new FaceInternalEnumerateClient(context, lazyDaemon, token, userId, owner, in getEnumerateClient() 63 int biometricId, int userId, String owner, BiometricUtils<Face> utils, int sensorId, in getRemovalClient() argument 69 null /* ClientMonitorCallbackConverter */, biometricId, userId, owner, utils, in getRemovalClient()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | FingerprintInternalCleanupClient.java | 46 @NonNull String owner, int sensorId, in FingerprintInternalCleanupClient() argument 51 super(context, lazyDaemon, userId, owner, sensorId, logger, biometricContext, in FingerprintInternalCleanupClient() 58 int userId, String owner, List<Fingerprint> enrolledList, in getEnumerateClient() argument 61 return new FingerprintInternalEnumerateClient(context, lazyDaemon, token, userId, owner, in getEnumerateClient() 68 int biometricId, int userId, String owner, BiometricUtils<Fingerprint> utils, in getRemovalClient() argument 74 null /* ClientMonitorCallbackConverter */, biometricId, userId, owner, utils, in getRemovalClient()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | FingerprintInternalCleanupClient.java | 45 int userId, @NonNull String owner, int sensorId, in FingerprintInternalCleanupClient() argument 49 super(context, lazyDaemon, userId, owner, sensorId, logger, biometricContext, in FingerprintInternalCleanupClient() 55 Supplier<AidlSession> lazyDaemon, IBinder token, int userId, String owner, in getEnumerateClient() argument 58 return new FingerprintInternalEnumerateClient(context, lazyDaemon, token, userId, owner, in getEnumerateClient() 67 String owner, BiometricUtils<Fingerprint> utils, int sensorId, in getRemovalClient() argument 71 null /* ClientMonitorCallbackConverter */, new int[] {biometricId}, userId, owner, in getRemovalClient()
|
/frameworks/wilhelm/src/ |
D | locks.cpp | 83 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local 85 pid_t ownerTid = LIKELY_VALID(owner) ? pthread_gettid_np(owner) : -1; in object_lock_exclusive_() 88 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_() 103 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local 104 pid_t ownerTid = LIKELY_VALID(owner) ? pthread_gettid_np(owner) : -1; in object_lock_exclusive_() 105 if (pthread_equal(pthread_self(), owner)) { in object_lock_exclusive_() 108 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_() 112 thiz, *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_()
|
/frameworks/base/core/jni/ |
D | android_util_MemoryIntArray.cpp | 57 jboolean owner) in android_util_MemoryIntArray_open() argument 83 int protMode = owner ? (PROT_READ | PROT_WRITE) : PROT_READ; in android_util_MemoryIntArray_open() 98 if (owner) { in android_util_MemoryIntArray_open() 103 if (owner) { in android_util_MemoryIntArray_open() 115 jlong ashmemAddr, jboolean owner) in android_util_MemoryIntArray_close() argument 141 if (owner && (ashmem_unpin_region(fd, 0, 0) != ASHMEM_IS_UNPINNED)) { in android_util_MemoryIntArray_close()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 324 final Package owner; field in PackageParser.ParsePackageItemArgs 339 owner = _owner; in ParsePackageItemArgs() 2979 private boolean parseKeySets(Package owner, Resources res, in parseKeySets() argument 3089 outError[0] = "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3094 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>(); in parseKeySets() 3098 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3103 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3108 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>()); in parseKeySets() 3110 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s)); in parseKeySets() 3113 if (owner.mKeySetMapping.keySet().containsAll(upgradeKeySets)) { in parseKeySets() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcLocksReader.java | 67 int owner = -1; // the PID of the process that owns the lock in handleBlockingFileLocks() local 81 pid = owner; // get pid from the previous line in handleBlockingFileLocks() 93 owner = mReader.nextInt(); // pid in handleBlockingFileLocks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotController.java | 165 public UserHandle owner; field in ScreenshotController.SaveImageInBackgroundData 182 public UserHandle owner; field in ScreenshotController.SavedImageData 733 Insets screenInsets, ComponentName topComponent, boolean showFlash, UserHandle owner) { in saveScreenshot() argument 736 && mUserManager.isManagedProfile(owner.getIdentifier())) { in saveScreenshot() 765 if (!isUserSetupComplete(owner)) { in saveScreenshot() 769 saveScreenshotAndToast(owner, finisher); in saveScreenshot() 777 saveScreenshotInWorkerThread(owner, finisher, this::showUiOnActionsReady, in saveScreenshot() 784 enqueueScrollCaptureRequest(owner); in saveScreenshot() 789 mMessageContainerController.onScreenshotTaken(owner); in saveScreenshot() 795 mContext.getDrawable(R.drawable.overlay_badge_background), owner)); in saveScreenshot() local [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | AppCompatActionBar.java | 239 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument 241 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod() 253 private static Method findMethod(@Nullable Class<?> owner, @NonNull String name) { in findMethod() argument 254 if (owner == null) { in findMethod() 257 for (Method method : owner.getMethods()) { in findMethod() 291 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke() argument 293 return method == null ? null : method.invoke(owner, args); in invoke()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceShellCommand.java | 213 OwnerShellData owner = owners.get(i); in runListOwners() local 214 pw.printf("User %2d: admin=%s", owner.userId, owner.admin.flattenToShortString()); in runListOwners() 215 if (owner.isDeviceOwner) { in runListOwners() 218 if (owner.isProfileOwner) { in runListOwners() 221 if (owner.isManagedProfileOwner) { in runListOwners() 222 pw.printf(",ManagedProfileOwner(parentUserId=%d)", owner.parentUserId); in runListOwners() 224 if (owner.isAffiliated) { in runListOwners()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | ViewTreeSavedStateRegistryOwner.kt | 26 fun set(view: View, owner: SavedStateRegistryOwner?) { in set() 27 AndroidXViewTreeSavedStateRegistryOwner.set(view, owner) in set()
|