Home
last modified time | relevance | path

Searched refs:Access (Results 1 – 25 of 27) 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()
161 EXPECT_CALL(*access, getCallingContext()).WillOnce(Return(Access::CallingContext{})); in TEST()
193 EXPECT_CALL(*access, getCallingContext()).WillRepeatedly(Return(Access::CallingContext{})); in TEST()
213 .WillOnce(Return(Access::CallingContext{})) in TEST()
215 .WillOnce(Return(Access::CallingContext{ in TEST()
237 .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/rs/script_api/
Drs_allocation_data.spec18 summary: Allocation Data Access Functions
/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/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
2673 // 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/base/core/proto/android/app/
Dsettings_enums.proto706 // ACTION: Allow "Access all files" for an app
709 // ACTION: Deny "Access all files" for an app
1438 // Settings > Apps > Gear > Special Access > Premium SMS access
1764 // OPEN: Settings > Apps > Gear > Special Access > Install other apps
1819 // OPEN: Settings > Wi-Fi > Network Details (click on Access Point)
2257 // OPEN: Settings > Apps & Notifications -> Special app access -> Financial Apps Sms Access
2392 // Open: Settings > Special App Access > Do not disturb control for app
2581 // OPEN: Settings -> Apps & Notifications -> Special App Access
2612 // OPEN: Settings -> Apps & Notifications -> Special App Access
Dtvsettings_enums.proto730 // TvSettings > System > Accessibility > Switch Access
733 // TvSettings > System > Accessibility > Switch Access > Enable (Toggle)
736 // TvSettings > System > Accessibility > Switch Access > Configuration
/frameworks/opt/net/ims/
DREADME.txt12 (XCAP : XML Configuration Access Protocol)
/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
3836 // OPEN: Settings > Wi-Fi > Network Details (click on Access Point)
4982 // OPEN: Settings > Network & Internet > Mobile network > Access Point Names
5357 // OPEN: Settings > Apps & Notifications -> Special app access -> Directory Access
5362 // OPEN: Settings > Apps & Notifications -> Special app access -> Directory Access -> Package
6736 // OPEN: Settings > Apps & Notifications -> Special app access -> Financial Apps Sms Access
7150 // Open: Settings > Special App Access > Do not disturb control for app
/frameworks/rs/script_api/include/
Drs_allocation_data.rsh20 * rs_allocation_data.rsh: Allocation Data Access Functions
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto1951 // RTT to Access Points metrics
/frameworks/base/config/
Dboot-image-profile.txt23825 HSPLandroid/view/ViewTreeObserver$CopyOnWriteArray$Access;-><init>()V
23826 …view/ViewTreeObserver$CopyOnWriteArray$Access;->access$000(Landroid/view/ViewTreeObserver$CopyOnWr…
23827 …view/ViewTreeObserver$CopyOnWriteArray$Access;->access$002(Landroid/view/ViewTreeObserver$CopyOnWr…
23828 …view/ViewTreeObserver$CopyOnWriteArray$Access;->access$102(Landroid/view/ViewTreeObserver$CopyOnWr…
23829 HSPLandroid/view/ViewTreeObserver$CopyOnWriteArray$Access;->get(I)Ljava/lang/Object;
23830 HSPLandroid/view/ViewTreeObserver$CopyOnWriteArray$Access;->size()I
23838 …/ViewTreeObserver$CopyOnWriteArray;->start()Landroid/view/ViewTreeObserver$CopyOnWriteArray$Access;
47413 Landroid/view/ViewTreeObserver$CopyOnWriteArray$Access;
/frameworks/base/cmds/statsd/src/
Datoms.proto5183 // Radio Access Technology (RAT) type of this record, should be one of

12