Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/android/content/
DUndoManager.java94 UndoOwner owner = mOwners.get(tag); in getOwner() local
95 if (owner != null) { in getOwner()
96 if (owner.mData != data) { in getOwner()
97 if (owner.mData != null) { in getOwner()
98 throw new IllegalStateException("Owner " + owner + " already exists with data " in getOwner()
99 + owner.mData + " but giving different data " + data); in getOwner()
101 owner.mData = data; in getOwner()
103 return owner; in getOwner()
106 owner = new UndoOwner(tag); in getOwner()
107 owner.mManager = this; in getOwner()
[all …]
DUndoOperation.java37 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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java58 public boolean isNeeded(String owner, String name, String desc) { in METHOD_REPLACERS.add() argument
59 return "java/lang/System".equals(owner) && "arraycopy".equals(name) && in METHOD_REPLACERS.add()
77 public boolean isNeeded(String owner, String name, String desc) { in METHOD_REPLACERS.add() argument
78 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) && in METHOD_REPLACERS.add()
100 public boolean isNeeded(String owner, String name, String desc) { in METHOD_REPLACERS.add() argument
101 return JAVA_LOCALE_CLASS.equals(owner) && in METHOD_REPLACERS.add()
115 public static boolean isReplacementNeeded(String owner, String name, String desc) { in isReplacementNeeded() argument
117 if (replacer.isNeeded(owner, name, desc)) { in isReplacementNeeded()
141 public void visitMethodInsn(int opcode, String owner, String name, String desc) { in visitMethodInsn() argument
143 if (replacer.isNeeded(owner, name, desc)) { in visitMethodInsn()
[all …]
DAbstractClassAdapter.java202 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument
203 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc)); in visitOuterClass()
271 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
272 owner = renameInternalType(owner); in visitFieldInsn()
275 super.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
279 public void visitMethodInsn(int opcode, String owner, String name, String desc) { in visitMethodInsn() argument
281 if (owner.indexOf(';') > 0) { in visitMethodInsn()
282 owner = renameTypeDesc(owner); in visitMethodInsn()
284 owner = renameInternalType(owner); in visitMethodInsn()
288 super.visitMethodInsn(opcode, owner, name, desc); in visitMethodInsn()
DDependencyFinder.java494 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument
527 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
529 considerName(owner); in visitFieldInsn()
599 public void visitMethodInsn(int opcode, String owner, String name, String desc) { in visitMethodInsn() argument
602 if (!considerDesc(owner) && owner.indexOf('/') != -1) { in visitMethodInsn()
603 considerName(owner); in visitMethodInsn()
DDelegateMethodAdapter.java370 public void visitMethodInsn(int opcode, String owner, String name, String desc) { in visitMethodInsn() argument
372 mOrgWriter.visitMethodInsn(opcode, owner, name, desc); in visitMethodInsn()
377 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
379 mOrgWriter.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
DStubMethodAdapter.java285 public void visitMethodInsn(int opcode, String owner, String name, String desc) { in visitMethodInsn() argument
287 mParentVisitor.visitMethodInsn(opcode, owner, name, desc); in visitMethodInsn()
292 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
294 mParentVisitor.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
/frameworks/base/services/core/java/com/android/server/am/
DUriPermission.java115 void grantModes(int modeFlags, UriPermissionOwner owner) { in grantModes() argument
124 if (owner == null) { in grantModes()
128 addReadOwner(owner); in grantModes()
131 addWriteOwner(owner); in grantModes()
244 private void addReadOwner(UriPermissionOwner owner) { in addReadOwner() argument
250 if (mReadOwners.add(owner)) { in addReadOwner()
251 owner.addReadPermission(this); in addReadOwner()
258 void removeReadOwner(UriPermissionOwner owner) { in removeReadOwner() argument
259 if (!mReadOwners.remove(owner)) { in removeReadOwner()
260 Slog.wtf(TAG, "Unknown read owner " + owner + " in " + this); in removeReadOwner()
[all …]
DPendingIntentRecord.java36 final ActivityManagerService owner; field in PendingIntentRecord
187 owner = _owner; in PendingIntentRecord()
203 synchronized(owner) { in sendInner()
207 owner.cancelIntentSenderLocked(this, true); in sendInner()
229 userId = owner.getCurrentUserIdLocked(); in sendInner()
252 owner.startActivitiesInPackage(uid, key.packageName, allIntents, in sendInner()
255 owner.startActivityInPackage(uid, key.packageName, finalIntent, in sendInner()
272 owner.broadcastIntentInPackage(key.packageName, uid, in sendInner()
284 owner.startServiceInPackage(uid, in sendInner()
313 owner.mHandler.sendMessage(owner.mHandler.obtainMessage( in finalize()
[all …]
DUriPermissionOwner.java32 final Object owner; field in UriPermissionOwner
45 UriPermissionOwner(ActivityManagerService service, Object owner) { in UriPermissionOwner() argument
47 this.owner = owner; in UriPermissionOwner()
145 return owner.toString(); in toString()
DReceiverList.java34 final ActivityManagerService owner; field in ReceiverList
47 owner = _owner; in ReceiverList()
65 owner.unregisterReceiver(receiver); in binderDied()
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSymbol.hxx34 ELFSectionHeaderTableTy const &shtab = *owner->getSectionHeaderTable(); in getName()
36 ELFSectionTy const *section = owner->getSectionByIndex(index); in getName()
46 ELFObjectTy const *owner, in read() argument
70 sh->owner = owner; in read()
136 owner->getSectionHeaderTable(); in getAddress()
151 my_addr = const_cast<ELFObjectTy *>(owner)-> in getAddress()
159 ELFSectionTy const *sec = owner->getSectionByIndex(idx); in getAddress()
192 my_addr = const_cast<ELFObjectTy *>(owner)-> in getAddress()
220 owner->getSectionHeaderTable(); in getAddress()
224 ELFSectionTy const *sec = owner->getSectionByIndex(idx); in getAddress()
[all …]
DELFSectionProgBits.hxx34 ELFObjectTy *owner, in read() argument
36 int machine = owner->getHeader()->getMachine(); in read()
52 owner->getSectionByName(reltab_name.c_str())); in read()
57 max_num_stubs += reltab->getMaxNumStubs(owner); in read()
DELFSectionHeader.hxx28 return owner->getSectionName(getNameIndex()); in getName()
35 ELFObjectTy const *owner, in read() argument
60 sh->owner = owner; in read()
DELFSection.hxx35 ELFObjectTy *owner, in read() argument
49 return ELFSectionSymTabTy::read(AR, owner, sh); in read()
52 return ELFSectionProgBitsTy::read(AR, owner, sh); in read()
DELFSectionHeaderTable.hxx36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { in read() argument
47 ELFHeaderTy const *header = owner->getHeader(); in read()
57 ELFSectionHeaderTy::read(AR, owner, i)); in read()
DELFSectionSymTab.hxx89 ELFObjectTy *owner, in read() argument
103 st->table.push_back(ELFSymbolTy::read(AR, owner, i)); in read()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceOwner.java86 DeviceOwner owner = new DeviceOwner(); in load() local
88 owner.readOwnerFile(); in load()
89 return owner; in load()
99 DeviceOwner owner = new DeviceOwner(); in createWithDeviceOwner() local
100 owner.mDeviceOwner = new OwnerInfo(ownerName, packageName); in createWithDeviceOwner()
101 return owner; in createWithDeviceOwner()
109 DeviceOwner owner = new DeviceOwner(); in createWithProfileOwner() local
110 owner.mProfileOwners.put(userId, new OwnerInfo(ownerName, packageName)); in createWithProfileOwner()
111 return owner; in createWithProfileOwner()
118 DeviceOwner owner = new DeviceOwner(); in createWithProfileOwner() local
[all …]
/frameworks/wilhelm/src/
Dlocks.c84 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local
86 pid_t ownerTid = LIKELY_VALID(owner) ? __pthread_gettid(owner) : -1; in object_lock_exclusive_()
89 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_()
104 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local
105 pid_t ownerTid = LIKELY_VALID(owner) ? __pthread_gettid(owner) : -1; in object_lock_exclusive_()
106 if (pthread_equal(pthread_self(), owner)) { in object_lock_exclusive_()
109 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_()
113 thiz, *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); in object_lock_exclusive_()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java199 final Package owner; field in PackageParser.ParsePackageItemArgs
212 owner = _owner; in ParsePackageItemArgs()
2019 private boolean parseKeySets(Package owner, Resources res, in parseKeySets() argument
2124 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets()
2128 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>(); in parseKeySets()
2132 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets()
2137 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml " in parseKeySets()
2142 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>()); in parseKeySets()
2144 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s)); in parseKeySets()
2147 if (owner.mKeySetMapping.keySet().containsAll(upgradeKeySets)) { in parseKeySets()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCallGroup.java70 ImsCall owner; in isOwner() local
73 owner = mOwner; in isOwner()
76 if ((call == null) || (owner == null)) { in isOwner()
84 return isSameCall(owner, (ImsCall)call); in isOwner()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java63 UserHandle owner) { in StorageVolume() argument
72 mOwner = owner; in StorageVolume()
91 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) { in fromTemplate() argument
94 template.mAllowMassStorage, template.mMaxFileSize, owner); in fromTemplate()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java367 public void visitFieldInsn(int opcode, String owner, String name, in visitMethod()
369 assertTrue(!getBase(owner).equals(JAVA_CLASS_NAME)); in visitMethod()
371 super.visitFieldInsn(opcode, owner, name, desc); in visitMethod()
389 public void visitMethodInsn(int opcode, String owner, String name, in visitMethod() argument
391 assertTrue(!getBase(owner).equals(JAVA_CLASS_NAME)); in visitMethod()
393 super.visitMethodInsn(opcode, owner, name, desc); in visitMethod()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DSupportMenuInflater.java219 private Object findRealOwner(Object owner) { in findRealOwner() argument
220 if (owner instanceof Activity) { in findRealOwner()
221 return owner; in findRealOwner()
223 if (owner instanceof ContextWrapper) { in findRealOwner()
224 return findRealOwner(((ContextWrapper) owner).getBaseContext()); in findRealOwner()
226 return owner; in findRealOwner()
/frameworks/base/core/java/android/view/
DMenuInflater.java270 private Object findRealOwner(Object owner) { in findRealOwner() argument
271 if (owner instanceof Activity) { in findRealOwner()
272 return owner; in findRealOwner()
274 if (owner instanceof ContextWrapper) { in findRealOwner()
275 return findRealOwner(((ContextWrapper) owner).getBaseContext()); in findRealOwner()
277 return owner; in findRealOwner()

123456789