Home
last modified time | relevance | path

Searched refs:components (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/infra/
DWhitelistHelper.java58 @Nullable ArraySet<ComponentName> components) { in setWhitelist() argument
60 if (packageNames == null && components == null) return; in setWhitelist()
63 || (components != null && components.isEmpty())) { in setWhitelist()
75 if (components != null) { in setWhitelist()
76 for (int i = 0; i < components.size(); i++) { in setWhitelist()
77 final ComponentName component = components.valueAt(i); in setWhitelist()
98 @Nullable List<ComponentName> components) { in setWhitelist() argument
101 final ArraySet<ComponentName> componentsSet = components == null ? null in setWhitelist()
102 : new ArraySet<>(components); in setWhitelist()
164 final ArraySet<ComponentName> components = mWhitelistedPackages.valueAt(i); in dump() local
[all …]
DGlobalWhitelistState.java53 @Nullable List<ComponentName> components) { in setWhitelist() argument
63 helper.setWhitelist(packageNames, components); in setWhitelist()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp111 EGLint components[3]; in TEST_F() local
113 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F()
116 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F()
119 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); in TEST_F()
123 EXPECT_GE(components[0], 8); in TEST_F()
124 EXPECT_GE(components[1], 8); in TEST_F()
125 EXPECT_GE(components[2], 8); in TEST_F()
185 EGLint components[4]; in TEST_F() local
187 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F()
190 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp61 components(0), in VertexAttrib()
611 int components, in CheckValueCount() argument
613 if (expected_count != (value_size / components)) { in CheckValueCount()
617 expected_count, components * expected_count, in CheckValueCount()
618 value_size / components, value_size); in CheckValueCount()
626 int components, in CheckValueMult() argument
628 if (value_size % components != 0) { in CheckValueMult()
631 components, value_size); in CheckValueMult()
714 const int components = GLEnv::NumberOfComponents(type); in SetUniformValue() local
715 if (!CheckValueCount("Uniform (int)", name, capacity, components, count) in SetUniformValue()
[all …]
Dshader_program.h261 int components,
276 int components,
290 int components);
297 int components);
415 int components; member
473 int components,
480 int components,
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DWhitelistHelperTest.java84 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()
/frameworks/native/cmds/lshal/
Dutils.cpp29 std::vector<std::string> components{}; in split() local
33 components.push_back(s.substr(startPos, matchPos - startPos)); in split()
38 components.push_back(s.substr(startPos)); in split()
40 return components; in split()
Dutils.h59 std::string join(const A &components, const std::string &separator) { in join() argument
62 for (const auto &component : components) { in join()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java59 TrivalentPredicate[] components = new TrivalentPredicate[] { in create() local
69 return new NitzSignalInputFilterPredicateImpl(components); in create()
254 public NitzSignalInputFilterPredicateImpl(@NonNull TrivalentPredicate[] components) {
255 this.mComponents = Arrays.copyOf(components, components.length);
/frameworks/base/graphics/java/android/graphics/
DColor.java365 private Color(@Size(min = 4, max = 5) float[] components, @NonNull ColorSpace colorSpace) { in Color()
366 mComponents = components; in Color()
584 public float[] getComponents(@Nullable @Size(min = 4) float[] components) { in getComponents()
585 if (components == null) { in getComponents()
589 if (components.length < mComponents.length) { in getComponents()
594 System.arraycopy(mComponents, 0, components, 0, mComponents.length); in getComponents()
595 return components; in getComponents()
962 public static Color valueOf(@NonNull @Size(min = 4, max = 5) float[] components, in valueOf()
964 if (components.length < colorSpace.getComponentCount() + 1) { in valueOf()
966 components.length + " but the color model requires " + in valueOf()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java96 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()
773 private void checkUniformAssignment(ProgramUniform uniform, int values, int components) { in checkUniformAssignment() argument
774 if (values % components != 0) { in checkUniformAssignment()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
DREADME.md4 Functionality of master is to enumerate all the Codec2 components available in C2 media service.
9 …mponent test is to validate common functionality across all the Codec2 components available in C2 …
16 Functionality of audio test is to validate audio specific functionality of Codec2 components. The r…
27 Functionality of video test is to validate video specific functionality of Codec2 components. The r…
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java487 void setEnabledComponents(ArraySet<String> components, int userId) { in setEnabledComponents() argument
488 modifyUserState(userId).enabledComponents = components; in setEnabledComponents()
491 void setDisabledComponents(ArraySet<String> components, int userId) { in setDisabledComponents() argument
492 modifyUserState(userId).disabledComponents = components; in setDisabledComponents()
495 void setEnabledComponentsCopy(ArraySet<String> components, int userId) { in setEnabledComponentsCopy() argument
496 modifyUserState(userId).enabledComponents = components != null in setEnabledComponentsCopy()
497 ? new ArraySet<String>(components) : null; in setEnabledComponentsCopy()
500 void setDisabledComponentsCopy(ArraySet<String> components, int userId) { in setDisabledComponentsCopy() argument
501 modifyUserState(userId).disabledComponents = components != null in setDisabledComponentsCopy()
502 ? new ArraySet<String>(components) : null; in setDisabledComponentsCopy()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java223 private static String componentListToString(List<ComponentName> components) { in componentListToString() argument
226 for (int i = 0; i < components.size(); ++i) { in componentListToString()
230 stringBuilder.append(componentToString(components.get(i))); in componentListToString()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DRemoteServiceCallback.aidl28 void onResult(in List<ComponentName> components, in List<IBinder> callServices); in onResult() argument
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java562 private void propagateApplicationInfo(ApplicationInfo appInfo, ComponentInfo[] components) { in propagateApplicationInfo() argument
563 if (components != null) { in propagateApplicationInfo()
564 for (ComponentInfo ci : components) { in propagateApplicationInfo()
/frameworks/base/libs/hwui/private/
DREADME4 various framework components. Use at your peril.
/frameworks/av/include/private/
DREADME4 various framework components. Use at your peril.
/frameworks/ml/nn/
DREADME.txt31 ./common: Contains files that can be useful for multiple components,
34 ./common/include: Header files to be used by the components using common.
/frameworks/av/media/codec2/components/gav1/
DAndroid.bp8 // coordinated with frameworks/av/media/codec2/components/aom/Android.bp
/frameworks/av/media/codec2/components/aom/
DAndroid.bp8 // coordinated with frameworks/av/media/codec2/components/gav1/Android.bp
/frameworks/compile/libbcc/bcinfo/Wrap/
DLLVMBuild.txt10 ; This is an LLVMBuild description file for the components in this subdirectory.
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DLLVMBuild.txt10 ; This is an LLVMBuild description file for the components in this subdirectory.
/frameworks/base/tests/ActivityManagerPerfTests/
DREADME.txt3 Performance tests for various ActivityManager components, e.g. Services, Broadcasts
35 * Add any components you will test against in the target package under
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java181 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() argument
182 if (components != null) { in onPackageChanged()
183 for (String name : components) { in onPackageChanged()

123