Home
last modified time | relevance | path

Searched defs:owner (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/util/
DCloseGuardTest.java33 ResourceOwner owner = new ResourceOwner(); in testEnabled_NotOpen() local
39 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenNotClosed() local
46 ResourceOwner owner = new ResourceOwner(); in testEnabled_OpenThenClosed() local
58 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount) in assertUnreleasedResources()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add()
86 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || in METHOD_REPLACERS.add()
99 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add()
116 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add()
128 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add()
198 public static boolean isReplacementNeeded(String owner, String name, String desc, in isReplacementNeeded()
228 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn()
247 public String owner; field in ReplaceMethodCallsAdapter.MethodInformation
251 public MethodInformation(int opcode, String owner, String name, String desc) { in MethodInformation()
260 boolean isNeeded(String owner, String name, String desc, String sourceClass); in isNeeded()
DAbstractClassAdapter.java190 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass()
259 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn()
267 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn()
DStubCallMethodAdapter.java292 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn()
299 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn()
/frameworks/base/core/java/android/content/
DUndoManager.java100 UndoOwner owner = mOwners.get(tag); in getOwner() local
118 void removeOwner(UndoOwner owner) { in removeOwner()
158 void saveOwner(UndoOwner owner, Parcel out) { in saveOwner()
201 UndoOwner owner = mStateOwners[idx]; in restoreOwner() local
488 public boolean hasOperation(UndoOwner owner) { in hasOperation()
512 public UndoOperation<?> getLastOperation(UndoOwner owner, int mergeMode) { in getLastOperation()
529 public <T extends UndoOperation> T getLastOperation(Class<T> clazz, UndoOwner owner, in getLastOperation()
563 UndoOwner owner = op.getOwner(); in addOperation() local
635 public int commitState(UndoOwner owner) { in commitState()
664 public boolean uncommitState(int commitId, UndoOwner owner) { in uncommitState()
[all …]
DUndoOperation.java39 public UndoOperation(UndoOwner owner) { in UndoOperation()
70 public boolean matchOwner(UndoOwner owner) { in matchOwner()
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java127 boolean grantModes(int modeFlags, @Nullable UriPermissionOwner owner) { in grantModes()
255 private void addReadOwner(UriPermissionOwner owner) { in addReadOwner()
269 void removeReadOwner(UriPermissionOwner owner) { in removeReadOwner()
280 private void addWriteOwner(UriPermissionOwner owner) { in addWriteOwner()
294 void removeWriteOwner(UriPermissionOwner owner) { in removeWriteOwner()
DUriGrantsManagerService.java231 UriPermissionOwner owner = UriPermissionOwner.fromExternalToken(token); in grantUriPermissionFromOwnerUnlocked() local
745 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUnchecked()
775 UriPermissionOwner owner) { in grantUriPermissionUncheckedFromIntent()
787 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionUnlocked()
1405 UriPermissionOwner owner) { in grantUriPermissionUncheckedFromIntent()
1419 UriPermissionOwner owner = new UriPermissionOwner(this, name); in newUriPermissionOwner() local
1434 final UriPermissionOwner owner = UriPermissionOwner.fromExternalToken(token); in revokeUriPermissionFromOwner() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java46 LifecycleOwner owner = () -> lifecycle; in testAddCallback() local
64 LifecycleOwner owner = () -> lifecycle; in testRemoveCallback() local
/frameworks/base/core/java/android/app/
DAutomaticZenRule.java43 private ComponentName owner; field in AutomaticZenRule
62 public AutomaticZenRule(String name, ComponentName owner, Uri conditionId, in AutomaticZenRule()
92 public AutomaticZenRule(@NonNull String name, @Nullable ComponentName owner, in AutomaticZenRule()
107 public AutomaticZenRule(String name, ComponentName owner, ComponentName configurationActivity, in AutomaticZenRule()
DIUriGrantsManager.aidl30 void grantUriPermissionFromOwner(in IBinder owner, int fromUid, in String targetPkg, in grantUriPermissionFromOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java350 final UriPermissionOwner owner = new UriPermissionOwner(mService, "primary"); in testCheckAuthorityGrants() local
367 intent, UID_PRIMARY_CAMERA, PKG_SOCIAL, USER_PRIMARY), owner); in testCheckAuthorityGrants() local
379 intent, UID_SECONDARY_CAMERA, PKG_SOCIAL, USER_PRIMARY), owner); in testCheckAuthorityGrants() local
DUriPermissionTest.java78 final UriPermissionOwner owner = new UriPermissionOwner(mService, "test"); in testOwned() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java239 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod()
253 private static Method findMethod(@Nullable Class<?> owner, @NonNull String name) { in findMethod()
291 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java31 default T observe(LifecycleOwner owner, T listener) { in observe()
/frameworks/base/core/jni/
Dandroid_util_MemoryIntArray.cpp57 jboolean owner) in android_util_MemoryIntArray_open()
115 jlong ashmemAddr, jboolean owner) in android_util_MemoryIntArray_close()
/frameworks/base/core/java/android/util/
DMemoryIntArray.java226 private native long nativeOpen(int fd, boolean owner); in nativeOpen()
227 private native void nativeClose(int fd, long memoryAddr, boolean owner); in nativeClose()
/frameworks/base/services/core/java/com/android/server/notification/
DInlineReplyUriRecord.java41 public InlineReplyUriRecord(IBinder owner, UserHandle user, String packageName, String key) { in InlineReplyUriRecord()
/frameworks/wilhelm/src/
Dlocks.cpp83 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local
103 pthread_t owner = thiz->mOwner; in object_lock_exclusive_() local
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleComponent.java40 public RippleComponent(RippleDrawable owner, Rect bounds) { in RippleComponent()
DRippleBackground.java46 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded) { in RippleBackground()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCall.java31 public GsmCdmaCall (GsmCdmaCallTracker owner) { in GsmCdmaCall()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java46 public ApprovedPrintServices(Context owner) { in ApprovedPrintServices()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockFindingClassVisitor.java74 private String owner; field in LockFindingClassVisitor.LockFindingMethodVisitor
77 public LockFindingMethodVisitor(String owner, MethodNode mn, MethodVisitor chain) { in LockFindingMethodVisitor()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java293 WifiP2pDevice owner = new WifiP2pDevice(); in onGroupStarted() local
352 WifiP2pDevice owner = new WifiP2pDevice(); in onInvitationReceived() local

12345