/frameworks/base/core/java/android/content/ |
H A D | UndoOperation.java | 34 * @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 D | UndoManager.java | 44 * 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 D | ReplaceMethodCallsAdapter.java | 65 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 D | AbstractClassAdapter.java | 190 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 D | AutomaticZenRule.java | 36 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 D | PairedTask.java | 41 public PairedTask(Owner owner) { argument 42 mOwner = owner;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UriPermission.java | 65 /** 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 D | UriPermissionOwner.java | 31 final Object owner; field in class:UriPermissionOwner 44 UriPermissionOwner(ActivityManagerService service, Object owner) { argument 46 this.owner = owner; 144 return owner.toString();
|
H A D | PendingIntentRecord.java | 46 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 D | ReceiverList.java | 34 final ActivityManagerService owner; field in class:ReceiverList 47 owner = _owner; 65 owner.unregisterReceiver(receiver);
|
/frameworks/wilhelm/src/ |
H A D | locks.c | 83 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 D | android_util_MemoryIntArray.cpp | 57 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 D | EnumerateClient.java | 34 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 D | RemovalClient.java | 37 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 D | ClientMonitor.java | 57 * @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 D | EnrollClient.java | 42 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 D | GsmCdmaCall.java | 31 public GsmCdmaCall (GsmCdmaCallTracker owner) { argument 32 mOwner = owner;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 268 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 D | AppCompatActionBar.java | 175 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 D | IAccessibilityManager.aidl | 53 void registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client,
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | ApprovedPrintServices.java | 44 * @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 D | MenuInflater.java | 271 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 D | SupportMenuInflater.java | 223 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 D | MemoryIntArray.java | 37 * 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 D | RippleBackground.java | 55 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded, argument 57 super(owner, bounds, forceSoftware);
|