OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:callingUid
(Results
1 - 8
of
8
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBinder.java
16
private static Integer
callingUid
;
52
if (
callingUid
!= null) {
53
return
callingUid
;
63
ShadowBinder.
callingUid
= uid;
69
ShadowBinder.
callingUid
= null;
/frameworks/base/cmds/incidentd/src/
IncidentService.cpp
65
uid_t
callingUid
= IPCThreadState::self()->getCallingUid();
67
if (
callingUid
== AID_ROOT ||
callingUid
== AID_SHELL) {
82
callingPid,
callingUid
);
89
callingPid,
callingUid
);
98
if (
callingUid
!= AID_SHELL &&
callingUid
!= AID_ROOT) {
100
callingPid,
callingUid
);
107
if (
callingUid
!= AID_SHELL &&
callingUid
!= AID_ROOT && callingUid != AID_STATSD &
[
all
...]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
PackageValidator.java
92
public boolean isCallerAllowed(Context context, String callingPackage, int
callingUid
) {
94
if (Process.SYSTEM_UID ==
callingUid
|| Process.myUid() ==
callingUid
) {
/frameworks/av/services/audiopolicy/service/
AudioPolicyInterfaceImpl.cpp
187
const uid_t
callingUid
= IPCThreadState::self()->getCallingUid();
188
if (!isAudioServerOrMediaServerUid(
callingUid
) || uid == (uid_t)-1) {
189
ALOGW_IF(uid != (uid_t)-1 && uid !=
callingUid
,
190
"%s uid %d tried to pass itself off as %d", __FUNCTION__,
callingUid
, uid);
191
uid =
callingUid
;
364
const uid_t
callingUid
= IPCThreadState::self()->getCallingUid();
365
if (!isAudioServerOrMediaServerUid(
callingUid
)) {
366
ALOGW_IF(uid != (uid_t)-1 && uid !=
callingUid
,
367
"%s uid %d tried to pass itself off as %d", __FUNCTION__,
callingUid
, uid);
368
uid =
callingUid
;
[
all
...]
/frameworks/av/services/audioflinger/
AudioFlinger.cpp
692
const uid_t
callingUid
= IPCThreadState::self()->getCallingUid();
698
if (!isAudioServerOrMediaServerUid(
callingUid
)) {
699
ALOGW_IF(clientUid !=
callingUid
,
701
__FUNCTION__,
callingUid
, clientUid);
702
clientUid =
callingUid
;
710
__func__,
callingUid
, callingPid, clientPid);
[
all
...]
AudioFlinger.h
[
all
...]
Tracks.cpp
108
const uid_t
callingUid
= IPCThreadState::self()->getCallingUid();
109
if (!isAudioServerOrMediaServerUid(
callingUid
) || clientUid == AUDIO_UID_INVALID) {
110
ALOGW_IF(clientUid != AUDIO_UID_INVALID && clientUid !=
callingUid
,
112
__func__, mId,
callingUid
, clientUid);
113
clientUid =
callingUid
;
[
all
...]
/frameworks/av/services/camera/libcameraservice/
CameraService.cpp
528
int
callingUid
= CameraThreadState::getCallingUid();
532
!checkPermission(String16("android.permission.CAMERA"), callingPid,
callingUid
)) {
[
all
...]
Completed in 431 milliseconds