Home
last modified time | relevance | path

Searched refs:setCallingWorkSourceUid (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderWorkSourceTest.java107 Binder.setCallingWorkSourceUid(UID); in setWorkSource()
114 Binder.setCallingWorkSourceUid(UID); in clearWorkSource()
122 Binder.setCallingWorkSourceUid(UID); in setWorkSource_propagatedForMultipleCalls()
153 Binder.setCallingWorkSourceUid(UID); in restoreWorkSource()
165 Binder.setCallingWorkSourceUid(UID); in nestedSetWorkSoucePropagated()
208 Binder.setCallingWorkSourceUid(UID); in nestedSetWorkSouceNotPropagated()
H A DBinderTest.java28 Binder.setCallingWorkSourceUid(UID); in testSetWorkSource()
34 Binder.setCallingWorkSourceUid(UID); in testClearWorkSource()
41 Binder.setCallingWorkSourceUid(UID); in testRestoreWorkSource()
H A DParcelTest.java76 Binder.setCallingWorkSourceUid(WORK_SOURCE_1); in testParcelWithMultipleHeaders()
78 Binder.setCallingWorkSourceUid(WORK_SOURCE_2); in testParcelWithMultipleHeaders()
H A DBinderWorkSourceNestedService.java39 Binder.setCallingWorkSourceUid(uidToBlame);
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DWorkSourceUidPreservingRunnableTest.java41 Binder.setCallingWorkSourceUid(callerUid); in preservesAndRestoresWorkSourceUid()
47 Binder.setCallingWorkSourceUid(runnerUid); in preservesAndRestoresWorkSourceUid()
H A DHdmiCecControllerTest.java307 Binder.setCallingWorkSourceUid(1234); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
311 Binder.setCallingWorkSourceUid(5678); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
323 Binder.setCallingWorkSourceUid(callerUid); in runOnIoThread_preservesAndRestoresWorkSourceUid()
327 Binder.setCallingWorkSourceUid(runnerUid); in runOnIoThread_preservesAndRestoresWorkSourceUid()
H A DHdmiCecAtomLoggingTest.java194 Binder.setCallingWorkSourceUid(callerUid); in testMessageReported_calledWithUid()
199 Binder.setCallingWorkSourceUid(runnerUid); in testMessageReported_calledWithUid()
H A DHdmiControlServiceTest.java639 Binder.setCallingWorkSourceUid(callerUid); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
643 Binder.setCallingWorkSourceUid(runnerUid); in runOnServiceThread_preservesAndRestoresWorkSourceUid()
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DWorkSourceUidPreservingRunnable.java38 long token = Binder.setCallingWorkSourceUid(mUid); in run()
H A DHdmiControlService.java1619 Binder.setCallingWorkSourceUid(Binder.getCallingUid()); in setWorkSourceUidToCallingUid()
/aosp12/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp964 int64_t previousWorkSource = IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
993 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
1009 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
1024 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
1030 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
1037 int token = IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
1045 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F()
/aosp12/frameworks/native/include/binder/
H A DIPCThreadState.h95 int64_t setCallingWorkSourceUid(uid_t uid);
/aosp12/frameworks/native/libs/binder/include/binder/
H A DIPCThreadState.h95 int64_t setCallingWorkSourceUid(uid_t uid);
/aosp12/frameworks/base/core/java/android/os/
H A DBinder.java482 public static final native long setCallingWorkSourceUid(int workSource); in setCallingWorkSourceUid() method in Binder
747 return Binder.setCallingWorkSourceUid(uid); in onTransactStarted()
/aosp12/frameworks/native/libs/binder/
H A DIPCThreadState.cpp400 int64_t IPCThreadState::setCallingWorkSourceUid(uid_t uid) in setCallingWorkSourceUid() function in android::IPCThreadState
432 return setCallingWorkSourceUid(kUnsetWorkSource); in clearCallingWorkSource()
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp989 return IPCThreadState::self()->setCallingWorkSourceUid(workSource); in android_os_Binder_setCallingWorkSourceUid()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java543 return Binder.setCallingWorkSourceUid(mCallingIdentity.get().uid);
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt30747 method public static final long setCallingWorkSourceUid(int);