/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | CursorWindow_test.cpp | 31 CursorWindow* w; \ 33 ASSERT_ALIGNED(w); 36 CursorWindow* w; \ 42 ASSERT_ALIGNED(w); 45 CursorWindow* w; \ 47 ASSERT_ALIGNED(w); 61 ASSERT_ALIGNED(w); in TEST() 73 ASSERT_ALIGNED(w); in TEST() 266 w = nullptr; in TEST() 307 w = nullptr; in TEST() [all …]
|
H A D | CursorWindow_bench.cpp | 24 CursorWindow* w; in BM_CursorWindowWrite() local 25 CursorWindow::create(String8("test"), 1 << 21, &w); in BM_CursorWindowWrite() 28 w->clear(); in BM_CursorWindowWrite() 29 w->setNumColumns(cols); in BM_CursorWindowWrite() 31 w->allocRow(); in BM_CursorWindowWrite() 33 w->putLong(row, col, 0xcafe); in BM_CursorWindowWrite() 55 CursorWindow* w; in BM_CursorWindowRead() local 56 CursorWindow::create(String8("test"), 1 << 21, &w); in BM_CursorWindowRead() 57 w->setNumColumns(cols); in BM_CursorWindowRead() 59 w->allocRow(); in BM_CursorWindowRead() [all …]
|
/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | Long4.java | 46 this.w = w; in Long4() 54 this.w = source.w; in Long4() 66 this.w += a.w; in add() 81 result.w = a.w + b.w; in add() 124 this.w -= a.w; in sub() 139 result.w = a.w - b.w; in sub() 182 this.w *= a.w; in mul() 197 result.w = a.w * b.w; in mul() 255 result.w = a.w / b.w; in div() 313 result.w = a.w % b.w; in mod() [all …]
|
H A D | Int4.java | 46 this.w = w; in Int4() 54 this.w = source.w; in Int4() 66 this.w += a.w; in add() 81 result.w = a.w + b.w; in add() 124 this.w -= a.w; in sub() 139 result.w = a.w - b.w; in sub() 182 this.w *= a.w; in mul() 197 result.w = a.w * b.w; in mul() 255 result.w = a.w / b.w; in div() 313 result.w = a.w % b.w; in mod() [all …]
|
H A D | Short4.java | 46 this.w = w; in Short4() 54 this.w = source.w; in Short4() 66 this.w += a.w; in add() 81 result.w = (short)(a.w + b.w); in add() 124 this.w -= a.w; in sub() 139 result.w = (short)(a.w - b.w); in sub() 182 this.w *= a.w; in mul() 197 result.w = (short)(a.w * b.w); in mul() 240 this.w /= a.w; in div() 255 result.w = (short)(a.w / b.w); in div() [all …]
|
H A D | Double4.java | 41 this.w = data.w; in Double4() 48 this.w = w; in Double4() 63 res.w = a.w + b.w; in add() 77 w += value.w; in add() 118 w -= value.w; in sub() 162 res.w = a.w - b.w; in sub() 176 w *= value.w; in mul() 203 res.w = a.w * b.w; in mul() 278 res.w = a.w / b.w; in div() 336 w = -w; in negate() [all …]
|
H A D | Float4.java | 41 this.w = data.w; in Float4() 48 this.w = w; in Float4() 63 res.w = a.w + b.w; in add() 77 w += value.w; in add() 118 w -= value.w; in sub() 162 res.w = a.w - b.w; in sub() 176 w *= value.w; in mul() 203 res.w = a.w * b.w; in mul() 278 res.w = a.w / b.w; in div() 336 w = -w; in negate() [all …]
|
H A D | Byte4.java | 48 this.w = source.w; in Byte4() 60 this.w += a.w; in add() 75 result.w = (byte)(a.w + b.w); in add() 118 this.w -= a.w; in sub() 133 result.w = (byte)(a.w - b.w); in sub() 176 this.w *= a.w; in mul() 191 result.w = (byte)(a.w * b.w); in mul() 234 this.w /= a.w; in div() 249 result.w = (byte)(a.w / b.w); in div() 333 w += a.w * factor; in addMultiple() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
H A D | FontManagerShellCommand.java | 94 w.println("help"); in onHelp() 96 w.println(); in onHelp() 100 w.println(); in onHelp() 103 w.println(); in onHelp() 106 w.println(); in onHelp() 110 w.println(); in onHelp() 111 w.println("clear"); in onHelp() 113 w.println(); in onHelp() 119 w.println(); in onHelp() 168 w.increaseIndent(); in dumpFontConfig() [all …]
|
/aosp14/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/ |
H A D | cursorwindow_fuzzer.cpp | 42 CursorWindow* w = nullptr; in LLVMFuzzerTestOneInput() local 43 if (!CursorWindow::createFromParcel(&p, &w)) { in LLVMFuzzerTestOneInput() 44 LOG(WARNING) << "Valid cursor with " << w->getNumRows() << " rows, " in LLVMFuzzerTestOneInput() 45 << w->getNumColumns() << " cols"; in LLVMFuzzerTestOneInput() 49 auto rows = std::min(w->getNumRows(), static_cast<uint32_t>(128)); in LLVMFuzzerTestOneInput() 53 auto field = w->getFieldSlot(row, col); in LLVMFuzzerTestOneInput() 55 switch (w->getFieldSlotType(field)) { in LLVMFuzzerTestOneInput() 58 w->getFieldSlotValueString(field, &size); in LLVMFuzzerTestOneInput() 63 w->getFieldSlotValueBlob(field, &size); in LLVMFuzzerTestOneInput() 72 w->getFieldSlot(w->getNumRows() - 1, w->getNumColumns() - 1); in LLVMFuzzerTestOneInput() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | RefreshRatePolicy.java | 129 int getPreferredModeId(WindowState w) { in getPreferredModeId() argument 140 if (w.isAnimationRunningSelfOrParent()) { in getPreferredModeId() 173 int calculatePriority(WindowState w) { in calculatePriority() argument 174 boolean isFocused = w.isFocused(); in calculatePriority() 241 boolean updateFrameRateVote(WindowState w) { in updateFrameRateVote() argument 249 return w.mFrameRateVote.reset(); in updateFrameRateVote() 254 if (w.isAnimationRunningSelfOrParent()) { in updateFrameRateVote() 255 return w.mFrameRateVote.reset(); in updateFrameRateVote() 272 if (w.mAttrs.preferredRefreshRate > 0) { in updateFrameRateVote() 273 return w.mFrameRateVote.update(w.mAttrs.preferredRefreshRate, in updateFrameRateVote() [all …]
|
H A D | InputMonitor.java | 247 final WindowState w) { in populateInputWindowHandle() argument 254 inputWindowHandle.setPaused(w.mActivityRecord != null && w.mActivityRecord.paused); in populateInputWindowHandle() 264 int flags = w.mAttrs.flags; in populateInputWindowHandle() 265 if (w.mAttrs.isModal()) { in populateInputWindowHandle() 271 w.mAttrs.type, flags, w.mAttrs.inputFeatures), in populateInputWindowHandle() 290 inputWindowHandle.setScaleFactor(w.mGlobalScale != 1f ? (1f / w.mGlobalScale) : 1f); in populateInputWindowHandle() 319 w.getSurfaceTouchableRegion(mTmpRegion, w.mAttrs); in populateInputWindowHandle() 610 if (w.mInputChannelToken == null || w.mRemoved || !w.canReceiveTouchInput()) { in accept() 658 if (w.mAttrs.type == TYPE_WALLPAPER && w.isVisible()) { in accept() 669 if (mInDrag && w.isVisible() && w.getDisplayContent().isDefaultDisplay) { in accept() [all …]
|
H A D | WindowStateAnimator.java | 278 w.setHasSurface(false); in createSurfaceLocked() 289 if (w.isSecureLocked()) { in createSurfaceLocked() 315 w.setHasSurface(true); in createSurfaceLocked() 337 + ", set left=" + w.getFrame().left + " top=" + w.getFrame().top); in createSurfaceLocked() 343 + w.getFrame().left + "," + w.getFrame().top + ") HIDE", false); in createSurfaceLocked() 417 if (w.getOrientationChanging() && w.isGoneForLayout()) { in prepareSurfaceLocked() 426 if (!w.isOnScreen()) { in prepareSurfaceLocked() 434 if (w.getOrientationChanging() && w.isGoneForLayout()) { in prepareSurfaceLocked() 444 mSurfaceController, mShownAlpha, w.mHScale, w.mVScale, w); in prepareSurfaceLocked() 470 if (!w.isDrawn()) { in prepareSurfaceLocked() [all …]
|
H A D | AsyncRotationController.java | 117 if (w != null && w.mAttrs.rotationAnimation == ROTATION_ANIMATION_SEAMLESS in AsyncRotationController() 118 && w.getTask() != null in AsyncRotationController() 154 public void accept(WindowState w) { in accept() argument 155 if (!w.mHasSurface || !canBeAsync(w.mToken)) { in accept() 167 mNavBarToken = w.mToken; in accept() 248 if (w.isDrawn() || !w.mWinAnimator.getShown()) { in updateTargetWindows() 384 if (w.mForceSeamlesslyRotate && w.mHasSurface in updateRotation() 433 boolean isAsync(WindowState w) { in isAsync() argument 434 return w.mToken == mNavBarToken in isAsync() 462 && !mIsStartTransactionCommitted && canBeAsync(w.mToken) && isTargetToken(w.mToken); in shouldFreezeInsetsPosition() [all …]
|
H A D | WallpaperController.java | 141 if (w.mActivityRecord != null && !w.mActivityRecord.isVisible() 157 if (DEBUG_WALLPAPER) Slog.v(TAG, "Win " + w + ": isOnScreen=" + w.isOnScreen() 177 || (w.mActivityRecord != null && !w.mActivityRecord.fillsParent()); 185 if (isRecentsTransitionTarget(w) || isBackNavigationTarget(w)) { 190 && (mWallpaperTarget == w || w.isDrawFinishedLw())) { 193 if (w == mWallpaperTarget && w.isAnimating(TRANSITION | PARENTS)) { 216 return w.mActivityRecord != null && w.mAttrs.type == TYPE_BASE_APPLICATION in isRecentsTransitionTarget() 218 && w.mTransitionController.isTransientHide(w.getTask()); in isRecentsTransitionTarget() 729 if (mDisplayContent.getWindow(w -> w == prevWallpaperTarget) == null) { in updateWallpaperWindowsTarget() 989 if (w.mWinAnimator.getShown() && w.mWinAnimator.mLastAlpha > 0f) { in getTopVisibleWallpaper() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
H A D | KeyguardServiceWrapper.java | 56 Slog.w(TAG , "Remote Exception", e); in verifyUnlock() 65 Slog.w(TAG , "Remote Exception", e); in setOccluded() 74 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback() 83 Slog.w(TAG , "Remote Exception", e); in dismiss() 92 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted() 101 Slog.w(TAG , "Remote Exception", e); in onDreamingStopped() 110 Slog.w(TAG , "Remote Exception", e); in onStartedGoingToSleep() 120 Slog.w(TAG , "Remote Exception", e); in onFinishedGoingToSleep() 130 Slog.w(TAG , "Remote Exception", e); in onStartedWakingUp() 139 Slog.w(TAG , "Remote Exception", e); in onFinishedWakingUp() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
H A D | TestHal.java | 49 Slog.w(TAG, "getSensorProps"); in getSensorProps() 70 Slog.w(TAG, "generateChallenge"); in createSession() 82 Slog.w(TAG, "enroll"); in createSession() 101 Slog.w(TAG, "authenticate"); in createSession() 120 Slog.w(TAG, "detectInteraction"); in createSession() 163 Slog.w(TAG, "resetLockout"); in createSession() 169 Slog.w(TAG, "close"); in createSession() 175 Slog.w(TAG, "onPointerDown"); in createSession() 180 Slog.w(TAG, "onPointerUp"); in createSession() 185 Slog.w(TAG, "onUiReady"); in createSession() [all …]
|
/aosp14/frameworks/base/core/java/android/service/quickaccesswallet/ |
H A D | GetWalletCardsCallbackImpl.java | 73 Log.w(TAG, "Invalid GetWalletCards response"); in onSuccess() 92 Log.w(TAG, "already called"); in onSuccessInternal() 99 Log.w(TAG, "Error returning wallet cards", e); in onSuccessInternal() 105 Log.w(TAG, "already called"); in onFailureInternal() 118 Log.w(TAG, "Invalid response: response is null"); in isValidResponse() 122 Log.w(TAG, "Invalid response: walletCards is null"); in isValidResponse() 126 Log.w(TAG, "Invalid response: selectedIndex is negative"); in isValidResponse() 135 Log.w(TAG, "Invalid response: too many cards"); in isValidResponse() 140 Log.w(TAG, "Invalid response: card is null"); in isValidResponse() 144 Log.w(TAG, "Invalid response: cardId is null"); in isValidResponse() [all …]
|
/aosp14/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | SipTransportImplBase.java | 169 for (SipDelegateAidlWrapper w : mDelegates) { in destroySipDelegateInternal() 170 if (Objects.equals(d, w.getDelegateBinder())) { in destroySipDelegateInternal() 171 result = w; in destroySipDelegateInternal() 186 private void linkDeathRecipient(SipDelegateAidlWrapper w) { in linkDeathRecipient() argument 188 w.getStateCallbackBinder().asBinder().linkToDeath(mDeathRecipient, 0); in linkDeathRecipient() 191 mDeathRecipient.binderDied(w.getStateCallbackBinder().asBinder()); in linkDeathRecipient() 195 private void unlinkDeathRecipient(SipDelegateAidlWrapper w) { in unlinkDeathRecipient() argument 204 for (SipDelegateAidlWrapper w : mDelegates) { in binderDiedInternal() 207 Log.w(LOG_TAG, "Binder death detected for " + w + ", calling destroy and " in binderDiedInternal() 209 mDelegates.remove(w); in binderDiedInternal() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
H A D | TestHal.java | 50 Slog.w(TAG, "getSensorProps"); in getSensorProps() 71 Slog.w(TAG, "generateChallenge"); in createSession() 89 Slog.w(TAG, "enroll"); in createSession() 108 Slog.w(TAG, "authenticate"); in createSession() 127 Slog.w(TAG, "detectInteraction"); in createSession() 152 Slog.w(TAG, "removeEnrollments"); in createSession() 158 Slog.w(TAG, "getFeatures"); in createSession() 165 Slog.w(TAG, "setFeature"); in createSession() 183 Slog.w(TAG, "resetLockout"); in createSession() 189 Slog.w(TAG, "close"); in createSession() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawableTest.java | 218 final int w = a.getWidth(); in equalBitmaps() local 239 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps() 240 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps() 257 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences() 258 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences() 261 printBits(aPix, w, h); in findBitmapDifferences() 263 printBits(bPix, w, h); in findBitmapDifferences() 266 for (int i=0; i<w; i++) { in findBitmapDifferences() 268 if (aPix[i+w*j] != bPix[i+w*j]) { in findBitmapDifferences() 270 .append(aPix[i+w*j]).append(",").append(bPix[i+w*j]).append(">"); in findBitmapDifferences() [all …]
|
/aosp14/frameworks/base/telephony/common/com/google/android/mms/util/ |
H A D | DrmConvertSession.java | 64 Log.w(TAG, "Conversion of Mimetype: " + mimeType in open() 67 Log.w(TAG, "Could not access Open DrmFramework.", e); in open() 70 Log.w(TAG, in open() 73 Log.w(TAG, "DrmManagerClient didn't initialize properly."); in open() 114 Log.w(TAG, "Could not convert data. Convertsession: " + in convert() 153 Log.w(TAG, "File: " + filename + " could not be found.", e); in close() 156 Log.w(TAG, "Could not access File: " + filename + " .", e); in close() 159 Log.w(TAG, "Could not open file in mode: rw", e); in close() 161 Log.w(TAG, "Access to File: " + filename + in close() 169 Log.w(TAG, "Failed to close File:" + filename in close() [all …]
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 418 Slog.w("Unexpected remote error", e); in requestDirectActionsLocked() 444 Slog.w("Unexpected remote error", e); in retryRequestDirectActions() 463 Slog.w(TAG, "Unknown activity to perform a direct action"); in performDirectActionLocked() 471 Slog.w("Unexpected remote error", e); in performDirectActionLocked() 503 Slog.w(TAG, "finish does not match active session"); in finishLocked() 600 Slog.w(TAG, "Can't set sharedMemory to be read-only"); in updateStateLocked() 620 Slog.w(TAG, "Hotword detection service name not found"); in verifyDetectorForHotwordDetectionLocked() 628 Slog.w(TAG, "Hotword detection service info not found"); in verifyDetectorForHotwordDetectionLocked() 660 Slog.w(TAG, "Can't set sharedMemory to be read-only"); in verifyDetectorForHotwordDetectionLocked() 703 Slog.w(TAG, "Can't set sharedMemory to be read-only"); in verifyDetectorForVisualQueryDetectionLocked() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | DecorViewTest.java | 51 int w = 16; in setBackgroundDrawableSameAsSetWindowBackground() local 53 Bitmap expectedBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground() 63 Bitmap resultBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground() 73 int[] expPixels = new int[w * h]; in setBackgroundDrawableSameAsSetWindowBackground() 74 int[] resPixels = new int[w * h]; in setBackgroundDrawableSameAsSetWindowBackground() 75 resultBitmap.getPixels(resPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground() 76 expectedBitmap.getPixels(expPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataOutput.cpp | 40 dtor_native(JNIEnv* env, jobject clazz, jlong w) in dtor_native() argument 42 delete (BackupDataWriter*)w; in dtor_native() 46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) in writeEntityHeader_native() argument 49 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native() 63 writeEntityData_native(JNIEnv* env, jobject clazz, jlong w, jbyteArray data, jint size) in writeEntityData_native() argument 66 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native() 86 setKeyPrefix_native(JNIEnv* env, jobject clazz, jlong w, jstring keyPrefixObj) in setKeyPrefix_native() argument 88 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native()
|