Searched refs:owner (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/core/java/android/content/
H A DUndoOperation.java34 * @param owner Who owns the data being modified by this undo state; must be
37 public UndoOperation(UndoOwner owner) { argument
38 mOwner = owner;
62 * Return true if this undo operation is a member of the given owner.
63 * The default implementation is <code>owner == getOwner()</code>. You
67 public boolean matchOwner(UndoOwner owner) { argument
68 return owner == getOwner();
H A DUndoManager.java44 * the data it belongs to. The owner is used to indicate how operations are dependent
45 * on each other -- operations with the same owner are dependent on others with the
46 * same owner. For example, you may have a document with multiple embedded objects. If the
57 // The common case is a single undo owner (e.g. for a TextView), so default to that capacity.
80 * operations with the caller's owner.
96 UndoOwner owner = mOwners.get(tag);
97 if (owner != null) {
98 if (owner.mData != data) {
99 if (owner.mData != null) {
100 throw new IllegalStateException("Owner " + owner
114 removeOwner(UndoOwner owner) argument
154 saveOwner(UndoOwner owner, Parcel out) argument
474 hasOperation(UndoOwner owner) argument
498 getLastOperation(UndoOwner owner, int mergeMode) argument
514 getLastOperation(Class<T> clazz, UndoOwner owner, int mergeMode) argument
617 commitState(UndoOwner owner) argument
646 uncommitState(int commitId, UndoOwner owner) argument
823 hasOperation(UndoOwner owner) argument
862 getLastOperation(Class<T> clazz, UndoOwner owner) argument
885 matchOwner(UndoOwner owner) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) {
66 return JAVA_LANG_SYSTEM.equals(owner) && "arraycopy".equals(name) &&
83 public boolean isNeeded(String owner, String name, String desc, String sourceClass) {
84 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) &&
91 mi.owner = ANDROID_LOCALE_CLASS;
107 public boolean isNeeded(String owner, String name, String desc, String sourceClass) {
108 return JAVA_LOCALE_CLASS.equals(owner) &&
116 mi.owner = ANDROID_LOCALE_CLASS;
123 public boolean isNeeded(String owner, String name, String desc, String sourceClass) {
124 return JAVA_LANG_SYSTEM.equals(owner)
196 isReplacementNeeded(String owner, String name, String desc, String sourceClass) argument
226 visitMethodInsn(int opcode, String owner, String name, String desc) argument
244 public String owner; field in class:ReplaceMethodCallsAdapter.MethodInformation
248 MethodInformation(int opcode, String owner, String name, String desc) argument
257 isNeeded(String owner, String name, String desc, String sourceClass) argument
[all...]
H A DAbstractClassAdapter.java202 public void visitOuterClass(String owner, String name, String desc) { argument
203 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc));
271 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
272 owner = renameInternalType(owner);
275 super.visitFieldInsn(opcode, owner, name, desc);
279 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
280 // The owner sometimes turns out to be a type descriptor. We try to detect it and fix.
281 if (owner.indexOf(';') > 0) {
282 owner
[all...]
H A DClassHasNativeVisitor.java93 public void visitOuterClass(String owner, String name, String desc) { argument
H A DDelegateMethodAdapter.java370 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
372 mOrgWriter.visitMethodInsn(opcode, owner, name, desc);
377 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
379 mOrgWriter.visitFieldInsn(opcode, owner, name, desc);
H A DStubMethodAdapter.java285 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
287 mParentVisitor.visitMethodInsn(opcode, owner, name, desc);
292 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
294 mParentVisitor.visitFieldInsn(opcode, owner, name, desc);
H A DDependencyFinder.java496 public void visitOuterClass(String owner, String name, String desc) { argument
529 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
530 // owner is the class that declares the field.
531 considerName(owner);
601 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
603 // owner is the internal name of the method's owner class
604 if (!considerDesc(owner) && owner.indexOf('/') != -1) {
605 considerName(owner);
[all...]
H A DAsmAnalyzer.java614 public void visitOuterClass(String owner, String name, String desc) { argument
650 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
651 // owner is the class that declares the field.
652 considerName(owner);
722 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
724 // owner is the internal name of the method's owner class
725 considerName(owner);
731 if (ReplaceMethodCallsAdapter.isReplacementNeeded(owner, name, desc, mOwnerClass)) {
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java64 /** Allowed modes with active owner. */
66 /** Allowed modes without explicit owner. */
101 * global or owner grants.
114 void grantModes(int modeFlags, UriPermissionOwner owner) { argument
123 if (owner == null) {
127 addReadOwner(owner);
130 addWriteOwner(owner);
243 private void addReadOwner(UriPermissionOwner owner) { argument
249 if (mReadOwners.add(owner)) {
250 owner
257 removeReadOwner(UriPermissionOwner owner) argument
268 addWriteOwner(UriPermissionOwner owner) argument
282 removeWriteOwner(UriPermissionOwner owner) argument
[all...]
H A DUriPermissionOwner.java31 final Object owner; field in class:UriPermissionOwner
44 UriPermissionOwner(ActivityManagerService service, Object owner) { argument
46 this.owner = owner;
144 return owner.toString();
H A DPendingIntentRecord.java44 final ActivityManagerService owner; field in class:PendingIntentRecord
195 owner = _owner;
211 synchronized(owner) {
222 owner.cancelIntentSenderLocked(this, true);
251 userId = owner.getCurrentUserIdLocked();
274 owner.startActivitiesInPackage(uid, key.packageName, allIntents,
277 owner.startActivityInPackage(uid, key.packageName, finalIntent,
295 int sent = owner.broadcastIntentInPackage(key.packageName, uid,
308 owner.startServiceInPackage(uid, finalIntent,
336 owner
[all...]
H A DReceiverList.java34 final ActivityManagerService owner; field in class:ReceiverList
47 owner = _owner;
65 owner.unregisterReceiver(receiver);
/frameworks/wilhelm/src/
H A Dlocks.c83 pthread_t owner = thiz->mOwner; local
84 // unlikely, but this could result in a memory fault if owner is corrupt
85 pid_t ownerTid = LIKELY_VALID(owner) ? pthread_gettid_np(owner) : -1;
88 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine);
103 pthread_t owner = thiz->mOwner; local
104 pid_t ownerTid = LIKELY_VALID(owner) ? pthread_gettid_np(owner) : -1;
105 if (pthread_equal(pthread_self(), owner)) {
108 *(void **)&owner, ownerTi
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceOwner.java52 * only one device owner, but there may be a profile owner for each user.
58 private static final String TAG_DEVICE_OWNER = "device-owner";
60 private static final String TAG_PROFILE_OWNER = "profile-owner";
73 // Internal state for the device owner package.
79 // Internal state for the profile owner packages.
82 // Local system update policy controllable by device owner.
96 * Loads the device owner state from disk.
99 DeviceOwner owner = new DeviceOwner();
101 owner
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java204 final Package owner; field in class:PackageParser.ParsePackageItemArgs
217 owner = _owner;
2032 private boolean parseKeySets(Package owner, Resources res, argument
2142 outError[0] = "Package" + owner.packageName + " AndroidManifext.xml "
2147 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>();
2151 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2156 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2161 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>());
2163 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s));
2166 if (owner
2177 parsePermissionGroup(Package owner, int flags, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2221 parsePermission(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2291 parsePermissionTree(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2339 parseInstrumentation(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2406 parseBaseApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
2809 modifySharedLibrariesForBackwardCompatibility(Package owner) argument
2854 parseSplitApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, int splitIndex, String[] outError) argument
2985 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, int nameRes, int labelRes, int iconRes, int logoRes, int bannerRes) argument
3026 parseActivity(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3300 parseActivityAlias(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3467 parseProvider(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3779 parseService(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
4543 public final Package owner; field in class:PackageParser.Component
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DAppCompatActionBar.java159 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { argument
161 return owner == null ? null : owner.getMethod(name, parameterTypes);
169 private static Object invoke(Method method, Object owner, Object... args) { argument
171 return method == null ? null : method.invoke(owner, args);
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManager.aidl53 void registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java37 CdmaCall (CdmaCallTracker owner) { argument
38 mOwner = owner;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java37 GsmCall (GsmCallTracker owner) { argument
38 mOwner = owner;
/frameworks/base/core/java/android/view/
H A DMenuInflater.java271 private Object findRealOwner(Object owner) { argument
272 if (owner instanceof Activity) {
273 return owner;
275 if (owner instanceof ContextWrapper) {
276 return findRealOwner(((ContextWrapper) owner).getBaseContext());
278 return owner;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DSupportMenuInflater.java219 private Object findRealOwner(Object owner) { argument
220 if (owner instanceof Activity) {
221 return owner;
223 if (owner instanceof ContextWrapper) {
224 return findRealOwner(((ContextWrapper) owner).getBaseContext());
226 return owner;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java51 public RippleBackground(RippleDrawable owner, Rect bounds, boolean forceSoftware) { argument
52 super(owner, bounds, forceSoftware);
H A DTransitionDrawable.java247 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { argument
248 super(orig, owner, res);
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h38 * resource, and the corresponding cost, priority, owner ID, and conflicting keys list used
75 * Return the owner ID for this descriptor.
207 * priority, and a different owner will be evicted in LRU order until either the cost is less
231 * Given a map containing owner (pid) -> priority mappings, update the priority of each
232 * ClientDescriptor with an owner in this mapping.
277 * Return a vector of the owner tags of all currently active ClientDescriptors (duplicates
387 int32_t owner = client->getOwnerId(); local
392 int32_t highestPriorityOwner = owner;
403 // Switch back owner if the incoming client has the highest priority, as it is MRU
404 highestPriorityOwner = owner;
[all...]

Completed in 446 milliseconds

123