Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/compile/slang/tests/F_multi_export_errors/
Dstderr.txt.expect1 multi_export_errors.rs:4:5: error: init(void) is required to have a void return type
2 multi_export_errors.rs:8:6: error: root() is required to return an int for graphics usage
3 multi_export_errors.rs:11:5: error: invokable non-static functions are required to return void
/frameworks/compile/slang/tests/F_kernel_noattr/
Dstderr.txt.expect1 kernel_noattr.rs:4:5: error: Compute kernel root() is required to return a void type
3 kernel_noattr.rs:11:5: error: invokable non-static functions are required to return void
4 kernel_noattr.rs:15:5: error: invokable non-static functions are required to return void
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp70 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
79 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
87 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayUri()
105 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
107 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
124 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.cpp145 SLboolean required[MAX_NUMBER_INTERFACES]; in TestLoopUri() local
154 required[i] = SL_BOOLEAN_FALSE; in TestLoopUri()
158 required[0] = SL_BOOLEAN_TRUE; in TestLoopUri()
162 iidArray, required); CheckErr(res); in TestLoopUri()
185 required[0] = SL_BOOLEAN_TRUE; in TestLoopUri()
187 required[1] = SL_BOOLEAN_TRUE; in TestLoopUri()
190 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestLoopUri()
DslesTestSlowDownUri.cpp202 SLboolean required[MAX_NUMBER_INTERFACES]; in TestSlowDownUri() local
210 required[i] = SL_BOOLEAN_FALSE; in TestSlowDownUri()
214 required[0] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
218 iidArray, required); CheckErr(res); in TestSlowDownUri()
241 required[0] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
243 required[1] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
245 required[2] = SL_BOOLEAN_TRUE; in TestSlowDownUri()
248 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestSlowDownUri()
DslesTestPlayUri.cpp148 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
157 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
162 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
164 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
168 iidArray, required); CheckErr(res); in TestPlayUri()
192 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayUri()
DslesTestGetPositionUri.cpp155 SLboolean required[NUM_EXPLICIT_INTERFACES_FOR_PLAYER]; in TestGetPositionUri() local
164 required[i] = SL_BOOLEAN_FALSE; in TestGetPositionUri()
169 required[0] = SL_BOOLEAN_TRUE; in TestGetPositionUri()
171 required[1] = SL_BOOLEAN_TRUE; in TestGetPositionUri()
175 iidArray, required); CheckErr(res); in TestGetPositionUri()
199 NUM_EXPLICIT_INTERFACES_FOR_PLAYER, iidArray, required); CheckErr(res); in TestGetPositionUri()
DslesTestManyPlayers.cpp36 SLboolean required[MAX_NUMBER_INTERFACES]; variable
152 iidArray, required); CheckErr(res); in TestSetup()
180 required[i] = SL_BOOLEAN_FALSE; in TestSetup()
184 required[0] = SL_BOOLEAN_TRUE; in TestSetup()
186 required[1] = SL_BOOLEAN_TRUE; in TestSetup()
214 &audioSource, &audioSink, MAX_NUMBER_INTERFACES, iidArray, required); in CreatePlayer()
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp131 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlaySawtoothBufferQueue() local
144 required[i] = SL_BOOLEAN_FALSE; in TestPlaySawtoothBufferQueue()
149 required[0] = SL_BOOLEAN_TRUE; in TestPlaySawtoothBufferQueue()
153 iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
199 required[0] = SL_BOOLEAN_TRUE; in TestPlaySawtoothBufferQueue()
204 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
DslesTestSendToPresetReverb.cpp103 SLboolean required[MAX_NUMBER_INTERFACES]; in TestSendToPresetReverb() local
112 required[i] = SL_BOOLEAN_FALSE; in TestSendToPresetReverb()
120 required[0] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
124 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestSendToPresetReverb()
164 required[0] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
166 required[1] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
168 required[2] = SL_BOOLEAN_TRUE; in TestSendToPresetReverb()
202 iidArray, required); in TestSendToPresetReverb()
DslesTestPlayFdPath.cpp71 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayPathFromFD() local
80 required[i] = SL_BOOLEAN_FALSE; in TestPlayPathFromFD()
88 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); in TestPlayPathFromFD()
106 required[0] = SL_BOOLEAN_TRUE; in TestPlayPathFromFD()
131 iidArray, required); in TestPlayPathFromFD()
DslesTestEffectCapabilities.cpp80 SLboolean required[MAX_NUMBER_INTERFACES]; in TestGenericFxCapabilities() local
85 required[i] = SL_BOOLEAN_FALSE; in TestGenericFxCapabilities()
90 required[0] = SL_BOOLEAN_TRUE; in TestGenericFxCapabilities()
93 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); in TestGenericFxCapabilities()
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()
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()
DslesTestEqFdPath.cpp81 SLboolean required[MAX_NUMBER_INTERFACES]; in TestEQPathFromFD() local
90 required[i] = SL_BOOLEAN_FALSE; in TestEQPathFromFD()
98 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestEQPathFromFD()
116 required[0] = SL_BOOLEAN_TRUE; in TestEQPathFromFD()
118 required[1] = SL_BOOLEAN_TRUE; in TestEQPathFromFD()
151 iidArray, required); in TestEQPathFromFD()
DslesTestEqOutputPath.cpp83 SLboolean required[MAX_NUMBER_INTERFACES]; in TestEQPathFromFD() local
92 required[i] = SL_BOOLEAN_FALSE; in TestEQPathFromFD()
100 required[0] = SL_BOOLEAN_TRUE; in TestEQPathFromFD()
104 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); in TestEQPathFromFD()
125 required[0] = SL_BOOLEAN_TRUE; in TestEQPathFromFD()
158 iidArray, required); in TestEQPathFromFD()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp122 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayUri() local
131 required[i] = SL_BOOLEAN_FALSE; in TestPlayUri()
136 required[0] = SL_BOOLEAN_TRUE; in TestPlayUri()
138 required[1] = SL_BOOLEAN_TRUE; in TestPlayUri()
142 iidArray, required); CheckErr(res); in TestPlayUri()
166 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java183 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() argument
188 i.putExtra(EXTRA_REQUIRED_HASH, required); in sendIntent()
193 private String runTest(String cert, String content, String version, String required, String sig) in runTest() argument
198 sendIntent(contentPath, version, required, sig); in runTest()
203 private String runTestWithoutSig(String cert, String content, String version, String required) in runTestWithoutSig() argument
205 String sig = createSignature(content, version, required); in runTestWithoutSig()
206 return runTest(cert, content, version, required, sig); in runTestWithoutSig()
/frameworks/native/opengl/libs/GLES_trace/
Dgltrace.proto10 * Unless required by applicable law or agreed to in writing, software
633 required Type type = 1 [default = VOID];
634 required bool isArray = 2 [default = false];
645 required int32 width = 1;
646 required int32 height = 2;
650 required int32 context_id = 1; // GL context ID
651 required int64 start_time = 2; // time when call was invoked
652 required int32 duration = 3; // duration of the call (MONOTONIC TIME)
654 required Function function = 4 [default = invalid]; // GL function called
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java109 public Builder setEncryptionRequired(boolean required) { in setEncryptionRequired() argument
110 if (required) { in setEncryptionRequired()
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp203 SLboolean required[MAX_NUMBER_INTERFACES]; in TestPlayStream() local
216 required[i] = SL_BOOLEAN_FALSE; in TestPlayStream()
221 required[0] = SL_BOOLEAN_TRUE; in TestPlayStream()
223 required[1] = SL_BOOLEAN_TRUE; in TestPlayStream()
227 iidArray, required); CheckErr(res); in TestPlayStream()
251 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayStream()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java102 int required = appInfo.requiresSmallestWidthDp != 0 in CompatibilityInfo() local
105 if (required == 0) { in CompatibilityInfo()
106 required = appInfo.largestWidthLimitDp; in CompatibilityInfo()
109 ? appInfo.compatibleWidthLimitDp : required; in CompatibilityInfo()
110 if (compat < required) { in CompatibilityInfo()
111 compat = required; in CompatibilityInfo()
115 if (required > DEFAULT_NORMAL_SHORT_DIMENSION) { in CompatibilityInfo()
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd16 <li><a href="#testing">Testing the features required by your application</a></li>
56 android:<a href="#required">required</a>=["true" | "false"]
70 application depends. The element offers a <code>required</code> attribute that
141 <dt><a name="required"></a><code>android:required</code></dt> <!-- added in api level 5 -->
146 <li>When you declare <code>"android:required="true"</code> for a feature,
151 <li>When you declare <code>"android:required="false"</code> for a feature, it
158 <p>The default value for <code>android:required</code> if not declared is
163 <dd>The OpenGL ES version required by the application. The higher 16 bits
223 <li>Features required by the application &mdash; an application declares features in
247 application's set of required features, it stores that list internally as
[all …]

12345678910>>...24