Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 273) sorted by relevance

1234567891011

/frameworks/base/media/java/android/media/session/
DISessionCallback.aidl29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller, in onCommand()
31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton()
33 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController()
37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPrepare()
38 void onPrepareFromMediaId(String packageName, int pid, int uid, in onPrepareFromMediaId()
40 void onPrepareFromSearch(String packageName, int pid, int uid, in onPrepareFromSearch()
42 void onPrepareFromUri(String packageName, int pid, int uid, in onPrepareFromUri()
44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPlay()
45 void onPlayFromMediaId(String packageName, int pid, int uid, in onPlayFromMediaId()
47 void onPlayFromSearch(String packageName, int pid, int uid, in onPlayFromSearch()
[all …]
DMediaSession.java1157 private static RemoteUserInfo createRemoteUserInfo(String packageName, int pid, int uid) { in createRemoteUserInfo()
1162 public void onCommand(String packageName, int pid, int uid, in onCommand()
1172 public void onMediaButton(String packageName, int pid, int uid, Intent mediaButtonIntent, in onMediaButton()
1188 public void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController()
1198 public void onPrepare(String packageName, int pid, int uid, in onPrepare()
1207 public void onPrepareFromMediaId(String packageName, int pid, int uid, in onPrepareFromMediaId()
1218 public void onPrepareFromSearch(String packageName, int pid, int uid, in onPrepareFromSearch()
1229 public void onPrepareFromUri(String packageName, int pid, int uid, in onPrepareFromUri()
1239 public void onPlay(String packageName, int pid, int uid, in onPlay()
1248 public void onPlayFromMediaId(String packageName, int pid, int uid, in onPlayFromMediaId()
[all …]
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp35 std::string getExe(pid_t pid) { in getExe()
47 std::string getCmdline(pid_t pid) { in getCmdline()
81 Partition getPartitionFromCmdline(pid_t pid) { in getPartitionFromCmdline()
92 Partition getPartitionFromExe(pid_t pid) { in getPartitionFromExe()
101 Partition getPartition(pid_t pid) { in getPartition()
/frameworks/base/core/java/android/app/
DIProcessObserver.aidl21 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); in onForegroundActivitiesChanged()
22 void onForegroundServicesChanged(int pid, int uid, int serviceTypes); in onForegroundServicesChanged()
23 void onProcessDied(int pid, int uid); in onProcessDied()
DIActivityController.aidl46 boolean appCrashed(String processName, int pid, in appCrashed()
53 int appEarlyNotResponding(String processName, int pid, String annotation); in appEarlyNotResponding()
60 int appNotResponding(String processName, int pid, String processStats); in appNotResponding()
DProcessMemoryState.java28 public final int pid; field in ProcessMemoryState
32 public ProcessMemoryState(int uid, int pid, String processName, int oomScore) { in ProcessMemoryState()
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp66 aaudio_result_t AAudioClientTracker::registerClient(pid_t pid, in registerClient()
91 void AAudioClientTracker::unregisterClient(pid_t pid) { in unregisterClient()
97 int32_t AAudioClientTracker::getStreamCount(pid_t pid) { in getStreamCount()
108 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
125 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream()
139 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid) in NotificationClient()
/frameworks/av/media/utils/
DServiceUtilities.cpp62 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal()
102 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed()
106 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording()
127 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed()
135 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed()
143 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed()
203 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed()
210 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid) { in bypassInterruptionPolicyAllowed()
DProcessInfo.cpp31 bool ProcessInfo::getPriority(int pid, int* priority) { in getPriority()
56 bool ProcessInfo::isValidPid(int pid) { in isValidPid()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessControllerMap.java33 WindowProcessController getProcess(int pid) { in getProcess()
46 void put(int pid, WindowProcessController proc) { in put()
63 void remove(int pid) { in remove()
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp125 int pid = fork(); in TEST_F() local
151 int pid = fork(); in TEST_F() local
181 int pid = fork(); in TEST_F() local
212 int pid = fork(); in TEST_F() local
240 int pid = fork(); in TEST_F() local
274 int pid = fork(); in TEST_F() local
308 int pid = fork(); in TEST_F() local
/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java100 public static MemoryStat readMemoryStatFromFilesystem(int uid, int pid) { in readMemoryStatFromFilesystem()
110 static MemoryStat readMemoryStatFromMemcg(int uid, int pid) { in readMemoryStatFromMemcg()
121 public static MemoryStat readMemoryStatFromProcfs(int pid) { in readMemoryStatFromProcfs()
131 public static long readRssHighWaterMarkFromProcfs(int pid) { in readRssHighWaterMarkFromProcfs()
142 public static String readCmdlineFromProcfs(int pid) { in readCmdlineFromProcfs()
296 final int pid = Integer.parseInt(m.group(1)); in parseProcessIonHeapSizesFromDebugfs() local
360 public int pid; field in MemoryStatUtil.IonAllocations
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java83 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority()
140 private int enableCpusetBoost(int pid, IBinder client) { in enableCpusetBoost()
179 private int disableCpusetBoost(int pid) { in disableCpusetBoost()
/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc41 void reset_rss_hwm(const char* pid) { in reset_rss_hwm()
60 const char* pid = entry->d_name; in main() local
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java267 public void adjustVolume(String packageName, String opPackageName, int pid, int uid, in adjustVolume()
313 private void setVolumeTo(String packageName, String opPackageName, int pid, int uid, in setVolumeTo()
482 public boolean sendMediaButton(String packageName, int pid, int uid, boolean asSystemService, in sendMediaButton()
837 int pid = Binder.getCallingPid(); in setFlags() local
990 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton()
1007 public boolean sendMediaButton(String packageName, int pid, int uid, in sendMediaButton()
1025 public void sendCommand(String packageName, int pid, int uid, in sendCommand()
1034 public void sendCustomAction(String packageName, int pid, int uid, in sendCustomAction()
1044 public void prepare(String packageName, int pid, int uid, in prepare()
1053 public void prepareFromMediaId(String packageName, int pid, int uid, in prepareFromMediaId()
[all …]
DMediaSessionService.java365 protected void enforcePhoneStatePermission(int pid, int uid) { in enforcePhoneStatePermission()
499 private void enforceMediaPermissions(ComponentName compName, int pid, int uid, in enforceMediaPermissions()
511 private boolean hasStatusBarServicePermission(int pid, int uid) { in hasStatusBarServicePermission()
516 private void enforceStatusBarServicePermission(String action, int pid, int uid) { in enforceStatusBarServicePermission()
935 public final int pid; field in MediaSessionService.SessionsListenerRecord
940 int userId, int pid, int uid) { in SessionsListenerRecord()
1004 final int pid = Binder.getCallingPid(); in createSession() local
1023 final int pid = Binder.getCallingPid(); in notifySession2Created() local
1049 final int pid = Binder.getCallingPid(); in getSessions() local
1070 final int pid = Binder.getCallingPid(); in getSession2Tokens() local
[all …]
/frameworks/base/core/java/android/net/
DCredentials.java25 private final int pid; field in Credentials
31 public Credentials (int pid, int uid, int gid) { in Credentials()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DBinderUtilTest.java60 final int pid = Binder.getCallingPid(); in setUid() local
82 final int pid = Binder.getCallingPid(); in setUidAndRestoreCallingIdentity() local
/frameworks/base/core/java/android/os/
DProcess.java692 public static final int getUidForPid(int pid) { in getUidForPid()
707 public static final int getParentPid(int pid) { in getParentPid()
811 public static final native void setProcessGroup(int pid, int group) in setProcessGroup()
819 public static final native int getProcessGroup(int pid) in getProcessGroup()
942 public static final native boolean setSwappiness(int pid, boolean is_increased); in setSwappiness()
966 public static final void killProcess(int pid) { in killProcess()
982 public static final native void sendSignal(int pid, int signal); in sendSignal()
990 public static final void killProcessQuiet(int pid) { in killProcessQuiet()
1000 public static final native void sendSignalQuiet(int pid, int signal); in sendSignalQuiet()
1105 public static final native long getPss(int pid); in getPss()
[all …]
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp42 DeathNotifier(const wp<ResourceManagerService> &service, int pid, int64_t clientId) in DeathNotifier()
91 int pid, in getResourceInfosForEdit()
120 static void notifyResourceGranted(int pid, const Vector<MediaResource> &resources) { in notifyResourceGranted()
228 int pid, in addResource()
265 void ResourceManagerService::removeResource(int pid, int64_t clientId) { in removeResource()
269 void ResourceManagerService::removeResource(int pid, int64_t clientId, bool checkValid) { in removeResource()
484 int pid = -1; in getLowestPriorityPid_l() local
515 bool ResourceManagerService::isCallingPriorityHigher_l(int callingPid, int pid) { in isCallingPriorityHigher_l()
530 int pid, MediaResource::Type type, sp<IResourceManagerClient> *client) { in getBiggestClient_l()
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java135 Context context, int subId, int pid, int uid, String callingPackage, String message) { in checkReadPhoneState()
155 Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, in checkReadPhoneState()
200 Context context, int pid, int uid, String callingPackage, String message) { in checkReadPhoneStateOnAnyActiveSub()
207 Context context, Supplier<ITelephony> telephonySupplier, int pid, int uid, in checkReadPhoneStateOnAnyActiveSub()
309 Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, in checkReadDeviceIdentifiers()
363 private static boolean reportAccessDeniedToReadIdentifiers(Context context, int subId, int pid, in reportAccessDeniedToReadIdentifiers()
427 Context context, int subId, int pid, int uid, String callingPackage) { in checkReadCallLog()
434 Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, in checkReadCallLog()
470 Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, in checkReadPhoneNumber()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java348 final int pid = 2000; in testAwareDataPathInterfaceUpDown() local
394 final int pid = 2000; in testDisableUsageDisablesApis() local
438 final int pid = 2000; in testDisableUsageFlow() local
525 final int pid = 2000; in testHalFailureEnableAndConfigure() local
567 final int pid = 2000; in testAwareEventsDelivery() local
654 final int pid = 2000; in testHalNoResponseTimeout() local
716 final int pid = 2000; in testPublishFail() local
785 final int pid = 2000; in testPublishSuccessTerminated() local
867 final int pid = 2000; in testPublishUpdateFail() local
979 final int pid = 2000; in testDisconnectWhilePublishPending() local
[all …]
/frameworks/native/libs/binder/
DIMediaResourceMonitor.cpp31 virtual void notifyResourceGranted(/*in*/ int32_t pid, /*in*/ const int32_t type) in notifyResourceGranted()
50 int32_t pid = data.readInt32(); in onTransact() local
/frameworks/av/media/libmedia/
DIResourceManagerService.cpp74 int pid, in addResource()
88 virtual void removeResource(int pid, int64_t clientId) { in removeResource()
131 int pid = data.readInt32(); in onTransact() local
146 int pid = data.readInt32(); in onTransact() local
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java99 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, in appCrashed()
106 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding()
113 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding()

1234567891011