Home
last modified time | relevance | path

Searched refs:classes (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/native/libs/input/rust/
Dkeyboard_classifier.rs116 if !device.classes.contains(DeviceClass::Keyboard) { in classify_keyboard()
120 if !device.classes.contains(DeviceClass::External) in classify_keyboard()
121 || device.classes.contains(DeviceClass::Virtual) in classify_keyboard()
123 return if device.classes.contains(DeviceClass::AlphabeticKey) { in classify_keyboard()
131 if device.classes.contains(DeviceClass::Touch) in classify_keyboard()
132 || device.classes.contains(DeviceClass::Cursor) in classify_keyboard()
133 || device.classes.contains(DeviceClass::MultiTouch) in classify_keyboard()
134 || device.classes.contains(DeviceClass::ExternalStylus) in classify_keyboard()
135 || device.classes.contains(DeviceClass::Touchpad) in classify_keyboard()
136 || device.classes.contains(DeviceClass::Dpad) in classify_keyboard()
[all …]
Dlib.rs160 let classes = DeviceClass::from_bits(device_classes); in notify_keyboard_changed() localVariable
161 if classes.is_none() { in notify_keyboard_changed()
171 classes: classes.unwrap(), in notify_keyboard_changed()
/frameworks/base/location/lib/
DREADME.txt2 containing classes required by unbundled providers. The library was created
3 as a way of exposing API classes outside of the public API before SystemApi
4 was possible. Now that SystemApi exists, no new classes should ever be added
5 to this library, and all classes in this library should eventually be
8 Whether or not classes in this library can ever be removed must be answered on
9 a case by case basis. Most of the classes are usually referenced by Google Play
11 these classes may also be referenced by OEM code, which must be considered
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DStubIntersectingFilter.kt69 exists { classes -> classes.findClass(className) != null } in <lambda>() method
78 exists { classes -> classes.findField(className, fieldName) != null } in <lambda>() method
88 exists { classes -> classes.findMethod(className, methodName, descriptor) != null } in <lambda>() method
DAndroidHeuristicsFilter.kt24 private val classes: ClassNodes, constant in com.android.hoststubgen.filters.AndroidHeuristicsFilter
32 if (aidlPolicy != null && classes.isAidlClass(className)) { in getPolicyForClass()
35 if (featureFlagsPolicy != null && classes.isFeatureFlagsClass(className)) { in getPolicyForClass()
38 if (syspropsPolicy != null && classes.isSyspropsClass(className)) { in getPolicyForClass()
41 if (rFilePolicy != null && classes.isRClass(className)) { in getPolicyForClass()
DImplicitOutputFilter.kt42 private val classes: ClassNodes, in <lambda>() constant in com.android.hoststubgen.filters.ImplicitOutputFilter
66 val cn = classes.getClass(className) in <lambda>()
88 classes.findMethod(className, methodName, descriptor)?.let { mn -> in <lambda>()
95 val cn = classes.getClass(className) in <lambda>()
116 val mn = classes.findMethod(className, methodName, descriptor) in <lambda>()
151 val cn = classes.getClass(className) in <lambda>()
163 classes.findField(className, fieldName)?.let { fn -> in <lambda>()
DInMemoryOutputFilter.kt27 private val classes: ClassNodes, constant in com.android.hoststubgen.filters.InMemoryOutputFilter
52 if (classes.findClass(className) == null) { in checkClass()
58 if (classes.findField(className, fieldName) == null) { in checkField()
68 if (classes.findMethod(className, methodName, descriptor) == null) { in checkMethod()
/frameworks/layoutlib/create/
DREADME.txt21 generated by the Android build, right before the classes are converted to a DEX format.
25 - some classes need to be overridden, for example all the drawing code that is replaced by Java 2D
27 - some of the classes that need to be changed are final and/or we need access to their private
32 - modifies some of the classes directly using some bytecode manipulation,
34 - injects some new classes,
42 platform as new classes are added, changed or removed. See src/com/android/tools/layoutlib/create/C…
61 The goal of the analyzer is to create a graph of all the classes from the input JAR with their
64 To do that, the analyzer is created with a list of base classes to keep -- everything that derives
73 The analyzer is also given a list of classes to exclude. A fake implementation of these classes is
76 With this information, the analyzer parses the input zip to find all the classes. All classes
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/apks/install_bad_dex/
DAndroid.bp18 // Inject bad classes.dex file.
27 "classes.dex",
30 cmd: "$(location soong_zip) -o $(genDir)/classes.dex.zip -j -f $(location classes.dex) && " +
31 "$(location merge_zips) -ignore-duplicates $(out) $(genDir)/classes.dex.zip " +
/frameworks/base/config/
DAndroid.bp33 name: "preloaded-classes",
34 src: "preloaded-classes",
35 filename: "preloaded-classes",
40 name: "preloaded-classes-denylist",
41 srcs: ["preloaded-classes-denylist"],
DREADME.md10 * preloaded-classes: classes that will be allocated in the boot image, and
12 * preloaded-classes-denylist: Classes that should not be initialized in the
DOWNERS6 per-file generate-preloaded-classes.sh = islamelbanna@google.com, ngeoffray@google.com, vmarko@goog…
7 per-file preloaded-classes* = islamelbanna@google.com, ngeoffray@google.com, vmarko@google.com
/frameworks/base/tools/bit/
Dmake.cpp57 for (vector<string>::const_iterator c = classes.begin(); c != classes.end(); c++) { in HasClass()
240 get_values(value, "class", &module.classes); in read_modules()
245 for (ssize_t i = module.classes.size() - 1; i >= 0; i--) { in read_modules()
246 string cl = module.classes[i]; in read_modules()
249 module.classes.erase(module.classes.begin() + i); in read_modules()
252 if (module.classes.size() == 0) { in read_modules()
/frameworks/base/tools/hoststubgen/hoststubgen/
Dframework-policy-override.txt7 # (We need to figure out what to do on auto-generated classes.)
13 # - To put the entire class, including its members and nested classes, in the "stub" jar,
18 # - To put the entire class, including its members and nested classes, in the "impl" jar,
25 # All other classes will be removed from both the stub jar and impl jar.
30 # Directions on auto-generated classes, where we can't use Java annotations (yet).
42 # Actual framework classes
45 # Put basic exception classes in the "impl" jar.
58 # more classes.
89 # Expose Parcel, Parcel and there relevant classes, which are used by ArrayMapTets.
/frameworks/base/services/robotests/
DREADME10 Robolectric loads some classes that it decides from versioned jars of the framework. Since we are
11 part of the framework some of our classes get loaded from these jars. This is NOT what we want, we
13 FrameworkRobolectricTestRunner, that bypasses these jars and loads certain classes from the system
16 To specify which classes to load use either @SystemLoaderClasses or @SystemLoaderPackages. In
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/
DHelper.kt35 classes: ClassNodes, in checkSubstitutionMethodCompatibility()
42 val from = classes.findMethod(className, fromMethodName, descriptor) in checkSubstitutionMethodCompatibility()
49 val to = classes.findMethod(className, toMethodName, descriptor) in checkSubstitutionMethodCompatibility()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DUtils.java31 String[] classes = classList.split(","); in getTargetsFromLegacyJackConfig() local
35 int total = classes.length; in getTargetsFromLegacyJackConfig()
42 config.add(new LockTarget(classes[i], requests[i], resets[i])); in getTargetsFromLegacyJackConfig()
/frameworks/base/media/lib/remotedisplay/
DREADME.txt3 containing classes required by unbundled remote display providers.
10 app statically or dynamically, the real classes are loaded from the shared
18 o This library can see and instantiate internal platform classes, but it must not
20 break clients of the library because they cannot see the internal platform classes.
29 platform classes.
/frameworks/base/media/lib/tvremote/
DREADME.txt2 containing classes required by unbundled atv remote providers.
9 o This library can see and instantiate internal platform classes, but it must not
11 break clients of the library because they cannot see the internal platform classes.
20 platform classes.
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/
Drun-test-manually.sh44 tiny_framework_classes=$out/tiny-framework/classes/
49 tiny_test_classes=$out/tiny-test/classes/
96 --annotation-allowed-classes-file annotation-allowed-classes-tiny-framework.txt \
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGen.kt205 classes: ClassNodes, in <lambda>()
225 filter, packageRedirector, enableChecker, classes, errors, in <lambda>()
257 classes: ClassNodes, in <lambda>()
273 packageRedirector, enableChecker, classes, errors, stats) in <lambda>()
325 classes: ClassNodes, in <lambda>()
343 stubOutStream, filter, packageRedirector, enableChecker, classes, in <lambda>()
356 implOutStream, filter, packageRedirector, enableChecker, classes, in <lambda>()
375 classes: ClassNodes, in <lambda>()
397 outVisitor = BaseAdapter.getVisitor(classInternalName, classes, outVisitor, filter, in <lambda>()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp501 ftl::Flags<InputDeviceClass> classes = contextPtr.getDeviceClasses(); in createMappers() local
505 if (classes.test(InputDeviceClass::SWITCH)) { in createMappers()
510 if (classes.test(InputDeviceClass::ROTARY_ENCODER)) { in createMappers()
515 if (classes.test(InputDeviceClass::VIBRATOR)) { in createMappers()
521 if (classes.test(InputDeviceClass::BATTERY) || classes.test(InputDeviceClass::LIGHT)) { in createMappers()
527 if (classes.test(InputDeviceClass::KEYBOARD)) { in createMappers()
530 if (classes.test(InputDeviceClass::DPAD)) { in createMappers()
533 if (classes.test(InputDeviceClass::GAMEPAD)) { in createMappers()
543 if (classes.test(InputDeviceClass::CURSOR)) { in createMappers()
548 if (classes.test(InputDeviceClass::TOUCHPAD) && classes.test(InputDeviceClass::TOUCH_MT)) { in createMappers()
[all …]
/frameworks/base/media/lib/signer/
DREADME.txt3 containing classes required by unbundled apps running on devices that use
12 app statically or dynamically, the real classes are loaded from the shared
20 o This library can see and instantiate internal platform classes, but it must not
22 break clients of the library because they cannot see the internal platform classes.
30 Unbundled apps cannot use internal platform classes.
/frameworks/base/packages/SystemUI/docs/
Dstatus-bar-data-pipeline.md30 The classes in the data layer are `repository` instances. The classes in the
31 domain layer are `interactor` instances. The classes in the UI layer are
49 into something consumable by the ViewModel classes. For example,
62 `applyMobileState` mechanism that existed in the `IconManager` classes of the
66 Any new fields added to the ViewModel classes need to be equivalently bound to
81 connections, and multiple instances of child classes that manage information for
86 list of child `MobileConnectionRepository` classes. `MobileConnectionRepository`
98 The new pipeline completely replaces these classes:
108 Any customizations in any of these classes will need to be migrated to the new
123 1. In the data layer (`repository` classes), add a new `StateFlow` that listens
[all …]
/frameworks/base/ravenwood/
DOWNERS7 per-file ravenwood-annotation-allowed-classes.txt = dplotnikov@google.com
8 per-file texts/ravenwood-annotation-allowed-classes.txt = dplotnikov@google.com

1234567