OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:srcUid
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionSessionConnection.java
331
void grantUriPermission(Uri uri, int mode, int
srcUid
, int destUid, String destPkg) {
338
mAm.checkGrantUriPermission(
srcUid
, null, ContentProvider.getUriWithoutUserId(uri),
339
mode, ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(
srcUid
)));
343
mAm.grantUriPermissionFromOwner(mPermissionOwner,
srcUid
, destPkg,
354
void grantClipDataItemPermission(ClipData.Item item, int mode, int
srcUid
, int destUid,
357
grantUriPermission(item.getUri(), mode,
srcUid
, destUid, destPkg);
361
grantUriPermission(intent.getData(), mode,
srcUid
, destUid, destPkg);
365
void grantClipDataPermissions(ClipData data, int mode, int
srcUid
, int destUid,
369
grantClipDataItemPermission(data.getItemAt(i), mode,
srcUid
, destUid, destPkg);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockKeyStore.java
133
private boolean duplicate(String srcKey, int
srcUid
, String destKey, int destUid) {
140
if (
srcUid
== -1 ||
srcUid
== key) {
/frameworks/base/core/java/android/security/
IKeystoreService.aidl
54
int duplicate(String srcKey, int
srcUid
, String destKey, int destUid);
/system/security/keystore/
key_store_service.cpp
487
int32_t KeyStoreService::duplicate(const String16& srcKey, int32_t
srcUid
, const String16& destKey,
502
if (
srcUid
== -1 || static_cast<uid_t>(
srcUid
) == callingUid) {
503
srcUid
= callingUid;
504
} else if (!is_granted_to(callingUid,
srcUid
)) {
505
ALOGD("migrate not granted from source: %d -> %d", callingUid,
srcUid
);
513
if (
srcUid
!= destUid) {
514
if (static_cast<uid_t>(
srcUid
) != callingUid) {
516
"calling=%d,
srcUid
=%d, destUid=%d",
517
callingUid,
srcUid
, destUid)
[
all
...]
key_store_service.h
85
int32_t duplicate(const String16& srcKey, int32_t
srcUid
, const String16& destKey,
IKeystoreService.cpp
919
virtual int32_t duplicate(const String16& srcKey, int32_t
srcUid
, const String16& destKey,
925
data.writeInt32(
srcUid
);
[
all
...]
/frameworks/base/keystore/java/android/security/
KeyStore.java
374
public boolean duplicate(String srcKey, int
srcUid
, String destKey, int destUid) {
376
return mBinder.duplicate(srcKey,
srcUid
, destKey, destUid) == NO_ERROR;
/system/security/keystore/include/keystore/
IKeystoreService.h
197
virtual int32_t duplicate(const String16& srcKey, int32_t
srcUid
, const String16& destKey,
Completed in 84 milliseconds