/aosp12/frameworks/native/libs/ui/tests/ |
H A D | Size_test.cpp | 39 Size s(123, 456); in TEST() local 66 Size s; in TEST() local 72 Size s(-1, -1); in TEST() local 78 Size s(1, -1000); in TEST() local 109 Size s(0, 0); in TEST() local 136 Size s; in TEST() local 142 Size s; in TEST() local 148 Size s; in TEST() local 162 Size s; in ClampTest() local 168 Size s; in ClampTest() local [all …]
|
/aosp12/frameworks/minikin/tests/unittest/ |
H A D | StringPieceTest.cpp | 25 StringPiece s(nullptr); in TEST() local 31 StringPiece s(""); in TEST() local 37 StringPiece s("", 0); in TEST() local 43 StringPiece s("abcde"); in TEST() local 51 StringPiece s("abcde", 5); in TEST() local 77 StringPiece s(kText + 2); in TEST() local 87 StringPiece s("abcde"); in TEST() local 115 StringPiece s(""); in TEST() local 121 StringPiece s(""); in TEST() local 126 StringPiece s("abcde"); in TEST() local [all …]
|
/aosp12/art/test/021-string2/src/ |
H A D | Main.java | 763 public static boolean $noinline$equalsConstString0(String s) { in $noinline$equalsConstString0() 767 public static boolean $noinline$equalsConstString3(String s) { in $noinline$equalsConstString3() 771 public static boolean $noinline$equalsConstString7(String s) { in $noinline$equalsConstString7() 775 public static boolean $noinline$equalsConstString12(String s) { in $noinline$equalsConstString12() 779 public static boolean $noinline$equalsConstString14(String s) { in $noinline$equalsConstString14() 783 public static boolean $noinline$equalsConstString24(String s) { in $noinline$equalsConstString24() 787 public static boolean $noinline$equalsConstString29(String s) { in $noinline$equalsConstString29() 791 public static boolean $noinline$equalsConstString35(String s) { in $noinline$equalsConstString35() 823 public static boolean $noinline$constString0Equals(String s) { in $noinline$constString0Equals() 827 public static boolean $noinline$constString3Equals(String s) { in $noinline$constString3Equals() [all …]
|
/aosp12/art/benchmark/string-indexof/src/ |
H A D | StringIndexOfBenchmark.java | 22 String s = string36; in timeIndexOf0() local 30 String s = string36; in timeIndexOf1() local 38 String s = string36; in timeIndexOf2() local 46 String s = string36; in timeIndexOf3() local 54 String s = string36; in timeIndexOf4() local 62 String s = string36; in timeIndexOf7() local 70 String s = string36; in timeIndexOf8() local 78 String s = string36; in timeIndexOfF() local 86 String s = string36; in timeIndexOfG() local 94 String s = string36; in timeIndexOfV() local [all …]
|
/aosp14/frameworks/base/media/jni/tuner/ |
H A D | TunerClient.cpp | 50 Status s = mTunerService->getFrontendIds(&ids); in getFrontendIds() local 62 Status s = mTunerService->openFrontend(frontendHandle, &tunerFrontend); in openFrontend() local 87 Status s = mTunerService->getFrontendInfo(id, &aidlFrontendInfo); in getFrontendInfo() local 100 Status s = mTunerService->openDemux(demuxHandle, &tunerDemux); in openDemux() local 113 Status s = mTunerService->getDemuxInfo(demuxHandle, &aidlDemuxInfo); in getDemuxInfo() local 124 Status s = mTunerService->getDemuxInfoList(demuxInfoList); in getDemuxInfoList() local 134 Status s = mTunerService->getDemuxCaps(&aidlCaps); in getDemuxCaps() local 160 Status s = mTunerService->openLnb(lnbHandle, &tunerLnb); in openLnb() local 173 Status s = mTunerService->openLnbByName(lnbName, &tunerLnb); in openLnbByName() local 207 Status s = mTunerService->setLna(bEnable); in setLna() local [all …]
|
H A D | DemuxClient.cpp | 45 Status s = mTunerDemux->setFrontendDataSource(frontendClient->getAidlFrontend()); in setFrontendDataSource() local 54 Status s = mTunerDemux->setFrontendDataSourceById(frontendId); in setFrontendDataSourceById() local 71 Status s = mTunerDemux->openFilter(type, bufferSize, callback, &tunerFilter); in openFilter() local 84 Status s = mTunerDemux->openTimeFilter(&tunerTimeFilter); in openTimeFilter() local 101 Status s = mTunerDemux->getAvSyncHwId(filterClient->getAidlFilter(), &hwId); in getAvSyncHwId() local 114 Status s = mTunerDemux->getAvSyncTime(avSyncHwId, &time); in getAvSyncTime() local 133 Status s = mTunerDemux->openDvr(dvbType, bufferSize, callback, &tunerDvr); in openDvr() local 145 Status s = mTunerDemux->connectCiCam(ciCamId); in connectCiCam() local 154 Status s = mTunerDemux->disconnectCiCam(); in disconnectCiCam() local 163 Status s = mTunerDemux->close(); in close() local
|
H A D | FrontendClient.cpp | 43 Status s = mTunerFrontend->setCallback(aidlCallback); in setCallback() local 52 Status s = mTunerFrontend->tune(settings); in tune() local 61 Status s = mTunerFrontend->stopTune(); in stopTune() local 70 Status s = mTunerFrontend->scan(settings, type); in scan() local 79 Status s = mTunerFrontend->stopScan(); in stopScan() local 98 Status s = mTunerFrontend->setLnb(lnbClient->getAidlLnb()); in setLnb() local 120 Status s = mTunerFrontend->unlinkCiCamToFrontend(ciCamId); in unlinkCiCamToFrontend() local 129 Status s = mTunerFrontend->close(); in close() local 139 Status s = mTunerFrontend->getHardwareInfo(&info); in getHardwareInfo() local 148 Status s = mTunerFrontend->removeOutputPid(pid); in removeOutputPid() local [all …]
|
H A D | FilterClient.cpp | 80 Status s = mTunerFilter->configure(configure); in configure() local 104 Status s = mTunerFilter->configureIpFilterContextId(cid); in configureIpFilterContextId() local 114 Status s = mTunerFilter->configureAvStreamType(avStreamType); in configureAvStreamType() local 124 Status s = mTunerFilter->start(); in start() local 134 Status s = mTunerFilter->stop(); in stop() local 144 Status s = mTunerFilter->flush(); in flush() local 154 Status s = mTunerFilter->getId(&id); in getId() local 164 Status s = mTunerFilter->getId64Bit(&id); in getId64Bit() local 203 Status s = mTunerFilter->close(); in close() local 264 Status s = mTunerFilter->getQueueDesc(&aidlMqDesc); in getFilterMq() local [all …]
|
H A D | TimeFilterClient.cpp | 43 Status s = mTunerTimeFilter->setTimeStamp(timeStamp); in setTimeStamp() local 52 Status s = mTunerTimeFilter->clearTimeStamp(); in clearTimeStamp() local 62 Status s = mTunerTimeFilter->getTimeStamp(&timeStamp); in getTimeStamp() local 75 Status s = mTunerTimeFilter->getTimeStamp(&sourceTime); in getSourceTime() local 87 Status s = mTunerTimeFilter->close(); in close() local
|
H A D | LnbClient.cpp | 39 Status s = mTunerLnb->setCallback(aidlCallback); in setCallback() local 48 Status s = mTunerLnb->setVoltage(voltage); in setVoltage() local 57 Status s = mTunerLnb->setTone(tone); in setTone() local 66 Status s = mTunerLnb->setSatellitePosition(position); in setSatellitePosition() local 75 Status s = mTunerLnb->sendDiseqcMessage(diseqcMessage); in sendDiseqcMessage() local 84 Status s = mTunerLnb->close(); in close() local
|
/aosp12/art/test/684-checker-simd-dotprod/src/other/ |
H A D | TestByte.java | 82 int s = 1; in testDotProdSimple() local 144 int s = 1; in testDotProdComplex() local 207 int s = 1; in testDotProdSimpleUnsigned() local 269 int s = 1; in testDotProdComplexUnsigned() local 331 int s = 1; in testDotProdComplexUnsignedCastedToSigned() local 393 int s = 1; in testDotProdComplexSignedCastedToUnsigned() local 404 int s = 1; in testDotProdSignedWidening() local 415 int s = 1; in testDotProdParamSigned() local 426 int s = 1; in testDotProdParamUnsigned() local 439 int s = 1; in testDotProdIntParam() local [all …]
|
H A D | TestCharShort.java | 61 int s = 1; in testDotProdSimple() local 111 int s = 1; in testDotProdComplex() local 154 int s = 1; in testDotProdSimpleUnsigned() local 204 int s = 1; in testDotProdComplexUnsigned() local 254 int s = 1; in testDotProdComplexUnsignedCastedToSigned() local 304 int s = 1; in testDotProdComplexSignedCastedToUnsigned() local 324 int s = 1; in testDotProdSignedToInt() local 344 int s = 1; in testDotProdParamSigned() local 364 int s = 1; in testDotProdParamUnsigned() local 375 int s = 1; in testDotProdIntParam() local [all …]
|
/aosp12/packages/modules/adb/ |
H A D | sockets.cpp | 80 void install_local_socket(asocket* s) { in install_local_socket() 93 void remove_socket(asocket* s) { in remove_socket() 239 static void local_socket_ready(asocket* s) { in local_socket_ready() 313 static void local_socket_close(asocket* s) { in local_socket_close() 390 asocket* s = new asocket(); in create_local_socket() local 450 static void remote_socket_ready(asocket* s) { in remote_socket_ready() 471 static void remote_socket_close(asocket* s) { in remote_socket_close() 491 asocket* s = new asocket(); in create_remote_socket() local 876 static void smart_socket_ready(asocket* s) { in smart_socket_ready() 892 asocket* s = new asocket(); in create_smart_socket() local [all …]
|
/aosp12/bionic/libc/bionic/ |
H A D | strtol.cpp | 47 const char* s = nptr; in StrToI() local 113 const char* s = nptr; in StrToU() local 162 int atoi(const char* s) { in atoi() 166 long atol(const char* s) { in atol() 170 long long atoll(const char* s) { in atoll() 174 intmax_t strtoimax(const char* s, char** end, int base) { in strtoimax() 178 long strtol(const char* s, char** end, int base) { in strtol() 182 long long strtoll(const char* s, char** end, int base) { in strtoll() 189 unsigned long strtoul(const char* s, char** end, int base) { in strtoul() 193 unsigned long long strtoull(const char* s, char** end, int base) { in strtoull() [all …]
|
H A D | stdlib_l.cpp | 32 double strtod_l(const char* s, char** end_ptr, locale_t) { in strtod_l() 36 float strtof_l(const char* s, char** end_ptr, locale_t) { in strtof_l() 40 long strtol_l(const char* s, char** end_ptr, int base, locale_t) { in strtol_l() 44 long double strtold_l(const char* s, char** end_ptr, locale_t) { in strtold_l() 48 long long strtoll_l(const char* s, char** end_ptr, int base, locale_t) { in strtoll_l() 52 unsigned long strtoul_l(const char* s, char** end_ptr, int base, locale_t) { in strtoul_l() 56 unsigned long long strtoull_l(const char* s, char** end_ptr, int base, locale_t) { in strtoull_l()
|
/aosp12/bionic/libc/include/bits/ |
H A D | termios_inlines.h | 48 static __inline speed_t cfgetspeed(const struct termios* s) { in cfgetspeed() 52 __BIONIC_TERMIOS_INLINE speed_t cfgetispeed(const struct termios* s) { in cfgetispeed() 56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* s) { in cfgetospeed() 60 __BIONIC_TERMIOS_INLINE void cfmakeraw(struct termios* s) { in cfmakeraw() 70 __BIONIC_TERMIOS_INLINE int cfsetspeed(struct termios* s, speed_t speed) { in cfsetspeed() 80 __BIONIC_TERMIOS_INLINE int cfsetispeed(struct termios* s, speed_t speed) { in cfsetispeed() 84 __BIONIC_TERMIOS_INLINE int cfsetospeed(struct termios* s, speed_t speed) { in cfsetospeed() 102 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr() 115 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr()
|
/aosp12/art/runtime/ |
H A D | intern_table.cc | 139 ObjPtr<mirror::String> InternTable::InsertWeak(ObjPtr<mirror::String> s) { in InsertWeak() 148 void InternTable::RemoveStrong(ObjPtr<mirror::String> s) { in RemoveStrong() 152 void InternTable::RemoveWeak(ObjPtr<mirror::String> s) { in RemoveWeak() 171 void InternTable::RemoveStrongFromTransaction(ObjPtr<mirror::String> s) { in RemoveStrongFromTransaction() 176 void InternTable::RemoveWeakFromTransaction(ObjPtr<mirror::String> s) { in RemoveWeakFromTransaction() 200 ObjPtr<mirror::String> InternTable::Insert(ObjPtr<mirror::String> s, in Insert() 260 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); in InternStrong() local 297 ObjPtr<mirror::String> InternTable::InternWeak(ObjPtr<mirror::String> s) { in InternWeak() 301 bool InternTable::ContainsWeak(ObjPtr<mirror::String> s) { in ContainsWeak() 310 void InternTable::Table::Remove(ObjPtr<mirror::String> s) { in Remove() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | StaticIpConfigurationTest.java | 57 private void checkEmpty(StaticIpConfiguration s) { in checkEmpty() 65 StaticIpConfiguration s = new StaticIpConfiguration(); in makeTestObject() local 77 StaticIpConfiguration s = new StaticIpConfiguration(); in testConstructor() local 98 StaticIpConfiguration s = new StaticIpConfiguration(); in testHashCodeAndEquals() local 147 StaticIpConfiguration s = new StaticIpConfiguration(); in testToLinkProperties() local 200 private StaticIpConfiguration passThroughParcel(StaticIpConfiguration s) { in passThroughParcel() 216 StaticIpConfiguration s = makeTestObject(); in testParceling() local 226 final StaticIpConfiguration s = new StaticIpConfiguration.Builder() in testBuilder() local 246 final StaticIpConfiguration s = new StaticIpConfiguration((StaticIpConfiguration) null); in testAddDnsServers() local 262 final StaticIpConfiguration s = makeTestObject(); in testGetRoutes() local
|
/aosp12/art/test/660-checker-simd-sad/src/ |
H A D | SimdSadShort3.java | 56 private static int sadShort2IntParamRight(short[] s, short param) { in sadShort2IntParamRight() 96 private static int sadShort2IntParamLeft(short[] s, short param) { in sadShort2IntParamLeft() 136 private static int sadShort2IntConstRight(short[] s) { in sadShort2IntConstRight() 176 private static int sadShort2IntConstLeft(short[] s) { in sadShort2IntConstLeft() 216 private static int sadShort2IntInvariantRight(short[] s, int val) { in sadShort2IntInvariantRight() 257 private static int sadShort2IntInvariantLeft(short[] s, int val) { in sadShort2IntInvariantLeft() 301 private static int sadShort2IntCastedExprRight(short[] s) { in sadShort2IntCastedExprRight() 345 private static int sadShort2IntCastedExprLeft(short[] s) { in sadShort2IntCastedExprLeft() 373 short[] s = new short[64]; in main() local
|
/aosp12/system/libbase/ |
H A D | strings.cpp | 31 std::vector<std::string> Split(const std::string& s, in Split() 49 std::string Trim(const std::string& s) { in Trim() 90 bool StartsWith(std::string_view s, std::string_view prefix) { in StartsWith() 94 bool StartsWith(std::string_view s, char prefix) { in StartsWith() 98 bool StartsWithIgnoreCase(std::string_view s, std::string_view prefix) { in StartsWithIgnoreCase() 102 bool EndsWith(std::string_view s, std::string_view suffix) { in EndsWith() 106 bool EndsWith(std::string_view s, char suffix) { in EndsWith() 110 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix) { in EndsWithIgnoreCase() 119 std::string StringReplace(std::string_view s, std::string_view from, std::string_view to, in StringReplace()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceHintManagerTest.java | 82 Session s = createSession(); in testUpdateTargetWorkDuration() local 89 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration() local 98 Session s = createSession(); in testReportActualWorkDuration() local 108 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument() local 118 Session s = createSession(); in testSendHint() local 127 Session s = createSession(); in testSendHintWithNegativeHint() local 136 Session s = createSession(); in testCloseHintSession() local
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_sampler.c | 8 rsSamplerGetMinification(rs_sampler s) { in rsSamplerGetMinification() 17 rsSamplerGetMagnification(rs_sampler s) { in rsSamplerGetMagnification() 26 rsSamplerGetWrapS(rs_sampler s) { in rsSamplerGetWrapS() 35 rsSamplerGetWrapT(rs_sampler s) { in rsSamplerGetWrapT() 44 rsSamplerGetAnisotropy(rs_sampler s) { in rsSamplerGetAnisotropy()
|
/aosp12/hardware/google/pixel/health/test/ |
H A D | TestBatteryDefender.cpp | 225 InSequence s; in TEST_F() local 233 InSequence s; in TEST_F() local 244 InSequence s; in TEST_F() local 258 InSequence s; in TEST_F() local 272 InSequence s; in TEST_F() local 293 InSequence s; in TEST_F() local 316 InSequence s; in TEST_F() local 348 InSequence s; in TEST_F() local 368 InSequence s; in TEST_F() local 393 InSequence s; in TEST_F() local [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | QSIconViewImplTest.java | 62 State s = new State(); in testNoFirstAnimation() local 85 State s = new State(); in testMutateIconDrawable() local 101 State s = new State(); in testNoFirstFade() local 113 State s = new State(); in testStateSetCorrectly_toString() local 146 State s = new State(); in testIconStartedAndStoppedWhenAllowAnimationsFalse() local 165 State s = new State(); in testAnimatorCallbackRemovedOnOldDrawable() local
|
/aosp12/hardware/qcom/display/msm8960/liboverlay/ |
H A D | mdpWrapper.h | 201 inline void dump(const char* const s, const msmfb_overlay_data& ov) { in dump() 206 inline void dump(const char* const s, const msmfb_data& ov) { in dump() 210 inline void dump(const char* const s, const mdp_overlay& ov) { in dump() 224 inline void dump(const char* const s, const msmfb_img& ov) { in dump() 229 inline void dump(const char* const s, const mdp_rect& ov) { in dump() 234 inline void dump(const char* const s, const msmfb_overlay_3d& ov) { in dump() 239 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() 245 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() 253 inline void dump(const char* const s, const msm_rotator_data_info& rot) { in dump() 261 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() [all …]
|