Home
last modified time | relevance | path

Searched refs:required (Results 1 – 25 of 2546) sorted by relevance

12345678910>>...102

/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/util/
DXmlUtils.java137 public static Element getSingleChildElement(Node parentEle, String tagName, boolean required) in getSingleChildElement() argument
149 if (required) { in getSingleChildElement()
273 public static List<String> getPipelineSplitAttr(Element ele, String attrName, boolean required) in getPipelineSplitAttr() argument
276 if ((list.isEmpty() || list.get(0).isEmpty()) && required) { in getPipelineSplitAttr()
286 public static Boolean getBoolAttr(Element ele, String attrName, boolean required) in getBoolAttr() argument
289 if (b == null && required) { in getBoolAttr()
299 public static Boolean getOdBoolEle(Element ele, String nameName, boolean required) in getOdBoolEle() argument
311 if (required) { in getOdBoolEle()
320 if (b == null && required) { in getOdBoolEle()
330 public static Long getOdLongEle(Element ele, String nameName, boolean required) in getOdLongEle() argument
[all …]
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dcomponents_expected_proto.txt108 required: true
112 required: true
131 required: true
139 required: true
143 required: true
151 required: true
158 required: true
/frameworks/compile/slang/tests/F_multi_export_errors/
Dstderr.txt.expect1 multi_export_errors.rscript:4:5: error: init(void) is required to have a void return type
2 multi_export_errors.rscript:8:6: error: root() is required to return an int for graphics usage
3 multi_export_errors.rscript:11:5: error: invokable non-static functions are required to return void
/frameworks/compile/slang/tests/F_kernel_noattr/
Dstderr.txt.expect1 kernel_noattr.rscript:4:5: error: Compute kernel root() is required to return a void type
3 kernel_noattr.rscript:11:5: error: invokable non-static functions are required to return void
4 kernel_noattr.rscript:15:5: error: invokable non-static functions are required to return void
/frameworks/base/tests/privapp-permissions/
DAndroid.bp15 required: ["privapp-permissions-test.xml"],
30 required: ["vendorprivapp-permissions-test.xml"],
46 required: ["productprivapp-permissions-test.xml"],
62 required: ["system_extprivapp-permissions-test.xml"],
/frameworks/base/libs/WindowManager/Shell/proto/
Dwm_shell_transition_trace.proto10 * Unless required by applicable law or agreed to in writing, software
37 required fixed64 magic_number = 1;
46 required int32 id = 1;
56 required int32 id = 1;
57 required string name = 2;
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp69 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
78 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri()
104 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
106 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
123 MAX_NUMBER_INTERFACES, iidArray, required); in TestPlayUri()
DslesTestPlayStreamType.cpp72 SLboolean required[MAX_NUMBER_INTERFACES]; in TestStreamTypeConfiguration() local
81 required[i] = SL_BOOLEAN_FALSE; in TestStreamTypeConfiguration()
89 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestStreamTypeConfiguration()
107 required[0] = SL_BOOLEAN_TRUE; in TestStreamTypeConfiguration()
110 required[1] = SL_BOOLEAN_TRUE; in TestStreamTypeConfiguration()
129 MAX_NUMBER_INTERFACES, iidArray, required); in TestStreamTypeConfiguration()
DslesTestPlayUri2.cpp85 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
94 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
99 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
101 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri()
138 iidArray, required); in TestPlayUri()
145 iidArray, required); in TestPlayUri()
DslesTestLoopUri.cpp142 SLboolean required[MAX_NUMBER_INTERFACES]; in TestLoopUri() local
151 required[i] = SL_BOOLEAN_FALSE; in TestLoopUri()
155 required[0] = SL_BOOLEAN_TRUE; in TestLoopUri()
159 iidArray, required); CheckErr(res); in TestLoopUri()
182 required[0] = SL_BOOLEAN_TRUE; in TestLoopUri()
184 required[1] = SL_BOOLEAN_TRUE; in TestLoopUri()
187 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestLoopUri()
DslesTestSlowDownUri.cpp199 SLboolean required[MAX_NUMBER_INTERFACES]; in TestSlowDownUri() local
207 required[i] = SL_BOOLEAN_FALSE; in TestSlowDownUri()
211 required[0] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
215 iidArray, required); CheckErr(res); in TestSlowDownUri()
238 required[0] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
240 required[1] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
242 required[2] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
245 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestSlowDownUri()
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp128 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlaySawtoothBufferQueue() local
141 required[i] = SL_BOOLEAN_FALSE; in TestPlaySawtoothBufferQueue()
146 required[0] = SL_BOOLEAN_TRUE; in TestPlaySawtoothBufferQueue()
150 iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
196 required[0] = SL_BOOLEAN_TRUE; in TestPlaySawtoothBufferQueue()
201 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
DslesTestSendToPresetReverb.cpp102 SLboolean required[MAX_NUMBER_INTERFACES]; in TestSendToPresetReverb() local
111 required[i] = SL_BOOLEAN_FALSE; in TestSendToPresetReverb()
119 required[0] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
123 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestSendToPresetReverb()
163 required[0] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
165 required[1] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
167 required[2] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
201 iidArray, required); in TestSendToPresetReverb()
DslesTestEffectCapabilities.cpp79 SLboolean required[MAX_NUMBER_INTERFACES]; in TestGenericFxCapabilities() local
84 required[i] = SL_BOOLEAN_FALSE; in TestGenericFxCapabilities()
89 required[0] = SL_BOOLEAN_TRUE; in TestGenericFxCapabilities()
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); in TestGenericFxCapabilities()
DslesTestBassBoostPath.cpp76 SLboolean required[MAX_NUMBER_INTERFACES]; in TestBassBoostPathFromFD() local
85 required[i] = SL_BOOLEAN_FALSE; in TestBassBoostPathFromFD()
93 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestBassBoostPathFromFD()
111 required[0] = SL_BOOLEAN_TRUE; in TestBassBoostPathFromFD()
113 required[1] = SL_BOOLEAN_TRUE; in TestBassBoostPathFromFD()
146 iidArray, required); in TestBassBoostPathFromFD()
DslesTestVirtualizerPath.cpp77 SLboolean required[MAX_NUMBER_INTERFACES]; in TestVirtualizerPathFromFD() local
86 required[i] = SL_BOOLEAN_FALSE; in TestVirtualizerPathFromFD()
94 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestVirtualizerPathFromFD()
112 required[0] = SL_BOOLEAN_TRUE; in TestVirtualizerPathFromFD()
114 required[1] = SL_BOOLEAN_TRUE; in TestVirtualizerPathFromFD()
147 iidArray, required); in TestVirtualizerPathFromFD()
DslesTestPlayFdPath.cpp92 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayPathFromFD() local
101 required[i] = SL_BOOLEAN_FALSE; in TestPlayPathFromFD()
109 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayPathFromFD()
127 required[0] = SL_BOOLEAN_TRUE; in TestPlayPathFromFD()
152 iidArray, required); in TestPlayPathFromFD()
/frameworks/base/core/proto/android/server/
Dwindowmanagertransitiontrace.proto10 * Unless required by applicable law or agreed to in writing, software
40 required fixed64 magic_number = 1;
49 required int32 id = 1;
63 required int32 mode = 1;
64 required int32 layer_id = 2;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java49 private void addClass(Class<?> cls, boolean required) { in addClass() argument
57 mVersions.put(requires.target(), new Version(requires.version(), required)); in addClass() local
62 mVersions.put(r.target(), new Version(r.version(), required)); in addClass() local
155 public Version(int version, boolean required) { in Version() argument
157 mRequired = required; in Version()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp119 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
128 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
133 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
135 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
139 iidArray, required); CheckErr(res); in TestPlayUri()
163 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java185 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() argument
190 i.putExtra(EXTRA_REQUIRED_HASH, required); in sendIntent()
195 private String runTest(String cert, String content, String version, String required, String sig) in runTest() argument
200 sendIntent(contentPath, version, required, sig); in runTest()
205 private String runTestWithoutSig(String cert, String content, String version, String required) in runTestWithoutSig() argument
207 String sig = createSignature(content, version, required); in runTestWithoutSig()
208 return runTest(cert, content, version, required, sig); in runTestWithoutSig()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProtection.java856 public Builder setRandomizedEncryptionRequired(boolean required) { in setRandomizedEncryptionRequired() argument
857 mRandomizedEncryptionRequired = required; in setRandomizedEncryptionRequired()
897 public Builder setUserAuthenticationRequired(boolean required) { in setUserAuthenticationRequired() argument
898 mUserAuthenticationRequired = required; in setUserAuthenticationRequired()
920 public Builder setUserConfirmationRequired(boolean required) { in setUserConfirmationRequired() argument
921 mUserConfirmationRequired = required; in setUserConfirmationRequired()
1029 public Builder setUserPresenceRequired(boolean required) { in setUserPresenceRequired() argument
1030 mUserPresenceRequired = required; in setUserPresenceRequired()
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py101 self.required = False
105 self.required = False
836 def markTypeRequired(self, typename, required): argument
838 self.gen.logMsg('diag', '*** tagging type:', typename, '-> required =', required)
845 if (required and ('requires' in type.elem.attrib)):
849 self.markTypeRequired(depType, required)
850 type.required = required
856 def markRequired(self, features, required): argument
858 …f.gen.logMsg('diag', '*** markRequired (features = <too long to print>, required =', required, ')')
863 self.markTypeRequired(typeElem.get('name'), required)
[all …]
/frameworks/libs/binary_translation/android_api/libmediandk/
DAndroid.bp9 // Unless required by applicable law or agreed to in writing, software
25 // TODO(b/311454594): Remove when no longer required.
26 // libandroid is indirectly required by libmediandk. We include libadroid here to
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DFlowDumper.kt103 updateRegistration(required = true) in <lambda>()
108 updateRegistration(required = false) in <lambda>()
124 private fun updateRegistration(required: Boolean) { in updateRegistration()
126 if (required && registered.get()) return in updateRegistration()

12345678910>>...102