Searched defs:required (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/base/keystore/java/android/security/
H A DKeyStoreParameter.java10 * Unless required by applicable law or agreed to in writing, software
131 public Builder setEncryptionRequired(boolean required) { argument
132 if (required) {
143 * @throws IllegalArgumentException if a required field is missing
/frameworks/base/tools/aapt2/
H A DFlags.h10 * Unless required by applicable law or agreed to in writing, software
55 bool required; member in struct:aapt::Flags::Flag
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp10 * Unless required by applicable law or agreed to in writing, software
79 SLboolean required[MAX_NUMBER_INTERFACES]; local
82 /* Initialize arrays required[] and iidArray[] */
84 required[i] = SL_BOOLEAN_FALSE;
89 required[0] = SL_BOOLEAN_TRUE;
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required);
H A DslesTestBassBoostPath.cpp10 * Unless required by applicable law or agreed to in writing, software
76 SLboolean required[MAX_NUMBER_INTERFACES]; local
83 /* Initialize arrays required[] and iidArray[] */
85 required[i] = SL_BOOLEAN_FALSE;
93 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
109 /* Set arrays required[] and iidArray[] for required interfaces */
111 required[0] = SL_BOOLEAN_TRUE;
113 required[1] = SL_BOOLEAN_TRUE;
146 iidArray, required);
[all...]
H A DslesTestPlayFdPath.cpp10 * Unless required by applicable law or agreed to in writing, software
92 SLboolean required[MAX_NUMBER_INTERFACES]; local
99 /* Initialize arrays required[] and iidArray[] */
101 required[i] = SL_BOOLEAN_FALSE;
109 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
125 /* Set arrays required[] and iidArray[] for SLPrefetchStatusItf interfaces */
127 required[0] = SL_BOOLEAN_TRUE;
152 iidArray, required);
H A DslesTestSawtoothBufferQueue.cpp10 * Unless required by applicable law or agreed to in writing, software
128 SLboolean required[MAX_NUMBER_INTERFACES]; local
138 /* Initialize arrays required[] and iidArray[] */
141 required[i] = SL_BOOLEAN_FALSE;
145 // Set arrays required[] and iidArray[] for VOLUME interface
146 required[0] = SL_BOOLEAN_TRUE;
150 iidArray, required); CheckErr(res);
194 /* Set arrays required[] and iidArray[] for SEEK interface
196 required[0] = SL_BOOLEAN_TRUE;
201 &audioSource, &audioSink, 1, iidArray, required); CheckEr
[all...]
H A DslesTestVirtualizerPath.cpp10 * Unless required by applicable law or agreed to in writing, software
77 SLboolean required[MAX_NUMBER_INTERFACES]; local
84 /* Initialize arrays required[] and iidArray[] */
86 required[i] = SL_BOOLEAN_FALSE;
94 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
110 /* Set arrays required[] and iidArray[] for SLPrefetchStatusItf interfaces */
112 required[0] = SL_BOOLEAN_TRUE;
114 required[1] = SL_BOOLEAN_TRUE;
147 iidArray, required);
H A DslesTestEqFdPath.cpp10 * Unless required by applicable law or agreed to in writing, software
81 SLboolean required[MAX_NUMBER_INTERFACES]; local
88 /* Initialize arrays required[] and iidArray[] */
90 required[i] = SL_BOOLEAN_FALSE;
98 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
114 /* Set arrays required[] and iidArray[] for SLPrefetchStatusItf interfaces */
116 required[0] = SL_BOOLEAN_TRUE;
118 required[1] = SL_BOOLEAN_TRUE;
151 iidArray, required);
H A DslesTestEqOutputPath.cpp10 * Unless required by applicable law or agreed to in writing, software
83 SLboolean required[MAX_NUMBER_INTERFACES]; local
90 /* Initialize arrays required[] and iidArray[] */
92 required[i] = SL_BOOLEAN_FALSE;
99 /* Set arrays required[] and iidArray[] for SLEqualizerItf interface */
100 required[0] = SL_BOOLEAN_TRUE;
104 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
123 /* Set arrays required[] and iidArray[] for SLPrefetchStatusItf interfaces */
125 required[0] = SL_BOOLEAN_TRUE;
158 iidArray, required);
[all...]
H A DslesTestRecBuffQueue.cpp10 * Unless required by applicable law or agreed to in writing, software
211 SLboolean required[NUM_EXPLICIT_INTERFACES_FOR_RECORDER]; local
218 /* Initialize arrays required[] and iidArray[] */
220 required[i] = SL_BOOLEAN_FALSE;
229 required[0] = SL_BOOLEAN_TRUE;
231 required[1] = SL_BOOLEAN_TRUE;
297 NUM_EXPLICIT_INTERFACES_FOR_RECORDER, iidArray, required);
H A DslesTestSendToPresetReverb.cpp10 * Unless required by applicable law or agreed to in writing, software
102 SLboolean required[MAX_NUMBER_INTERFACES]; local
109 /* Initialize arrays required[] and iidArray[] */
111 required[i] = SL_BOOLEAN_FALSE;
118 /* Set arrays required[] and iidArray[] for required interfaces */
119 required[0] = SL_BOOLEAN_TRUE;
123 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
161 /* Set arrays required[] and iidArray[] for required interface
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTest_playStates.cpp10 * Unless required by applicable law or agreed to in writing, software
69 SLboolean required[MAX_NUMBER_INTERFACES]; local
76 /* Initialize arrays required[] and iidArray[] */
78 required[i] = SL_BOOLEAN_FALSE;
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
102 /* Set arrays required[] and iidArray[] for SLMuteSoloItf and SLPrefetchStatusItf interfaces */
104 required[0] = SL_BOOLEAN_TRUE;
106 required[1] = SL_BOOLEAN_TRUE;
123 MAX_NUMBER_INTERFACES, iidArray, required);
H A DslesTestPlayStreamType.cpp10 * Unless required by applicable law or agreed to in writing, software
72 SLboolean required[MAX_NUMBER_INTERFACES]; local
79 /* Initialize arrays required[] and iidArray[] */
81 required[i] = SL_BOOLEAN_FALSE;
89 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
105 /* Set arrays required[] and iidArray[] for SLAndroidConfigurationItf interfaces */
107 required[0] = SL_BOOLEAN_TRUE;
110 required[1] = SL_BOOLEAN_TRUE;
129 MAX_NUMBER_INTERFACES, iidArray, required);
H A DslesTestPlayUri.cpp10 * Unless required by applicable law or agreed to in writing, software
145 SLboolean required[MAX_NUMBER_INTERFACES]; local
152 /* Initialize arrays required[] and iidArray[] */
154 required[i] = SL_BOOLEAN_FALSE;
158 // Set arrays required[] and iidArray[] for VOLUME and PREFETCHSTATUS interface
159 required[0] = SL_BOOLEAN_TRUE;
161 required[1] = SL_BOOLEAN_TRUE;
165 iidArray, required); CheckErr(res);
189 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
H A DslesTestPlayUri2.cpp10 * Unless required by applicable law or agreed to in writing, software
85 SLboolean required[MAX_NUMBER_INTERFACES]; local
92 /* Initialize arrays required[] and iidArray[] */
94 required[i] = SL_BOOLEAN_FALSE;
97 /* Set arrays required[] and iidArray[] for SLVolumeItf and SLPrefetchStatusItf interfaces */
99 required[0] = SL_BOOLEAN_TRUE;
101 required[1] = SL_BOOLEAN_TRUE;
108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
138 iidArray, required);
145 iidArray, required);
[all...]
H A DslesTestGetPositionUri.cpp10 * Unless required by applicable law or agreed to in writing, software
152 SLboolean required[NUM_EXPLICIT_INTERFACES_FOR_PLAYER]; local
159 /* Initialize arrays required[] and iidArray[] */
161 required[i] = SL_BOOLEAN_FALSE;
165 // Set arrays required[] and iidArray[] for VOLUME and PREFETCHSTATUS interface
166 required[0] = SL_BOOLEAN_TRUE;
168 required[1] = SL_BOOLEAN_TRUE;
172 iidArray, required); CheckErr(res);
196 NUM_EXPLICIT_INTERFACES_FOR_PLAYER, iidArray, required); CheckErr(res);
H A DslesTestLoopUri.cpp10 * Unless required by applicable law or agreed to in writing, software
142 SLboolean required[MAX_NUMBER_INTERFACES]; local
149 /* Initialize arrays required[] and iidArray[] */
151 required[i] = SL_BOOLEAN_FALSE;
155 required[0] = SL_BOOLEAN_TRUE;
159 iidArray, required); CheckErr(res);
182 required[0] = SL_BOOLEAN_TRUE;
184 required[1] = SL_BOOLEAN_TRUE;
187 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
H A DslesTestManyPlayers.cpp10 * Unless required by applicable law or agreed to in writing, software
36 SLboolean required[MAX_NUMBER_INTERFACES]; variable
150 iidArray, required); CheckErr(res);
176 /* Initialize arrays required[] and iidArray[] */
178 required[i] = SL_BOOLEAN_FALSE;
181 /* Set arrays required[] and iidArray[] for VOLUME and PREFETCHSTATUS interface */
182 required[0] = SL_BOOLEAN_TRUE;
184 required[1] = SL_BOOLEAN_TRUE;
212 &audioSource, &audioSink, MAX_NUMBER_INTERFACES, iidArray, required);
H A DslesTestSlowDownUri.cpp10 * Unless required by applicable law or agreed to in writing, software
199 SLboolean required[MAX_NUMBER_INTERFACES]; local
205 /* Initialize arrays required[] and iidArray[] */
207 required[i] = SL_BOOLEAN_FALSE;
211 required[0] = SL_BOOLEAN_TRUE;
215 iidArray, required); CheckErr(res);
238 required[0] = SL_BOOLEAN_TRUE;
240 required[1] = SL_BOOLEAN_TRUE;
242 required[2] = SL_BOOLEAN_TRUE;
245 MAX_NUMBER_INTERFACES, iidArray, required); CheckEr
[all...]
/frameworks/av/include/media/
H A DAudioResamplerPublic.h10 * Unless required by applicable law or agreed to in writing, software
157 // required is the number of input frames the resampler needs
158 size_t required = sourceFramesNeeded(srcSampleRate, dstFramesRequired, dstSampleRate); local
160 return required * (double)speed + 1 + 1; // accounting for rounding dependencies
/frameworks/base/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java10 * Unless required by applicable law or agreed to in writing, software
78 "Current hash did not match required value");
102 throw new IllegalStateException("Missing required content path, ignoring.");
110 throw new IllegalStateException("Missing required version number, ignoring.");
118 throw new IllegalStateException("Missing required previous hash, ignoring.");
169 private boolean verifyPreviousHash(String current, String required) { argument
170 // this is an optional value- if the required field is NONE then we ignore it
171 if (required.equals("NONE")) {
175 return current.equals(required);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java10 * Unless required by applicable law or agreed to in writing, software
185 private void sendIntent(String contentPath, String version, String required, String sig) { argument
190 i.putExtra(EXTRA_REQUIRED_HASH, required);
195 private String runTest(String cert, String content, String version, String required, String sig) argument
200 sendIntent(contentPath, version, required, sig);
205 private String runTestWithoutSig(String cert, String content, String version, String required) argument
207 String sig = createSignature(content, version, required);
208 return runTest(cert, content, version, required, sig);
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp10 * Unless required by applicable law or agreed to in writing, software
185 SLboolean required[MAX_NUMBER_INTERFACES]; local
192 /* Initialize arrays required[] and iidArray[] */
194 required[i] = SL_BOOLEAN_FALSE;
202 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
218 /* Set arrays required[] and iidArray[] for SLMuteSoloItf and SLPrefetchStatusItf interfaces */
220 required[0] = SL_BOOLEAN_TRUE;
222 required[1] = SL_BOOLEAN_TRUE;
239 iidArray, required);
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp10 * Unless required by applicable law or agreed to in writing, software
119 SLboolean required[MAX_NUMBER_INTERFACES]; local
126 /* Initialize arrays required[] and iidArray[] */
128 required[i] = SL_BOOLEAN_FALSE;
132 // Set arrays required[] and iidArray[] for VOLUME and PREFETCHSTATUS interface
133 required[0] = SL_BOOLEAN_TRUE;
135 required[1] = SL_BOOLEAN_TRUE;
139 iidArray, required); CheckErr(res);
163 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res);
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp10 * Unless required by applicable law or agreed to in writing, software
203 SLboolean required[MAX_NUMBER_INTERFACES]; local
214 /* Initialize arrays required[] and iidArray[] */
216 required[i] = SL_BOOLEAN_FALSE;
220 // Set arrays required[] and iidArray[] for VOLUME and PREFETCHSTATUS interface
221 required[0] = SL_BOOLEAN_TRUE;
223 required[1] = SL_BOOLEAN_TRUE;
227 iidArray, required); CheckErr(res);
251 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);

Completed in 360 milliseconds

12