Home
last modified time | relevance | path

Searched refs:getCallingWorkSourceUid (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java109 assertEquals(UID, Binder.getCallingWorkSourceUid()); in setWorkSource()
117 assertEquals(UID_NONE, Binder.getCallingWorkSourceUid()); in clearWorkSource()
126 assertEquals(UID, Binder.getCallingWorkSourceUid()); in setWorkSource_propagatedForMultipleCalls()
156 assertEquals(UID, Binder.getCallingWorkSourceUid()); in restoreWorkSource()
160 assertEquals(UID, Binder.getCallingWorkSourceUid()); in restoreWorkSource()
172 assertEquals(UID, Binder.getCallingWorkSourceUid()); in nestedSetWorkSoucePropagated()
182 assertEquals(UID_NONE, Binder.getCallingWorkSourceUid()); in nestedSetWorkSouceDoesNotEnablePropagation()
215 assertEquals(UID, Binder.getCallingWorkSourceUid()); in nestedSetWorkSouceNotPropagated()
DBinderTest.java29 assertEquals(UID, Binder.getCallingWorkSourceUid()); in testSetWorkSource()
36 assertEquals(-1, Binder.getCallingWorkSourceUid()); in testClearWorkSource()
44 assertEquals(UID, Binder.getCallingWorkSourceUid()); in testRestoreWorkSource()
DBinderWorkSourceNestedService.java37 final int uid = Binder.getCallingWorkSourceUid();
46 final int uid = Binder.getCallingWorkSourceUid();
DBinderWorkSourceService.java33 return Binder.getCallingWorkSourceUid();
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DWorkSourceUidReadingRunnable.java31 mWorkSourceUid = Optional.of(Binder.getCallingWorkSourceUid()); in run()
DWorkSourceUidPreservingRunnableTest.java52 assertEquals(runnerUid, Binder.getCallingWorkSourceUid()); in preservesAndRestoresWorkSourceUid()
DHdmiCecControllerTest.java321 TestCase.assertEquals(5678, Binder.getCallingWorkSourceUid()); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
337 TestCase.assertEquals(runnerUid, Binder.getCallingWorkSourceUid()); in runOnIoThread_preservesAndRestoresWorkSourceUid()
DHdmiControlServiceTest.java547 assertEquals(runnerUid, Binder.getCallingWorkSourceUid()); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
/frameworks/base/services/core/java/com/android/server/hdmi/
DWorkSourceUidPreservingRunnable.java33 this.mUid = Binder.getCallingWorkSourceUid(); in WorkSourceUidPreservingRunnable()
DHdmiCecController.java643 int workSourceUid = Binder.getCallingWorkSourceUid(); in getCallingUid()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h121 uid_t getCallingWorkSourceUid() const;
/frameworks/native/include/binder/
DIPCThreadState.h121 uid_t getCallingWorkSourceUid() const;
/frameworks/base/core/java/android/os/
DBinderProxy.java565 final int origWorkSourceUid = Binder.getCallingWorkSourceUid(); in transact()
570 final int updatedWorkSourceUid = Binder.getCallingWorkSourceUid(); in transact()
DBinder.java531 public static final native int getCallingWorkSourceUid(); in getCallingWorkSourceUid() method in Binder
/frameworks/native/libs/binder/
DIPCThreadState.cpp446 uid_t IPCThreadState::getCallingWorkSourceUid() const in getCallingWorkSourceUid() function in android::IPCThreadState
DParcel.cpp693 writeInt32(threadState->shouldPropagateWorkSource() ? threadState->getCallingWorkSourceUid() in writeInterfaceToken()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp997 return IPCThreadState::self()->getCallingWorkSourceUid(); in android_os_Binder_getCallingWorkSourceUid()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp1617 reply->writeInt32(IPCThreadState::self()->getCallingWorkSourceUid()); in onTransact()
/frameworks/base/core/api/
Dcurrent.txt30855 method public static final int getCallingWorkSourceUid();