Home
last modified time | relevance | path

Searched refs:use (Results 1 – 25 of 2502) sorted by relevance

12345678910>>...101

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryLogger.kt101 usageData.forEach { (_, use) -> in <lambda>() method
105 use.uid, in <lambda>()
106 use.style, in <lambda>()
107 use.count, in <lambda>()
108 use.countWithInflatedViews, in <lambda>()
109 toKb(use.smallIconObject), in <lambda>()
110 use.smallIconBitmapCount, in <lambda>()
111 toKb(use.largeIconObject), in <lambda>()
112 use.largeIconBitmapCount, in <lambda>()
113 toKb(use.bigPictureObject), in <lambda>()
[all …]
/frameworks/base/core/proto/android/media/
Daudioattributes.proto5 * you may not use this file except in compliance with the License.
38 // Content type value to use when the content type is unknown, or other than
41 // Content type value to use when the content type is speech.
43 // Content type value to use when the content type is music.
45 // Content type value to use when the content type is a soundtrack,
48 // Content type value to use when the content type is a sound used to
56 // Usage value to use when the usage is unknown.
58 // Usage value to use when the usage is media, such as music, or movie
61 // Usage value to use when the usage is voice communications, such as
64 // Usage value to use when the usage is in-call signalling, such as with a
[all …]
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dlifetime.h103 VRegLiveRange(Arena* arena, const VRegUse& use) in VRegLiveRange() argument
104 : begin_(use.begin()), end_(use.end()), use_list_(1, use, arena) {} in VRegLiveRange()
129 void AppendUse(const VRegUse& use) { in AppendUse() argument
130 DCHECK_LE(begin_, use.begin()); in AppendUse()
139 use_list_.push_back(use); in AppendUse()
140 if (end_ < use.end()) { in AppendUse()
141 end_ = use.end(); in AppendUse()
148 for (const auto& use : use_list_) { in GetDebugString() local
150 out += use.GetDebugString(); in GetDebugString()
219 VRegLifetime(Arena* arena, const VRegUse& use) in VRegLifetime() argument
[all …]
/frameworks/av/services/audioflinger/
DAndroid.bp51 // "modernize-use-auto", // found in MediaMetricsService.h, debatable - auto can obscure type
52 "modernize-use-bool-literals",
53 "modernize-use-default-member-init",
54 "modernize-use-emplace",
55 "modernize-use-equals-default",
56 "modernize-use-equals-delete",
57 // "modernize-use-nodiscard",
58 "modernize-use-noexcept",
59 "modernize-use-nullptr",
60 "modernize-use-override",
[all …]
/frameworks/base/media/jni/soundpool/
DAndroid.bp48 // "modernize-use-auto", // found in StreamManager.h, debatable - auto can obscure type
49 "modernize-use-bool-literals",
50 "modernize-use-default-member-init",
51 "modernize-use-emplace",
52 "modernize-use-equals-default",
53 "modernize-use-equals-delete",
54 // "modernize-use-nodiscard", // found in SteamManager.h
55 "modernize-use-noexcept",
56 "modernize-use-nullptr",
57 "modernize-use-override",
[all …]
/frameworks/av/services/oboeservice/
DAndroid.bp4 // you may not use this file except in compliance with the License.
52 "modernize-use-auto",
53 "modernize-use-bool-literals",
54 "modernize-use-default-member-init",
55 "modernize-use-emplace",
56 "modernize-use-equals-default",
57 "modernize-use-equals-delete",
58 "modernize-use-nodiscard",
59 "modernize-use-noexcept",
60 "modernize-use-nullptr",
[all …]
/frameworks/av/services/mediametrics/
DAndroid.bp41 // "modernize-use-auto", // found in MediaMetricsService.h, debatable - auto can obscure type
42 "modernize-use-bool-literals",
43 "modernize-use-default-member-init",
44 "modernize-use-emplace",
45 "modernize-use-equals-default",
46 "modernize-use-equals-delete",
47 // "modernize-use-nodiscard", // found in TimeMachine.h
48 "modernize-use-noexcept",
49 "modernize-use-nullptr",
50 "modernize-use-override",
[all …]
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/
Dannotation-allowed-classes-tiny-framework.txt1 # Only classes listed here can use the hoststubgen annotations.
8 # To allow a specific class to use annotations:
11 # To disallow a specific class to use annotations:
14 # To allow a specific package to use annotations:
17 # To disallow a specific package to use annotations:
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DAtomicFileExtensions.kt32 openRead().use(block) in <lambda>()
39 AtomicFile(reserveFile).openRead().use(block) in <lambda>()
53 FileInputStream(baseFile).use { inputStream -> in writeWithReserveCopy()
54 FileOutputStream(reserveFile).use { outputStream -> in writeWithReserveCopy()
68 startWrite().use { in writeInlined()
/frameworks/av/media/libaaudio/src/
DAndroid.bp39 // "modernize-use-auto", // found in AAudioAudio.cpp
40 "modernize-use-bool-literals",
41 "modernize-use-default-member-init",
42 "modernize-use-emplace",
43 "modernize-use-equals-default",
44 "modernize-use-equals-delete",
45 "modernize-use-nodiscard",
46 "modernize-use-noexcept",
47 "modernize-use-nullptr",
48 "modernize-use-override",
[all …]
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageTest.kt139 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
149 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
160 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
170 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
206 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
228 stateFile.toParcelFileDescriptor(MODE_WRITE_ONLY or MODE_APPEND).use { in <lambda>()
234 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
244 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
253 temporaryFolder.newFile().toParcelFileDescriptor(MODE_WRITE_ONLY or MODE_APPEND).use { in <lambda>()
275 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>()
[all …]
/frameworks/rs/script_api/include/
Drs_graphics.rsh5 * you may not use this file except in compliance with the License.
39 * DEPRECATED. Do not use.
66 * DEPRECATED. Do not use.
92 * DEPRECATED. Do not use.
113 * DEPRECATED. Do not use.
140 * DEPRECATED. Do not use.
165 * DEPRECATED. Do not use.
183 * DEPRECATED. Do not use.
201 * DEPRECATED. Do not use.
219 * DEPRECATED. Do not use.
[all …]
/frameworks/base/packages/SystemUI/docs/
Ddialogs.md7 In order to have uniform styling in dialogs, use [SystemUIDialog][1] with its default theme.
8 If not possible, use [AlertDialog][2] with the SystemUI theme `R.style.Theme_SystemUI_Dialog`.
23 * `setTitle`: this will use `R.style.TextAppearance_Dialog_Title`.
24 * `setMessage`: this will use `R.style.TextAppearance_Dialog_Body_Message`.
25 * `SystemUIDialog.set<Positive|Negative|Neutral>Button` or `AlertDialog.setButton`: this will use
30 If needed to use the same style for all three buttons, the style attributes
42 When showing a dialog triggered by clicking on a `View`, you should use [DialogTransitionAnimator][…
57 Here's a short code snippet with an example on how to use the guidelines.
Dbroadcasts.md7 ## Why use the dispatcher?
16 ## Should I use the dispatcher?
33 … (not declared in `AndroidManifest`) that satisfies the constraints above, use the dispatcher to r…
43 Sticky broadcasts are `@Deprecated` since API 24 and the general recommendation is to use regular b…
47 * Do not use the dispatcher to obtain the last broadcast (by passing a null `BroadcastReceiver`). `…
50 ## How do I use the dispatcher?
52 Acquire the dispatcher by using `@Inject` to obtain a `BroadcastDispatcher`. Then, use the followin…
64 * @param executor An executor to dispatch [BroadcastReceiver.onReceive]. Pass null to use an
67 * Pass `null` to use the user of the context (system user in SystemUI).
68 * @param flags Flags to use when registering the receiver. [Context.RECEIVER_EXPORTED] by
/frameworks/base/cmds/idmap2/
DAndroid.bp4 // you may not use this file except in compliance with the License.
31 "-modernize-use-nodiscard",
32 "-modernize-use-trailing-return-type",
47 "-modernize-use-default-member-init",
48 "-modernize-use-equals-default",
49 "-modernize-use-emplace",
50 "-modernize-use-nodiscard",
51 "-modernize-use-override",
52 "-modernize-use-trailing-return-type",
53 "-modernize-use-using",
/frameworks/libs/binary_translation/backend/common/
Dlifetime_analysis.cc44 void VRegLifetimeAnalysis::AppendUse(const VRegUse& use) { in AppendUse() argument
45 VRegLifetime* lifetime = GetVRegLifetime(use.GetVReg(), use.begin()); in AppendUse()
46 lifetime->AppendUse(use); in AppendUse()
/frameworks/base/core/java/android/os/
Dflags.aconfig24 …description: "Guards a new UserManager user restriction that admins can use to require cellular en…
97 description: "Guards use of the FMQ channel for ADPF"
104 description: "Guards use of the FMQ channel for ADPF with a readonly flag"
112 description: "Guards the use of an eager-sending optimization in FMQ for low-latency messages"
120 description: "Guards use of the FMQ channel for ADPF"
128 description: "Guards use of a boost in response to HWUI obtainView"
136 description: "Guards use of the ADPF power efficiency API within the platform"
144 description: "Guards use of a boost when view measures during input events"
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyboardBacklightControllerTests.kt168 ).use { in createKeyboard()
186 ).use { in createKeyboard()
204 ).use { in createKeyboard()
230 ).use { in createKeyboard()
263 ).use { in createKeyboard()
299 ).use { in createKeyboard()
352 ).use { in createKeyboard()
388 ).use { in createKeyboard()
482 ).use { in createKeyboard()
509 ).use { in createKeyboard()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/flicker/
DCloseAllAppWithAppHeaderExitLandscape.kt43 .use(FlickerServiceConfig.DEFAULT) in closeAllAppsInDesktop()
44 .use(CLOSE_APP) in closeAllAppsInDesktop()
45 .use(CLOSE_LAST_APP) in closeAllAppsInDesktop()
DCloseAllAppWithAppHeaderExitPortrait.kt43 .use(FlickerServiceConfig.DEFAULT) in closeAllAppsInDesktop()
44 .use(CLOSE_APP) in closeAllAppsInDesktop()
45 .use(CLOSE_LAST_APP) in closeAllAppsInDesktop()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGen.kt59 PrintWriter(it).use { pw -> allClasses.dump(pw) } in <lambda>()
64 PrintWriter(it).use { in <lambda>()
89 PrintWriter(it).use { pw -> stats.dumpOverview(pw) } in <lambda>()
93 PrintWriter(it).use { pw -> in <lambda>()
218 ZipFile(inJar).use { inZip -> in <lambda>()
243 return ZipOutputStream(FileOutputStream(filename)).use(block) in <lambda>()
303 BufferedInputStream(inZip.getInputStream(entry)).use { bis -> in <lambda>()
339 BufferedInputStream(inZip.getInputStream(entry)).use { bis -> in <lambda>()
352 BufferedInputStream(inZip.getInputStream(entry)).use { bis -> in <lambda>()
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DStatementParser.kt47 StringReader(statementList).use { stringReader -> in <lambda>()
48 JsonReader(stringReader).use { reader -> in <lambda>()
70 StringReader(statementString).use { stringReader -> in <lambda>()
71 JsonReader(stringReader).use { reader -> in <lambda>()
/frameworks/av/services/audioflinger/timing/
DAndroid.bp14 "modernize-use-auto",
15 "modernize-use-nodiscard",
21 // Eventually use common tidy defaults
/frameworks/av/services/audioflinger/sounddose/
DAndroid.bp14 "modernize-use-auto",
15 "modernize-use-nodiscard",
21 // Eventually use common tidy defaults
/frameworks/av/services/audioflinger/datapath/
DAndroid.bp14 "modernize-use-auto",
15 "modernize-use-nodiscard",
21 // Eventually use common tidy defaults

12345678910>>...101