Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 24 of 24) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DLineBreakBufferedWriter.java149 int rest = bufferSize - bufferIndex; in write() local
150 appendToBuffer(buf, off, rest); in write()
153 off += rest; in write()
154 len -= rest; in write()
204 appendToBuffer(s, off, rest); in write()
207 off += rest; in write()
208 len -= rest; in write()
275 int rest = bufferIndex - i; in removeFromBuffer() local
276 if (rest > 0) { in removeFromBuffer()
277 System.arraycopy(buffer, bufferIndex - rest, buffer, 0, rest); in removeFromBuffer()
[all …]
/aosp14/system/core/healthd/
H A DAnimationParser.cpp40 bool remove_prefix(std::string_view line, const char* prefix, const char** rest) { in remove_prefix() argument
50 *rest = &str[start]; in remove_prefix()
92 const char* rest; in parse_animation_desc() local
96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc()
104 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc()
106 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc()
107 anim->fail_file.assign(rest); in parse_animation_desc()
108 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc()
109 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc()
113 } else if (remove_prefix(line, percent_prefix, &rest)) { in parse_animation_desc()
[all …]
H A DAnimationParser_test.cpp37 const char* rest = nullptr; in TEST() local
38 EXPECT_FALSE(remove_prefix(TEST_STRING, "def", &rest)); in TEST()
40 EXPECT_FALSE(remove_prefix(TEST_STRING, TEST_STRING, &rest)); in TEST()
42 EXPECT_TRUE(remove_prefix(TEST_STRING, "abc", &rest)); in TEST()
43 EXPECT_STREQ("def", rest); in TEST()
45 EXPECT_TRUE(remove_prefix(" abcdef", "abc", &rest)); in TEST()
46 EXPECT_STREQ("def", rest); in TEST()
H A DAnimationParser.h29 bool remove_prefix(std::string_view str, const char* prefix, const char** rest);
/aosp14/system/core/llkd/tests/
H A Dllkd_test.cpp59 void rest() { in rest() function
85 rest(); in llkdSleepPeriod()
90 rest(); in llkdSleepPeriod()
92 rest(); in llkdSleepPeriod()
94 rest(); in llkdSleepPeriod()
96 rest(); in llkdSleepPeriod()
98 rest(); in llkdSleepPeriod()
101 rest(); in llkdSleepPeriod()
104 rest(); in llkdSleepPeriod()
110 rest(); in llkdSleepPeriod()
/aosp14/frameworks/base/core/proto/android/server/
H A Dwirelesschargerdetector.proto37 // True if the device is thought to be at rest on a wireless charger.
39 // The gravity vector most recently observed while at rest.
40 optional VectorProto rest = 3; field
45 // True if the rest position should be updated if at rest.
49 // The number of samples collected that showed evidence of not being at rest.
/aosp14/frameworks/base/core/java/android/text/style/
H A DLeadingMarginSpan.java109 public Standard(int first, int rest) { in Standard() argument
111 mRest = rest; in Standard()
/aosp14/frameworks/base/tests/TrustTests/
H A DREADME.md31 2. `TrustManager` which is the interface the rest of the system (e.g. SystemUI) has to the
35 3. `TrustListener` which is the interface the rest of the system (e.g. SystemUI) uses to receive
37 1. Through this, verify behavior that affects the rest of the system. For example,
/aosp14/frameworks/base/cmds/incidentd/src/
H A Dincidentd_util.cpp141 const char** varargs(const char* first, va_list rest) { in varargs() argument
145 va_copy(copied_rest, rest); in varargs()
155 const char* arg = va_arg(rest, const char*); in varargs()
H A Dincidentd_util.h103 const char** varargs(const char* first, va_list rest);
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DLockPatternViewTest.java239 float rest = 1f - progress; in makeMove() local
242 /* x= */ xFrom * rest + xTo * progress, in makeMove()
243 /* y= */ yFrom * rest + yTo * progress, in makeMove()
/aosp14/frameworks/base/apex/jobscheduler/
H A DREADME_js-mainline.md13 and the rest of the framework code is put in `framework-minus-apex.jar`,
/aosp14/frameworks/base/core/proto/
H A DREADME.md3 1. As in the rest of Android, use 4 spaces to indent instead of 2.
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Ddagger.md28 want this code relying on the rest of SystemUI, and we don't want the rest
H A Dcorestartable.md6 a chunk of SystemUI functionality that is initialized at startup time, independent of the rest of
H A Dplugins.md133 The plugin settings activity does not run in SysUI like the rest of the plugin, so it cannot refere…
/aosp14/frameworks/base/media/java/android/media/
H A DWebVttRenderer.java853 String rest = line.substring(arrowAt + 3)
855 int spaceAt = rest.indexOf(' ');
856 String end = spaceAt > 0 ? rest.substring(0, spaceAt) : rest;
857 rest = spaceAt > 0 ? rest.substring(spaceAt + 1) : "";
861 for (String setting: rest.split(" +")) {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
H A Dsysui.md30 interfaces provided by the Shell and the rest of SystemUI.
/aosp14/frameworks/base/packages/SystemUI/
H A DREADME.md40 registering and unregistering with the rest of the system as needed.
/aosp14/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp75 static void copy_v(void* dst, const S* src, int n, Rest&&... rest) { in copy_v() argument
86 copy_v(dst, std::forward<Rest>(rest)...); in copy_v()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java1669 Bundle rest = new Bundle(); in testSetGetApplicationRestriction() local
1670 rest.putString("KEY_STRING", "Foo1"); in testSetGetApplicationRestriction()
1671 dpm.setApplicationRestrictions(admin1, "pkg1", rest); in testSetGetApplicationRestriction()
1675 Bundle rest = new Bundle(); in testSetGetApplicationRestriction() local
1676 rest.putString("KEY_STRING", "Foo2"); in testSetGetApplicationRestriction()
1677 dpm.setApplicationRestrictions(admin1, "pkg2", rest); in testSetGetApplicationRestriction()
1905 final Bundle rest = new Bundle(); in testApplicationRestrictionsManagingApp() local
1906 rest.putString("KEY_STRING", "Foo1"); in testApplicationRestrictionsManagingApp()
1908 () -> dpm.setApplicationRestrictions(null, "pkg1", rest)); in testApplicationRestrictionsManagingApp()
1930 dpm.setApplicationRestrictions(null, "pkg1", rest); in testApplicationRestrictionsManagingApp()
[all …]
/aosp14/system/core/init/
H A DREADME.md1054 First stage init is responsible for setting up the bare minimum requirements to load the rest of the
/aosp14/system/core/rootdir/
H A Dinit.rc772 # create rest of basic filesystem structure
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...