/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 48 int flags; field in IntRangeManagerTest.TestIntRangeManager 58 flags |= FLAG_START_UPDATE_CALLED; in startUpdate() 70 flags |= FLAG_ADD_RANGE_CALLED; in addRange() 78 flags |= FLAG_FINISH_UPDATE_CALLED; in finishUpdate() 84 flags = 0; in reset() 119 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel() 121 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 127 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 137 assertEquals("flags after enable", ALL_FLAGS_SET, testManager.flags); in testRemoveSingleChannel() 142 testManager.flags); in testRemoveSingleChannel() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 32 final int flags; // Binding options. field in ConnectionRecord 44 + " flags=0x" + Integer.toHexString(flags)); in dump() 53 flags = _flags; in ConnectionRecord() 68 if ((flags&Context.BIND_AUTO_CREATE) != 0) { in toString() 71 if ((flags&Context.BIND_DEBUG_UNBIND) != 0) { in toString() 74 if ((flags&Context.BIND_NOT_FOREGROUND) != 0) { in toString() 77 if ((flags&Context.BIND_ABOVE_CLIENT) != 0) { in toString() 80 if ((flags&Context.BIND_ALLOW_OOM_MANAGEMENT) != 0) { in toString() 83 if ((flags&Context.BIND_WAIVE_PRIORITY) != 0) { in toString() 86 if ((flags&Context.BIND_IMPORTANT) != 0) { in toString() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 96 public int flags; field in UserInfo 107 public UserInfo(int id, String name, int flags) { in UserInfo() argument 108 this(id, name, null, flags); in UserInfo() 111 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument 114 this.flags = flags; in UserInfo() 121 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary() 125 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin() 129 return (flags & FLAG_GUEST) == FLAG_GUEST; in isGuest() 133 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted() 137 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile() [all …]
|
D | IPackageManager.aidl | 65 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument 66 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() argument 67 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() argument 72 PermissionInfo getPermissionInfo(String name, int flags); in getPermissionInfo() argument 74 ParceledListSlice queryPermissionsByGroup(String group, int flags); in queryPermissionsByGroup() argument 76 PermissionGroupInfo getPermissionGroupInfo(String name, int flags); in getPermissionGroupInfo() argument 78 ParceledListSlice getAllPermissionGroups(int flags); in getAllPermissionGroups() argument 80 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument 82 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() argument 87 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo() argument [all …]
|
D | PackageUserState.java | 82 public boolean isInstalled(int flags) { in isInstalled() argument 84 || (flags & PackageManager.MATCH_UNINSTALLED_PACKAGES) != 0; in isInstalled() 96 public boolean isMatch(ComponentInfo componentInfo, int flags) { in isMatch() argument 97 if (!isInstalled(flags)) return false; in isMatch() 98 if (!isEnabled(componentInfo, flags)) return false; in isMatch() 100 if ((flags & MATCH_SYSTEM_ONLY) != 0) { in isMatch() 106 final boolean matchesUnaware = ((flags & MATCH_DIRECT_BOOT_UNAWARE) != 0) in isMatch() 108 final boolean matchesAware = ((flags & MATCH_DIRECT_BOOT_AWARE) != 0) in isMatch() 116 public boolean isEnabled(ComponentInfo componentInfo, int flags) { in isEnabled() argument 117 if ((flags & MATCH_DISABLED_COMPONENTS) != 0) { in isEnabled() [all …]
|
D | ServiceInfo.java | 72 public int flags; field in ServiceInfo 80 flags = orig.flags; in ServiceInfo() 88 void dump(Printer pw, String prefix, int flags) { in dump() argument 91 pw.println(prefix + "flags=0x" + Integer.toHexString(flags)); in dump() 92 super.dumpBack(pw, prefix, flags); in dump() 108 dest.writeInt(flags); in writeToParcel() 124 flags = source.readInt(); in ServiceInfo()
|
/frameworks/base/core/java/android/net/ |
D | LinkAddress.java | 67 private int flags; field in LinkAddress 114 private void init(InetAddress address, int prefixLength, int flags, int scope) { in init() argument 125 this.flags = flags; in init() 139 public LinkAddress(InetAddress address, int prefixLength, int flags, int scope) { in LinkAddress() argument 140 init(address, prefixLength, flags, scope); in LinkAddress() 185 public LinkAddress(String address, int flags, int scope) { in LinkAddress() argument 188 init(ipAndMask.first, ipAndMask.second, flags, scope); in LinkAddress() 218 this.flags == linkAddress.flags && in equals() 227 return address.hashCode() + 11 * prefixLength + 19 * flags + 43 * scope; in hashCode() 272 return flags; in getFlags() [all …]
|
/frameworks/av/camera/ |
D | CameraUtils.cpp | 53 int32_t& flags = *transform; in getRotationTransform() local 60 flags = 0; in getRotationTransform() 63 flags = NATIVE_WINDOW_TRANSFORM_ROT_90; in getRotationTransform() 66 flags = NATIVE_WINDOW_TRANSFORM_ROT_180; in getRotationTransform() 69 flags = NATIVE_WINDOW_TRANSFORM_ROT_270; in getRotationTransform() 82 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H; in getRotationTransform() 85 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 89 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 93 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 118 flags |= NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY; in getRotationTransform() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionInspector.java | 108 int flags = 0; in getMissingMethodFlagsInternal() local 110 flags |= MissingMethodFlags.GET_SELECTED_TEXT; in getMissingMethodFlagsInternal() 113 flags |= MissingMethodFlags.SET_COMPOSING_REGION; in getMissingMethodFlagsInternal() 116 flags |= MissingMethodFlags.COMMIT_CORRECTION; in getMissingMethodFlagsInternal() 119 flags |= MissingMethodFlags.REQUEST_CURSOR_UPDATES; in getMissingMethodFlagsInternal() 122 flags |= MissingMethodFlags.DELETE_SURROUNDING_TEXT_IN_CODE_POINTS; in getMissingMethodFlagsInternal() 125 flags |= MissingMethodFlags.GET_HANDLER; in getMissingMethodFlagsInternal() 128 flags |= MissingMethodFlags.CLOSE_CONNECTION; in getMissingMethodFlagsInternal() 130 sMissingMethodsMap.put(clazz, flags); in getMissingMethodFlagsInternal() 131 return flags; in getMissingMethodFlagsInternal() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 63 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 68 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 99 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 104 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 114 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() argument 119 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() argument 124 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 130 public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) in getPermissionGroupInfo() argument 136 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument 141 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 126 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument 128 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 129 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 136 mFlags = flags; in Entry() 143 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument 145 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 146 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 153 mFlags = flags; in Entry() 160 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() argument 162 if ((flags & IS_EMPTY) != 0) throw new IllegalArgumentException("Bad flags: " + flags); in Entry() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 627 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 632 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 633 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 634 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 635 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 638 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 641 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 642 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 643 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 646 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 71 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 77 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 108 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException { in getPackageGids() argument 113 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() argument 119 public int getPackageUidAsUser(String packageName, int flags, int userHandle) in getPackageUidAsUser() argument 132 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 138 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 145 int flags) throws NameNotFoundException { in getPermissionGroupInfo() argument 150 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument 155 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() argument [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 129 status_t Transform::set(uint32_t flags, float w, float h) in set() argument 131 if (flags & ROT_INVALID) { in set() 138 if (flags & ROT_90) { in set() 143 if (flags & FLIP_H) { in set() 151 if (flags & FLIP_V) { in set() 159 if (flags & ROT_90) { in set() 255 uint32_t flags = ROT_0; in type() local 257 if (a<0) flags |= FLIP_H; in type() 258 if (d<0) flags |= FLIP_V; in type() 263 flags |= ROT_90; in type() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | debug_report.cpp | 34 head_.next = new (mem) Node{head_.next, info.flags, info.pfnCallback, in AddCallback() 55 void DebugReportCallbackList::Message(VkDebugReportFlagsEXT flags, in Message() argument 65 if ((node->flags & flags) != 0) { in Message() 66 node->callback(flags, object_type, object, location, message_code, in Message() 72 void DebugReportLogger::Message(VkDebugReportFlagsEXT flags, in Message() argument 85 (info->flags & flags) != 0) { in Message() 86 info->pfnCallback(flags, object_type, object, location, in Message() 96 callbacks_->Message(flags, object_type, object, location, message_code, in Message() 101 void DebugReportLogger::PrintV(VkDebugReportFlagsEXT flags, in PrintV() argument 113 Message(flags, object_type, object, 0, 0, LOG_TAG, buf); in PrintV() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | DiskInfo.java | 52 public final int flags; field in DiskInfo 59 public DiskInfo(String id, int flags) { in DiskInfo() argument 61 this.flags = flags; in DiskInfo() 66 flags = parcel.readInt(); in DiskInfo() 98 if ((flags & FLAG_SD) != 0) { in getDescription() 104 } else if ((flags & FLAG_USB) != 0) { in getDescription() 116 return (flags & FLAG_ADOPTABLE) != 0; in isAdoptable() 120 return (flags & FLAG_DEFAULT_PRIMARY) != 0; in isDefaultPrimary() 124 return (flags & FLAG_SD) != 0; in isSd() 128 return (flags & FLAG_USB) != 0; in isUsb() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 117 public static byte[] decode(String str, int flags) { in decode() argument 118 return decode(str.getBytes(), flags); in decode() 135 public static byte[] decode(byte[] input, int flags) { in decode() argument 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 158 Decoder decoder = new Decoder(flags, new byte[len*3/4]); in decode() 241 public Decoder(int flags, byte[] output) { in Decoder() argument 244 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE; in Decoder() 454 public static String encodeToString(byte[] input, int flags) { in encodeToString() argument 456 return new String(encode(input, flags), "US-ASCII"); in encodeToString() [all …]
|
D | Base64OutputStream.java | 29 private final int flags; field in Base64OutputStream 44 public Base64OutputStream(OutputStream out, int flags) { in Base64OutputStream() argument 45 this(out, flags, true); in Base64OutputStream() 60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream() argument 62 this.flags = flags; in Base64OutputStream() 64 coder = new Base64.Encoder(flags, null); in Base64OutputStream() 66 coder = new Base64.Decoder(flags, null); in Base64OutputStream() 114 if ((flags & Base64.NO_CLOSE) == 0) { in close()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 270 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_ABBREV_MONTH; in getRelativeTimeSpanString() local 271 return getRelativeTimeSpanString(time, now, minResolution, flags); in getRelativeTimeSpanString() 295 int flags) { in getRelativeTimeSpanString() argument 297 TimeZone.getDefault(), time, now, minResolution, flags); in getRelativeTimeSpanString() 324 long transitionResolution, int flags) { in getRelativeDateTimeString() argument 326 if ((flags & (FORMAT_SHOW_TIME | FORMAT_12HOUR | FORMAT_24HOUR)) == FORMAT_SHOW_TIME) { in getRelativeDateTimeString() 327 flags |= DateFormat.is24HourFormat(c) ? FORMAT_24HOUR : FORMAT_12HOUR; in getRelativeDateTimeString() 332 transitionResolution, flags); in getRelativeDateTimeString() 501 long endMillis, int flags) { in formatDateRange() argument 503 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 78 public void createAppData(String uuid, String pkgname, int userid, int flags, int appid, in createAppData() argument 80 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo, in createAppData() 84 public void restoreconAppData(String uuid, String pkgname, int userid, int flags, int appid, in restoreconAppData() argument 86 mInstaller.execute("restorecon_app_data", uuid, pkgname, userid, flags, appid, in restoreconAppData() 90 public void migrateAppData(String uuid, String pkgname, int userid, int flags) in migrateAppData() argument 92 mInstaller.execute("migrate_app_data", uuid, pkgname, userid, flags); in migrateAppData() 95 public void clearAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in clearAppData() argument 97 mInstaller.execute("clear_app_data", uuid, pkgname, userid, flags, ceDataInode); in clearAppData() 100 public void destroyAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in destroyAppData() argument 102 mInstaller.execute("destroy_app_data", uuid, pkgname, userid, flags, ceDataInode); in destroyAppData() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ViewInfoStore.java | 74 record.flags |= FLAG_PRE; in addToPreLayout() 79 return record != null && ((record.flags & FLAG_DISAPPEARED) != 0); in isDisappearing() 110 if (record != null && (record.flags & flag) != 0) { in popFromLayoutStep() 111 record.flags &= ~flag; in popFromLayoutStep() 121 if ((record.flags & (FLAG_PRE | FLAG_POST)) == 0) { in popFromLayoutStep() 154 record.flags |= FLAG_APPEAR; in addToAppearedInPreLayoutHolders() 166 return record != null && (record.flags & FLAG_PRE) != 0; in isInPreLayout() 192 record.flags |= FLAG_POST; in addToPostLayout() 207 record.flags |= FLAG_DISAPPEARED; in addToDisappearedInLayout() 219 record.flags &= ~FLAG_DISAPPEARED; in removeFromDisappearedInLayout() [all …]
|
/frameworks/native/cmds/installd/ |
D | commands.h | 31 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 33 int restorecon_app_data(const char* uuid, const char* pkgName, userid_t userid, int flags, 35 int migrate_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags); 36 int clear_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 38 int destroy_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 44 int get_app_size(const char *uuid, const char *pkgname, int userid, int flags, ino_t ce_data_inode, 47 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode); 49 int create_user_data(const char *uuid, userid_t userid, int user_serial, int flags); 50 int destroy_user_data(const char *uuid, userid_t userid, int flags);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 209 public int flags; field in DisplayDeviceInfo 302 || flags != other.flags in diff() 336 flags = other.flags; in copyFrom() 375 sb.append(flagsToString(flags)); in toString() 393 private static String flagsToString(int flags) { in flagsToString() argument 395 if ((flags & FLAG_DEFAULT_DISPLAY) != 0) { in flagsToString() 398 if ((flags & FLAG_ROTATES_WITH_CONTENT) != 0) { in flagsToString() 401 if ((flags & FLAG_SECURE) != 0) { in flagsToString() 404 if ((flags & FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in flagsToString() 407 if ((flags & FLAG_PRIVATE) != 0) { in flagsToString() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | BeamShareData.java | 19 public final int flags; field in BeamShareData 21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData() argument 25 this.flags = flags; in BeamShareData() 34 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 42 dest.writeInt(this.flags); in writeToParcel() 57 int flags = source.readInt(); 59 return new BeamShareData(msg, uris, userHandle, flags);
|
/frameworks/base/core/java/android/service/notification/ |
D | Condition.java | 93 public final int flags; field in Condition 108 int state, int flags) { in Condition() argument 118 this.flags = flags; in Condition() 136 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 143 dest.writeInt(this.flags); in writeToParcel() 155 .append(",flags=").append(flags) in toString() 169 public static String relevanceToString(int flags) { in relevanceToString() argument 170 final boolean now = (flags & FLAG_RELEVANT_NOW) != 0; in relevanceToString() 171 final boolean always = (flags & FLAG_RELEVANT_ALWAYS) != 0; in relevanceToString() 188 && other.flags == flags; in equals() [all …]
|