Home
last modified time | relevance | path

Searched refs:permission (Results 1 - 25 of 37) sorted by relevance

12

/third_party/node/src/permission/
H A Dpermission.h8 #include "permission/child_process_permission.h"
9 #include "permission/fs_permission.h"
10 #include "permission/permission_base.h"
11 #include "permission/worker_permission.h"
21 namespace permission { namespace
25 if (UNLIKELY(!(env)->permission()->is_granted(perm_, resource_))) { \
26 node::permission::Permission::ThrowAccessDenied( \
36 FORCE_INLINE bool is_granted(const PermissionScope permission, in is_granted() argument
39 return is_scope_granted(permission, res); in is_granted()
53 COLD_NOINLINE bool is_scope_granted(const PermissionScope permission, in is_scope_granted() argument
[all...]
H A Dfs_permission.cc36 node::permission::FSPermission::RadixTree::Node* node) { in FreeRecursivelyNode()
53 bool is_tree_granted(node::permission::FSPermission::RadixTree* granted_tree, in is_tree_granted()
74 namespace permission { namespace
228 } // namespace permission
H A Dchild_process_permission.cc8 namespace permission { namespace
22 } // namespace permission
H A Dworker_permission.cc1 #include "permission/worker_permission.h"
8 namespace permission { namespace
21 } // namespace permission
H A Dchild_process_permission.h7 #include "permission/permission_base.h"
11 namespace permission { namespace
23 } // namespace permission
H A Dworker_permission.h7 #include "permission/permission_base.h"
11 namespace permission { namespace
23 } // namespace permission
H A Dpermission_base.h13 namespace permission { namespace
44 } // namespace permission
H A Dfs_permission.h9 #include "permission/permission_base.h"
14 namespace permission { namespace
142 } // namespace permission
/third_party/node/deps/v8/src/wasm/
H A Dmemory-protection-key.cc147 int GetProtectionFromMemoryPermission(PageAllocator::Permission permission) { in GetProtectionFromMemoryPermission() argument
150 switch (permission) { in GetProtectionFromMemoryPermission()
222 int permission = pkey_get(key); in GetMemoryProtectionKeyPermission() local
223 CHECK(permission == kNoRestrictions || permission == kDisableAccess || in GetMemoryProtectionKeyPermission()
224 permission == kDisableWrite); in GetMemoryProtectionKeyPermission()
225 return static_cast<MemoryProtectionKeyPermission>(permission); in GetMemoryProtectionKeyPermission()
H A Dwasm-code-manager.cc1932 // code pages need to be initially allocated with RWX permission because of in Commit()
1938 // because no {CodeSpaceWriteScope} is created), the writable permission is in Commit()
1944 PageAllocator::Permission permission = PageAllocator::kReadWriteExecute; in Commit() local
1953 GetPlatformPageAllocator(), region, permission, memory_protection_key_); in Commit()
1958 region.size(), permission); in Commit()
2176 // The default permission is {kDisableAccess}. Switch from that to in InitializeMemoryProtectionKeyPermissionsIfSupported()
2394 // Get writable permission already here (and not inside the loop in in FindFunctionsToRecompile()
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/contacts/
H A DContactsPermissionManagement.java5 import android.Manifest.permission;
16 * Handles everything related to the contacts permissions ({@link permission#READ_CONTACTS} and
17 * {@link permission#WRITE_CONTACTS}) and the requesting process to grant the permissions.
23 private static final String SHARED_PREFS_NAME = "contacts-permission-management";
49 * Returns whether the contacts permissions ({@link permission#READ_CONTACTS} and {@link
50 * permission#WRITE_CONTACTS}) are granted for the param {@code context}.
56 if (ContextCompat.checkSelfPermission(context, permission.READ_CONTACTS) in isGranted()
60 return ContextCompat.checkSelfPermission(context, permission.WRITE_CONTACTS) in isGranted()
76 * Returns the number of times the permission dialog has been denied since the app installation.
77 * Dismissing the permission dialo
[all...]
/third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
H A DMainActivity.java89 Log.d(TAG, "Setting execute permission on " + executablePath); in executeBinary()
124 return (ActivityCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) == in isRecordPermissionGranted()
131 new String[]{Manifest.permission.RECORD_AUDIO}, in requestPermissions()
147 // User denied the permission, without this we cannot record audio in onRequestPermissionsResult()
/third_party/node/deps/v8/src/heap/
H A Dmemory-chunk.cc46 PageAllocator::Permission permission) { in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
47 DCHECK(permission == PageAllocator::kRead || in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
48 permission == PageAllocator::kReadExecute); in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
68 CHECK(reservation_.SetPermissions(protect_start, protect_size, permission)); in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
45 DecrementWriteUnprotectCounterAndMaybeSetPermissions( PageAllocator::Permission permission) DecrementWriteUnprotectCounterAndMaybeSetPermissions() argument
H A Dmemory-chunk.h226 PageAllocator::Permission permission);
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-posix.cc126 // TODO(v8:10026): Add the right permission flag to make executable pages
562 MemoryPermission permission = MemoryPermission::kNoAccess; in CreateAddressSpaceReservation() local
564 permission = MemoryPermission::kNoAccessWillJitLater; in CreateAddressSpaceReservation()
567 void* reservation = Allocate(hint, size, alignment, permission); in CreateAddressSpaceReservation()
568 if (!reservation && permission == MemoryPermission::kNoAccessWillJitLater) { in CreateAddressSpaceReservation()
570 permission = MemoryPermission::kNoAccess; in CreateAddressSpaceReservation()
571 reservation = Allocate(hint, size, alignment, permission); in CreateAddressSpaceReservation()
H A Dplatform-win32.cc958 void* OS::AllocateShared(void* hint, size_t size, MemoryPermission permission, in AllocateShared() argument
966 DWORD access = GetFileViewAccessFromMemoryPermission(permission); in AllocateShared()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DAnalyzerActivity.java199 Manifest.permission.WRITE_EXTERNAL_STORAGE) in writeTestResultIfPermitted()
203 new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, in writeTestResultIfPermitted()
H A DTestInputActivity.java153 Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED); in isRecordPermissionGranted()
159 new String[]{Manifest.permission.RECORD_AUDIO}, in requestRecordPermission()
H A DTapToToneActivity.java311 Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED); in hasRecordAudioPermission()
312 Log.i(TAG, "Has RECORD_AUDIO permission? " + hasPermission); in hasRecordAudioPermission()
318 String requiredPermission = Manifest.permission.RECORD_AUDIO; in requestRecordAudioPermission()
320 // If the user previously denied this permission then show a message explaining why in requestRecordAudioPermission()
321 // this permission is needed in requestRecordAudioPermission()
326 // request the permission. in requestRecordAudioPermission()
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
H A DMainActivity.java218 return (ActivityCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) == in isRecordPermissionGranted()
225 new String[]{Manifest.permission.RECORD_AUDIO}, in requestRecordPermission()
245 // User denied the permission, without this we cannot record audio in onRequestPermissionsResult()
/third_party/NuttX/fs/nfs/
H A Dnfs_adapter.c28 * without specific prior written permission.
136 static mode_t type_to_mode(int type, mode_t permission) in type_to_mode() argument
141 return permission | S_IFDIR; in type_to_mode()
143 return permission | S_IFREG; in type_to_mode()
145 return permission | S_IFBLK; in type_to_mode()
147 return permission | S_IFCHR; in type_to_mode()
149 return permission | S_IFIFO; in type_to_mode()
153 return permission; in type_to_mode()
/third_party/protobuf/editors/
H A Dproto.vim17 " this software without specific prior written permission.
/third_party/mesa3d/src/freedreno/.gitlab-ci/traces/
H A Dafuc_test.asm10 ; The above copyright notice and this permission notice (including the next
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
H A DCubeActivity.java180 new Face(rot/2, 0 , new SkottieSample(res, R.raw.permission)), in CubeRenderer()
/third_party/gn/src/gn/
H A Dsetup.cc103 A list of .gn/.gni files (not labels) that have permission to call the

Completed in 22 milliseconds

12