/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 96 UndoOwner owner = mOwners.get(tag); in getOwner() local 97 if (owner != null) { in getOwner() 98 if (owner.mData != data) { in getOwner() 99 if (owner.mData != null) { in getOwner() 100 throw new IllegalStateException("Owner " + owner + " already exists with data " in getOwner() 101 + owner.mData + " but giving different data " + data); in getOwner() 103 owner.mData = data; in getOwner() 105 return owner; in getOwner() 108 owner = new UndoOwner(tag, this); in getOwner() 109 owner.mData = data; in getOwner() [all …]
|
D | UndoOperation.java | 37 public UndoOperation(UndoOwner owner) { in UndoOperation() argument 38 mOwner = owner; in UndoOperation() 67 public boolean matchOwner(UndoOwner owner) { in matchOwner() argument 68 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() 83 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument 84 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) && in METHOD_REPLACERS.add() 91 mi.owner = ANDROID_LOCALE_CLASS; in METHOD_REPLACERS.add() 107 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() 108 return JAVA_LOCALE_CLASS.equals(owner) && in METHOD_REPLACERS.add() 116 mi.owner = ANDROID_LOCALE_CLASS; in METHOD_REPLACERS.add() 123 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument 124 return JAVA_LANG_SYSTEM.equals(owner) && name.length() == 4 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()
|
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/ |
D | LiveData.java | 121 if (!isActiveState(observer.owner.getLifecycle().getCurrentState())) { in considerNotify() 185 public void observe(LifecycleOwner owner, Observer<T> observer) { in observe() argument 186 if (owner.getLifecycle().getCurrentState() == DESTROYED) { in observe() 190 LifecycleBoundObserver wrapper = new LifecycleBoundObserver(owner, observer); in observe() 192 if (existing != null && existing.owner != wrapper.owner) { in observe() 199 owner.getLifecycle().addObserver(wrapper); in observe() 200 wrapper.activeStateChanged(isActiveState(owner.getLifecycle().getCurrentState())); in observe() 234 removed.owner.getLifecycle().removeObserver(removed); in removeObserver() 244 public void removeObservers(final LifecycleOwner owner) { in removeObservers() argument 247 if (entry.getValue().owner == owner) { in removeObservers() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AutomaticZenRule.java | 36 private ComponentName owner; field in AutomaticZenRule 51 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule() argument 54 this.owner = owner; in AutomaticZenRule() 64 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule() argument 66 this(name, owner, conditionId, interruptionFilter, enabled); in AutomaticZenRule() 77 owner = source.readParcelable(null); in AutomaticZenRule() 85 return owner; in getOwner() 168 dest.writeParcelable(owner, 0); in writeToParcel() 179 .append(",owner=").append(owner) in toString() 193 && Objects.equals(other.owner, owner) in equals() [all …]
|
/frameworks/support/lifecycle/common/src/main/java/android/arch/lifecycle/ |
D | FullLifecycleObserver.java | 21 void onCreate(LifecycleOwner owner); in onCreate() argument 23 void onStart(LifecycleOwner owner); in onStart() argument 25 void onResume(LifecycleOwner owner); in onResume() argument 27 void onPause(LifecycleOwner owner); in onPause() argument 29 void onStop(LifecycleOwner owner); in onStop() argument 31 void onDestroy(LifecycleOwner owner); in onDestroy() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
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 | PendingIntentRecord.java | 47 final ActivityManagerService owner; field in PendingIntentRecord 190 owner = _owner; in PendingIntentRecord() 251 synchronized (owner) { in sendInner() 255 owner.cancelIntentSenderLocked(this, true); in sendInner() 286 int procState = owner.getUidState(callingUid); in sendInner() 299 owner.tempWhitelistForPendingIntentLocked(callingPid, in sendInner() 311 userId = owner.mUserController.getCurrentOrTargetUserIdLocked(); in sendInner() 335 owner.startActivitiesInPackage(uid, callingPid, callingUid, in sendInner() 339 owner.startActivityInPackage(uid, key.packageName, finalIntent, in sendInner() 358 int sent = owner.broadcastIntentInPackage(key.packageName, uid, in sendInner() [all …]
|
D | UriPermissionOwner.java | 31 final Object owner; field in UriPermissionOwner 44 UriPermissionOwner(ActivityManagerService service, Object owner) { in UriPermissionOwner() argument 46 this.owner = owner; in UriPermissionOwner() 144 return owner.toString(); in toString()
|
/frameworks/support/lifecycle/common-java8/src/main/java/android/arch/lifecycle/ |
D | DefaultLifecycleObserver.java | 36 default void onCreate(LifecycleOwner owner) { in onCreate() argument 47 default void onStart(LifecycleOwner owner) { in onStart() argument 59 default void onResume(LifecycleOwner owner) { in onResume() argument 71 default void onPause(LifecycleOwner owner) { in onPause() argument 83 default void onStop(LifecycleOwner owner) { in onStop() argument 95 default void onDestroy(LifecycleOwner owner) { in onDestroy() argument
|
/frameworks/support/lifecycle/common/src/test/java/android/arch/lifecycle/ |
D | ReflectiveGenericLifecycleObserverTest.java | 89 void onAnyState(LifecycleOwner owner, Lifecycle.Event event) { in onAnyState() argument 234 private void started(LifecycleOwner owner, Lifecycle l) { in testWrongSecondParam() 244 private void started(LifecycleOwner owner, Lifecycle.Event e, int i) { in testThreeParams() 252 void foo(LifecycleOwner owner) { in foo() argument 258 void foo(LifecycleOwner owner) { in foo() argument 269 void foo(LifecycleOwner owner) { in foo() argument 294 void foo(LifecycleOwner owner) { in foo() argument 300 void foo(LifecycleOwner owner); in foo() argument 305 public void foo(LifecycleOwner owner) { in foo() argument 316 void foo(LifecycleOwner owner) { in foo() argument [all …]
|
/frameworks/support/lifecycle/compiler/src/tests/test-data/expected/ |
D | InterfaceOk2Derived_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop1(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged() 38 mReceiver.onStop3(owner); in onStateChanged()
|
D | OnAnyMethod_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop(owner); in onStateChanged() 38 mReceiver.any(owner); in onStateChanged() 39 mReceiver.any(owner,event); in onStateChanged()
|
D | DifferentPackagesBase1_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop(owner); in onStateChanged() 40 public static void __synthetic_onStop(DifferentPackagesBase1 receiver, LifecycleOwner owner) { in __synthetic_onStop() argument 41 receiver.onStop(owner); in __synthetic_onStop()
|
D | InheritanceOk2Derived_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged()
|
D | DifferentPackagesDerived2_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged()
|
D | DifferentPackagesDerived1_LifecycleAdapter.java | 35 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 37 DifferentPackagesBase1_LifecycleAdapter.__synthetic_onStop(mReceiver,owner); in onStateChanged() 38 mReceiver.onStop2(owner); in onStateChanged()
|
D | InheritanceOk2Base_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop(owner); in onStateChanged()
|
D | InterfaceOk2Base_LifecycleAdapter.java | 34 public void onStateChanged(LifecycleOwner owner, Lifecycle.Event event) { in onStateChanged() argument 36 mReceiver.onStop1(owner); in onStateChanged()
|
/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 | 340 final Package owner; field in PackageParser.ParsePackageItemArgs 355 owner = _owner; in ParsePackageItemArgs() 3068 private boolean parseKeySets(Package owner, Resources res, in parseKeySets() argument 3178 outError[0] = "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3183 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>(); in parseKeySets() 3187 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3192 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets() 3197 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>()); in parseKeySets() 3199 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s)); in parseKeySets() 3202 if (owner.mKeySetMapping.keySet().containsAll(upgradeKeySets)) { in parseKeySets() [all …]
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 65 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { in mkdir() argument 68 ::chown(fullPath, owner, group); in mkdir() 72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { in touch() argument 75 ::fchown(fd, owner, group); in touch()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | AppCompatActionBar.java | 175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument 177 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod() 185 private static Object invoke(Method method, Object owner, Object... args) { in invoke() argument 187 return method == null ? null : method.invoke(owner, args); in invoke()
|