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

1234

/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)
222 isReplacementNeeded(String owner, String name, String desc, String sourceClass) argument
252 visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) argument
271 public String owner; field in class:ReplaceMethodCallsAdapter.MethodInformation
275 MethodInformation(int opcode, String owner, String name, String desc) argument
284 isNeeded(String owner, String name, String desc, String sourceClass) argument
[all...]
H A DAbstractClassAdapter.java190 public void visitOuterClass(String owner, String name, String desc) { argument
191 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc));
259 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
260 owner = renameInternalType(owner);
263 super.visitFieldInsn(opcode, owner, name, desc);
267 public void visitMethodInsn(int opcode, String owner, String name, String desc, argument
269 // The owner sometimes turns out to be a type descriptor. We try to detect it and fix.
270 if (owner.indexOf(';') > 0) {
271 owner
[all...]
/frameworks/base/core/java/android/app/
H A DAutomaticZenRule.java36 private ComponentName owner; field in class:AutomaticZenRule
43 * @param owner The Condition Provider service that owns this rule.
51 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, argument
54 this.owner = owner;
64 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, argument
66 this(name, owner, conditionId, interruptionFilter, enabled);
77 owner = source.readParcelable(null);
85 return owner;
168 dest.writeParcelable(owner,
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPairedTask.java41 public PairedTask(Owner owner) { argument
42 mOwner = owner;
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java65 /** Allowed modes with active owner. */
67 /** Allowed modes without explicit owner. */
111 * global or owner grants.
124 void grantModes(int modeFlags, UriPermissionOwner owner) { argument
133 if (owner == null) {
137 addReadOwner(owner);
140 addWriteOwner(owner);
253 private void addReadOwner(UriPermissionOwner owner) { argument
259 if (mReadOwners.add(owner)) {
260 owner
267 removeReadOwner(UriPermissionOwner owner) argument
278 addWriteOwner(UriPermissionOwner owner) argument
292 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.java46 final ActivityManagerService owner; field in class:PendingIntentRecord
186 owner = _owner;
219 owner.tempWhitelistAppForPowerSave(Binder.getCallingPid(), Binder.getCallingUid(), uid,
223 synchronized (owner) {
234 owner.cancelIntentSenderLocked(this, true);
263 userId = owner.mUserController.getCurrentOrTargetUserIdLocked();
287 owner.startActivitiesInPackage(uid, key.packageName, allIntents,
290 owner.startActivityInPackage(uid, key.packageName, finalIntent,
308 int sent = owner.broadcastIntentInPackage(key.packageName, uid,
321 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/core/jni/
H A Dandroid_util_MemoryIntArray.cpp57 jboolean owner)
78 int protMode = owner ? (PROT_READ | PROT_WRITE) : PROT_READ;
93 if (owner) {
98 if (owner) {
110 jlong ashmemAddr, jboolean owner)
131 if (owner && (ashmem_unpin_region(fd, 0, 0) != ASHMEM_IS_UNPINNED)) {
56 android_util_MemoryIntArray_open(JNIEnv* env, jobject clazz, jint fd, jboolean owner) argument
109 android_util_MemoryIntArray_close(JNIEnv* env, jobject clazz, jint fd, jlong ashmemAddr, jboolean owner) argument
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DEnumerateClient.java34 boolean restricted, String owner) {
35 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
32 EnumerateClient(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int userId, int groupId, boolean restricted, String owner) argument
H A DRemovalClient.java37 boolean restricted, String owner) {
38 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
35 RemovalClient(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, boolean restricted, String owner) argument
H A DClientMonitor.java57 * @param owner name of the client that owns this
61 String owner) {
69 mOwner = owner;
59 ClientMonitor(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int userId, int groupId,boolean restricted, String owner) argument
H A DEnrollClient.java42 boolean restricted, String owner) {
43 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
40 EnrollClient(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int userId, int groupId, byte [] cryptoToken, boolean restricted, String owner) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCall.java31 public GsmCdmaCall (GsmCdmaCallTracker owner) { argument
32 mOwner = owner;
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java268 final Package owner; field in class:PackageParser.ParsePackageItemArgs
283 owner = _owner;
2355 private boolean parseKeySets(Package owner, Resources res, argument
2465 outError[0] = "Package" + owner.packageName + " AndroidManifext.xml "
2470 owner.mKeySetMapping = new ArrayMap<String, ArraySet<PublicKey>>();
2474 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2479 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2484 owner.mKeySetMapping.put(keySetName, new ArraySet<PublicKey>());
2486 owner.mKeySetMapping.get(keySetName).add(publicKeys.get(s));
2489 if (owner
2500 parsePermissionGroup(Package owner, int flags, Resources res, XmlResourceParser parser, String[] outError) argument
2544 parsePermission(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2614 parsePermissionTree(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2663 parseInstrumentation(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2731 parseBaseApplication(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
3157 modifySharedLibrariesForBackwardCompatibility(Package owner) argument
3202 parseSplitApplication(Package owner, Resources res, XmlResourceParser parser, int flags, int splitIndex, String[] outError) argument
3333 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, boolean nameRequired, int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) argument
3384 parseActivity(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3743 parseActivityAlias(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
3914 parseProvider(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
4234 parseService(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
5183 public final Package owner; field in class:PackageParser.Component
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DAppCompatActionBar.java175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { argument
177 return owner == null ? null : owner.getMethod(name, parameterTypes);
185 private static Object invoke(Method method, Object owner, Object... args) { argument
187 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/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DApprovedPrintServices.java44 * @param owner The {@link Context} using this object.
46 public ApprovedPrintServices(Context owner) { argument
47 mPreferences = owner.getSharedPreferences(APPROVED_SERVICES_PREFERENCE,
/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/view/
H A DSupportMenuInflater.java223 private Object findRealOwner(Object owner) { argument
224 if (owner instanceof Activity) {
225 return owner;
227 if (owner instanceof ContextWrapper) {
228 return findRealOwner(((ContextWrapper) owner).getBaseContext());
230 return owner;
/frameworks/base/core/java/android/util/
H A DMemoryIntArray.java37 * The data structure is designed to have one owner process that can
39 * The owner process is the process that created the array. The shared
43 * once it is closed. If you pass back to the owner process an instance
110 * owner.
215 private native long nativeOpen(int fd, boolean owner); argument
216 private native void nativeClose(int fd, long memoryAddr, boolean owner); argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java55 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded, argument
57 super(owner, bounds, forceSoftware);

Completed in 436 milliseconds

1234