Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 269) sorted by relevance

1234567891011

/system/chre/platform/shared/
Dmemory_manager.cc24 void *MemoryManager::nanoappAlloc(Nanoapp *app, uint32_t bytes) { in nanoappAlloc() argument
30 app->getInstanceId()); in nanoappAlloc()
35 app->getInstanceId()); in nanoappAlloc()
38 doAlloc(app, sizeof(HeapBlockHeader) + bytes)); in nanoappAlloc()
41 app->setTotalAllocatedBytes(app->getTotalAllocatedBytes() + bytes); in nanoappAlloc()
47 app->linkHeapBlock(header); in nanoappAlloc()
49 header->data.instanceId = app->getInstanceId(); in nanoappAlloc()
57 void MemoryManager::nanoappFree(Nanoapp *app, void *ptr) { in nanoappFree() argument
65 if (app->getInstanceId() != header->data.instanceId) { in nanoappFree()
67 app->getInstanceId(), header->data.instanceId); in nanoappFree()
[all …]
/system/chre/core/tests/
Dmemory_manager_test.cc41 Nanoapp app(kInvalidInstanceId); in TEST() local
42 void *ptr = manager.nanoappAlloc(&app, 1u); in TEST()
46 manager.nanoappFree(&app, ptr); in TEST()
53 Nanoapp app(kInvalidInstanceId); in TEST() local
54 manager.nanoappFree(&app, nullptr); in TEST()
61 Nanoapp app(kInvalidInstanceId); in TEST() local
62 void *ptr = manager.nanoappAlloc(&app, 0u); in TEST()
70 Nanoapp app(kInvalidInstanceId); in TEST() local
71 void *ptr = manager.nanoappAlloc(&app, manager.getMaxAllocationBytes() + 1); in TEST()
78 Nanoapp app(kInvalidInstanceId); in TEST() local
[all …]
/system/chre/core/
Devent_loop.cc63 bool populateNanoappInfo(const Nanoapp *app, struct chreNanoappInfo *info) { in populateNanoappInfo() argument
66 if (app != nullptr && info != nullptr) { in populateNanoappInfo()
67 info->appId = app->getAppId(); in populateNanoappInfo()
68 info->version = app->getAppVersion(); in populateNanoappInfo()
69 info->instanceId = app->getInstanceId(); in populateNanoappInfo()
70 if (app->getTargetApiVersion() >= CHRE_API_VERSION_1_8) { in populateNanoappInfo()
71 CHRE_ASSERT(app->getRpcServices().size() <= Nanoapp::kMaxRpcServices); in populateNanoappInfo()
73 static_cast<uint8_t>(app->getRpcServices().size()); in populateNanoappInfo()
74 info->rpcServices = app->getRpcServices().data(); in populateNanoappInfo()
110 for (const UniquePtr<Nanoapp> &app : mNanoapps) { in findNanoappInstanceIdByAppId() local
[all …]
/system/extras/tests/workloads/
Dsystemapps.sh156 for app in $appList
158 vout Starting $app...
162 resetJankyFrames $(getPackageName $app)
164 tmpTraceOut="$tmpTraceOutBase-$app.out"
166 startInstramentation "$app-$cur"
169 startInstramentation "$app-$cur" 0
176 t=$(startActivity $app)
178 t=$(forceStartActivity $app)
183 set -- $(getJankyFrames $(getPackageName $app))
213 …printf "%-10s %5.0f %5.0f %4.0f(%2.0f%%) %2.0f/%2.0f/%2.0f\n" $app $t $diffTime $janks $jankP…
[all …]
Dyoutube.sh8 app=youtube
90 resetJankyFrames $(getPackageName $app)
94 t=$(startActivity $app)
117 set -- $(getJankyFrames $(getPackageName $app))
136 resetJankyFrames $(getPackageName $app)
Dchromefling.sh11 app=chrome
96 resetJankyFrames $(getPackageName $app)
103 t=$(startActivity $app)
119 set -- $(getJankyFrames $(getPackageName $app))
140 resetJankyFrames $(getPackageName $app)
/system/chre/test/simulation/
Dtest_util.cc59 TestNanoapp *app = queryNanoapp(id); in start() local
60 if (app == nullptr) { in start()
64 return app->start(); in start()
75 TestNanoapp *app = queryNanoapp(id); in handleEvent() local
76 if (app == nullptr) { in handleEvent()
79 app->handleEvent(senderInstanceId, eventType, eventData); in handleEvent()
90 TestNanoapp *app = queryNanoapp(id); in end() local
91 if (app == nullptr) { in end()
94 app->end(); in end()
104 void registerNanoapp(UniquePtr<TestNanoapp> app) { in registerNanoapp() argument
[all …]
/system/linkerconfig/testdata/golden_output/stage1/com.android.runtime/
Dld.config.txt96 namespace.system.permitted.paths += /system/app
97 namespace.system.permitted.paths += /system/priv-app
99 namespace.system.permitted.paths += /system_ext/app
100 namespace.system.permitted.paths += /system_ext/priv-app
102 namespace.system.permitted.paths += /vendor/app
103 namespace.system.permitted.paths += /vendor/priv-app
105 namespace.system.permitted.paths += /system/vendor/app
106 namespace.system.permitted.paths += /system/vendor/priv-app
108 namespace.system.permitted.paths += /odm/app
109 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage1/com.android.art/
Dld.config.txt99 namespace.system.permitted.paths += /system/app
100 namespace.system.permitted.paths += /system/priv-app
102 namespace.system.permitted.paths += /system_ext/app
103 namespace.system.permitted.paths += /system_ext/priv-app
105 namespace.system.permitted.paths += /vendor/app
106 namespace.system.permitted.paths += /vendor/priv-app
108 namespace.system.permitted.paths += /system/vendor/app
109 namespace.system.permitted.paths += /system/vendor/priv-app
111 namespace.system.permitted.paths += /odm/app
112 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/extras/memory_replay/traces/
DTRACES7 Trace of the native camera app from start-up.
10 Trace of the Google Gmail app from start-up and through reading messages.
13 Trace of the Google Maps app from start-up while looking at various parts
17 Trace of the system app process surfaceflinger from start-up while
21 Trace of the system app process system_server from start-up while
25 Trace of the system app process systemui from start-up while
29 Trace of the Google YouTube app from start-up and while watching various
40 Why: Top 500 app using Unity engine.
42 Complete the tutorial. Restart the app with tracing enabled and play
53 Play first level. Restart the app with tracing enabled and play a few
[all …]
/system/tools/aidl/
Dhiddenapi-greylist7 "android.app.admin.IDeviceAdminService",
8 "android.app.admin.IDevicePolicyManager",
9 "android.app.backup.IBackupManager",
10 "android.app.backup.IBackupManagerMonitor",
11 "android.app.backup.IBackupObserver",
12 "android.app.backup.IFullBackupRestoreObserver",
13 "android.app.backup.IRestoreObserver",
14 "android.app.backup.IRestoreSession",
15 "android.app.backup.ISelectBackupTransportCallback",
16 "android.app.IActivityController",
[all …]
/system/sepolicy/private/
Dsimpleperf.te1 # Domain used when running /system/bin/simpleperf to profile a specific app.
2 # Entered either by the app itself exec-ing the binary, or through
20 # app. The necessary MAC permissions for profiling are more maintainable and
21 # consistent if simpleperf is marked as an app domain as well (as, for example,
22 # it will then see the same set of system libraries as the app).
26 # Allow ptrace attach to the target app, for reading JIT debug info (using
30 # Allow using perf_event_open syscall for profiling the target app.
33 # Allow /proc/<pid> access for the target app (for example, when trying to
38 # profiler runs as when executed by the app. The signals are used to control
39 # the profiler (which would be profiling the app that is sending the signal).
[all …]
Drs.te11 # Read files from the app home directory.
15 # Cleanup app_exec_data_file files in the app home directory.
25 # Read contents of app apks
32 # File descriptors passed from app to renderscript
39 # rs can access app data, so ensure it can only be entered via an app domain and cannot have
/system/chre/platform/include/chre/platform/
Dmemory_manager.h48 void *nanoappAlloc(Nanoapp *app, uint32_t bytes);
56 void nanoappFree(Nanoapp *app, void *ptr);
64 uint32_t nanoappFreeAll(Nanoapp *app);
131 void *doAlloc(Nanoapp *app, uint32_t size);
138 void doFree(Nanoapp *app, void *ptr);
/system/chre/platform/freertos/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc() argument
24 if (app->isTcmApp()) { in doAlloc()
31 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree() argument
32 if (app->isTcmApp()) { in doFree()
/system/chre/platform/slpi/
Dmemory_manager.cc24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc() argument
25 if (app->isUimgApp()) { in doAlloc()
32 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree() argument
33 if (app->isUimgApp()) { in doFree()
/system/linkerconfig/testdata/golden_output/stage1/
Dld.config.txt25 dir.system = /product/app/
37 namespace.default.permitted.paths += /system/app
38 namespace.default.permitted.paths += /system/priv-app
40 namespace.default.permitted.paths += /system_ext/app
41 namespace.default.permitted.paths += /system_ext/priv-app
43 namespace.default.permitted.paths += /vendor/app
44 namespace.default.permitted.paths += /vendor/priv-app
46 namespace.default.permitted.paths += /system/vendor/app
47 namespace.default.permitted.paths += /system/vendor/priv-app
49 namespace.default.permitted.paths += /odm/app
[all …]
/system/extras/simpleperf/demo/
DREADME.md56 # Build and install a debuggable app. We can also build and install a released app on Android >= Q.
59 $ adb install -r app/build/outputs/apk/debug/app-debug.apk
91 $ adb install -r app/build/outputs/apk/debug/app-debug.apk
99 $ python app_profiler.py -p simpleperf.example.cpp -lib app/build
121 # Build and install a debuggable app. We can also build and install a released app on Android >= Q.
124 $ adb install -r app/build/outputs/apk/debug/app-debug.apk
156 $ adb install -r app/build/outputs/apk/debug/app-debug.apk
166 3. Run the CppApi app.
169 # launch the app via cmdline, can also launch it on device.
170 # A profiling file is generated each time running the app.
/system/linkerconfig/testdata/golden_output/stage2/com.android.systemext1/
Dld.config.txt272 namespace.system.permitted.paths += /system/app
273 namespace.system.permitted.paths += /system/priv-app
275 namespace.system.permitted.paths += /system_ext/app
276 namespace.system.permitted.paths += /system_ext/priv-app
278 namespace.system.permitted.paths += /vendor/app
279 namespace.system.permitted.paths += /vendor/priv-app
281 namespace.system.permitted.paths += /system/vendor/app
282 namespace.system.permitted.paths += /system/vendor/priv-app
284 namespace.system.permitted.paths += /odm/app
285 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage2/com.android.adbd/
Dld.config.txt272 namespace.system.permitted.paths += /system/app
273 namespace.system.permitted.paths += /system/priv-app
275 namespace.system.permitted.paths += /system_ext/app
276 namespace.system.permitted.paths += /system_ext/priv-app
278 namespace.system.permitted.paths += /vendor/app
279 namespace.system.permitted.paths += /vendor/priv-app
281 namespace.system.permitted.paths += /system/vendor/app
282 namespace.system.permitted.paths += /system/vendor/priv-app
284 namespace.system.permitted.paths += /odm/app
285 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage2/com.android.media.swcodec/
Dld.config.txt293 namespace.system.permitted.paths += /system/app
294 namespace.system.permitted.paths += /system/priv-app
296 namespace.system.permitted.paths += /system_ext/app
297 namespace.system.permitted.paths += /system_ext/priv-app
299 namespace.system.permitted.paths += /vendor/app
300 namespace.system.permitted.paths += /vendor/priv-app
302 namespace.system.permitted.paths += /system/vendor/app
303 namespace.system.permitted.paths += /system/vendor/priv-app
305 namespace.system.permitted.paths += /odm/app
306 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage2/com.android.sdkext/
Dld.config.txt293 namespace.system.permitted.paths += /system/app
294 namespace.system.permitted.paths += /system/priv-app
296 namespace.system.permitted.paths += /system_ext/app
297 namespace.system.permitted.paths += /system_ext/priv-app
299 namespace.system.permitted.paths += /vendor/app
300 namespace.system.permitted.paths += /vendor/priv-app
302 namespace.system.permitted.paths += /system/vendor/app
303 namespace.system.permitted.paths += /system/vendor/priv-app
305 namespace.system.permitted.paths += /odm/app
306 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage2/com.android.runtime/
Dld.config.txt276 namespace.system.permitted.paths += /system/app
277 namespace.system.permitted.paths += /system/priv-app
279 namespace.system.permitted.paths += /system_ext/app
280 namespace.system.permitted.paths += /system_ext/priv-app
282 namespace.system.permitted.paths += /vendor/app
283 namespace.system.permitted.paths += /vendor/priv-app
285 namespace.system.permitted.paths += /system/vendor/app
286 namespace.system.permitted.paths += /system/vendor/priv-app
288 namespace.system.permitted.paths += /odm/app
289 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/linkerconfig/testdata/golden_output/stage2/com.android.conscrypt/
Dld.config.txt294 namespace.system.permitted.paths += /system/app
295 namespace.system.permitted.paths += /system/priv-app
297 namespace.system.permitted.paths += /system_ext/app
298 namespace.system.permitted.paths += /system_ext/priv-app
300 namespace.system.permitted.paths += /vendor/app
301 namespace.system.permitted.paths += /vendor/priv-app
303 namespace.system.permitted.paths += /system/vendor/app
304 namespace.system.permitted.paths += /system/vendor/priv-app
306 namespace.system.permitted.paths += /odm/app
307 namespace.system.permitted.paths += /odm/priv-app
[all …]
/system/apex/tests/testdata/maxsdk/com.android.apex.maxsdk.test/
DAndroid.bp39 "com.android.apex.maxsdk.app.available.test",
40 "com.android.apex.maxsdk.app.unavailable.test",
41 "com.android.apex.maxsdk.app.available.target10k.test",
46 name: "com.android.apex.maxsdk.app.available.test",
55 name: "com.android.apex.maxsdk.app.unavailable.test",
64 name: "com.android.apex.maxsdk.app.available.target10k.test",

1234567891011