Searched refs:flags (Results 176 - 200 of 2114) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/pm/
H A DUserDataPreparer.java67 void prepareUserData(int userId, int userSerial, int flags) { argument
72 prepareUserDataLI(volumeUuid, userId, userSerial, flags, true);
77 private void prepareUserDataLI(String volumeUuid, int userId, int userSerial, int flags, argument
83 storage.prepareUserStorage(volumeUuid, userId, userSerial, flags);
85 if ((flags & StorageManager.FLAG_STORAGE_DE) != 0 && !mOnlyCore) {
91 if ((flags & StorageManager.FLAG_STORAGE_CE) != 0 && !mOnlyCore) {
98 mInstaller.createUserData(volumeUuid, userId, userSerial, flags);
107 prepareUserDataLI(volumeUuid, userId, userSerial, flags, false);
115 void destroyUserData(int userId, int flags) { argument
120 destroyUserDataLI(volumeUuid, userId, flags);
125 destroyUserDataLI(String volumeUuid, int userId, int flags) argument
[all...]
/frameworks/base/core/java/android/net/metrics/
H A DApfProgramEvent.java55 public int flags; // Bitfield compound of FLAG_* constants field in class:ApfProgramEvent
66 this.flags = in.readInt();
70 public void writeToParcel(Parcel out, int flags) { argument
76 out.writeInt(flags);
88 programLength, actualLifetime, lifetimeString, namesOf(flags));
/frameworks/base/core/java/android/os/storage/
H A DIStorageManager.aidl187 StorageVolume[] getVolumeList(int uid, in String packageName, int flags) = 29;
265 VolumeInfo[] getVolumes(int flags) = 45;
266 VolumeRecord[] getVolumeRecords(int flags) = 46;
274 void setVolumeUserFlags(in String fsUuid, int flags, int mask) = 54;
280 void setDebugFlags(int flags, int mask) = 60;
286 void prepareUserStorage(in String volumeUuid, int userId, int serialNumber, int flags) = 66;
287 void destroyUserStorage(in String volumeUuid, int userId, int flags) = 67;
291 void fstrim(int flags) = 72;
296 long getAllocatableBytes(String volumeUuid, int flags) = 77;
297 void allocateBytes(String volumeUuid, long bytes, int flags)
[all...]
/frameworks/native/include/binder/
H A DBpBinder.h42 uint32_t flags = 0);
46 uint32_t flags = 0);
49 uint32_t flags = 0,
97 virtual bool onIncStrongAttempted(uint32_t flags, const void* id);
105 uint32_t flags; member in struct:android::BpBinder::Obituary
/frameworks/native/libs/binder/include/binder/
H A DBpBinder.h42 uint32_t flags = 0);
46 uint32_t flags = 0);
49 uint32_t flags = 0,
97 virtual bool onIncStrongAttempted(uint32_t flags, const void* id);
105 uint32_t flags; member in struct:android::BpBinder::Obituary
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java263 public Context createPackageContext(String packageName, int flags) argument
265 return mRealContext.createPackageContext(packageName, flags);
317 * @param flags Additional option flags. The most important is
328 public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { argument
335 return mRealPackageManager.queryIntentActivities(intent, flags);
344 public ResolveInfo resolveActivity(Intent intent, int flags) { argument
350 return mRealPackageManager.resolveActivity(intent, flags);
392 * @param flags Additional option flags
398 resolveContentProvider(String name, int flags) argument
420 getActivityInfo(ComponentName name, int flags) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java117 || (info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) {
125 && (info.flags&ApplicationInfo.FLAG_INSTALLED) != 0) {
185 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue;
187 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0
188 && (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) {
226 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue;
228 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0
229 && (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) {
305 int flags = app.activityInfo.applicationInfo.flags;
350 getAppInfoForUser(String packageName, int flags, UserHandle user) argument
[all...]
/frameworks/base/core/java/android/security/
H A DIKeystoreService.aidl36 int insert(String name, in byte[] item, int uid, int flags);
45 int generate(String name, int uid, int keyType, int keySize, int flags,
47 int import_key(String name, in byte[] data, int uid, int flags);
61 int flags, out KeyCharacteristics characteristics);
65 in byte[] keyData, int uid, int flags, out KeyCharacteristics characteristics);
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustArchive.java53 final int flags; field in class:TrustArchive.Event
59 long duration, int flags, boolean managingTrust) {
66 this.flags = flags;
74 long duration, int flags) {
76 flags, false));
141 writer.printf(", message=\"%s\", duration=%s, flags=%s",
142 ev.message, formatDuration(ev.duration), dumpGrantFlags(ev.flags));
199 private String dumpGrantFlags(int flags) { argument
201 if ((flags
58 Event(int type, int userId, ComponentName agent, String message, long duration, int flags, boolean managingTrust) argument
73 logGrantTrust(int userId, ComponentName agent, String message, long duration, int flags) argument
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DArchive.cpp54 bool StartEntry(const StringPiece& path, uint32_t flags) override {
92 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override {
93 if (!StartEntry(path, flags)) {
133 bool StartEntry(const StringPiece& path, uint32_t flags) override {
139 if (flags & ArchiveEntry::kCompress) {
143 if (flags & ArchiveEntry::kAlign) {
173 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override {
175 if (!StartEntry(path, flags)) {
196 if ((flags & ArchiveEntry::kCompress) != 0 && in->CanRewind()) {
213 flags
[all...]
/frameworks/native/services/inputflinger/
H A DInputListener.cpp47 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
50 action(action), flags(flags), keyCode(keyCode), scanCode(scanCode),
57 action(other.action), flags(other.flags),
71 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
77 flags(flags), metaState(metaState), buttonState(buttonState),
89 action(other.action), actionButton(other.actionButton), flags(other.flags),
45 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument
69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
/frameworks/base/core/java/android/app/
H A DPendingIntent.java62 * categories, and components, and same flags), it will receive a PendingIntent
89 * Intents you will use, then you can alternatively use the flags
256 * @param flags The parcel flags when it was written.
258 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); argument
291 * @param flags May be {@link #FLAG_ONE_SHOT}, {@link #FLAG_NO_CREATE},
293 * or any of the flags as supported by
302 Intent intent, @Flags int flags) {
303 return getActivity(context, requestCode, intent, flags, null);
322 * @param flags Ma
301 getActivity(Context context, int requestCode, Intent intent, @Flags int flags) argument
334 getActivity(Context context, int requestCode, @NonNull Intent intent, @Flags int flags, @Nullable Bundle options) argument
359 getActivityAsUser(Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options, UserHandle user) argument
424 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags) argument
474 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) argument
500 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
544 getBroadcast(Context context, int requestCode, Intent intent, @Flags int flags) argument
555 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument
598 getService(Context context, int requestCode, @NonNull Intent intent, @Flags int flags) argument
628 getForegroundService(Context context, int requestCode, @NonNull Intent intent, @Flags int flags) argument
634 buildServicePendingIntent(Context context, int requestCode, Intent intent, int flags, int serviceKind) argument
1076 writeToParcel(Parcel out, int flags) argument
[all...]
H A DApplicationPackageManager.java111 // Default flags to use with PackageManager when no flags are given.
137 public PackageInfo getPackageInfo(String packageName, int flags) argument
139 return getPackageInfoAsUser(packageName, flags, mContext.getUserId());
143 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) argument
146 PackageInfo pi = mPM.getPackageInfoVersioned(versionedPackage, flags,
158 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) argument
161 PackageInfo pi = mPM.getPackageInfo(packageName, flags, userId);
241 public int[] getPackageGids(String packageName, int flags) argument
244 int[] gids = mPM.getPackageGids(packageName, flags, mContex
256 getPackageUid(String packageName, int flags) argument
266 getPackageUidAsUser(String packageName, int flags, int userId) argument
281 getPermissionInfo(String name, int flags) argument
298 queryPermissionsByGroup(String group, int flags) argument
323 getPermissionGroupInfo(String name, int flags) argument
339 getAllPermissionGroups(int flags) argument
353 getApplicationInfo(String packageName, int flags) argument
359 getApplicationInfoAsUser(String packageName, int flags, int userId) argument
402 getActivityInfo(ComponentName className, int flags) argument
417 getReceiverInfo(ComponentName className, int flags) argument
432 getServiceInfo(ComponentName className, int flags) argument
447 getProviderInfo(ComponentName className, int flags) argument
472 getSharedLibraries(int flags) argument
479 getSharedLibrariesAsUser(int flags, int userId) argument
720 getInstalledPackages(int flags) argument
727 getInstalledPackagesAsUser(int flags, int userId) argument
742 getPackagesHoldingPermissions( String[] permissions, int flags) argument
759 getInstalledApplications(int flags) argument
766 getInstalledApplicationsAsUser(int flags, int userId) argument
880 resolveActivity(Intent intent, int flags) argument
885 resolveActivityAsUser(Intent intent, int flags, int userId) argument
898 queryIntentActivities(Intent intent, int flags) argument
906 queryIntentActivitiesAsUser(Intent intent, int flags, int userId) argument
924 queryIntentActivityOptions( ComponentName caller, Intent[] specifics, Intent intent, int flags) argument
964 queryBroadcastReceiversAsUser(Intent intent, int flags, int userId) argument
980 queryBroadcastReceivers(Intent intent, int flags) argument
985 resolveService(Intent intent, int flags) argument
999 queryIntentServicesAsUser(Intent intent, int flags, int userId) argument
1015 queryIntentServices(Intent intent, int flags) argument
1021 queryIntentContentProvidersAsUser( Intent intent, int flags, int userId) argument
1038 queryIntentContentProviders(Intent intent, int flags) argument
1043 resolveContentProvider(String name, int flags) argument
1049 resolveContentProviderAsUser(String name, int flags, int userId) argument
1058 queryContentProviders(String processName, int uid, int flags) argument
1065 queryContentProviders(String processName, int uid, int flags, String metaDataKey) argument
1077 getInstrumentationInfo( ComponentName className, int flags) argument
1095 queryInstrumentation( String targetPackage, int flags) argument
1670 installPackage(Uri packageURI, IPackageInstallObserver observer, int flags, String installerPackageName) argument
1677 installPackage(Uri packageURI, PackageInstallObserver observer, int flags, String installerPackageName) argument
1682 installCommon(Uri packageURI, PackageInstallObserver observer, int flags, String installerPackageName, int userId) argument
2064 deletePackage(String packageName, IPackageDeleteObserver observer, int flags) argument
2069 deletePackageAsUser(String packageName, IPackageDeleteObserver observer, int flags, int userId) argument
2184 getPreferredPackages(int flags) argument
2259 setComponentEnabledSetting(ComponentName componentName, int newState, int flags) argument
2278 setApplicationEnabledSetting(String packageName, int newState, int flags) argument
2425 addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, int flags) argument
[all...]
H A DTaskStackBuilder.java195 * Useful if you need to modify the flags or extras of an intent that was previously added,
240 * @param flags May be {@link PendingIntent#FLAG_ONE_SHOT},
242 * {@link PendingIntent#FLAG_UPDATE_CURRENT}, or any of the flags supported by
248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) { argument
249 return getPendingIntent(requestCode, flags, null);
256 * @param flags May be {@link PendingIntent#FLAG_ONE_SHOT},
258 * {@link PendingIntent#FLAG_UPDATE_CURRENT}, or any of the flags supported by
267 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags, argument
275 flags, options);
281 public PendingIntent getPendingIntent(int requestCode, int flags, Bundl argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java61 * This field is equivalent to the |flags|, rather than the |capabilities| field
302 * These flags are specific to the ScanResult class, and are not related to the |flags|
306 * Defines flags; such as {@link #FLAG_PASSPOINT_NETWORK}.
309 public long flags; field in class:ScanResult
312 * sets a flag in {@link #flags} field
317 flags |= flag;
321 * clears a flag in {@link #flags} field
326 flags &= ~flag;
330 return (flags
589 writeToParcel(Parcel dest, int flags) argument
[all...]
/frameworks/base/core/java/android/app/trust/
H A DTrustManager.java139 public void onTrustChanged(boolean enabled, int userId, int flags) {
142 if (flags != 0) {
143 m.getData().putInt(DATA_FLAGS, flags);
195 int flags = msg.peekData() != null ? msg.peekData().getInt(DATA_FLAGS) : 0;
196 ((TrustListener)msg.obj).onTrustChanged(msg.arg1 != 0, msg.arg2, flags);
210 * @param flags flags specified by the trust agent when granting trust. See
214 void onTrustChanged(boolean enabled, int userId, int flags); argument
/frameworks/base/core/java/android/content/pm/
H A DPackageManagerInternal.java146 @PackageInfoFlags int flags, int filterCallingUid, int userId);
155 @ApplicationInfoFlags int flags, int filterCallingUid, int userId);
164 @ComponentInfoFlags int flags, int filterCallingUid, int userId);
173 @ResolveInfoFlags int flags, int filterCallingUid, int userId);
347 int flags, int userId);
353 int flags, int userId, int callingUid);
145 getPackageInfo(String packageName, @PackageInfoFlags int flags, int filterCallingUid, int userId) argument
154 getApplicationInfo(String packageName, @ApplicationInfoFlags int flags, int filterCallingUid, int userId) argument
163 getActivityInfo(ComponentName component, @ComponentInfoFlags int flags, int filterCallingUid, int userId) argument
172 queryIntentActivities(Intent intent, @ResolveInfoFlags int flags, int filterCallingUid, int userId) argument
346 resolveIntent(Intent intent, String resolvedType, int flags, int userId) argument
352 resolveService(Intent intent, String resolvedType, int flags, int userId, int callingUid) argument
/frameworks/base/core/java/android/net/
H A DIpSecConfig.java116 public void writeToParcel(Parcel out, int flags) { argument
121 out.writeParcelable(network, flags);
123 out.writeParcelable(flow[IpSecTransform.DIRECTION_IN].encryption, flags);
124 out.writeParcelable(flow[IpSecTransform.DIRECTION_IN].authentication, flags);
126 out.writeParcelable(flow[IpSecTransform.DIRECTION_OUT].encryption, flags);
127 out.writeParcelable(flow[IpSecTransform.DIRECTION_OUT].authentication, flags);
/frameworks/base/core/java/android/view/autofill/
H A DIAutoFillManager.aidl33 // Returns flags: FLAG_ADD_CLIENT_ENABLED | FLAG_ADD_CLIENT_DEBUG | FLAG_ADD_CLIENT_VERBOSE
36 in Rect bounds, in AutofillValue value, int userId, boolean hasCallback, int flags,
41 in AutofillValue value, int action, int flags, int userId);
44 boolean hasCallback, int flags, String packageName, int sessionId, int action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipAccessibilityInteractionConnection.java62 IAccessibilityInteractionConnectionCallback callback, int flags,
76 IAccessibilityInteractionConnectionCallback callback, int flags,
121 IAccessibilityInteractionConnectionCallback callback, int flags,
134 IAccessibilityInteractionConnectionCallback callback, int flags,
146 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
158 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
60 findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec, Bundle args) argument
74 performAccessibilityAction(long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid) argument
119 findAccessibilityNodeInfosByViewId(long accessibilityNodeId, String viewId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
132 findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
145 findFocus(long accessibilityNodeId, int focusType, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
157 focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuWrapperICS.java82 Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) {
89 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items);
159 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { argument
160 return mWrappedObject.performShortcut(keyCode, event, flags);
169 public boolean performIdentifierAction(int id, int flags) { argument
170 return mWrappedObject.performIdentifierAction(id, flags);
81 addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument
/frameworks/av/include/media/stagefright/foundation/
H A DFlagged.h26 * the flag if the wrapped type T is already flagged and we can combine the outer and inner flags.
28 * Flags can be queried/manipulated via flags() an setFlags(Flags). The wrapped value can be
32 * Users must specify the used bits (MASK) in the flags. Flag getters and setters will enforce this
48 * EXPECT_EQ(a.flags(), kSafe);
53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted
54 * automatically to not overlap with used bits of the wrapped type's flags, and fall back to
73 * EXPECT_EQ(b.flags(), kConst);
74 * EXPECT_EQ(b.get().flags(), kSafe);
91 * EXPECT_EQ(v.flags(), kUnsafeV);
92 * EXPECT_EQ(v.get().flags(), kUnsaf
393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument
405 Flagged(Flag flags, Args... args) argument
416 constexpr Flag flags() const { function in class:android::Flagged
421 setFlags(Flag flags) argument
484 Flagged(Flag flags, Args... args) argument
499 Flag constexpr flags() const { function in class:android::Flagged
504 setFlags(Flag flags) argument
[all...]
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DFlagged.h26 * the flag if the wrapped type T is already flagged and we can combine the outer and inner flags.
28 * Flags can be queried/manipulated via flags() an setFlags(Flags). The wrapped value can be
32 * Users must specify the used bits (MASK) in the flags. Flag getters and setters will enforce this
48 * EXPECT_EQ(a.flags(), kSafe);
53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted
54 * automatically to not overlap with used bits of the wrapped type's flags, and fall back to
73 * EXPECT_EQ(b.flags(), kConst);
74 * EXPECT_EQ(b.get().flags(), kSafe);
91 * EXPECT_EQ(v.flags(), kUnsafeV);
92 * EXPECT_EQ(v.get().flags(), kUnsaf
393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument
405 Flagged(Flag flags, Args... args) argument
416 constexpr Flag flags() const { function in class:android::Flagged
421 setFlags(Flag flags) argument
484 Flagged(Flag flags, Args... args) argument
499 Flag constexpr flags() const { function in class:android::Flagged
504 setFlags(Flag flags) argument
[all...]
/frameworks/av/media/libstagefright/include/foundation/
H A DFlagged.h26 * the flag if the wrapped type T is already flagged and we can combine the outer and inner flags.
28 * Flags can be queried/manipulated via flags() an setFlags(Flags). The wrapped value can be
32 * Users must specify the used bits (MASK) in the flags. Flag getters and setters will enforce this
48 * EXPECT_EQ(a.flags(), kSafe);
53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted
54 * automatically to not overlap with used bits of the wrapped type's flags, and fall back to
73 * EXPECT_EQ(b.flags(), kConst);
74 * EXPECT_EQ(b.get().flags(), kSafe);
91 * EXPECT_EQ(v.flags(), kUnsafeV);
92 * EXPECT_EQ(v.get().flags(), kUnsaf
393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument
405 Flagged(Flag flags, Args... args) argument
416 constexpr Flag flags() const { function in class:android::Flagged
421 setFlags(Flag flags) argument
484 Flagged(Flag flags, Args... args) argument
499 Flag constexpr flags() const { function in class:android::Flagged
504 setFlags(Flag flags) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMessage.java99 /*package*/ int flags; field in class:Message
130 m.flags = 0; // clear in-use flag
296 flags = FLAG_IN_USE;
323 this.flags = o.flags & ~FLAGS_TO_CLEAR_ON_COPY_FROM;
430 return (flags & FLAG_ASYNCHRONOUS) != 0;
461 flags |= FLAG_ASYNCHRONOUS;
463 flags &= ~FLAG_ASYNCHRONOUS;
468 return ((flags & FLAG_IN_USE) == FLAG_IN_USE);
472 flags |
573 writeToParcel(Parcel dest, int flags) argument
[all...]

Completed in 463 milliseconds

1234567891011>>