/aosp14/frameworks/base/core/java/com/android/internal/infra/ |
H A D | WhitelistHelper.java | 57 @Nullable ArraySet<ComponentName> components) { in setWhitelist() argument 59 if (packageNames == null && components == null) return; in setWhitelist() 62 || (components != null && components.isEmpty())) { in setWhitelist() 74 if (components != null) { in setWhitelist() 75 for (int i = 0; i < components.size(); i++) { in setWhitelist() 97 @Nullable List<ComponentName> components) { in setWhitelist() argument 101 : new ArraySet<>(components); in setWhitelist() 174 if (components == null) { in dump() 179 pw.print("["); pw.print(components.valueAt(0)); in dump() 180 for (int j = 1; j < components.size(); j++) { in dump() [all …]
|
H A D | GlobalWhitelistState.java | 53 @Nullable List<ComponentName> components) { in setWhitelist() argument 63 helper.setWhitelist(packageNames, components); in setWhitelist()
|
/aosp14/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 61 components(0), in VertexAttrib() 628 if (value_size % components != 0) { in CheckValueMult() 631 components, value_size); in CheckValueMult() 720 const int n = count / components; in SetUniformValue() 771 const int n = count / components; in SetUniformValue() 958 attrib.components = components; in SetAttributeValues() 984 attrib.components = components; in SetAttributeValues() 1009 if (total % components != 0) { in SetAttributeValues() 1012 components, total); in SetAttributeValues() 1024 attrib.components = components; in SetAttributeValues() [all …]
|
H A D | shader_program.h | 261 int components, 276 int components, 290 int components); 297 int components); 415 int components; member 473 int components, 480 int components,
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
H A D | WhitelistHelperTest.java | 84 final ArraySet<ComponentName> components = new ArraySet<>(); in testSetWhitelist_nullActivity() local 85 components.add(null); in testSetWhitelist_nullActivity() 86 mWhitelistHelper.setWhitelist(null, components); in testSetWhitelist_nullActivity() 98 final ArraySet<ComponentName> components = new ArraySet<>(); in testSetWhitelist_replaceWhitelist() local 99 components.add(mComponent1); in testSetWhitelist_replaceWhitelist() 100 mWhitelistHelper.setWhitelist(null, components); in testSetWhitelist_replaceWhitelist() 127 final ArraySet<ComponentName> components = new ArraySet<>(); in testIsWhitelisted_activityWhitelisted() local 128 components.add(mComponent1); in testIsWhitelisted_activityWhitelisted() 129 mWhitelistHelper.setWhitelist(null, components); in testIsWhitelisted_activityWhitelisted()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/ |
H A D | dagger.md | 19 components in the shell are provided is as a result a bit more verbose, but it makes it easy for 20 developers to jump into a few select files and understand how different components are provided 21 (especially as products override components). 25 (provides threading-related components) 27 (provides components that are likely common to all products, ie. DisplayController, 30 (phone/tablet specific components only) 32 (PIP specific components for TV) 34 (TV specific components only) 40 ## Overriding base components 42 In some rare cases, there are base components that can change behavior depending on which
|
H A D | changes.md | 18 ### Internal Shell components 19 If the new component is to be used by other components/features within the Shell library, then 25 - `WMShellBaseModule` for components that other base & product components will depend on 26 - or `WMShellModule`, `TvWmShellModule`, etc. for product specific components that no base 27 components depend on 29 ### SysUI accessible components 35 In addition, because components accessible to SysUI injection are explicitly listed, you'll have to 46 ### Launcher accessible components 85 - Add unit tests for all new components 92 - **Don't** create dependencies from base-module components on specific features (the base module
|
H A D | sysui.md | 27 the `SysUIComponent#Builder`, then builds the SysUI scoped components 31 5) SysUI can inject the interfaces into its own components 35 ## Interfaces from SysUI to Shell components 37 Within the same process, the WM Shell components can be running on a different thread than the main 41 As a result, we enforce explicit interfaces between SysUI and Shell components, and the 74 on individual Shell components, or to dump individual shell components.
|
H A D | threading.md | 30 components depend on it 46 The threading-related components are provided by the [WMShellConcurrencyModule](frameworks/base/lib… 58 thread, and this reduces the likelihood that components will intiailize on the wrong thread
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PendingPackageBroadcasts.java | 54 public void put(int userId, String packageName, ArrayList<String> components) { in put() argument 57 packages.put(packageName, components); in put() 64 ArrayList<String> components = getOrAllocate(userId, packageName); in addComponent() local 65 if (!components.contains(componentClassName)) { in addComponent() 66 components.add(componentClassName); in addComponent() 74 ArrayList<String> components = getOrAllocate(userId, packageName); in addComponents() local 77 if (!components.contains(componentClassName)) { in addComponents() 78 components.add(componentClassName); in addComponents()
|
H A D | PackageProperty.java | 136 @NonNull List<T> components, in addComponentProperties() 140 final int componentsSize = components.size(); in addComponentProperties() 142 final Map<String, Property> properties = components.get(i).getProperties(); in addComponentProperties() 183 @NonNull List<T> components, in removeComponentProperties() 187 final int componentsSize = components.size(); in removeComponentProperties() 189 final Map<String, Property> properties = components.get(i).getProperties(); in removeComponentProperties()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | WatchedIntentHandlingTest.java | 93 ComponentName[] components = new ComponentName[10]; in testPreferredActivity() local 94 for (int i = 0; i < components.length; i++) { in testPreferredActivity() 95 components[i] = new ComponentName("Package_" + i, "Class_" + i); in testPreferredActivity() 98 PreferredActivity a = new PreferredActivity(i, 1, components, component, true); in testPreferredActivity() 141 ComponentName[] components = new ComponentName[10]; in testPreferredIntentResolver() local 142 for (int i = 0; i < components.length; i++) { in testPreferredIntentResolver() 143 components[i] = new ComponentName("Package_" + i, "Class_" + i); in testPreferredIntentResolver() 146 PreferredActivity a1 = new PreferredActivity(i, 1, components, component, true); in testPreferredIntentResolver()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | Gainmap.cpp | 108 static void Gainmap_getRatioMin(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getRatioMin() argument 111 env->SetFloatArrayRegion(components, 0, 3, buf); in Gainmap_getRatioMin() 118 static void Gainmap_getRatioMax(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getRatioMax() argument 121 env->SetFloatArrayRegion(components, 0, 3, buf); in Gainmap_getRatioMax() 128 static void Gainmap_getGamma(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getGamma() argument 131 env->SetFloatArrayRegion(components, 0, 3, buf); in Gainmap_getGamma() 139 static void Gainmap_getEpsilonSdr(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getEpsilonSdr() argument 142 env->SetFloatArrayRegion(components, 0, 3, buf); in Gainmap_getEpsilonSdr() 150 static void Gainmap_getEpsilonHdr(JNIEnv* env, jobject, jlong gainmapPtr, jfloatArray components) { in Gainmap_getEpsilonHdr() argument 153 env->SetFloatArrayRegion(components, 0, 3, buf); in Gainmap_getEpsilonHdr()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | Gainmap.java | 343 private static native void nGetRatioMin(long ptr, float[] components); in nGetRatioMin() argument 346 private static native void nGetRatioMax(long ptr, float[] components); in nGetRatioMax() argument 349 private static native void nGetGamma(long ptr, float[] components); in nGetGamma() argument 352 private static native void nGetEpsilonSdr(long ptr, float[] components); in nGetEpsilonSdr() argument 355 private static native void nGetEpsilonHdr(long ptr, float[] components); in nGetEpsilonHdr() argument
|
H A D | Color.java | 364 private Color(@Size(min = 4, max = 5) float[] components, @NonNull ColorSpace colorSpace) { in Color() 365 mComponents = components; in Color() 583 public float[] getComponents(@Nullable @Size(min = 4) float[] components) { in getComponents() 584 if (components == null) { in getComponents() 588 if (components.length < mComponents.length) { in getComponents() 593 System.arraycopy(mComponents, 0, components, 0, mComponents.length); in getComponents() 594 return components; in getComponents() 961 public static Color valueOf(@NonNull @Size(min = 4, max = 5) float[] components, in valueOf() 963 if (components.length < colorSpace.getComponentCount() + 1) { in valueOf() 965 components.length + " but the color model requires " + in valueOf() [all …]
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ImageShader.java | 96 public void set(boolean normalize, int stride, int components, int type, float[] values) { in set() argument 100 mComponents = components; in set() 110 public void set(boolean normalize, int offset, int stride, int components, int type, in set() argument 116 mComponents = components; in set() 400 public void setAttributeValues(String attributeName, float[] data, int components) { in setAttributeValues() argument 402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data); in setAttributeValues() 405 public void setAttributeValues(String attributeName, int vbo, int type, int components, in setAttributeValues() argument 408 attr.set(normalize, offset, stride, components, type, vbo); in setAttributeValues() 774 if (values % components != 0) { in checkUniformAssignment() 777 + components + ")!"); in checkUniformAssignment() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/ |
H A D | SystemPackageResetHelper.java | 107 String[] components = intent.getStringArrayExtra( in onReceive() local 109 if (components != null) { in onReceive() 110 for (String component : components) { in onReceive()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/ |
H A D | FakeInstalledTilesComponentRepository.kt | 33 fun setInstalledPackagesForUser(userId: Int, components: Set<ComponentName>) { 34 getFlow(userId).value = components
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | BatteryStatsManagerTest.java | 43 final int[] components = in testBatteryUsageStatsDataConsistency() local 54 for (int component : components) { in testBatteryUsageStatsDataConsistency()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ScreenshotDetectionController.kt | 45 val components = windowManager.notifyScreenshotListeners(Display.DEFAULT_DISPLAY) regex 48 return components.map {
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 495 int64_t components = 0; in extractP010Gralloc4PlaneLayout() local 496 for (const PlaneLayoutComponent &component : layout.components) { in extractP010Gralloc4PlaneLayout() 500 components |= component.type.value; in extractP010Gralloc4PlaneLayout() 502 if (components == Y_PLANE_COMPONENTS) { in extractP010Gralloc4PlaneLayout() 506 if (layout.components[0].offsetInBits != 6) { in extractP010Gralloc4PlaneLayout() 511 } else if (components == CBCR_PLANE_COMPONENTS) { in extractP010Gralloc4PlaneLayout() 515 for (const PlaneLayoutComponent &component : layout.components) { in extractP010Gralloc4PlaneLayout()
|
/aosp14/frameworks/base/telecomm/java/com/android/internal/telecom/ |
H A D | RemoteServiceCallback.aidl | 28 void onResult(in List<ComponentName> components, in List<IBinder> callServices); in onResult() argument
|
/aosp14/frameworks/base/libs/hwui/private/ |
H A D | README | 4 various framework components. Use at your peril.
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenLog.java | 267 private static String componentListToString(List<ComponentName> components) { in componentListToString() argument 270 for (int i = 0; i < components.size(); ++i) { in componentListToString() 274 stringBuilder.append(componentToString(components.get(i))); in componentListToString()
|
/aosp14/frameworks/base/core/java/android/timezone/ |
H A D | OWNERS | 3 # unbundled components like a telephony mainline module and the ART module. Not exposed, potentially
|