Home
last modified time | relevance | path

Searched refs:access (Results 1 – 25 of 147) sorted by relevance

123456

/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubClassAdapter.java184 public void visit(int version, int access, String name, in visit() argument
193 access = access & ~Opcodes.ACC_FINAL; in visit()
197 mIsInterface = ((access & Opcodes.ACC_INTERFACE) != 0); in visit()
198 super.visit(version, access, name, signature, superName, interfaces); in visit()
203 public void visitInnerClass(String name, String outerName, String innerName, int access) { in visitInnerClass() argument
205 access = access & ~Opcodes.ACC_FINAL; in visitInnerClass()
209 super.visitInnerClass(name, outerName, innerName, access); in visitInnerClass()
214 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
216 if (mRemovePrivates && (access & Opcodes.ACC_PRIVATE) != 0) { in visitMethod()
241 access = access & ~Opcodes.ACC_FINAL; in visitMethod()
[all …]
DDelegateClassAdapter.java76 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
83 return super.visitField(access, name, desc, signature, value); in visitField()
87 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
90 boolean isStaticMethod = (access & Opcodes.ACC_STATIC) != 0; in visitMethod()
91 boolean isNative = (access & Opcodes.ACC_NATIVE) != 0; in visitMethod()
98 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
111 access = access & ~Opcodes.ACC_NATIVE; in visitMethod()
112 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
125 MethodVisitor mwOriginal = super.visitMethod(access, name, in visitMethod()
137 int accessDelegate = access; in visitMethod()
[all …]
DPromoteClassClassAdapter.java43 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
46 if ((access & ACC_PUBLIC) == 0) { in visit()
47 access = (access & CLEAR_PRIVATE_MASK) | ACC_PUBLIC; in visit()
51 super.visit(version, access, name, signature, superName, interfaces); in visit()
55 public void visitInnerClass(String name, String outerName, String innerName, int access) { in visitInnerClass() argument
57 if ((access & ACC_PUBLIC) == 0) { in visitInnerClass()
58 access = (access & CLEAR_PRIVATE_MASK) | ACC_PUBLIC; in visitInnerClass()
62 super.visitInnerClass(name, outerName, innerName, access); in visitInnerClass()
DPromoteFieldClassAdapter.java42 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
45 if ((access & ACC_PUBLIC) == 0) { in visitField()
46 access = (access & CLEAR_PRIVATE_MASK) | ACC_PUBLIC; in visitField()
49 return super.visitField(access, name, desc, signature, value); in visitField()
DClassHasNativeVisitor.java49 public void visit(int version, int access, String name, String signature, in visit() argument
71 public FieldVisitor visitField(int access, String name, String desc, in visitField() argument
79 String innerName, int access) { in visitInnerClass() argument
84 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
86 if ((access & Opcodes.ACC_NATIVE) != 0) { in visitMethod()
DAbstractClassAdapter.java168 public void visit(int version, int access, String name, String signature, in visit() argument
179 super.visit(version, access, name, signature, superName, interfaces); in visit()
183 public void visitInnerClass(String name, String outerName, String innerName, int access) { in visitInnerClass() argument
186 super.visitInnerClass(name, outerName, innerName, access); in visitInnerClass()
195 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
199 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
210 public FieldVisitor visitField(int access, String name, String desc, in visitField() argument
213 return super.visitField(access, name, desc, signature, value); in visitField()
DChangeFileVersionAdapter.java36 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
44 super.visit(classFileVersion, access, name, signature, superName, interfaces); in visit()
DRefactorClassAdapter.java35 public MethodVisitor visitMethod(int access, String name, String desc, String signature, in visitMethod() argument
37 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp62 MockServiceManager(std::unique_ptr<Access>&& access) : ServiceManager(std::move(access)) {} in MockServiceManager() argument
67 std::unique_ptr<MockAccess> access = std::make_unique<NiceMock<MockAccess>>(); in getPermissiveServiceManager() local
69 ON_CALL(*access, getCallingContext()).WillByDefault(Return(Access::CallingContext{})); in getPermissiveServiceManager()
70 ON_CALL(*access, canAdd(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager()
71 ON_CALL(*access, canFind(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager()
72 ON_CALL(*access, canList(_)).WillByDefault(Return(true)); in getPermissiveServiceManager()
74 sp<ServiceManager> sm = new NiceMock<MockServiceManager>(std::move(access)); in getPermissiveServiceManager()
116 std::unique_ptr<MockAccess> access = std::make_unique<NiceMock<MockAccess>>(); in TEST() local
117 EXPECT_CALL(*access, getCallingContext()).WillOnce(Return(Access::CallingContext{ in TEST()
121 EXPECT_CALL(*access, canAdd(_, _)).Times(0); in TEST()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java88 public Backing lockBacking(int mode, int access) { in lockBacking() argument
89 Backing backing = fetchBacking(mode, access); in lockBacking()
186 private Backing fetchBacking(int mode, int access) { in fetchBacking() argument
187 Backing backing = getBacking(mode, access); in fetchBacking()
189 backing = attachNewBacking(mode, access); in fetchBacking()
201 private Backing getBacking(int mode, int access) { in getBacking() argument
208 if ((backingAccess & access) == access) { in getBacking()
215 private Backing attachNewBacking(int mode, int access) { in attachNewBacking() argument
216 Backing backing = createBacking(mode, access); in attachNewBacking()
224 private Backing createBacking(int mode, int access) { in createBacking() argument
[all …]
DFrameManager.java115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); in fetchBacking() argument
135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument
173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument
178 if ((backingAccess & access) == access in fetchBacking()
409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument
410 return mCache.fetchBacking(mode, access, dimensions, elemSize); in fetchBacking()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DPromoteClassClassAdapterTest.java48 private static String formatAccess(int access) { in formatAccess() argument
51 if ((access & Opcodes.ACC_PUBLIC) != 0) { in formatAccess()
54 if ((access & Opcodes.ACC_PRIVATE) != 0) { in formatAccess()
57 if ((access & Opcodes.ACC_PROTECTED) != 0) { in formatAccess()
60 if ((access & Opcodes.ACC_STATIC) != 0) { in formatAccess()
63 if ((access & Opcodes.ACC_FINAL) != 0) { in formatAccess()
88 public void visitInnerClass(String name, String outerName, String innerName, int access) { in visitInnerClass() argument
92 name, outerName, innerName, formatAccess(access) in visitInnerClass()
95 super.visitInnerClass(name, outerName, innerName, access); in visitInnerClass()
99 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
[all …]
DStubMethodAdapterTest.java86 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
88 super.visit(version, access, mClassName, signature, superName, in visit()
93 public MethodVisitor visitMethod(int access, String name, String desc, String signature, in visitMethod() argument
98 boolean isStatic = (access & Opcodes.ACC_STATIC) != 0; in visitMethod()
99 boolean isNative = (access & Opcodes.ACC_NATIVE) != 0; in visitMethod()
101 super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop40 access: Readonly
48 access: Readonly
57 access: Readonly
66 access: Readonly
84 access: Readonly
94 access: Readonly
112 access: Readonly
121 access: Readonly
133 access: Readonly
143 access: Readonly
[all …]
/frameworks/base/core/java/android/view/
DViewTreeObserver.java1057 CopyOnWriteArray.Access<OnGlobalLayoutListener> access = listeners.start(); in dispatchOnGlobalLayout() local
1059 int count = access.size(); in dispatchOnGlobalLayout()
1061 access.get(i).onGlobalLayout(); in dispatchOnGlobalLayout()
1089 CopyOnWriteArray.Access<OnPreDrawListener> access = listeners.start(); in dispatchOnPreDraw() local
1091 int count = access.size(); in dispatchOnPreDraw()
1093 cancelDraw |= !(access.get(i).onPreDraw()); in dispatchOnPreDraw()
1111 CopyOnWriteArray.Access<OnWindowShownListener> access = listeners.start(); in dispatchOnWindowShown() local
1113 int count = access.size(); in dispatchOnWindowShown()
1115 access.get(i).onWindowShown(); in dispatchOnWindowShown()
1165 CopyOnWriteArray.Access<OnScrollChangedListener> access = listeners.start(); in dispatchOnScrollChanged() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java131 Access access = getAccessFromOps(now, ops); in getAppList() local
132 if (access != null) { in getAppList()
133 accesses.add(access); in getAppList()
178 Access access = null; in getAccessFromOps() local
197 access = new Access(packageName, userHandle, icon, appLabel, badgedAppLabel, in getAccessFromOps()
202 return access; in getAccessFromOps()
/frameworks/native/cmds/installd/
Dinstalld.cpp135 if (access(keychain_added_dir, F_OK) == 0) { in initialize_directories()
140 if (access(keychain_removed_dir, F_OK) == 0) { in initialize_directories()
148 if (access(keychain_added_dir, F_OK) == 0) { in initialize_directories()
151 if (access(keychain_removed_dir, F_OK) == 0) { in initialize_directories()
/frameworks/base/libs/hwui/
DHWUIProperties.sysprop8 access: Readonly
15 access: Readonly
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglMapBufferRange.cpp4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) { in android_glMapBufferRange__IIII() argument
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access); in android_glMapBufferRange__IIII()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java82 private KeyBlob access(int uid, String key, boolean createIfNotExist) { in access() method in MockKeyStore
101 return access(uid, key, false); in getKeyBlob()
105 access(uid, key, true).update(value, flags); in put()
121 return access(uid, key, false) != null; in contains()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DAncestorCollector.kt33 override fun visit(version: Int, access: Int, name: String?, signature: String?, in visit()
42 super.visit(version, access, name, signature, superName, interfaces) in visit()
/frameworks/base/cmds/idmap/
Didmap.cpp106 return access(path, R_OK | X_OK) == 0; in verify_directory_readable()
111 return access(path, W_OK) == 0; in verify_directory_writable()
116 return access(path, R_OK) == 0; in verify_file_readable()
/frameworks/opt/net/wifi/service/proto/src/
Dscorecard.proto31 // Describes a network, consisting of a collection of access points that share
34 // the access points of a network together in dumpsys output or similar.
46 // Describes an access point (single BSSID)
53 optional bytes bssid = 2; // BSSID of the access point (not stored)
71 // Describes the IEEE 802.11 technology used by the access point
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md3 The tables below show whether an app has network access while on background depending on the status…
20 * **ok**: network access granted while app on background (NetworkInfo's state/detailed state should…
21 * **blk**: network access blocked while app on background (NetworkInfo's state/detailed state shoul…
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockFindingClassVisitor.java58 public MethodVisitor visitMethod(int access, String name, String desc, String signature, in visitMethod() argument
61 MethodNode mn = new TryCatchBlockSorter(null, access, name, desc, signature, exceptions); in visitMethod()
62 MethodVisitor chain = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
67 public void visit(int version, int access, String name, String signature, String superName, in visit() argument
70 super.visit(version, access, name, signature, superName, interfaces); in visit()
92 if ((mn.access & Opcodes.ACC_SYNCHRONIZED) != 0) { in visitEnd()

123456