Searched defs:set (Results 1 - 25 of 173) sorted by path

1234567

/frameworks/av/camera/
H A DCameraParameters.cpp238 void CameraParameters::set(const char *key, const char *value) function in class:android::CameraParameters
254 void CameraParameters::set(const char *key, int value) function in class:android::CameraParameters
258 set(key, str);
265 set(key, str);
351 set(KEY_PREVIEW_SIZE, str);
381 set(KEY_VIDEO_SIZE, str);
400 set(KEY_PREVIEW_FRAME_RATE, fps);
418 set(KEY_PREVIEW_FORMAT, format);
430 set(KEY_PICTURE_SIZE, str);
450 set(KEY_PICTURE_FORMA
[all...]
H A DCameraParameters2.cpp92 void CameraParameters2::set(const char *key, const char *value) function in class:android::CameraParameters2
110 void CameraParameters2::set(const char *key, int value)
114 set(key, str);
121 set(key, str);
165 ALOGW("%s: Key1 (%s) was not set", __FUNCTION__, key1);
168 ALOGW("%s: Key2 (%s) was not set", __FUNCTION__, key2);
239 set(CameraParameters::KEY_PREVIEW_SIZE, str);
269 set(CameraParameters::KEY_VIDEO_SIZE, str);
288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps);
307 set(CameraParameter
[all...]
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
86 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io);
89 status_t AudioEffect::set(const effect_uuid_t *type, function in class:android::AudioEffect
101 ALOGV("set %p mUserData: %p uuid: %p timeLow %08x", this, user, type, type ? type->timeLow : 0);
110 ALOGE("set(): Could not get audioflinger");
134 ALOGE("set(): AudioFlinger could not create effect, status: %d", mStatus);
155 ALOGV("set() %p OK effect: %s id: %d status %d enabled %d pid %d", this, mDescriptor.name, mId,
H A DAudioRecord.cpp92 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user,
119 status_t AudioRecord::set( function in class:android::AudioRecord
134 ALOGV("set(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
164 // invariant that mAudioRecord != 0 is true only after set() returns successfully
228 ALOGV("set(): mSessionId %d", mSessionId);
326 // the record head position will reset to 0, so if a marker is set, we need
526 // invariant that mAudioRecord != 0 is true only after set() returns successfully
833 // These fields don't need to be cached, because they are assigned only by set():
H A DAudioTrack.cpp150 mStatus = set(streamType, sampleRate, format, channelMask,
178 mStatus = set(streamType, sampleRate, format, channelMask,
208 status_t AudioTrack::set( function in class:android::AudioTrack
227 ALOGV("set(): streamType %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
271 ALOGV("set() streamType %d frameCount %zu flags %04x", streamType, frameCount, flags);
275 // invariant that mAudioTrack != 0 is true only after set() returns successfully
531 // the playback head position will reset to 0, so if a marker is set, we need
819 // current position, compute a new position or loop parameters, and then set that position or
829 // If we use setLoop for both purposes we lose the capability to set the position while looping.
1013 // Same comment as below about ignoring frameCount parameter for set()
[all...]
H A DSoundPool.cpp575 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
909 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume, function in class:android::SoundEvent
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp119 void set(const TYPE& value, uint32_t pos) { function in struct:android::MPEG4Writer::Track::ListTableEntries
251 // Sequence parameter set or picture parameter set
516 // The default MIN_MOOV_BOX_SIZE is set to 0.6% x 1MB / 2,
530 // Max file size limit is set
535 // Max file duration limit is set
541 // When both file size and duration limits are set,
547 // Only max file duration limit is set
578 * user does not ask to set it explicitly.
597 // If file size is set t
[all...]
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp37 set(src);
44 set(src);
58 void MtpStringBuffer::set(const char* src) { function in class:android::MtpStringBuffer
103 void MtpStringBuffer::set(const uint16_t* src) { function in class:android::MtpStringBuffer
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp116 // set class member vars
152 void AudioResamplerDyn<TC, TI, TO>::Constants::set( function in class:android::AudioResamplerDyn::Constants
177 mConstants.set(128, 8, mSampleRate, mSampleRate); // TODO: set better
227 // create and set filter
383 mConstants.set(phases, halfLength, inSampleRate, mSampleRate);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp107 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO,
119 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES,
130 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES,
139 params.set(CameraParameters::KEY_PREVIEW_FORMAT,
199 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS,
211 params.set(CameraParameters::KEY_PREVIEW_FRAME_RATE,
218 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE,
231 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE,
262 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES,
287 params.set(CameraParameter
1156 status_t Parameters::set(const String8& paramString) { function in class:android::camera2::Parameters
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java213 * The Android package of the caller will be set in the options bundle by the
223 * Boolean, if set and 'customTokens' the authenticator is responsible for
958 * @param account The account to set a password for
959 * @param password The password to set, null to clear the password
1006 * @param account The account to set the userdata for
1007 * @param key The userdata key to set. Must not be null
1008 * @param value The value to set, null to clear this userdata key
1033 * @param account The account to set an auth token for
1175 * set, a status bar notification is also created with the same Intent,
1184 * <p>If notifyAuthFailure is not set, i
1772 protected void set(Bundle bundle) { method in class:AccountManager.AmsTask
[all...]
/frameworks/base/core/java/android/app/
H A DAlarmManager.java207 public void set(int type, long triggerAtMillis, PendingIntent operation) { method in class:AlarmManager
217 * <p>Like {@link #set}, except you can also supply a period at which
228 * set a recurring alarm for the top of every hour but the phone was asleep
255 * @see #set
274 * is similar to {@link #set(int, long, PendingIntent)}, but allows the
287 * {@link #set(int, long, PendingIntent)} method. This will give the OS the most
305 * @see #set
326 * This method is like {@link #set(int, long, PendingIntent)}, but does not permit
344 * @see #set
374 * @see #set
390 public void set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, method in class:AlarmManager
[all...]
H A DApplicationPackageManager.java287 // depending on what the current runtime's instruction set is.
293 // Everything will be set up correctly because info.nativeLibraryDir will
1416 int match, ComponentName[] set, ComponentName activity) {
1418 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
1426 ComponentName[] set, ComponentName activity, int userId) {
1428 mPM.addPreferredActivity(filter, match, set, activity, userId);
1436 int match, ComponentName[] set, ComponentName activity) {
1438 mPM.replacePreferredActivity(filter, match, set, activity, UserHandle.myUserId());
1446 int match, ComponentName[] set, ComponentName activity,
1449 mPM.replacePreferredActivity(filter, match, set, activit
1415 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
1425 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
1435 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
1445 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContext.java117 * SharedPreference loading flag: when set, the file on disk will
129 * explicitly set if desired.
136 * Database open flag: when set, the database is opened with write-ahead
170 * consider's the target service's process to be. When set, the only way
177 * {@link #BIND_ADJUST_WITH_ACTIVITY} set for them in order to achieve
184 * calls to unbind. When this flag is set, the callstack of the following
207 * the app itself. When set, the platform will try to have the out of
460 AttributeSet set, int[] attrs) {
461 return getTheme().obtainStyledAttributes(set, attrs, 0, 0);
472 AttributeSet set, in
459 obtainStyledAttributes( AttributeSet set, int[] attrs) argument
471 obtainStyledAttributes( AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
[all...]
H A DIntentFilter.java263 private static int findStringInSet(String[] set, String string, argument
265 if (set == null) return -1;
268 if (set[i].equals(string)) return i;
273 private static String[] addStringToSet(String[] set, String string, argument
275 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set;
276 if (set == null) {
277 set = new String[2];
278 set[0] = string;
280 return set;
297 removeStringFromSet(String[] set, String string, int[] lengths, int lenPos) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java191 * in the returned info. Note that if you set this flag, applications
197 * Resolution and querying flag: if set, only filters that support the
205 * Flag for {@link addCrossProfileIntentFilter}: if this flag is set:
330 * allow test packages (those that have set android:testOnly in their
378 * that you don't want to kill the app containing the component. Be careful when you set this
1384 * this nor {@link #FEATURE_SCREEN_LANDSCAPE} is set then the device supports
1394 * this nor {@link #FEATURE_SCREEN_PORTRAIT} is set then the device supports
1713 * package. If flag GET_UNINSTALLED_PACKAGES is set and if the
1718 * deleted with {@code DONT_DELETE_DATA} flag set).
1894 * If flag GET_UNINSTALLED_PACKAGES is set an
3624 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
3633 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
3660 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
3667 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java224 * Create a new Resources object on top of an existing set of assets in an
798 * given screen density in DPI. This will set the drawable's density to be
903 * the set is returned.
1324 * In other words, a Theme is a set of values for resource attributes;
1367 * they have in common will be set in this theme.
1461 * <var>set</var>
1488 * @param set The base set of attribute values. May be null.
1507 public TypedArray obtainStyledAttributes(AttributeSet set, argument
1516 final XmlBlock.Parser parser = (XmlBlock.Parser)set;
1744 obtainAttributes(AttributeSet set, int[] attrs) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java52 * The Camera class is used to set image capture settings, start/stop preview,
242 // Only set this when sound is forced; otherwise let native code
304 * <p>If this field is set to true, then a call of
305 * {@code enableShutterSound(false)} will be successful. If set to
606 * preview is necessary to take pictures. The same surface can be re-set
607 * without harm. Setting a preview surface will un-set any preview surface
608 * texture that was set via {@link #setPreviewTexture}.
618 * one exception is that if the preview surface is not set (or set to null)
620 * with a non-null parameter to set th
2527 public void set(String key, String value) { method in class:Camera.Parameters
2546 public void set(String key, int value) { method in class:Camera.Parameters
2561 private void set(String key, List<Area> areas) { method in class:Camera.Parameters
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java70 * {@link CaptureResult#get} or to set fields with
71 * {@link CaptureRequest.Builder#set(Key, Object)}.
73 * <p>For example, to set the crop rectangle for the next capture:
76 * captureRequestBuilder.set(SCALER_CROP_REGION, cropRectangle);
206 * @return The value of that key, or {@code null} if the field is not set.
251 * @return the last tag Object set on this request, or {@code null} if
252 * no tag has been set.
262 * <p>A request is considered equal to another is if it's set of key/values is equal, it's
412 * @param value The value to set the field to, which must be of a matching
415 public <T> void set(Ke method in class:CaptureRequest.Builder
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java343 * @return the field corresponding to the {@code key}, or {@code null} if no value was set
378 * @param value The value to set the field to, which must be of a matching
381 public <T> void set(Key<T> key, T value) { method in class:CameraMetadataNative
391 public <T> void set(CaptureRequest.Key<T> key, T value) { method in class:CameraMetadataNative
392 set(key.getNativeKey(), value);
395 public <T> void set(CaptureResult.Key<T> key, T value) { method in class:CameraMetadataNative
396 set(key.getNativeKey(), value);
399 public <T> void set(CameraCharacteristics.Key<T> key, T value) { method in class:CameraMetadataNative
400 set(key.getNativeKey(), value);
436 mMetadataPtr = 0; // set i
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java51 /** {@link #set} value when all sets combined. */
53 /** {@link #set} value where background data is accounted. */
55 /** {@link #set} value where foreground data is accounted. */
71 private int[] set; field in class:NetworkStats
82 public int set; field in class:NetworkStats.Entry
99 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, argument
103 this.set = set;
134 builder.append(" set=").append(setToString(set));
236 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
324 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
364 findIndex(String iface, int uid, int set, int tag) argument
379 findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) argument
722 setToString(int set) argument
738 setToCheckinString(int set) argument
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java19 - fix set() to replace existing values
69 public void set(String key, String value) { method in class:DnsSdTxtRecord
/frameworks/base/core/java/android/os/
H A DBatteryProperties.java36 public void set(BatteryProperties other) { method in class:BatteryProperties
H A DSystemProperties.java122 public static void set(String key, String val) { method in class:SystemProperties
H A DWorkSource.java179 public void set(WorkSource other) { method in class:WorkSource
207 public void set(int uid) { method in class:WorkSource
215 public void set(int uid, String name) { method in class:WorkSource
427 private boolean updateLocked(WorkSource other, boolean set, boolean returnNewbs) { argument
429 return updateUidsLocked(other, set, returnNewbs);
439 return updateUidsAndNamesLocked(other, set, returnNewbs);
451 private boolean updateUidsLocked(WorkSource other, boolean set, boolean returnNewbs) { argument
458 if (DEBUG) Log.d(TAG, "Update " + this + " with " + other + " set=" + set
488 if (!set) {
543 updateUidsAndNamesLocked(WorkSource other, boolean set, boolean returnNewbs) argument
[all...]

Completed in 2087 milliseconds

1234567