/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 100 UndoOwner owner = mOwners.get(tag); in getOwner() local 101 if (owner != null) { in getOwner() 102 if (owner.mData != data) { in getOwner() 103 if (owner.mData != null) { in getOwner() 104 throw new IllegalStateException("Owner " + owner + " already exists with data " in getOwner() 105 + owner.mData + " but giving different data " + data); in getOwner() 107 owner.mData = data; in getOwner() 109 return owner; in getOwner() 112 owner = new UndoOwner(tag, this); in getOwner() 113 owner.mData = data; in getOwner() [all …]
|
D | UndoOperation.java | 39 public UndoOperation(UndoOwner owner) { in UndoOperation() argument 40 mOwner = owner; in UndoOperation() 70 public boolean matchOwner(UndoOwner owner) { in matchOwner() argument 71 return owner == getOwner(); in matchOwner()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | ReplaceMethodCallsAdapter.java | 65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument 66 return JAVA_LANG_SYSTEM.equals(owner) && "arraycopy".equals(name) && in METHOD_REPLACERS.add() 84 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() 85 return JAVA_LOCALE_CLASS.equals(owner) && in METHOD_REPLACERS.add() 92 mi.owner = ANDROID_LOCALE_CLASS; in METHOD_REPLACERS.add() 99 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument 100 return JAVA_LANG_SYSTEM.equals(owner) && name.length() == 4 in METHOD_REPLACERS.add() 109 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add() 116 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument 117 return JAVA_LANG_SYSTEM.equals(owner) && name.equals("nanoTime"); in METHOD_REPLACERS.add() [all …]
|
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()
|
D | DependencyFinder.java | 495 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument 528 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument 530 considerName(owner); in visitFieldInsn() 600 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument 604 if (!considerDesc(owner) && owner.indexOf('/') != -1) { in visitMethodInsn() 605 considerName(owner); in visitMethodInsn()
|
/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 | 126 void grantModes(int modeFlags, UriPermissionOwner owner) { in grantModes() argument 135 if (owner == null) { in grantModes() 139 addReadOwner(owner); in grantModes() 142 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 …]
|
D | UriGrantsManagerInternal.java | 36 final int modeFlags, UriPermissionOwner owner, int targetUserId); in grantUriPermission() argument 53 String targetPkg, Intent intent, UriPermissionOwner owner, int targetUserId); in grantUriPermissionFromIntent() argument 55 NeededUriGrants needed, UriPermissionOwner owner); in grantUriPermissionUncheckedFromIntent() argument
|
D | UriGrantsManagerService.java | 190 UriPermissionOwner owner = UriPermissionOwner.fromExternalToken(token); in grantUriPermissionFromOwner() local 191 if (owner == null) { in grantUriPermissionFromOwner() 209 modeFlags, owner, targetUserId); in grantUriPermissionFromOwner() 616 String targetPkg, Intent intent, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionFromIntent() argument 623 grantUriPermissionUncheckedFromIntent(needed, owner); in grantUriPermissionFromIntent() 715 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUnchecked() argument 739 perm.grantModes(modeFlags, owner); in grantUriPermissionUnchecked() 743 void grantUriPermissionUncheckedFromIntent(NeededUriGrants needed, UriPermissionOwner owner) { in grantUriPermissionUncheckedFromIntent() argument 750 grantUri, needed.flags, owner); in grantUriPermissionUncheckedFromIntent() 755 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermission() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | AutomaticZenRule.java | 43 private ComponentName owner; field in AutomaticZenRule 62 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule() argument 64 this(name, owner, null, conditionId, null, interruptionFilter, enabled); in AutomaticZenRule() 92 public AutomaticZenRule(@NonNull String name, @Nullable ComponentName owner, in AutomaticZenRule() argument 96 this.owner = owner; in AutomaticZenRule() 107 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule() argument 110 this(name, owner, configurationActivity, conditionId, policy, interruptionFilter, enabled); in AutomaticZenRule() 121 owner = source.readParcelable(null); in AutomaticZenRule() 132 return owner; in getOwner() 263 dest.writeParcelable(owner, 0); in writeToParcel() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 46 LifecycleOwner owner = () -> lifecycle; in testAddCallback() local 53 controller.observe(owner, callback); in testAddCallback() 57 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback() 64 LifecycleOwner owner = () -> lifecycle; in testRemoveCallback() local 71 controller.observe(owner, callback); in testRemoveCallback() 75 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
|
/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 | 320 final Package owner; field in PackageParser.ParsePackageItemArgs 335 owner = _owner; in ParsePackageItemArgs() 3046 private boolean parseKeySets(Package owner, Resources res, in parseKeySets() argument 3156 outError[0] = "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3161 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>(); in parseKeySets() 3165 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3170 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3175 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>()); in parseKeySets() 3177 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s)); in parseKeySets() 3180 if (owner.mKeySetMapping.keySet().containsAll(upgradeKeySets)) { in parseKeySets() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | AppCompatActionBar.java | 223 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument 225 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod() 237 private static Method findMethod(@Nullable Class<?> owner, @NonNull String name) { in findMethod() argument 238 if (owner == null) { in findMethod() 241 for (Method method : owner.getMethods()) { in findMethod() 275 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke() argument 277 return method == null ? null : method.invoke(owner, args); in invoke()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 31 default T observe(LifecycleOwner owner, T listener) { in observe() argument 32 return observe(owner.getLifecycle(), listener); in observe()
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | LockFindingClassVisitor.java | 74 private String owner; field in LockFindingClassVisitor.LockFindingMethodVisitor 77 public LockFindingMethodVisitor(String owner, MethodNode mn, MethodVisitor chain) { in LockFindingMethodVisitor() argument 79 assert owner != null; in LockFindingMethodVisitor() 80 this.owner = owner; in LockFindingMethodVisitor() 94 if (t.getTargetDesc().equals("L" + owner + ";")) { in visitEnd() 101 a.analyze(owner, mn); in visitEnd()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 67 std::weak_ptr<int> owner; member 79 const std::shared_ptr<int> &owner, 117 const std::shared_ptr<int>& owner, in HoldBlockFromBufferQueue() argument 123 poolData->owner = owner; in HoldBlockFromBufferQueue() 175 const std::shared_ptr<int>& owner, in EndAttachBlockToBufferQueue() argument 193 poolData->owner = owner; in EndAttachBlockToBufferQueue() 668 const std::shared_ptr<int>& owner, in C2BufferQueueBlockPoolData() argument 673 owner(owner), igbp(producer), in C2BufferQueueBlockPoolData() 695 } else if (igbp && !owner.expired()) { in ~C2BufferQueueBlockPoolData()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | PromoteClassClassAdapterTest.java | 77 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument 81 owner, name, desc in visitOuterClass() 84 super.visitOuterClass(owner, name, desc); in visitOuterClass()
|
D | AsmGeneratorTest.java | 400 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitMethod() 401 addClass(owner); in visitMethod() 403 super.visitFieldInsn(opcode, owner, name, desc); in visitMethod() 421 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethod() argument 423 addClass(owner); in visitMethod() 425 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethod()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleComponent.java | 40 public RippleComponent(RippleDrawable owner, Rect bounds) { in RippleComponent() argument 41 mOwner = owner; in RippleComponent()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallback.java | 293 WifiP2pDevice owner = new WifiP2pDevice(); in onGroupStarted() local 296 owner.deviceAddress = NativeUtil.macAddressFromByteArray(goDeviceAddress); in onGroupStarted() 302 group.setOwner(owner); in onGroupStarted() 352 WifiP2pDevice owner = new WifiP2pDevice(); in onInvitationReceived() local 355 owner.deviceAddress = NativeUtil.macAddressFromByteArray(goDeviceAddress); in onInvitationReceived() 361 group.setOwner(owner); in onInvitationReceived()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | OmxStore.cpp | 40 const char* owner, in OmxStore() argument 97 node.owner = owner; in OmxStore()
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | Android.bp | 19 owner: "google", 30 owner: "google", 71 owner: "google",
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCall.java | 31 public GsmCdmaCall (GsmCdmaCallTracker owner) { in GsmCdmaCall() argument 32 mOwner = owner; in GsmCdmaCall()
|