Home
last modified time | relevance | path

Searched refs:components (Results 1 – 25 of 73) 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/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/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/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.h60 std::string join(const A &components, const std::string &separator) { in join() argument
63 for (const auto &component : components) { in join()
/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 …
15 Functionality of audio test is to validate audio specific functionality Codec2 components. The reso…
24 Functionality of video test is to validate video specific functionality Codec2 components. The reso…
/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/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java474 void setEnabledComponents(ArraySet<String> components, int userId) { in setEnabledComponents() argument
475 modifyUserState(userId).enabledComponents = components; in setEnabledComponents()
478 void setDisabledComponents(ArraySet<String> components, int userId) { in setDisabledComponents() argument
479 modifyUserState(userId).disabledComponents = components; in setDisabledComponents()
482 void setEnabledComponentsCopy(ArraySet<String> components, int userId) { in setEnabledComponentsCopy() argument
483 modifyUserState(userId).enabledComponents = components != null in setEnabledComponentsCopy()
484 ? new ArraySet<String>(components) : null; in setEnabledComponentsCopy()
487 void setDisabledComponentsCopy(ArraySet<String> components, int userId) { in setDisabledComponentsCopy() argument
488 modifyUserState(userId).disabledComponents = components != null in setDisabledComponentsCopy()
489 ? new ArraySet<String>(components) : null; in setDisabledComponentsCopy()
/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/libs/hwui/private/
DREADME4 various framework components. Use at your peril.
/frameworks/av/include/private/
DREADME4 various framework components. Use at your peril.
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java222 private static String componentListToString(List<ComponentName> components) { in componentListToString() argument
225 for (int i = 0; i < components.size(); ++i) { in componentListToString()
229 stringBuilder.append(componentToString(components.get(i))); in componentListToString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.h251 LIBPROTOBUF_EXPORT void JoinStrings(const vector<string>& components,
254 inline string JoinStrings(const vector<string>& components, in JoinStrings() argument
257 JoinStrings(components, delim, &result); in JoinStrings()
767 string Join(const Range& components, in Join() argument
770 Join(components.begin(), components.end(), delim, &result); in Join()
/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/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/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.java176 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() argument
177 if (components != null) { in onPackageChanged()
178 for (String name : components) { in onPackageChanged()
/frameworks/av/media/codec2/vndk/
DAndroid.bp80 // public dependency for implementing Codec 2 components
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_pool.py789 components = _PrefixWithDot(package).split('.')
790 while components:
791 possible_match = '.'.join(components + [type_name])
796 components.pop(-1)

123