/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 45 int flags; field in IntRangeManagerTest.TestIntRangeManager 55 flags |= FLAG_START_UPDATE_CALLED; in startUpdate() 67 flags |= FLAG_ADD_RANGE_CALLED; in addRange() 75 flags |= FLAG_FINISH_UPDATE_CALLED; in finishUpdate() 81 flags = 0; in reset() 114 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel() 116 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 122 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 131 assertEquals("flags after enable", ALL_FLAGS_SET, testManager.flags); in testRemoveSingleChannel() 136 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 | 85 public int flags; field in UserInfo 94 public UserInfo(int id, String name, int flags) { in UserInfo() argument 95 this(id, name, null, flags); in UserInfo() 98 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument 101 this.flags = flags; in UserInfo() 107 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary() 111 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin() 115 return (flags & FLAG_GUEST) == FLAG_GUEST; in isGuest() 119 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted() 123 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile() [all …]
|
D | IPackageManager.aidl | 64 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument 66 int getPackageUidEtc(String packageName, int flags, int userId); in getPackageUidEtc() argument 68 int[] getPackageGidsEtc(String packageName, int flags, int userId); in getPackageGidsEtc() argument 73 PermissionInfo getPermissionInfo(String name, int flags); in getPermissionInfo() argument 75 List<PermissionInfo> queryPermissionsByGroup(String group, int flags); in queryPermissionsByGroup() argument 77 PermissionGroupInfo getPermissionGroupInfo(String name, int flags); in getPermissionGroupInfo() argument 79 List<PermissionGroupInfo> getAllPermissionGroups(int flags); in getAllPermissionGroups() argument 81 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument 83 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() argument 88 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo() argument [all …]
|
D | FeatureInfo.java | 55 public int flags; field in FeatureInfo 63 flags = orig.flags; in FeatureInfo() 70 + " " + name + " fl=0x" + Integer.toHexString(flags) + "}"; in toString() 75 + " fl=0x" + Integer.toHexString(flags) + "}"; in toString() 86 dest.writeInt(flags); in writeToParcel() 102 flags = source.readInt(); in FeatureInfo()
|
/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 | 52 int32_t& flags = *transform; in getRotationTransform() local 59 flags = 0; in getRotationTransform() 62 flags = NATIVE_WINDOW_TRANSFORM_ROT_90; in getRotationTransform() 65 flags = NATIVE_WINDOW_TRANSFORM_ROT_180; in getRotationTransform() 68 flags = NATIVE_WINDOW_TRANSFORM_ROT_270; in getRotationTransform() 81 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H; in getRotationTransform() 84 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 88 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 92 flags = NATIVE_WINDOW_TRANSFORM_FLIP_H ^ in getRotationTransform() 117 flags |= NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY; in getRotationTransform() [all …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 121 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument 123 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 124 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 131 mFlags = flags; in Entry() 138 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument 140 if (((flags & IS_EMPTY) != 0) != (data == null)) { in Entry() 141 throw new IllegalArgumentException("Bad flags: " + flags); in Entry() 148 mFlags = flags; in Entry() 155 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() argument 157 if ((flags & IS_EMPTY) != 0) throw new IllegalArgumentException("Bad flags: " + flags); in Entry() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 66 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() argument 105 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 111 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 118 int flags) throws NameNotFoundException { in getPermissionGroupInfo() argument 123 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument 128 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() argument 134 public ActivityInfo getActivityInfo(ComponentName className, int flags) in getActivityInfo() argument 140 public ActivityInfo getReceiverInfo(ComponentName className, int flags) in getReceiverInfo() argument 146 public ServiceInfo getServiceInfo(ComponentName className, int flags) in getServiceInfo() argument 152 public ProviderInfo getProviderInfo(ComponentName className, int flags) in getProviderInfo() argument [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 98 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() argument 103 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 109 public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) in getPermissionGroupInfo() argument 115 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument 120 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() argument 126 public ActivityInfo getActivityInfo(ComponentName component, int flags) in getActivityInfo() argument 132 public ActivityInfo getReceiverInfo(ComponentName component, int flags) in getReceiverInfo() argument 138 public ServiceInfo getServiceInfo(ComponentName component, int flags) in getServiceInfo() argument 144 public ProviderInfo getProviderInfo(ComponentName component, int flags) in getProviderInfo() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 622 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 627 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 628 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 629 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 630 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 633 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 636 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 637 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 638 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 641 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 133 status_t Transform::set(uint32_t flags, float w, float h) in set() argument 135 if (flags & ROT_INVALID) { in set() 142 if (flags & ROT_90) { in set() 147 if (flags & FLIP_H) { in set() 155 if (flags & FLIP_V) { in set() 163 if (flags & ROT_90) { in set() 259 uint32_t flags = ROT_0; in type() local 261 if (a<0) flags |= FLIP_H; in type() 262 if (d<0) flags |= FLIP_V; in type() 267 flags |= ROT_90; in type() [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/core/java/android/service/notification/ |
D | Condition.java | 51 public final int flags; field in Condition 54 int state, int flags) { in Condition() argument 66 this.flags = flags; in Condition() 84 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 91 dest.writeInt(this.flags); in writeToParcel() 103 .append(",flags=").append(flags) in toString() 115 public static String relevanceToString(int flags) { in relevanceToString() argument 116 final boolean now = (flags & FLAG_RELEVANT_NOW) != 0; in relevanceToString() 117 final boolean always = (flags & FLAG_RELEVANT_ALWAYS) != 0; in relevanceToString() 134 && other.flags == flags; in equals() [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/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 204 public int flags; field in DisplayDeviceInfo 296 || flags != other.flags in diff() 329 flags = other.flags; in copyFrom() 367 sb.append(flagsToString(flags)); in toString() 385 private static String flagsToString(int flags) { in flagsToString() argument 387 if ((flags & FLAG_DEFAULT_DISPLAY) != 0) { in flagsToString() 390 if ((flags & FLAG_ROTATES_WITH_CONTENT) != 0) { in flagsToString() 393 if ((flags & FLAG_SECURE) != 0) { in flagsToString() 396 if ((flags & FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in flagsToString() 399 if ((flags & FLAG_PRIVATE) != 0) { in flagsToString() [all …]
|
/frameworks/base/tools/aidl/ |
D | Type.h | 49 Variable* parcel, int flags); 58 Variable* parcel, int flags); 65 Variable* data, int flags); 71 Expression* BuildWriteToParcelFlags(int flags); 104 Variable* parcel, int flags); 111 Variable* parcel, int flags); 118 Variable* data, int flags); 141 Variable* parcel, int flags); 148 Variable* parcel, int flags); 155 Variable* data, int flags); [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 44 MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name) in MemoryHeapBase() argument 45 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 54 if (flags & READ_ONLY) { in MemoryHeapBase() 61 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) in MemoryHeapBase() argument 62 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 66 if (flags & NO_CACHING) in MemoryHeapBase() 80 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) in MemoryHeapBase() argument 81 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 89 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) in init() argument 97 mFlags = flags; in init()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 45 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 46 return mTarget.getTextBeforeCursor(n, flags); in getTextBeforeCursor() 49 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 50 return mTarget.getTextAfterCursor(n, flags); in getTextAfterCursor() 53 public CharSequence getSelectedText(int flags) { in getSelectedText() argument 54 return mTarget.getSelectedText(flags); in getSelectedText() 61 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { in getExtractedText() argument 62 return mTarget.getExtractedText(request, flags); in getExtractedText()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 126 public PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() argument 129 PackageInfo pi = mPM.getPackageInfo(packageName, flags, mContext.getUserId()); in getPackageInfo() 235 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() argument 238 PermissionInfo pi = mPM.getPermissionInfo(name, flags); in getPermissionInfo() 250 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() argument 253 List<PermissionInfo> pi = mPM.queryPermissionsByGroup(group, flags); in queryPermissionsByGroup() 266 int flags) throws NameNotFoundException { in getPermissionGroupInfo() argument 268 PermissionGroupInfo pgi = mPM.getPermissionGroupInfo(name, flags); in getPermissionGroupInfo() 280 public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { in getAllPermissionGroups() argument 282 return mPM.getAllPermissionGroups(flags); in getAllPermissionGroups() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.h | 46 int flags; member 48 BatchParams() : flags(0), batchDelay(0), batchTimeout(0) {} in BatchParams() 49 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay), in BatchParams() 53 other.flags != flags; 72 status_t setBatchParamsForIdent(void* ident, int flags, int64_t samplingPeriodNs, 96 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 183 int flags = entry.getFlags(); in add() local 184 if ((flags & DropBoxManager.IS_EMPTY) != 0) throw new IllegalArgumentException(); in add() 213 if (read == buffer.length && ((flags & DropBoxManager.IS_GZIPPED) == 0)) { in add() 215 flags = flags | DropBoxManager.IS_GZIPPED; in add() 245 long time = createEntry(temp, tag, flags); in add() 296 if ((entry.flags & DropBoxManager.IS_EMPTY) != 0) { in getNextEntry() 301 entry.tag, entry.timestampMillis, entry.file, entry.flags); in getNextEntry() 370 } else if ((entry.flags & DropBoxManager.IS_EMPTY) != 0) { in dump() 375 if ((entry.flags & DropBoxManager.IS_GZIPPED) != 0) out.append("compressed "); in dump() 376 out.append((entry.flags & DropBoxManager.IS_TEXT) != 0 ? "text" : "data"); in dump() [all …]
|