/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_test.cpp | 24 #define ASSERT_ALIGNED(w) \ argument 25 ASSERT_EQ(((w)->sizeInUse() & 3), 0); \ 26 ASSERT_EQ(((w)->freeSpace() & 3), 0); \ 27 ASSERT_EQ(((w)->sizeOfSlots() & 3), 0) 30 CursorWindow* w; \ 31 CursorWindow::create(String8("test"), 1 << 10, &w); \ 32 ASSERT_ALIGNED(w); 35 CursorWindow* w; \ 36 CursorWindow::create(String8("test"), 1 << 10, &w); \ 37 ASSERT_EQ(w->setNumColumns(3), OK); \ [all …]
|
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 …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Int4.java | 32 public int w; field in Int4 39 this.x = this.y = this.z = this.w = i; in Int4() 42 public Int4(int x, int y, int z, int w) { in Int4() argument 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() 95 w += value; in add() 110 result.w = a.w + b; in add() 124 this.w -= a.w; in sub() [all …]
|
D | Short4.java | 32 public short w; field in Short4 39 this.x = this.y = this.z = this.w = i; in Short4() 42 public Short4(short x, short y, short z, short w) { in Short4() argument 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() 95 w += value; in add() 110 result.w = (short)(a.w + b); in add() 124 this.w -= a.w; in sub() [all …]
|
D | Long4.java | 32 public long w; field in Long4 39 this.x = this.y = this.z = this.w = i; in Long4() 42 public Long4(long x, long y, long z, long w) { in Long4() argument 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() 95 w += value; in add() 110 result.w = a.w + b; in add() 124 this.w -= a.w; in sub() [all …]
|
D | Double4.java | 32 public double w; field in Double4 41 this.w = data.w; in Double4() 44 public Double4(double x, double y, double z, double w) { in Double4() argument 48 this.w = w; in Double4() 63 res.w = a.w + b.w; in add() 77 w += value.w; in add() 89 w += value; in add() 104 res.w = a.w + b; in add() 118 w -= value.w; in sub() 130 w -= value; in sub() [all …]
|
D | Float4.java | 32 public float w; field in Float4 41 this.w = data.w; in Float4() 44 public Float4(float x, float y, float z, float w) { in Float4() argument 48 this.w = w; in Float4() 63 res.w = a.w + b.w; in add() 77 w += value.w; in add() 89 w += value; in add() 104 res.w = a.w + b; in add() 118 w -= value.w; in sub() 130 w -= value; in sub() [all …]
|
D | Byte4.java | 32 public byte w; field in Byte4 41 w = initW; in Byte4() 48 this.w = source.w; in Byte4() 60 this.w += a.w; in add() 75 result.w = (byte)(a.w + b.w); in add() 89 w += value; in add() 104 result.w = (byte)(a.w + b); in add() 118 this.w -= a.w; in sub() 133 result.w = (byte)(a.w - b.w); in sub() 147 w -= value; in sub() [all …]
|
/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/ |
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() 50 auto cols = std::min(w->getNumColumns(), 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() [all …]
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 91 PrintWriter w = getOutPrintWriter(); in onHelp() local 92 w.println("Font service (font) commands"); in onHelp() 93 w.println("help"); in onHelp() 94 w.println(" Print this help text."); in onHelp() 95 w.println(); in onHelp() 96 w.println("dump [family name]"); in onHelp() 97 w.println(" Dump all font files in the specified family name."); in onHelp() 98 w.println(" Dump current system font configuration if no family name was specified."); in onHelp() 99 w.println(); in onHelp() 100 w.println("update [font file path] [signature file path]"); in onHelp() [all …]
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 169 w: 1, 2, 3, 4 183 w: 1, 2, 3, 4 197 w: 1, 2, 3, 4 206 w: 1, 2, 3, 4 220 w: 1, 2, 3, 4 229 w: 1, 2, 3, 4 245 w: 1, 2, 3, 4 254 w: 1, 2, 3, 4 268 w: 1, 2, 3, 4 277 w: 1, 2, 3, 4 [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 126 int getPreferredModeId(WindowState w) { in getPreferredModeId() argument 127 final int preferredDisplayModeId = w.mAttrs.preferredDisplayModeId; in getPreferredModeId() 137 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredModeId() 170 int calculatePriority(WindowState w) { in calculatePriority() argument 171 boolean isFocused = w.isFocused(); in calculatePriority() 172 int preferredModeId = getPreferredModeId(w); in calculatePriority() 186 float getPreferredRefreshRate(WindowState w) { in getPreferredRefreshRate() argument 189 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredRefreshRate() 195 final int preferredModeId = w.mAttrs.preferredDisplayModeId; in getPreferredRefreshRate() 204 if (w.mAttrs.preferredRefreshRate > 0) { in getPreferredRefreshRate() [all …]
|
D | InputMonitor.java | 245 final WindowState w) { in populateInputWindowHandle() argument 247 inputWindowHandle.setInputApplicationHandle(w.mActivityRecord != null in populateInputWindowHandle() 248 ? w.mActivityRecord.getInputApplicationHandle(false /* update */) : null); in populateInputWindowHandle() 249 inputWindowHandle.setToken(w.mInputChannelToken); in populateInputWindowHandle() 250 inputWindowHandle.setDispatchingTimeoutMillis(w.getInputDispatchingTimeoutMillis()); in populateInputWindowHandle() 251 inputWindowHandle.setTouchOcclusionMode(w.getTouchOcclusionMode()); in populateInputWindowHandle() 252 inputWindowHandle.setPaused(w.mActivityRecord != null && w.mActivityRecord.paused); in populateInputWindowHandle() 253 inputWindowHandle.setWindowToken(w.mClient); in populateInputWindowHandle() 255 inputWindowHandle.setName(w.getName()); in populateInputWindowHandle() 262 int flags = w.mAttrs.flags; in populateInputWindowHandle() [all …]
|
D | WindowStateAnimator.java | 273 final WindowState w = mWin; in createSurfaceLocked() local 279 w.setHasSurface(false); in createSurfaceLocked() 285 mService.makeWindowFreezingScreenIfNeededLocked(w); in createSurfaceLocked() 288 final WindowManager.LayoutParams attrs = w.mAttrs; in createSurfaceLocked() 290 if (w.isSecureLocked()) { in createSurfaceLocked() 316 w.setHasSurface(true); in createSurfaceLocked() 319 w.mInputWindowHandle.forceChange(); in createSurfaceLocked() 326 Slog.w(TAG, "OutOfResourcesException creating surface"); in createSurfaceLocked() 338 + ", set left=" + w.getFrame().left + " top=" + w.getFrame().top); in createSurfaceLocked() 343 WindowManagerService.logSurface(w, "CREATE pos=(" in createSurfaceLocked() [all …]
|
/frameworks/native/libs/math/tests/ |
D | quat_test.cpp | 51 EXPECT_EQ(q0.w, 0); in TEST_F() 57 EXPECT_EQ(q1.w, 1); in TEST_F() 63 EXPECT_EQ(q2.w, 1); in TEST_F() 69 EXPECT_EQ(q3.w, 1); in TEST_F() 75 EXPECT_EQ(q4.w, 42); in TEST_F() 81 EXPECT_EQ(q5.w, 24); in TEST_F() 88 EXPECT_EQ(q6.w, 12); in TEST_F() 94 EXPECT_EQ(q7.w, 1); in TEST_F() 100 EXPECT_EQ(qf.w, 2); in TEST_F() 108 q0.w = 40; in TEST_F() [all …]
|
D | vec_test.cpp | 46 EXPECT_EQ(v0.w, 0); in TEST_F() 52 EXPECT_EQ(v1.w, 1); in TEST_F() 58 EXPECT_EQ(v2.w, 4); in TEST_F() 64 EXPECT_EQ(v3.w, 4); in TEST_F() 70 EXPECT_EQ(v4.w, 42); in TEST_F() 76 EXPECT_EQ(v5.w, 24); in TEST_F() 82 EXPECT_EQ(vf.w, 2); in TEST_F() 91 v0.w = 40; in TEST_F() 95 EXPECT_EQ(v0.w, 40); in TEST_F() 104 EXPECT_EQ(v0.w, 400); in TEST_F() [all …]
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsCallbackImpl.java | 60 Log.w(TAG, "Invalid GetWalletCards response"); in onSuccess() 79 Log.w(TAG, "already called"); in onSuccessInternal() 86 Log.w(TAG, "Error returning wallet cards", e); in onSuccessInternal() 92 Log.w(TAG, "already called"); in onFailureInternal() 105 Log.w(TAG, "Invalid response: response is null"); in isValidResponse() 109 Log.w(TAG, "Invalid response: walletCards is null"); in isValidResponse() 113 Log.w(TAG, "Invalid response: selectedIndex is negative"); in isValidResponse() 118 Log.w(TAG, "Invalid response: selectedIndex out of bounds"); in isValidResponse() 122 Log.w(TAG, "Invalid response: too many cards"); in isValidResponse() 127 Log.w(TAG, "Invalid response: card is null"); in isValidResponse() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
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 …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInfoTest.java | 83 WindowInfo w = WindowInfo.obtain(); in testDefaultValues() local 85 assertEquals(0, w.type); in testDefaultValues() 86 assertEquals(0, w.layer); in testDefaultValues() 87 assertEquals(AccessibilityNodeInfo.UNDEFINED_NODE_ID, w.accessibilityIdOfAnchor); in testDefaultValues() 88 assertEquals(Display.INVALID_DISPLAY, w.displayId); in testDefaultValues() 89 assertEquals(ActivityTaskManager.INVALID_TASK_ID, w.taskId); in testDefaultValues() 90 assertNull(w.title); in testDefaultValues() 91 assertNull(w.token); in testDefaultValues() 92 assertNull(w.childTokens); in testDefaultValues() 93 assertNull(w.parentToken); in testDefaultValues() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 13 q->w += rhs->w; in rsQuaternionAdd() 28 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z; in rsQuaternionDot() 36 float xw = q->x * q->w; in rsQuaternionGetMatrixUnit() 39 float yw = q->y * q->w; in rsQuaternionGetMatrixUnit() 41 float zw = q->z * q->w; in rsQuaternionGetMatrixUnit() 62 q->w = c; in rsQuaternionLoadRotateUnit() 69 rsQuaternionSet(rs_quaternion* q, float w, float x, float y, float z) { in rsQuaternionSet() argument 70 q->w = w; in rsQuaternionSet() 78 q->w = rhs->w; in rsQuaternionSet() 101 q->w *= recipLen; in rsQuaternionNormalize() [all …]
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument 286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 297 void *ptr = malloc(eSize * w * h); in copy2DRangeFrom() 298 copyWithPadding(ptr, data, eSize / 4, w * h); in copy2DRangeFrom() 301 … w, h, ptr, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 302 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom() 307 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 308 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | SipTransportImplBase.java | 169 for (SipDelegateAidlWrapper w : mDelegates) { in destroySipDelegateInternal() 170 if (Objects.equals(d, w.getDelegateBinder())) { in destroySipDelegateInternal() 171 result = w; in destroySipDelegateInternal() 181 Log.w(LOG_TAG, "destroySipDelegateInternal, could not findSipDelegate corresponding to " in destroySipDelegateInternal() 186 private void linkDeathRecipient(SipDelegateAidlWrapper w) { in linkDeathRecipient() argument 188 w.getStateCallbackBinder().asBinder().linkToDeath(mDeathRecipient, 0); in linkDeathRecipient() 190 Log.w(LOG_TAG, "linkDeathRecipient, remote process already died, cleaning up."); in linkDeathRecipient() 191 mDeathRecipient.binderDied(w.getStateCallbackBinder().asBinder()); in linkDeathRecipient() 195 private void unlinkDeathRecipient(SipDelegateAidlWrapper w) { in unlinkDeathRecipient() argument 197 w.getStateCallbackBinder().asBinder().unlinkToDeath(mDeathRecipient, 0); in unlinkDeathRecipient() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | TestHal.java | 49 Slog.w(TAG, "getSensorProps"); in getSensorProps() 55 Slog.w(TAG, "createSession, sensorId: " + sensorId + " userId: " + userId); in createSession() 70 Slog.w(TAG, "generateChallenge"); in createSession() 76 Slog.w(TAG, "revokeChallenge: " + challenge); in createSession() 82 Slog.w(TAG, "enroll"); in createSession() 101 Slog.w(TAG, "authenticate"); in createSession() 120 Slog.w(TAG, "detectInteraction"); in createSession() 139 Slog.w(TAG, "enumerateEnrollments"); in createSession() 145 Slog.w(TAG, "removeEnrollments"); in createSession() 151 Slog.w(TAG, "getAuthenticatorId"); in createSession() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | TestHal.java | 50 Slog.w(TAG, "getSensorProps"); in getSensorProps() 56 Slog.w(TAG, "createSession, sensorId: " + sensorId + " userId: " + userId); in createSession() 71 Slog.w(TAG, "generateChallenge"); in createSession() 77 Slog.w(TAG, "revokeChallenge: " + challenge); in createSession() 89 Slog.w(TAG, "enroll"); in createSession() 108 Slog.w(TAG, "authenticate"); in createSession() 127 Slog.w(TAG, "detectInteraction"); in createSession() 146 Slog.w(TAG, "enumerateEnrollments"); in createSession() 152 Slog.w(TAG, "removeEnrollments"); in createSession() 158 Slog.w(TAG, "getFeatures"); in createSession() [all …]
|
/frameworks/native/cmds/flatland/ |
D | Composers.cpp | 47 int32_t x, int32_t y, uint32_t w, uint32_t h) { in blit() argument 49 return modBlit(texName, texMatrix, modColor, x, y, w, h); in blit() 53 int32_t x, int32_t y, uint32_t w, uint32_t h) { in modBlit() argument 66 float(x+w), float(y), in modBlit() 68 float(x+w), float(y+h), in modBlit() 155 int32_t w = mLayerDesc.width; in opaque() local 158 return mBlitter.blit(texName, texMatrix, x, y, w, h); in opaque() 179 int32_t w = mLayerDesc.width; in opaqueShrink() local 184 x += w / 128; in opaqueShrink() 186 w -= w / 64; in opaqueShrink() [all …]
|