Home
last modified time | relevance | path

Searched refs:Access (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/cmds/servicemanager/
DAccess.h25 class Access {
27 Access();
28 virtual ~Access();
30 Access(const Access&) = delete;
31 Access& operator=(const Access&) = delete;
32 Access(Access&&) = delete;
33 Access& operator=(Access&&) = delete;
DAccess.cpp65 const Access::CallingContext* context;
82 Access::Access() { in Access() function in android::Access
96 Access::~Access() { in ~Access()
100 Access::CallingContext Access::getCallingContext() { in getCallingContext()
113 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind()
117 bool Access::canAdd(const CallingContext& ctx, const std::string& name) { in canAdd()
121 bool Access::canList(const CallingContext& ctx) { in canList()
125 bool Access::actionAllowed(const CallingContext& sctx, const char* tctx, const char* perm, in actionAllowed()
138 bool Access::actionAllowedFromLookup(const CallingContext& sctx, const std::string& name, const cha… in actionAllowedFromLookup()
Dtest_sm.cpp29 using android::Access;
52 class MockAccess : public Access {
62 MockServiceManager(std::unique_ptr<Access>&& access) : ServiceManager(std::move(access)) {} in MockServiceManager()
69 ON_CALL(*access, getCallingContext()).WillByDefault(Return(Access::CallingContext{})); in getPermissiveServiceManager()
117 EXPECT_CALL(*access, getCallingContext()).WillOnce(Return(Access::CallingContext{ in TEST()
141 EXPECT_CALL(*access, getCallingContext()).WillOnce(Return(Access::CallingContext{})); in TEST()
173 EXPECT_CALL(*access, getCallingContext()).WillRepeatedly(Return(Access::CallingContext{})); in TEST()
193 .WillOnce(Return(Access::CallingContext{})) in TEST()
195 .WillOnce(Return(Access::CallingContext{ in TEST()
217 .WillOnce(Return(Access::CallingContext{})) in TEST()
[all …]
DServiceManager.h32 ServiceManager(std::unique_ptr<Access>&& access);
91 std::unique_ptr<Access> mAccess;
Dmain.cpp28 using ::android::Access;
127 sp<ServiceManager> manager = new ServiceManager(std::make_unique<Access>()); in main()
DAndroid.bp11 "Access.cpp",
DServiceManager.cpp88 ServiceManager::ServiceManager(std::unique_ptr<Access>&& access) : mAccess(std::move(access)) { in ServiceManager()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java83 public List<Access> getAppList() { in getAppList()
93 ArrayList<Access> accesses = new ArrayList<>(appOpsCount); in getAppList()
131 Access access = getAccessFromOps(now, ops); in getAppList()
140 public List<Access> getAppListSorted() { in getAppListSorted()
141 List<Access> accesses = getAppList(); in getAppListSorted()
143 Collections.sort(accesses, Collections.reverseOrder(new Comparator<Access>() { in getAppListSorted()
145 public int compare(Access access1, Access access2) { in getAppListSorted()
159 private Access getAccessFromOps(long now, in getAccessFromOps()
178 Access access = null; in getAccessFromOps()
197 access = new Access(packageName, userHandle, icon, appLabel, badgedAppLabel, in getAccessFromOps()
[all …]
/frameworks/base/core/java/android/view/
DViewTreeObserver.java1057 CopyOnWriteArray.Access<OnGlobalLayoutListener> access = listeners.start(); in dispatchOnGlobalLayout()
1089 CopyOnWriteArray.Access<OnPreDrawListener> access = listeners.start(); in dispatchOnPreDraw()
1111 CopyOnWriteArray.Access<OnWindowShownListener> access = listeners.start(); in dispatchOnWindowShown()
1165 CopyOnWriteArray.Access<OnScrollChangedListener> access = listeners.start(); in dispatchOnScrollChanged()
1199 CopyOnWriteArray.Access<OnComputeInternalInsetsListener> access = listeners.start(); in dispatchOnComputeInternalInsets()
1231 CopyOnWriteArray.Access<Consumer<List<Rect>>> access = listeners.start(); in dispatchOnSystemGestureExclusionRectsChanged()
1263 private final Access<T> mAccess = new Access<T>();
1267 static class Access<T> { class in ViewTreeObserver.CopyOnWriteArray
1291 Access<T> start() { in start()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java89 List<RecentLocationAccesses.Access> requests = mRecentLocationAccesses.getAppList(); in testGetAppList_shouldFilterRecentAccesses()
118 List<RecentLocationAccesses.Access> requests = mRecentLocationAccesses.getAppList(); in testGetAppList_shouldNotShowAndroidOS()
/frameworks/rs/script_api/
Drs_allocation_data.spec18 summary: Allocation Data Access Functions
/frameworks/opt/telephony/proto/src/
DcarrierId.proto79 // [Optional] The Access Point Name, corresponding to "apn" field returned by
88 // [Optional] Carrier Privilege Access Rule in hex string.
Dtelephony.proto1731 // Carrier Privilege Access Rule in hex string from the subscription.
1735 // The Access Point Name, corresponding to "apn" field returned by
2670 // Amount of time phone spends in various Radio Access Technologies (ms)
/frameworks/native/cmds/atrace/
Datrace_userdebug.rc5 # Access control to these files is now entirely in selinux policy.
Datrace.rc13 # Access control to these files is now entirely in selinux policy.
/frameworks/native/libs/math/tests/
Dvec_test.cpp85 TEST_F(VecTest, Access) { in TEST_F() argument
Dquat_test.cpp103 TEST_F(QuatTest, Access) { in TEST_F() argument
/frameworks/opt/net/ims/
DREADME.txt12 (XCAP : XML Configuration Access Protocol)
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1392 // Settings > Apps > Gear > Special Access > Premium SMS access
1718 // OPEN: Settings > Apps > Gear > Special Access > Install other apps
1773 // OPEN: Settings > Wi-Fi > Network Details (click on Access Point)
2211 // OPEN: Settings > Apps & Notifications -> Special app access -> Financial Apps Sms Access
2346 // Open: Settings > Special App Access > Do not disturb control for app
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto188 // Access method for hidden API events. Type of data tagged with
2193 // Settings > Apps > Gear > Special Access > Premium SMS access
3664 // OPEN: Settings > Apps > Gear > Special Access > Install other apps
3829 // OPEN: Settings > Wi-Fi > Network Details (click on Access Point)
4975 // OPEN: Settings > Network & Internet > Mobile network > Access Point Names
5350 // OPEN: Settings > Apps & Notifications -> Special app access -> Directory Access
5355 // OPEN: Settings > Apps & Notifications -> Special app access -> Directory Access -> Package
6729 // OPEN: Settings > Apps & Notifications -> Special app access -> Financial Apps Sms Access
7143 // Open: Settings > Special App Access > Do not disturb control for app
/frameworks/base/proto/src/
Dwifi.proto1688 // RTT to Access Points metrics
/frameworks/rs/script_api/include/
Drs_allocation_data.rsh20 * rs_allocation_data.rsh: Allocation Data Access Functions
/frameworks/native/vulkan/api/
Dvulkan.api2473 /// Access flags
/frameworks/base/config/
Dpreloaded-classes3985 android.view.ViewTreeObserver$CopyOnWriteArray$Access
Dboot-image-profile.txt17720 HSPLandroid/view/ViewTreeObserver$CopyOnWriteArray$Access;->get(I)Ljava/lang/Object;
17721 HSPLandroid/view/ViewTreeObserver$CopyOnWriteArray$Access;->size()I
17727 …/ViewTreeObserver$CopyOnWriteArray;->start()Landroid/view/ViewTreeObserver$CopyOnWriteArray$Access;
36696 Landroid/view/ViewTreeObserver$CopyOnWriteArray$Access;

12