Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/system/logging/liblog/
Devent_tag_map.cpp64 for (size_t which = 0; which < NUM_MAPS; ++which) { in ~EventTagMap() local
65 if (mapAddr[which]) { in ~EventTagMap()
66 munmap(mapAddr[which], mapLen[which]); in ~EventTagMap()
67 mapAddr[which] = 0; in ~EventTagMap()
222 static int parseMapLines(EventTagMap* map, size_t which) { in parseMapLines() argument
223 const char* cp = static_cast<char*>(map->mapAddr[which]); in parseMapLines()
224 size_t len = map->mapLen[which]; in parseMapLines()
231 which, len); in parseMapLines()
233 if (which) { // do not propagate errors for other files in parseMapLines()
253 if (!which || (errno != EMLINK)) { in parseMapLines()
[all …]
/system/nvram/messages/tests/
Dnvram_messages_test.cpp44 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
69 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
101 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
126 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
139 EXPECT_EQ(COMMAND_GET_SPACE_INFO, decoded.payload.which()); in TEST()
163 EXPECT_EQ(COMMAND_GET_SPACE_INFO, decoded.payload.which()); in TEST()
189 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
210 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
221 EXPECT_EQ(COMMAND_DISABLE_CREATE, decoded.payload.which()); in TEST()
234 EXPECT_EQ(COMMAND_DISABLE_CREATE, decoded.payload.which()); in TEST()
[all …]
/system/core/libcutils/
Dfs_config.cpp250 static int fs_config_open(int dir, int which, const char* target_out_path) { in fs_config_open() argument
261 if (asprintf(&name, "%.*s%s", (int)len, target_out_path, conf[which][dir]) != -1) { in fs_config_open()
267 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY)); in fs_config_open()
330 size_t which, plen; in get_fs_config() local
338 for (which = 0; which < (sizeof(conf) / sizeof(conf[0])); ++which) { in get_fs_config()
341 int fd = fs_config_open(dir, which, target_out_path); in get_fs_config()
349 ALOGE("%s len is corrupted", conf[which][dir]); in get_fs_config()
354 ALOGE("%s out of memory", conf[which][dir]); in get_fs_config()
359 ALOGE("%s prefix is truncated", conf[which][dir]); in get_fs_config()
365 ALOGE("%s is corrupted", conf[which][dir]); in get_fs_config()
/system/sepolicy/private/
Ddexoptanalyzer.te10 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
11 # Use tmpfs_domain() which will give tmpfs files created by dexoptanalyzer their
12 # own label, which differs from other labels created by other processes.
34 # Use devpts and fd from odsign (which exec()'s odrefresh)
52 # Allow testing /data/user/0 which symlinks to /data/data
Dhal_secretkeeper.te1 # Domains for the Secretkeeper HAL, which provides secure (tamper evident, rollback protected)
11 # in the TEE, which is represented by the tee_device permission.
Dsimpleperf.te37 # Allow apps signalling simpleperf domain, which is the domain that the simpleperf
39 # the profiler (which would be profiling the app that is sending the signal).
44 # the same domain as their respective processes, most of which this domain is
/system/timezone/output_data/iana/
DNOTICE3 newstrftime.3, and strftime.c, which contain material derived from BSD
4 and which use the BSD 3-clause license.
/system/timezone/input_tools/iana/
DNOTICE3 newstrftime.3, and strftime.c, which contain material derived from BSD
4 and which use the BSD 3-clause license.
/system/timezone/input_data/iana/
DNOTICE3 newstrftime.3, and strftime.c, which contain material derived from BSD
4 and which use the BSD 3-clause license.
/system/timezone/testing/data/test3/output_data/iana/
DNOTICE3 newstrftime.3, and strftime.c, which contain material derived from BSD
4 and which use the BSD 3-clause license.
/system/timezone/testing/data/test1/output_data/iana/
DNOTICE3 newstrftime.3, and strftime.c, which contain material derived from BSD
4 and which use the BSD 3-clause license.
/system/update_engine/
Dpylintrc51 # optimizer, which will apply various small optimizations. For instance, it can
115 # Python expression which should return a note less than 10 (10 is the highest
116 # note). You have access to the variables errors warning, statement which
148 # List of module names for which member attributes should not be checked
154 # List of classes names for which member attributes should not be checked
159 # List of members which are set dynamically and missed by pylint inference
205 # List of strings which can identify a callback function by name. A callback
265 # Good variable names which should always be accepted, separated by a comma
268 # Bad variable names which should always be refused, separated by a comma
278 # Regular expression which should only match correct function names.
[all …]
/system/media/camera/docs/
Dmetadata-check-dependencies25 if ! which port >& /dev/null
29 elif [[ "$OSTYPE" == "linux-gnu" ]] && which apt-get >& /dev/null
/system/chre/doc/
Dnanoapp_overview.md10 Nanoapps are applications written in C or C++ which run in CHRE, to leverage
19 which is standardized across all CHRE implementations. This means that a nanoapp
39 into a device through a few methods, each of which has pros and cons elaborated
58 `kStaticNanoappList` array, which by default is empty, but can be overridden by
79 configuration file `/vendor/etc/chre/preloaded_nanoapps.json`, which contains
124 CHRE also supports the concept of a *system nanoapp*, which is a nanoapp whose
132 Some basic nanoapps can be found in the `apps/` folder, which are used for test
151 which sensors it will enable. It also supports a “break it” mode which
164 * `sensor_world`: Contains a “break it” mode which repeatedly enables, disables,
173 `EventLoopManager::deferCallback()`) to accomplish its functionality, which is
[all …]
Dframework_overview.md17 event-based system, so CHRE is built around an event loop which executes nanoapp
21 that support CHRE. The EventLoopManager is a Singleton object which owns the
33 There are multiple ways by which a nanoapp can be loaded (see the relevant
48 `deferCallback()` effectively posts an event to the main event loop which
57 4. `EventLoop` takes ownership of the `Nanoapp` object (which is a composite of
101 which performs the necessary operations to actually configure the
147 C++ class in `core/`, which serves as the top-level reference to the module and
153 which in turn is responsible for forwarding that request to the underlying
161 `PlatformSensorManager` inherits from `PlatformSensorManagerBase`, which is
162 defined in a platform-specific header file, which allows for extending
[all …]
/system/sepolicy/public/
Dhwservice.te1 # hwservice types. By default most of the HALs are protected_hwservice, which means
65 # of the client and thus have the same access as the client domain in which
67 # - coredomain_hwservice: are considered safer than ordinary hwservices which
72 # by surfaceflinger Binder service, which apps are permitted to access
74 # Binder service which apps were permitted to access.
Dattributes120 # All /system-defined properties which can't be written outside /system.
147 # All /vendor-defined properties which can't be written outside /vendor.
158 # services which should be available to all but isolated apps
161 # services which should be available to all ephemeral apps
164 # services which export only system_api
167 # services which are explicitly disallowed for untrusted apps to access
228 # All domains which have BPF access.
247 # All vendor domains which violate the requirement of not using sockets for
253 # All vendor domains which violate the requirement of not executing
259 # All domains which violate the requirement of not sharing files by path
[all …]
/system/chre/
DREADME.md4 Runtime Environment (CHRE), which is Android’s platform for developing always-on
9 Nanoapps are written to the CHRE API, which is standardized across all
51 - ``build/``: Files related to CHRE’s Makefile-based build system, which
57 past versions), which all CHRE implementations must adhere to
58 - ``core/``: Common CHRE framework code, which is applicable to every platform
61 - ``external/``: Code developed primarily outside of AOSP which (can be)
63 - ``host/``: Reference code which supports the CHRE implementation, but runs on
/system/sepolicy/flagging/
Dte_macros3 # SELinux rules which apply only if given feature is turned on
8 # SELinux rules which apply only if given feature is turned off
/system/extras/simpleperf/demo/SimpleperfExampleCpp/
Dgradle.properties14 # AndroidX package structure to make it clearer which packages are bundled with the
15 # Android operating system, and which are packaged with your app"s APK
/system/netd/server/
DInterfaceController.h57 static int getParameter(const char* family, const char* which, const char* ifName,
59 static int setParameter(const char* family, const char* which, const char* ifName,
DInterfaceController.cpp146 const char *family, const char *which, const char *interface, const char *parameter) { in getParameterPathname() argument
150 } else if (!isNormalPathComponent(which) || in getParameterPathname()
157 return StringPrintf("%s/%s/%s/%s/%s", proc_net_path, family, which, interface, parameter); in getParameterPathname()
383 const char *family, const char *which, const char *interface, const char *parameter, in getParameter() argument
385 const std::string path(getParameterPathname(family, which, interface, parameter)); in getParameter()
397 const char *family, const char *which, const char *interface, const char *parameter, in setParameter() argument
399 const std::string path(getParameterPathname(family, which, interface, parameter)); in setParameter()
/system/timezone/
DRELEASE_NOTES.md3 TZDB 2022b introduces `Europe/Kyiv` and merges more time zones which were
8 decision was made to prepare smaller release which does not need ICU patches.
18 which were reverted manually in Android and resulted in Android releasing
30 format, which flips standard and daylight saving time definitions for affected
31 zones. Also, `Africa/Casablanca` transitions follow lunar calendar, which
76 In `2021b` several time zones which were alike since 1970 were merged. It
83 New links cause problems for the tzlookup.xml generation process, which have
88 Unfortunately there are hardcoded places in Android which expect tzdb version
/system/logging/logd/
DREADME.compression.md7 * “Spam” is often in the eye of the beholder: which messages are important depends on what you’re t…
14 * Do not hide log spam at runtime, which de-incentivize fixes
68 …ctually compressing”, it’s “chatty without doing the chatty elimination”, which is why “simple” is…
78 …ffer will consume more than 1MB. Note that there are 8 log buffers, 5 of which are typically fill…
/system/tools/mkbootimg/
Dpylintrc167 # Python expression which should return a note less than 10 (10 is the highest
168 # note). You have access to the variables errors warning, statement which
181 # Good variable names which should always be accepted, separated by a comma
184 # Bad variable names which should always be refused, separated by a comma
228 # Regular expression which should only match function or class names that do
248 # List of module names for which member attributes should not be checked
254 # List of class names for which member attributes should not be checked (useful
259 # List of members which are set dynamically and missed by pylint inference
282 # List of optional constructs for which whitespace checking is disabled. `dict-
329 # List of strings which can identify a callback function by name. A callback
[all …]

12345678910>>...13