Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 144) sorted by relevance

123456

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
H A DTableChangeTest.kt223 new.set("newString")
224 underTest.updateTo(new)
238 underTest.updateTo(new)
252 new.set(true)
267 new.set("newString")
282 new.set(44)
297 new.set(true)
313 new.set(true)
326 new.set(true)
427 val new = regex
[all …]
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dstatus-bar-data-pipeline.md13 show in the status bar has been re-written with a new architecture. This format
16 This document serves as a guide for the new architecture, and as a guide for how
17 OEMs can add customizations to the new architecture.
21 In the new architecture, there is a separate pipeline for each type of icon. For
23 new architecture**.
25 As shown in the Android best practices guide, each new pipeline has a data
98 The new pipeline completely replaces these classes:
161 the new value from the interactor.
183 SystemUI demo mode is a first-class citizen in the new pipeline. It is
217 // Add new fields here
[all …]
H A Dexecutors.md51 bgExecutor.execute(new Runnable() {
82 bgExecutor.executeDelayed(new Runnable() {
96 Runnable cancel = bgExecutor.executeDelayed(new Runnable() {
137 mHandler = new Handler(looper) {
271 FakeSystemClock clock = new FakeSystemClock();
272 FakeExecutor executor = new FakeExecutor(clock);
286 FakeSystemClock clock = new FakeSystemClock();
287 FakeExecutor executor = new FakeExecutor(clock);
304 FakeSystemClock clock = new FakeSystemClock();
305 FakeExecutor executorA = new FakeExecutor(clock);
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/
H A DDisableFlagsLogger.kt95 new: DisableState,
100 builder.append(getFlagsString(new))
102 if (newAfterLocalModification != null && new != newAfterLocalModification) {
106 builder.append(getDiffString(new, newAfterLocalModification))
119 private fun getDiffString(old: DisableState, new: DisableState): String {
120 if (old == new) {
127 val newSymbol = it.getFlagStatus(new.disable1)
134 val newSymbol = it.getFlagStatus(new.disable2)
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_nio_utils.h73 static void* operator new(size_t);
74 static void* operator new[](size_t);
75 static void* operator new(size_t, void*);
76 static void* operator new[](size_t, void*);
/aosp14/system/core/trusty/keymint/src/
H A Dkeymint_hal_main.rs52 &CString::new(format!( in execute()
61 let mut full_rsp = Vec::new(); in execute()
63 let mut recv_buf = Vec::new(); in execute()
68 &CString::new(format!( in execute()
99 panic::set_hook(Box::new(|panic_info| { in inner_main()
113 let tipc_channel = Arc::new(Mutex::new(TipcChannel(connection))); in inner_main()
/aosp14/frameworks/base/tests/TrustTests/
H A DREADME.md6 Tests are separated into separate files based on major groupings. When creating new tests, find a
7 _closely_ matching existing test file or create a new test file. Prefer many test files over large
10 Each test file has its own trust agent. To create a new trust agent:
12 1. Create a new class extending from `BaseTrustAgentService` class in your test file
13 2. Add a new `<service>` stanza to `AndroidManifest.xml` in this directory for the new agent
39 3. To re-use code between tests, prefer creating new rules alongside the existing rules or adding
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFragmentDisableFlagsLogger.kt23 new: DisableFlagsLogger.DisableState,
30 int1 = new.disable1
31 int2 = new.disable2
37 new = DisableFlagsLogger.DisableState(int1, int2),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DCollapsedStatusBarFragmentLogger.kt38 new: DisableFlagsLogger.DisableState,
44 int1 = new.disable1
45 int2 = new.disable2
/aosp14/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.h93 mEvaluator.reset(new FloatEvaluator()); in GroupPropertyValuesHolder()
109 mEvaluator.reset(new ColorEvaluator()); in FullPathColorPropertyValuesHolder()
126 mEvaluator.reset(new FloatEvaluator()); in FullPathPropertyValuesHolder()
140 mEvaluator.reset(new PathEvaluator()); in PathDataPropertyValuesHolder()
153 mEvaluator.reset(new FloatEvaluator()); in RootAlphaPropertyValuesHolder()
/aosp14/system/core/libstats/pull_rust/
H A Dstats_pull.rs36 pub fn new() -> Self { in new() method
106 Self::new() in default()
111 static ref COOKIES: Mutex<HashMap<i32, fn() -> StatsPullResult>> = Mutex::new(HashMap::new());
/aosp14/frameworks/base/startop/view_compiler/
H A DREADME.md31 number of pieces that must be added to generate new tests. Here are the
41 To add a new DEX file test, follow these steps:
45 3. Add a new `push` option to `AndroidTest.xml` to copy the DEX file to the
47 4. Modify `DexBuilderTest.java` to load and exercise the new test.
51 In general, you can probably get by without adding a new generated DEX file, and
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
H A DOWNERS2 # Bug template url: https://b.corp.google.com/issues/new?component=807991&template=1390280 = per-fi…
4 # Bug template url: https://b.corp.google.com/issues/new?component=316275&template=1018192
/aosp14/frameworks/base/tools/protologtool/
H A DREADME.md38 and a number of new line characters is added as to preserve line numbering in file.
105 ### Adding a new logging group or log statement
107 To add a new ProtoLogGroup simple create a new enum ProtoLogGroup member with desired parameters.
109 To add a new logging statement just add a new call to ProtoLog.x where x is a log level.
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DFlow.kt42 fun <T, R> Flow<T>.pairwiseBy(transform: suspend (old: T, new: T) -> R): Flow<R> = flow {
117 .pairwiseBy { old: Set<T>, new: Set<T> ->
119 val removed = old - new
121 val added = new - old
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
H A DCommandParser.kt246 new: SingleArgParam<T>,
249 _params.add(new)
265 new: RequiredSubCommand<T>,
268 _subCommands.add(new)
/aosp14/frameworks/base/tools/split-select/
H A DTestRules.h33 subrules.add(new Rule(rhs)); in add()
44 subrules.add(new Rule(rhs)); in add()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
H A Dchanges.md11 ## Adding new code
14 If the new component is used only within the WMShell library, then there are no special
19 If the new component is to be used by other components/features within the Shell library, then
20 you can create an appropriate package for this component to add your new code. The current
48 Launcher requires a new AIDL interface to be created and implemented by the controller. The
85 - Add unit tests for all new components
104 If the new code doesn't fall into those categories, they can be added explicitly in the Shell's
/aosp14/system/core/libutils/include/utils/
H A DTypeHelpers.h138 new(p++) TYPE;
167 new(d) TYPE(*s);
177 new(where) TYPE(*what);
211 new(d) TYPE(*s);
235 new(d) TYPE(*s);
/aosp14/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
H A DIntEnum.java.txt30 final SparseArray<String> intEnumPropertyEnumMapping = new SparseArray<>();
41 throw new InspectionCompanion.UninitializedPropertyMapException();
H A DIntFlag.java.txt28 final IntFlagMapping intFlagFlagMapping = new IntFlagMapping();
39 throw new InspectionCompanion.UninitializedPropertyMapException();
/aosp14/system/core/fs_mgr/libfs_avb/include/fs_avb/
H A Dtypes.h76 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData()
85 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData()
/aosp14/frameworks/base/tools/aapt/
H A DXMLNode.h46 return new XMLNode(filename, prefix, uri, true); in newNamespace()
51 return new XMLNode(filename, ns, name, false); in newElement()
56 return new XMLNode(filename); in newCData()
/aosp14/frameworks/base/core/java/android/window/
H A DSurfaceSyncGroup.md12 The first step is to create a sync request. This is done by creating a new `SurfaceSyncGroup`.
47new SurfaceSyncGroup is created or it returns an already active SurfaceSyncGroup. This active Surf…
54 …t be able to add it locally. Instead, it will call into WMS and register a new SurfaceSyncGroup th…
62 SurfaceSyncGroup syncGroup = new SurfaceSyncGroup(NAME);
77 SurfaceSyncGroup syncGroup = new SurfaceSyncGroup(NAME);
83 // Call this when the SurfaceView is ready to render a new frame with the changes.
95 SurfaceSyncGroup syncGroup = new SurfaceSyncGroup(NAME);
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DEventLogTags.logtags12 # An existing activity is being given a new intent:
14 # A new task is being created:
16 # A new activity is being created in an existing task:

123456