/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | SparseRectFArrayTest.java | 74 assertEquals(0, builder.build().getFlags(99, 0 /* valueIfKeyNotFound */)); in testBuilder() 75 assertEquals(1, builder.build().getFlags(99, 1 /* valueIfKeyNotFound */)); in testBuilder() 77 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 0 /* valueIfKeyNotFound */)); in testBuilder() 78 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 1 /* valueIfKeyNotFound */)); in testBuilder() 80 assertEquals(0, builder.build().getFlags(101, 0 /* valueIfKeyNotFound */)); in testBuilder() 81 assertEquals(1, builder.build().getFlags(101, 1 /* valueIfKeyNotFound */)); in testBuilder() 99 assertEquals(i, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder() 100 assertEquals(i, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder() 102 assertEquals(0x1234, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder() 103 assertEquals(0x4321, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | IOProfile.cpp | 83 if (isPlaybackThread && (((getFlags() ^ flags) & mustMatchOutputFlags) in isCompatibleProfile() 84 || (getFlags() & flags) != flags)) { in isCompatibleProfile() 91 if (isRecordThread && ((getFlags() ^ flags) & in isCompatibleProfile() 114 dst->appendFormat(" - flags: 0x%04x", getFlags()); in dump() 117 InputFlagConverter::maskToString(getFlags(), flagsLiteral); in dump() 119 OutputFlagConverter::maskToString(getFlags(), flagsLiteral); in dump()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 57 assertEquals(FLAGS, keyEvent.getFlags()); in testObtain() 76 assertEquals(keyEvent.getFlags(), keyEvent2.getFlags()); in testObtainFromKeyEvent() 95 assertEquals(FLAGS, keyEvent.getFlags()); in testObtainWithDisplayId()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkAddressTest.java | 94 assertEquals(0, address.getFlags()); in testConstructors() 101 assertEquals(0, address.getFlags()); in testConstructors() 109 assertEquals(IFA_F_DEPRECATED | IFA_F_PERMANENT, address.getFlags()); in testConstructors() 116 assertEquals(123, address.getFlags()); in testConstructors() 396 assertEquals(123, l.getFlags()); in testGetFlags() 406 assertTrue((l.getFlags() & IFA_F_DEPRECATED) != 0); in testGetFlags_Deprecation() 411 assertTrue((l.getFlags() & IFA_F_DEPRECATED) == 0); in testGetFlags_Deprecation() 416 assertTrue((l.getFlags() & IFA_F_PERMANENT) != 0); in testGetFlags_Deprecation() 421 assertTrue((l.getFlags() & IFA_F_PERMANENT) == 0); in testGetFlags_Deprecation()
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 394 Flag getFlags() const { in getFlags() function 585 && (getFlags() & VolumeShaper::Operation::FLAG_DELAY) == 0) { in VolumeShaper() 591 VolumeShaper::Operation::Flag getFlags() const { in getFlags() function 593 ? VolumeShaper::Operation::FLAG_NONE : mOperation->getFlags(); in getFlags() 628 if ((getFlags() & VolumeShaper::Operation::FLAG_DELAY) != 0) { in getVolume() 692 S normalizedTime = (getFlags() & VolumeShaper::Operation::FLAG_REVERSE) != 0 ? in updatePosition() 711 if (getFlags() & VolumeShaper::Operation::FLAG_REVERSE) { in computeStateFromNormalizedTime() 794 if ((operation->getFlags() & VolumeShaper::Operation::FLAG_JOIN) != 0) { in applyVolumeShaper() 812 if ((operation->getFlags() in applyVolumeShaper() 846 if ((operation->getFlags() & VolumeShaper::Operation::FLAG_TERMINATE) != 0) { in applyVolumeShaper() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 405 return installPermState.getFlags(); in getPermissionFlags() 409 return runtimePermState.getFlags(); in getPermissionFlags() 449 final int oldFlags = permissionData.getFlags(userId); in updatePermissionFlags() 453 final int newFlags = permissionData.getFlags(userId); in updatePermissionFlags() 478 if ((permission.getFlags(userId) in hasPermissionRequiringReview() 788 public int getFlags(int userId) { in getFlags() method in PermissionsState.PermissionData 870 public int getFlags() { in getFlags() method in PermissionsState.PermissionState
|
/frameworks/native/libs/sensor/tests/ |
D | Sensor_test.cpp | 48 a.getFlags() == b.getFlags () && in sensorsMatch()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 136 assertEquals(0, e.getFlags()); 191 assertEquals(DropBoxManager.IS_TEXT, e0.getFlags()); 192 assertEquals(DropBoxManager.IS_TEXT, e1.getFlags()); 193 assertEquals(0, e2.getFlags()); 194 assertEquals(0, e3.getFlags()); 672 assertEquals(DropBoxManager.IS_EMPTY, e.getFlags()); in testDropBoxEntrySerialization() 680 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization() 689 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization() 696 assertEquals(0, e.getFlags()); in testDropBoxEntrySerialization() 705 assertEquals(DropBoxManager.IS_EMPTY, e.getFlags()); in testDropBoxEntrySerialization() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 68 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet() 101 assertThat(newSuggestion.getFlags()) in buildSuggestion_fromParcelable()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolver.java | 115 sanitizedIntent.addFlags(origIntent.getFlags()); in sanitizeIntent() 167 if (resolveInfo == null && (origIntent.getFlags() & FLAG_ACTIVITY_MATCH_EXTERNAL) != 0) { in doInstantAppResolutionPhaseOne() 262 int flags = origIntent.getFlags(); in buildEphemeralInstallerIntent() 368 && (origIntent.getFlags() & Intent.FLAG_ACTIVITY_MATCH_EXTERNAL) == 0); in filterInstantAppIntent() 419 failureIntent.setFlags(failureIntent.getFlags() | Intent.FLAG_IGNORE_EPHEMERAL); in createFailureIntent() 420 failureIntent.setFlags(failureIntent.getFlags() & ~Intent.FLAG_ACTIVITY_MATCH_EXTERNAL); in createFailureIntent()
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 50 builder.append(" mFlags=").append(getFlags()); in toString() 55 public Iterable<String> getFlags() { in getFlags() method in InterfaceConfiguration
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
D | PooledLambdaImpl.java | 179 LambdaType.decodeArgCount(getFlags(MASK_EXPOSED_AS))) in invoke() 185 int argCount = LambdaType.decodeArgCount(getFlags(MASK_FUNC_TYPE)); in invoke() 229 final int funcType = getFlags(MASK_FUNC_TYPE); in doInvoke() 417 return LambdaType.decodeArgCount(getFlags(MASK_FUNC_TYPE)) == LambdaType.MASK_ARG_COUNT; in isConstSupplier() 445 LambdaType.decodeArgCount(getFlags(MASK_FUNC_TYPE)))); in toString() 463 String name = LambdaType.toString(getFlags(MASK_EXPOSED_AS)); in getFuncTypeAsString() 581 int getFlags(int mask) { in getFlags() method in PooledLambdaImpl
|
/frameworks/av/media/libmedia/ |
D | IDataSource.cpp | 83 virtual uint32_t getFlags() { in getFlags() function 130 reply->writeUint32(getFlags()); in onTransact()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | DataRemovalRequest.java | 191 parcel.writeInt(request.getFlags()); in writeToParcel() 238 public @Flags int getFlags() { in getFlags() method in DataRemovalRequest.LocusIdRequest
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 207 final boolean allowInIdle = ((task.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) in updateTaskStateLocked() 216 if ((jobStatus.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) { in maybeStartTrackingJobLocked() 225 if ((jobStatus.getFlags()&JobInfo.FLAG_IMPORTANT_WHILE_FOREGROUND) != 0) { in maybeStopTrackingJobLocked()
|
D | JobStatus.java | 421 mReadyNotDozing = (job.getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) != 0; in JobStatus() 549 && GrantedUriPermissions.checkGrantFlags(work.getIntent().getFlags())) { in enqueueWorkLocked() 759 public int getFlags() { in getFlags() method in JobStatus 760 return job.getFlags(); in getFlags() 983 mReadyNotDozing = state || (job.getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) != 0; in setDeviceNotDozingConstraintSatisfied() 1469 if (job.getFlags() != 0) { in dump() 1471 pw.println(Integer.toHexString(job.getFlags())); in dump() 1491 pw.print(Integer.toHexString(trig.getFlags())); in dump() 1677 proto.write(JobStatusDumpProto.JobInfo.FLAGS, job.getFlags()); in dump() 1688 … proto.write(JobStatusDumpProto.JobInfo.TriggerContentUri.FLAGS, trig.getFlags()); in dump()
|
/frameworks/base/native/android/ |
D | obb.cpp | 53 return obbInfo->getFlags(); in AObbInfo_getFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDebuggingActivity.java | 97 if (((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_OBSCURED) != 0) in onCreate() 98 || ((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED) != 0)) { in onCreate()
|
/frameworks/av/media/libmedia/include/media/ |
D | IDataSource.h | 50 virtual uint32_t getFlags() = 0;
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreParameter.java | 61 public int getFlags() { in getFlags() method in KeyStoreParameter
|
/frameworks/base/media/jni/ |
D | android_media_MediaDataSource.h | 48 virtual uint32_t getFlags();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 279 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel() 334 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel_resId() 385 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone() 408 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone() 429 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone() 451 | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone() 475 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone() 525 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone_resId() 548 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone_resId() 571 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone_resId() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureContextTest.java | 41 assertThat(newCtx.getFlags()).isEqualTo(3); in testConstructorAdditionalFlags()
|
/frameworks/native/include/binder/ |
D | MemoryHeapBase.h | 66 uint32_t getFlags() const override;
|
/frameworks/native/libs/binder/include/binder/ |
D | MemoryHeapBase.h | 66 uint32_t getFlags() const override;
|