Searched defs:callingUid (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DEnabledNfcFServices.java110 public boolean registerEnabledForegroundService(ComponentName service, int callingUid) { argument
128 if (mForegroundUtils.registerUidToBackgroundCallback(this, callingUid)) {
130 mForegroundUid = callingUid;
158 public boolean unregisteredEnabledForegroundService(int callingUid) { argument
161 if (mForegroundUtils.isInForeground(callingUid)) {
162 return unregisterForegroundService(callingUid);
H A DPreferredServices.java271 public boolean registerPreferredForegroundService(ComponentName service, int callingUid) { argument
275 if (mForegroundUtils.registerUidToBackgroundCallback(this, callingUid)) {
277 mForegroundUid = callingUid;
308 public boolean unregisteredPreferredForegroundService(int callingUid) { argument
310 if (mForegroundUtils.isInForeground(callingUid)) {
311 return unregisterForegroundService(callingUid);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DTelecomServiceImpl.java349 final int callingUid = Binder.getCallingUid();
353 enforceCrossUserPermission(callingUid);
1390 private void enforceCrossUserPermission(int callingUid) { argument
1391 if (callingUid != Process.SYSTEM_UID && callingUid != 0) {
/packages/apps/Nfc/src/com/android/nfc/
H A DP2pLinkManager.java318 public void setNdefCallback(IAppCallback callbackNdef, int callingUid) { argument
321 mNdefCallbackUid = callingUid;
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_btservice_AdapterService.cpp1096 jbyteArray uuidObj, jint channel, jint flag, jint callingUid) {
1118 (const uint8_t*) uuid, channel, &socket_fd, flag, callingUid))
1142 jint channel, jint flag, jint callingUid) {
1164 (const uint8_t*) uuid, channel, &socket_fd, flag, callingUid))
1095 connectSocketNative(JNIEnv *env, jobject object, jbyteArray address, jint type, jbyteArray uuidObj, jint channel, jint flag, jint callingUid) argument
1140 createSocketChannelNative(JNIEnv *env, jobject object, jint type, jstring name_str, jbyteArray uuidObj, jint channel, jint flag, jint callingUid) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java2553 byte[] uuid, int port, int flag, int callingUid);
2555 byte[] uuid, int port, int flag, int callingUid);
2552 connectSocketNative(byte[] address, int type, byte[] uuid, int port, int flag, int callingUid) argument
2554 createSocketChannelNative(int type, String serviceName, byte[] uuid, int port, int flag, int callingUid) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java4269 private void scanPackagesByUid(int callingUid) { argument
4271 final String[] callerPackages = pm.getPackagesForUid(callingUid);

Completed in 521 milliseconds