/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
H A D | AppStateTrackerTest.java | 1043 reset(l); in assertNoCallbacks() 1068 reset(l); in testPowerSaveListener() 1084 reset(l); in testPowerSaveListener() 1118 reset(l); in testAllListeners() 1134 reset(l); in testAllListeners() 1168 reset(l); in testAllListeners() 1186 reset(l); in testAllListeners() 1206 reset(l); in testAllListeners() 1222 reset(l); in testAllListeners() 1240 reset(l); in testAllListeners() [all …]
|
/aosp14/system/core/libutils/include/utils/ |
H A D | FastStrcmp.h | 42 template <int (*cmp)(const char* l, const char* r, const size_t s)> 46 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp() 53 ((tolower(*l) != tolower(*r)) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fasticmp() 58 const char* l = static_cast<const char*>(lv); in fastcmp() local 62 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp() 65 template <int (*cmp)(const char* l, const char* r)> 66 static inline int fastcmp(const char* l, const char* r) { in fastcmp() argument 67 return (*l != *r) || (__predict_true(*l) && cmp(l + 1, r + 1)); in fastcmp() 70 template <int (*cmp)(const char* l, const char* r)> 71 static inline int fasticmp(const char* l, const char* r) { in fasticmp() argument [all …]
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | LoggingContentInterface.java | 99 l.setResult(res); in query() 111 l.setResult(res); in getType() 124 l.setResult(res); in getStreamTypes() 136 l.setResult(res); in canonicalize() 148 l.setResult(res); in uncanonicalize() 161 l.setResult(res); in refresh() 174 l.setResult(res); in checkUriPermission() 187 l.setResult(res); in insert() 200 l.setResult(res); in bulkInsert() 212 l.setResult(res); in delete() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskChangeNotificationController.java | 84 l.onTaskStackChanged(); 92 l.onTaskRemoved(m.arg1); 96 l.onTaskMovedToFront((RunningTaskInfo) m.obj); 121 l.onActivityUnpinned(); 135 l.onActivityDismissingDockedTask(); 155 l.onTaskDisplayChanged(m.arg1, m.arg2); 159 l.onRecentTaskListUpdated(); 163 l.onRecentTaskListFrozenChanged(m.arg1 != 0); 167 l.onTaskFocusChanged(m.arg1, m.arg2 != 0); 175 l.onActivityRotation(m.arg1); [all …]
|
H A D | TrustedOverlayHost.java | 104 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in removeOverlay() local 107 t.reparent(l.getSurfaceControl(), null); in removeOverlay() 108 l.release(); in removeOverlay() 117 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchConfigurationChanged() local 119 l.getRemoteInterface().onConfigurationChanged(c); in dispatchConfigurationChanged() 121 removeOverlay(l); in dispatchConfigurationChanged() 128 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchDetachedFromWindow() local 130 l.getRemoteInterface().onDispatchDetachedFromWindow(); in dispatchDetachedFromWindow() 134 l.release(); in dispatchDetachedFromWindow() 140 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchInsetsChanged() local [all …]
|
/aosp14/frameworks/base/telecomm/java/android/telecom/ |
H A D | Conference.java | 440 for (Listener l : mListeners) { in setDisconnected() 565 for (Listener l : mListeners) { in setVideoState() 578 for (Listener l : mListeners) { in setVideoProvider() 584 for (Listener l : mListeners) { in fireOnConferenceableConnectionsChanged() 614 for (Listener l : mListeners) { in destroy() 615 l.onDestroyed(this); in destroy() 875 for (Listener l : mListeners) { in setStatusHints() 959 for (Listener l : mListeners) { in putExtras() 1022 for (Listener l : mListeners) { in removeExtras() 1089 for (Listener l : mListeners) { in setConferenceState() [all …]
|
H A D | Connection.java | 2424 mListeners.add(l); in addConnectionListener() 2437 if (l != null) { in removeConnectionListener() 2438 mListeners.remove(l); in removeConnectionListener() 2579 for (Listener l : mListeners) { in setAddress() 2624 for (Listener l : mListeners) { in setVideoState() 2825 l.onDestroyed(this); in destroy() 3216 mListeners.forEach((l) -> l.onRttInitiationSuccess(Connection.this)); in sendRttInitiationSuccess() 3227 mListeners.forEach((l) -> l.onRttInitiationFailure(Connection.this, reason)); in sendRttInitiationFailure() 3235 mListeners.forEach((l) -> l.onRttSessionRemotelyTerminated(Connection.this)); in sendRttSessionRemotelyTerminated() 3243 mListeners.forEach((l) -> l.onRemoteRttRequest(Connection.this)); in sendRemoteRttRequest() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | DateIntervalFormatTest.java | 325 ULocale l = ULocale.US; in test8862241() local 341 ULocale l = ULocale.US; in test10089890() local 366 ULocale l = ULocale.US; in test10318326() local 398 ULocale l = ULocale.US; in test10560853_when_time_not_displayed() local 426 ULocale l = ULocale.US; in test10560853_for_single_day_events() local 441 ULocale l = ULocale.US; in test_single_day_events_later_than_epoch() local 461 ULocale l = ULocale.US; in test_single_day_events_not_in_UTC() local 483 ULocale l = ULocale.US; in test10209343_when_not_this_year() local 511 ULocale l = ULocale.US; in test10209343_when_this_year() local 551 ULocale l = ULocale.US; in test8467515() local [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | HardwareAuthTokenUtils.java | 89 private static long flipIfNativelyLittle(long l) { in flipIfNativelyLittle() argument 91 return Long.reverseBytes(l); in flipIfNativelyLittle() 93 return l; in flipIfNativelyLittle() 104 dest[offset + 0] = (byte) l; in writeLong() 105 dest[offset + 1] = (byte) (l >> 8); in writeLong() 106 dest[offset + 2] = (byte) (l >> 16); in writeLong() 107 dest[offset + 3] = (byte) (l >> 24); in writeLong() 108 dest[offset + 4] = (byte) (l >> 32); in writeLong() 109 dest[offset + 5] = (byte) (l >> 40); in writeLong() 110 dest[offset + 6] = (byte) (l >> 48); in writeLong() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimatorTest.kt | 772 checkBounds(child, l = 0, t = 0, r = 0, b = 100) 998 l = expectedX, 1025 l = originalLeft - M_LEFT, 1051 l = originalLeft - M_LEFT, 1078 l = originalLeft, 1104 l = originalRight + M_RIGHT, 1131 l = originalRight + M_RIGHT, 1157 l = originalRight + M_RIGHT, 1184 l = originalLeft, 1210 l = originalLeft - M_LEFT, [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 154 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales() 155 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales() 159 if (!isInDeveloperMode && LocaleList.isPseudoLocale(l)) { in getAllAssetLocales() 165 Log.v(TAG, "adding initial "+ toTitleCase(l.getDisplayLanguage(l))); in getAllAssetLocales() 167 localeInfos.add(new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l)); in getAllAssetLocales() 174 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales() 187 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales() 189 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales() 193 localeInfos.add(new LocaleInfo(displayName, l)); in getAllAssetLocales() 250 String code = l.toString(); [all …]
|
/aosp14/frameworks/base/apct-tests/perftests/rubidium/assets/ |
H A D | turtledove_parametrized_generateBid.js | 13 …l=typeof k;return"object"===l&&null!==k||"function"===l}function d(k){if(!u(k,g)){var l=new b;ba(k… 14 …l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};h.prototype.set=function(k,l){if(!c(k))throw… argument 17 …l=d(this,h);l.list||(l.list=this.L[l.id]=[]);l.j?l.j.value=k:(l.j={next:this.A,B:this.A.B,head:thi… 19 …l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var m… 96 …l,1));k=new X;l=M(k,1,g);l=M(l,2,f);l=M(l,3,h);l=M(l,4,d);var m=Nb(c);cb(l,Y,5,m);d=d*b*g*(1-1/(1+… 100 …a:{b=a;f=G(f,2);h=G(h,2);if(f.length===h.length){for(var k=0,l=0;l<f.length;l++)k+=f[l]*h[l];f=k}e… 105 …l=g)?0:null==(m=W(l))?0:J(m,1))&&!(null==(p=g)?0:null==(y=W(p))?0:J(y,5)))continue;else if(!a.get(… 106 …l=k.next();!l.done;l=k.next()){p=l.value;y=I(p,1,0);var da=c.get(y);if(da){if(J(p,7)){l=H.get(y);m… 107 …a,y);l.set(m,p)}else p=Tb(p,da,y);if(p){e=p;break a}}}c=r(O(f,Eb,2));for(f=c.next();!f.done;f=c.ne… 108 …l=void 0,m=void 0,p=void 0;g.H===(null==(f=b)?void 0:null==(h=N(f,Z,16))?void 0:h.u())&&g.K===(nul… [all …]
|
H A D | rubidium_scoring_logic_compiled.js | 13 …l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;re… 14 …l,3]]);if(2!=m.get(k)||3!=m.get(l))return!1;m.delete(k);m.set(l,4);return!m.has(k)&&4==m.get(l)}ca… argument 16 …l=h.h;return fa(function(){if(l){for(;l.head!=h.h;)l=l.v;for(;l.next!=l.head;)return l=l.next,{don… 17 …l:void 0}}function f(h){this.i={};this.h=b();this.size=0;if(h){h=p(h);for(var k;!(k=h.next()).done… 18 …l.next().done?!1:!0}catch(q){return!1}}())return a;var e=new WeakMap;f.prototype.set=function(h,k)… 19 …l};f.prototype.get=function(h){return(h=d(this,h).l)&&h.value};f.prototype.entries=function(){retu… 27 …d<a.length;){var l=a.charAt(d++),m=u[l];if(null!=m)return m;if(!/^[\s\xa0]*$/.test(l))throw Error(… 37 …l=E(h);!e&&l&&(h=C(Array.prototype.slice.call(h)),M(a,c,h,d));d=l;for(var m=0;m<h.length;m++){var … 40 …d)[k]=g[k];else{var l=g[h],m=a.m&&a.m[k];m?gb(d,k,hb(m),!0):(l=jb(l,f,b),J(d),M(d,k,l,!0))}}else k… 41 …l=k;if(h=0!==(16&l))(g=0!==(32&l))||(l|=32);if(f)if(128&l)d=0;else{if(0<a.length){var m=a[a.length… [all …]
|
H A D | turtledove_generate_bid.js | 14 …l){var k=typeof l;return"object"===k&&null!==l||"function"===k}function d(l){if(!u(l,g)){var k=new… argument 15 …l){this.M=(f+=Math.random()+1).toString();if(l){l=r(l);for(var k;!(k=l.next()).done;)k=k.value,thi… argument 16 h.prototype.delete=function(l){return c(l)&&u(l,g)&&u(l[g],this.M)?delete l[g][this.M]:!1};return h… argument 17 …=Object.seal({x:4}),l=new a(r([[h,"s"]]));if("s"!=l.get(h)||1!=l.size||l.get({x:4})||l.set({x:4},"… 18 …l;!(l=h.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(h,l){h=0===h?0:h;va… argument 20 …l,m[1],m[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,l){var k=l&&t… argument 35 …a.h[c];if(!f){e=E(a,c,!0,e);f=[];var h=g||C(e);g=g||h;for(var l=0;l<e.length;l++){var k=e[l];g=g||… 108 …l))continue;m=k=void 0;f.o=null!=(m=null==(k=a.get(l))?void 0:M(k,oc,4))?m:void 0}m=k=void 0;f.ha=… 110 …(N(f,Ib,2));for(f=c.next();!f.done;f=c.next())if(f=f.value,l=G(f,1,0),k=e.get(l))if(f=Xb(k,f,l)){e… 111 …l=h=f=void 0,k=void 0,m=void 0,q=void 0;g.H===(null==(f=b)?void 0:null==(h=M(f,X,16))?void 0:h.u()… [all …]
|
H A D | rubidium_bidding_logic_compiled.js | 13 …l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;re… 14 …l,3]]);if(2!=n.get(k)||3!=n.get(l))return!1;n.delete(k);n.set(l,4);return!n.has(k)&&4==n.get(l)}ca… argument 16 …l=g.h;return ia(function(){if(l){for(;l.head!=g.h;)l=l.C;for(;l.next!=l.head;)return l=l.next,{don… 18 …l.next().done?!1:!0}catch(t){return!1}}())return a;var e=new WeakMap;f.prototype.set=function(g,k)… 25 …l=b[h>>2];h=b[(h&3)<<4|g>>4];g=b[(g&15)<<2|k>>6];k=b[k&63];c[e++]=l+h+g+k}l=0;k=d;switch(a.length-… 27 …d<a.length;){var l=a.charAt(d++),n=za[l];if(null!=n)return n;if(!/^[\s\xa0]*$/.test(l))throw Error… 39 …))vb(d)[k]=h[k];else{var l=h[g],n=a.o&&a.o[k];n?$b(d,k,bc(n),!0):wb(d,k,dc(l,f,b),!0)}}else k=e-a.… 40 …l=k;if(g=0!==(16&l))(h=0!==(32&l))||(l|=32);if(f)if(128&l)d=0;else{if(0<a.length){var n=a[a.length… 46 …l=J(f,ge,5))?void 0:S(l,1));l=X(!1,null==c?void 0:S(c,9),null==f?void 0:S(f,9));k=new fe;var t=G(k… 70 …l=null!=(k=null==(g=h.v)?void 0:S(g,6))?k:0;k=g=void 0;if(null==(g=c)?0:null==(k=W(g))?0:R(k,7)){v… [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
H A D | Tonal.java | 155 float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f); in runTonalExtraction() local 156 int[] colorPalette = getColorPalette(h, s, l); in runTonalExtraction() 280 mTmpHSL[2] = l[fitIndex]; in getColorInt() 287 colorPalette[i] = getColorInt(i, h, s, l); in getColorPalette() 334 + FIT_WEIGHT_L * Math.abs(l - palette.l[i]); in bestFit() 402 public final float[] l; field in Tonal.TonalPalette 410 + Arrays.toString(l)); in TonalPalette() 414 this.l = l; in TonalPalette() 454 } else if (!mLightness.contains(l)) { in containsColor() 521 new Range<>(l[0], l[1])); in readRange() [all …]
|
/aosp14/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
H A D | UsbUtil.java | 61 public static boolean isTheSameDevice(UsbDevice l, UsbDevice r) { in isTheSameDevice() argument 62 if (TextUtils.equals(l.getManufacturerName(), r.getManufacturerName()) && in isTheSameDevice() 63 TextUtils.equals(l.getProductName(), r.getProductName()) && in isTheSameDevice() 64 TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isTheSameDevice() 70 public static boolean isDevicesMatching(UsbDevice l, UsbDevice r) { in isDevicesMatching() argument 71 if (l.getVendorId() == r.getVendorId() && l.getProductId() == r.getProductId() && in isDevicesMatching() 72 TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
|
/aosp14/frameworks/base/tools/powermodel/test-resource/ |
H A D | bs.csv | 3 9,0,l,gn,108060756,17293456,4896592,3290614,97840,72941,6903,8107,390,105 4 9,0,l,m,2590630,0,384554,3943868,5113727,265,2565483,0,16,0,0,0,0,192,25331,3472068,17,3543323,14,6… 5 9,10139,l,nt,13688501,534571,13842,7792,9925,5577,30,67,190051799,27,0,0,5,3,126020,42343,13842,779… 6 9,0,l,sgt,3066958,0,34678,1643364,7045084 7 9,0,l,sst,2443805
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | Base64Test.java | 363 if (l >= 0) { in testInputStream() 402 if (l >= 0) { in testInputStream() 478 l = Math.min(l, plain.length-p); in testOutputStream() 479 if (l >= 0) { in testOutputStream() 481 p += l; in testOutputStream() 483 l = Math.min(-l, plain.length-p); in testOutputStream() 487 p += l; in testOutputStream() 521 l = Math.min(l, encoded.length-p); in testOutputStream() 524 p += l; in testOutputStream() 526 l = Math.min(-l, encoded.length-p); in testOutputStream() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessSetting.java | 86 public void registerListener(BrightnessSettingListener l) { in registerListener() argument 87 if (mListeners.contains(l)) { in registerListener() 90 mListeners.add(l); in registerListener() 98 public void unregisterListener(BrightnessSettingListener l) { in unregisterListener() argument 99 mListeners.remove(l); in unregisterListener() 151 for (BrightnessSettingListener l : mListeners) { in notifyListeners() 152 l.onBrightnessChanged(brightness); in notifyListeners()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | RemoteController.java | 117 Looper l = Looper.myLooper(); in RemoteController() local 118 if (l != null) { in RemoteController() 584 final OnClientUpdateListener l; in onClientChange() local 586 l = mOnClientUpdateListener; in onClientChange() 589 if (l != null) { in onClientChange() 590 l.onClientChange(clearing); in onClientChange() 631 final OnClientUpdateListener l; in onNewPlaybackState() local 635 if (l != null) { in onNewPlaybackState() 656 final OnClientUpdateListener l; in onNewMediaMetadata() local 660 l = mOnClientUpdateListener; in onNewMediaMetadata() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 112 Layout l = b.build(); in testGetters1() local 113 assertVertMetrics(l, 0, 0, in testGetters1() 136 Layout l = b.build(); in testLineMetrics_withPadding() local 152 Layout l = b.build(); in testLineMetrics_withPaddingAndWidth() local 172 Layout l = b.build(); in testLineMetrics_withThreeLines() local 202 Layout l = b.build(); in testLineMetrics_withLargeText() local 225 Layout l = b.build(); in testLineMetrics_withSpacingAdd() local 249 Layout l = b.build(); in testLineMetrics_withSpacingMult() local 275 Layout l = b.build(); in testLineMetrics_withUnitIntervalSpacingMult() local 386 assertLinesMetrics(l, values); in assertVertMetrics() [all …]
|
H A D | StaticLayoutDirectionsTest.java | 140 Layout l = b.build(); in testTrailingWhitespace() local 141 if (l.getLineCount() != 2) { in testTrailingWhitespace() 142 throw new RuntimeException("expected 2 lines, got: " + l.getLineCount()); in testTrailingWhitespace() 144 Directions result = l.getLineDirections(0); in testTrailingWhitespace() 161 Layout l = b.build(); in testNextToRightOf() local 164 int t = l.getOffsetToRightOf(n); in testNextToRightOf() 178 Layout l = b.build(); in testNextToLeftOf() local 181 int t = l.getOffsetToLeftOf(n); in testNextToLeftOf() 204 private void checkDirections(Layout l, int i, String text, in checkDirections() argument 207 Directions result = l.getLineDirections(0); in checkDirections()
|
/aosp14/frameworks/base/location/java/android/location/ |
H A D | Location.java | 1016 l.mFieldsMask = in.readInt(); 1017 l.mTimeMs = in.readLong(); 1024 if (l.hasAltitude()) { 1027 if (l.hasSpeed()) { 1030 if (l.hasBearing()) { 1033 if (l.hasAccuracy()) { 1039 if (l.hasSpeedAccuracy()) { 1042 if (l.hasBearingAccuracy()) { 1045 if (l.hasMslAltitude()) { 1052 return l; [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FlashlightControllerImpl.java | 157 public void addCallback(@NonNull FlashlightListener l) { in addCallback() argument 162 cleanUpListenersLocked(l); in addCallback() 163 mListeners.add(new WeakReference<>(l)); in addCallback() 164 l.onFlashlightAvailabilityChanged(isAvailable()); in addCallback() 165 l.onFlashlightChanged(isEnabled()); in addCallback() 170 public void removeCallback(@NonNull FlashlightListener l) { in removeCallback() argument 172 cleanUpListenersLocked(l); in removeCallback() 208 FlashlightListener l = mListeners.get(i).get(); in dispatchListeners() local 209 if (l != null) { in dispatchListeners() 211 l.onFlashlightError(); in dispatchListeners() [all …]
|