Home
last modified time | relevance | path

Searched refs:getFlags (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DSparseRectFArrayTest.java63 assertEquals(0, builder.build().getFlags(99, 0 /* valueIfKeyNotFound */)); in testBuilder()
64 assertEquals(1, builder.build().getFlags(99, 1 /* valueIfKeyNotFound */)); in testBuilder()
66 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 0 /* valueIfKeyNotFound */)); in testBuilder()
67 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 1 /* valueIfKeyNotFound */)); in testBuilder()
69 assertEquals(0, builder.build().getFlags(101, 0 /* valueIfKeyNotFound */)); in testBuilder()
70 assertEquals(1, builder.build().getFlags(101, 1 /* valueIfKeyNotFound */)); in testBuilder()
88 assertEquals(i, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
89 assertEquals(i, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
91 assertEquals(0x1234, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
92 assertEquals(0x4321, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp79 if (isPlaybackThread && (getFlags() & flags) != flags) { in isCompatibleProfile()
86 if (isRecordThread && ((getFlags() ^ flags) & in isCompatibleProfile()
111 snprintf(buffer, SIZE, " - flags: 0x%04x\n", getFlags()); in dump()
/frameworks/base/location/lib/java/com/android/location/provider/
DGmsFusedBatchOptions.java82 public int getFlags() { in getFlags() method in GmsFusedBatchOptions
83 return mOptions.getFlags(); in getFlags()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java104 assertEquals(0, e.getFlags());
156 assertEquals(DropBoxManager.IS_TEXT, e0.getFlags());
157 assertEquals(DropBoxManager.IS_TEXT, e1.getFlags());
158 assertEquals(0, e2.getFlags());
159 assertEquals(0, e3.getFlags());
630 assertEquals(DropBoxManager.IS_EMPTY, e.getFlags()); in testDropBoxEntrySerialization()
638 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
647 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
654 assertEquals(0, e.getFlags()); in testDropBoxEntrySerialization()
663 assertEquals(DropBoxManager.IS_EMPTY, e.getFlags()); in testDropBoxEntrySerialization()
[all …]
/frameworks/support/v4/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java88 public static long getFlags(Object controllerObj) { in getFlags() method in MediaControllerCompatApi21
89 return ((MediaController) controllerObj).getFlags(); in getFlags()
209 if ((aa.getFlags() & AudioAttributes.FLAG_AUDIBILITY_ENFORCED) in toLegacyStreamType()
213 if ((aa.getFlags() & FLAG_SCO) == FLAG_SCO) { in toLegacyStreamType()
/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java348 return installPermState.getFlags(); in getPermissionFlags()
352 return runtimePermState.getFlags(); in getPermissionFlags()
386 final int oldFlags = permissionData.getFlags(userId); in updatePermissionFlags()
390 final int newFlags = permissionData.getFlags(userId); in updatePermissionFlags()
683 public int getFlags(int userId) { in getFlags() method in PermissionsState.PermissionData
765 public int getFlags() { in getFlags() method in PermissionsState.PermissionState
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java44 builder.append(" mFlags=").append(getFlags()); in toString()
48 public Iterable<String> getFlags() { in getFlags() method in InterfaceConfiguration
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java309 public int getFlags() { in getFlags() method in JobStatus
310 return job.getFlags(); in getFlags()
446 || (job.getFlags() & JobInfo.FLAG_WILL_BE_FOREGROUND) != 0; in isReady()
599 if (job.getFlags() != 0) { in dump()
601 pw.println(Integer.toHexString(job.getFlags())); in dump()
611 pw.print(Integer.toHexString(trig.getFlags())); in dump()
DContentObserverController.java272 final boolean andDescendants = (uri.getFlags() & in JobInstance()
284 final boolean andDescendants = (uri.getFlags() & in JobInstance()
387 pw.print(Integer.toHexString(trigger.getFlags())); in dumpControllerStateLocked()
/frameworks/base/core/tests/coretests/src/android/net/
DLinkAddressTest.java75 assertEquals(0, address.getFlags()); in testConstructors()
81 assertEquals(0, address.getFlags()); in testConstructors()
88 assertEquals(IFA_F_DEPRECATED | IFA_F_PERMANENT, address.getFlags()); in testConstructors()
94 assertEquals(123, address.getFlags()); in testConstructors()
/frameworks/base/native/android/
Dobb.cpp53 return obbInfo->getFlags(); in AObbInfo_getFlags()
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java61 public int getFlags() { in getFlags() method in KeyStoreParameter
/frameworks/base/graphics/java/android/graphics/
DPaint.java603 public int getFlags() { in getFlags() method in Paint
649 return (getFlags() & ANTI_ALIAS_FLAG) != 0; in isAntiAlias()
677 return (getFlags() & DITHER_FLAG) != 0; in isDither()
702 return (getFlags() & LINEAR_TEXT_FLAG) != 0; in isLinearText()
723 return (getFlags() & SUBPIXEL_TEXT_FLAG) != 0; in isSubpixelText()
744 return (getFlags() & UNDERLINE_TEXT_FLAG) != 0; in isUnderlineText()
765 return (getFlags() & STRIKE_THRU_TEXT_FLAG) != 0; in isStrikeThruText()
786 return (getFlags() & FAKE_BOLD_TEXT_FLAG) != 0; in isFakeBoldText()
810 return (getFlags() & FILTER_BITMAP_FLAG) != 0; in isFilterBitmap()
/frameworks/av/include/media/
DIDataSource.h48 virtual uint32_t getFlags() = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.h48 virtual uint32_t getFlags();
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java197 public long getFlags() { in getFlags() method in MediaControllerCompat
198 return mImpl.getFlags(); in getFlags()
850 long getFlags(); in getFlags() method
986 public long getFlags() { in getFlags() method in MediaControllerCompat.MediaControllerImplBase
988 return mBinder.getFlags(); in getFlags()
1315 public long getFlags() { in getFlags() method in MediaControllerCompat.MediaControllerImplApi21
1316 return MediaControllerCompatApi21.getFlags(mControllerObj); in getFlags()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRow.java116 final int getFlags() { in getFlags() method in Row
/frameworks/av/media/libstagefright/
DMediaExtractor.cpp89 virtual uint32_t getFlags();
130 uint32_t RemoteDataSource::getFlags() { in getFlags() function in android::RemoteDataSource
/frameworks/native/include/binder/
DMemoryHeapBase.h66 virtual uint32_t getFlags() const;
DIMemory.h45 virtual uint32_t getFlags() const = 0;
/frameworks/av/media/libmedia/
DIDataSource.cpp76 virtual uint32_t getFlags() { in getFlags() function
164 reply->writeUint32(getFlags()); in onTransact()
/frameworks/native/libs/binder/
DIMemory.cpp84 virtual uint32_t getFlags() const;
357 uint32_t BpMemoryHeap::getFlags() const { in getFlags() function in android::BpMemoryHeap
385 reply->writeInt32(getFlags()); in onTransact()
/frameworks/base/media/java/android/media/
DAudioAttributes.java293 public int getFlags() { in getFlags() method in AudioAttributes
844 if ((aa.getFlags() & FLAG_AUDIBILITY_ENFORCED) == FLAG_AUDIBILITY_ENFORCED) { in toVolumeStreamType()
848 if ((aa.getFlags() & FLAG_SCO) == FLAG_SCO) { in toVolumeStreamType()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp118 if (keyEvent->getFlags() & AKEY_EVENT_FLAG_PREDISPATCH) { in preDispatchEvent()
231 event->setFlags(event->getFlags() | AKEY_EVENT_FLAG_PREDISPATCH); in nativeSendKeyEvent()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java154 if ((record.getFlags() & MediaSession.FLAG_EXCLUSIVE_GLOBAL_PRIORITY) != 0) { in onSessionStateChange()
328 if ((session.getFlags() & withFlags) != withFlags) { in getPriorityListLocked()

1234567