Searched defs:set (Results 226 - 250 of 260) sorted by relevance

1234567891011

/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java211 runCommand(instrumentation, "cmd package set-home-activity --user "
263 runCommand(instrumentation, "appops set " + packageName + " " + op + " " + mode);
350 public static <T> Set<T> set(T... values) { method in class:ShortcutManagerTestUtils
351 return set(v -> v, values);
354 public static <T, V> Set<T> set(Function<V, T> converter, V... values) { method in class:ShortcutManagerTestUtils
355 return set(converter, Arrays.asList(values));
358 public static <T, V> Set<T> set(Function<V, T> converter, List<V> values) { method in class:ShortcutManagerTestUtils
592 final Set<Object> set = new LinkedHashSet<>();
594 if (set.contains(item)) {
597 set
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java830 int match, ComponentName[] set, ComponentName activity) {
839 int match, ComponentName[] set, ComponentName activity) {
829 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
838 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java92 /** Map of set of clients (one for each target context) */
742 public void set(int newState) { method in class:CameraStreamer.State
743 mCurrent.set(newState);
824 /** The set of camera listeners. */
1143 mState.set(State.STATE_RUNNING);
1155 mState.set(State.STATE_STOPPED);
1163 mState.set(State.STATE_HALTED);
1170 mState.set(State.STATE_RUNNING);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java200 // if no custom stroke as been set, set the default one.
216 * Returns the {@link ColorFilter} delegate or null if none have been set
233 * Returns the {@link Shader} delegate or null if none have been set
242 * Returns the {@link MaskFilter} delegate or null if none have been set
705 delegate_dst.set(delegate_src);
1168 set(paint);
1171 private void set(Paint_Delegate paint) { method in class:Paint_Delegate
1272 // The metrics here don't have anti-aliasing set.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePackageManager.java742 public void addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, argument
747 public void replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, argument
H A DBridgeContext.java186 * Some applications that target both pre API 17 and post API 17, set the newer attrs to
490 // set the resource ref to have correct view cookies
719 public final BridgeTypedArray obtainStyledAttributes(AttributeSet set, int[] attrs) { argument
720 return obtainStyledAttributes(set, attrs, 0, 0);
724 public BridgeTypedArray obtainStyledAttributes(AttributeSet set, int[] attrs, argument
731 if (set instanceof BridgeXmlBlockParser) {
733 parser = (BridgeXmlBlockParser)set;
742 } else if (set instanceof BridgeLayoutParamsMapAttributes) {
746 } else if (set != null) { // null parser is ok
760 if (set !
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp122 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO,
134 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES,
145 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES,
154 params.set(CameraParameters::KEY_PREVIEW_FORMAT,
214 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS,
226 params.set(CameraParameters::KEY_PREVIEW_FRAME_RATE,
233 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE,
250 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE,
284 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES,
309 params.set(CameraParameter
1261 status_t Parameters::set(const String8& paramString) { function in class:android::camera2::Parameters
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java379 // depending on what the current runtime's instruction set is.
383 // Get the instruction set that the libraries of secondary Abi is supported.
390 // Everything will be set up correctly because info.nativeLibraryDir will
2191 int match, ComponentName[] set, ComponentName activity) {
2193 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
2201 ComponentName[] set, ComponentName activity, int userId) {
2203 mPM.addPreferredActivity(filter, match, set, activity, userId);
2211 int match, ComponentName[] set, ComponentName activity) {
2213 mPM.replacePreferredActivity(filter, match, set, activity, mContext.getUserId());
2221 int match, ComponentName[] set, ComponentNam
2190 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
2200 addPreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
2210 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
2220 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContext.java175 * SharedPreference loading flag: when set, the file on disk will
187 * explicitly set if desired.
202 * Database open flag: when set, the database is opened with write-ahead
212 * Database open flag: when set, the database is opened without support for
247 * consider's the target service's process to be. When set, the only way
254 * {@link #BIND_ADJUST_WITH_ACTIVITY} set for them in order to achieve
261 * calls to unbind. When this flag is set, the callstack of the following
284 * the app itself. When set, the platform will try to have the out of
345 * is coming from the system, set the process state to FOREGROUND_SERVICE
678 AttributeSet set,
677 obtainStyledAttributes( AttributeSet set, @StyleableRes int[] attrs) argument
689 obtainStyledAttributes( AttributeSet set, @StyleableRes int[] attrs, @AttrRes int defStyleAttr, @StyleRes int defStyleRes) argument
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java666 * if {@link Parcelable#PARCELABLE_WRITE_RETURN_VALUE} is set.</p>
793 * Write an array set to the parcel.
795 * @param val The array set to write.
1483 * Write a uniform (all items are null or the same class) array set of
1486 * @param set The set to write.
1490 public final <T extends Parcelable> void writeTypedArraySet(@Nullable ArraySet<T> set, argument
1492 if (set != null) {
1493 int N = set.size();
1497 T item = set
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java56 asynchronously and uses a set of input and output buffers. At a simplistic level, you request
271 After creating the codec, you can set a callback using {@link #setCallback setCallback} if you
275 you can set the decryption parameters for secure codecs (see {@link MediaCrypto}). Finally, since
285 your input data using {@link #createInputSurface} after configuration. Alternately, set up the
306 Android uses the following codec-specific data buffers. These are also required to be set in
307 the track format for proper {@link MediaMuxer} track configuration. Each parameter set and the
384 Each codec maintains a set of input and output buffers that are referred to by a buffer-ID in
541 In versions {@link android.os.Build.VERSION_CODES#KITKAT_WATCH} and before, the set of input and
581 empty input buffer with the end-of-stream flag set. If using an empty buffer, the timestamp will
585 output stream by specifying the same end-of-stream flag in the {@link BufferInfo} set i
1490 public void set( method in class:MediaCodec.BufferInfo
2423 public void set(int blocksToEncrypt, int blocksToSkip) { method in class:MediaCodec.CryptoInfo.Pattern
2452 public void set( method in class:MediaCodec.CryptoInfo
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java127 * one off SyncOperation and set its {@link SyncOperation#sourcePeriodicId} field to the jobId of the
760 * (pass null to url, set onlyTicklable to false), only those
762 * set onlyTicklable to true), or a specific provider (set url
1254 // with ignoreBackoff set.
1317 Slog.v(TAG, "Delay Until time set to " + newDelayUntilTime + " for " + target);
1526 // syncAlreadyInProgress flag is set by AbstractThreadedSyncAdapter. The sync adapter
1773 tobj.set(time);
1862 table.set(0, 0,
1906 table.set(ro
3413 void set(int row, int col, Object... values) { method in class:SyncManager.PrintTable
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java86 Resources res, Theme theme, AttributeSet set, int[] attrs) {
88 return res.obtainAttributes(set, attrs);
90 return theme.obtainStyledAttributes(set, attrs, 0, 0);
867 mLocalMatrix.set(copy.mLocalMatrix);
1087 currentGroup.mStackedMatrix.set(currentMatrix);
1121 mFinalPathMatrix.set(groupStackedMatrix);
85 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java249 * When set, this network configuration entry should only be used when
337 * The set of key management protocols supported by this configuration.
343 * The set of security protocols supported by this configuration.
349 * The set of authentication protocols supported by this configuration.
355 * The set of pairwise ciphers for WPA supported by this configuration.
361 * The set of group ciphers supported by this configuration.
391 * Roaming Consortium Id list for Passpoint credential; identifies a set of networks where
436 * The value is not guaranteed to be set or current (Although it SHOULDNT change once set)
437 * Valid values are from 1 - 255. Initialized here as 0, use this to check if set
1759 writeBitSet(Parcel dest, BitSet set) argument
[all...]
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp821 ALOGE("setActiveConfig: Failed to set active config on HWC1 (%d)",
865 ALOGE("[%" PRIu64 "] Failed to set HWC1 config (%d)", mId, intError);
928 ALOGE_IF(error != 0, "setPowerMode: Failed to set power mode on HWC1 (%d)",
956 ALOGE_IF(error != 0, "setVsyncEnabled: Failed to set vsync on HWC1 (%d)",
1109 ALOGE("populateConfigs: HWC1 ID not set");
1264 Error HWC2On1Adapter::Display::set(hwc_display_contents_1& hwcContents) { function in class:android::HWC2On1Adapter::Display
1268 ALOGE("[%" PRIu64 "] set failed: not validated", mId);
1291 ALOGE("[%" PRIu64 "] set: last HWC layer wasn't FRAMEBUFFER_TARGET",
1647 std::set<android_color_mode_t> HWC2On1Adapter::Display::Config::getColorModes() const {
1648 std::set<android_color_mode_
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp161 void set(const TYPE& value, uint32_t pos) { function in struct:android::MPEG4Writer::Track::ListTableEntries
315 // Sequence parameter set or picture parameter set
644 // The default MIN_MOOV_BOX_SIZE is set to 0.6% x 1MB / 2,
658 // Max file size limit is set
663 // Max file duration limit is set
669 // When both file size and duration limits are set,
675 // Only max file duration limit is set
710 * user does not ask to set it explicitly.
729 // If file size is set t
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java54 * The Camera class is used to set image capture settings, start/stop preview,
259 // Only set this when sound is forced; otherwise let native code
321 * <p>If this field is set to true, then a call of
322 * {@code enableShutterSound(false)} will be successful. If set to
618 * preview is necessary to take pictures. The same surface can be re-set
619 * without harm. Setting a preview surface will un-set any preview surface
620 * texture that was set via {@link #setPreviewTexture}.
630 * one exception is that if the preview surface is not set (or set to null)
632 * with a non-null parameter to set th
2549 public void set(String key, String value) { method in class:Camera.Parameters
2568 public void set(String key, int value) { method in class:Camera.Parameters
2583 private void set(String key, List<Area> areas) { method in class:Camera.Parameters
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java224 // These flags are always set on a new/reset paint, even if flags 0 is passed.
242 * Bidi flag to set LTR paragraph direction.
249 * Bidi flag to set RTL paragraph direction.
537 * get() on all of the src fields, and calling the corresponding set()
540 public void set(Paint src) { method in class:Paint
662 * Helper for getFlags(), returning true if ANTI_ALIAS_FLAG bit is set
667 * @return true if the antialias bit is set in the paint's flags.
679 * @param aa true to set the antialias bit in the flags, false to clear it
686 * Helper for getFlags(), returning true if DITHER_FLAG bit is set
693 * @return true if the dithering bit is set i
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java158 * The current set of user whitelisted apps for device idle mode, meaning these are allowed
584 // non-wakeup alarms are types 1 and 3, i.e. have the low bit set
690 // set to null if in idle mode; while in this mode, any alarms we don't want
950 // We have to set current TimeZone info to kernel
1039 SystemProperties.set(TIMEZONE_PROPERTY, zone.getID());
1130 Slog.v(TAG, "set(" + operation + ") : type=" + type
1289 public void set(String callingPackage,
1309 Binder.getCallingPid(), callingUid, "AlarmManager.set");
1334 // to do work on behalf of someone else, then always set ALLOW_WHILE_IDLE_UNRESTRICTED.
1459 pw.print(" set a
2144 private native void set(long nativeData, int type, long seconds, long nanoseconds); method in class:AlarmManagerService
[all...]
H A DInputMethodManagerService.java505 * A set of status bits regarding the active IME.
656 set(original);
659 void set(@NonNull StartInputInfo original) { method in class:InputMethodManagerService.StartInputHistory.Entry
687 mEntries[index].set(info);
867 // Apply the results of a restore operation to the set of enabled IMEs. Note that this
1373 // set the current ime to the proper one.
2348 // There is no longer an input method set, so stop any current one.
2426 // subtypeId the name of a subtype which will be set.
3461 // Construct the set of possible IME packages for onPackageChanged() to avoid false
4150 // Safety net for the case that this function is called before methodMap is set
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java229 // set id info
310 // set to true if the GPS engine requested on-demand NTP time requests
535 // set the persist property LPP_PROFILE for the value
536 SystemProperties.set(LPP_PROFILE, lpp_profile);
539 SystemProperties.set(LPP_PROFILE, "");
571 public boolean set(int value); method in interface:GnssLocationProvider.SetCarrierProperty
618 boolean result = entry.getValue().set(propertyValueInt);
620 Log.e(TAG, "Unable to set " + propertyName);
1462 // set timer to give up if we do not receive a fix within NO_FIX_TIMEOUT
1465 mAlarmManager.set(AlarmManage
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp85 ResourceDirIterator(const sp<ResourceTypeSet>& set, const String8& resType) argument
86 : mResType(resType), mSet(set), mSetPos(0), mGroupPos(0)
295 const sp<ResourceTypeSet>& set,
303 ResourceDirIterator it(set, String8(resType));
365 const sp<ResourceTypeSet>& set, const char* type)
371 ResourceDirIterator it(set, String8(type));
413 sp<ResourceTypeSet> set = new ResourceTypeSet(); local
415 printf("Creating new resource type set for leaf %s with group %s (%p)\n",
418 set->add(leafName, group);
419 resources->add(resType, set);
293 makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<ResourceTypeSet>& set, const char* resType) argument
364 preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, const sp<ResourceTypeSet>& set, const char* type) argument
421 const sp<ResourceTypeSet>& set = resources->valueAt(index); local
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java117 * would have otherwise been omitted from a result set by current system
371 * in the returned info. Note that if you set this flag, applications
377 * Resolution and querying flag: if set, only filters that support the
385 * Querying flag: if set and if the platform is doing any filtering of the
508 * Flag for {@link #addCrossProfileIntentFilter}: if this flag is set: when
518 * Flag for {@link #addCrossProfileIntentFilter}: if this flag is set:
611 * enabled state to whatever is set in the manifest.
697 * allow test packages (those that have set android:testOnly in their
751 * is set the runtime permissions will be granted to all users, otherwise
823 * that you don't want to kill the app containing the component. Be careful when you set thi
5115 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5124 addPreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
5151 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5158 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsContract.java68 * as a phone number or email addresses. The set of data kinds that can be
69 * stored in this table is open-ended. There is a predefined set of common
73 * A row in the {@link RawContacts} table represents a set of data describing a
130 * {@link RawContacts#DIRTY} is not automatically set and the
131 * "syncToNetwork" parameter is set to false when calling
263 * The key to set in the outbound Bundle with the URI that should be authorized.
723 * @see android.provider.SyncStateContract.Helpers#set
725 public static void set(ContentProviderClient provider, Account account, byte[] data) method in class:ContactsContract.SyncState
727 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data);
777 * @see android.provider.SyncStateContract.Helpers#set
779 public static void set(ContentProviderClient provider, Account account, byte[] data) method in class:ContactsContract.ProfileSyncState
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp659 * If the high bit is set, then there are two characters or 4 bytes of length
681 * If the high bit is set, then there are two characters or 2 bytes of length
4312 bag_set* set = typeSet[e]; local
4313 if (set) {
4314 if (set != (bag_set*)0xFFFFFFFF) {
4316 *outTypeSpecFlags = set->typeSpecFlags;
4318 *outBag = (bag_entry*)(set+1);
4322 return set->numAttrs;
4368 bag_set* set = NULL; local
4387 set
[all...]

Completed in 747 milliseconds

1234567891011