/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_test.cpp | 24 CursorWindow* w; \ 25 CursorWindow::create(String8("test"), 1 << 10, &w); 28 CursorWindow* w; \ 29 CursorWindow::create(String8("test"), 1 << 10, &w); \ 30 ASSERT_EQ(w->setNumColumns(3), OK); \ 31 ASSERT_EQ(w->allocRow(), OK); \ 32 ASSERT_EQ(w->allocRow(), OK); \ 33 ASSERT_EQ(w->allocRow(), OK); 36 CursorWindow* w; \ 37 CursorWindow::create(String8("test"), 1 << 21, &w); [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/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 77 private void assertFrame(WindowState w, Rect frame) { in assertFrame() argument 78 assertEquals(w.getFrame(), frame); in assertFrame() 81 private void assertFrame(WindowState w, int left, int top, int right, int bottom) { in assertFrame() argument 82 assertRect(w.getFrame(), left, top, right, bottom); in assertFrame() 85 private void assertRelFrame(WindowState w, int left, int top, int right, int bottom) { in assertRelFrame() argument 86 assertRect(w.getRelativeFrame(), left, top, right, bottom); in assertRelFrame() 92 WindowState w = createWindow(); in testLayoutInFullscreenTask() local 93 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTask() 101 w.getWindowFrames().setFrames(pf, pf); in testLayoutInFullscreenTask() 102 w.computeFrame(); in testLayoutInFullscreenTask() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
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 | 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 | 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 | 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 | 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/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 91 int getPreferredModeId(WindowState w) { in getPreferredModeId() argument 94 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredModeId() 98 return w.mAttrs.preferredDisplayModeId; in getPreferredModeId() 109 int calculatePriority(WindowState w) { in calculatePriority() argument 110 boolean isFocused = w.isFocused(); in calculatePriority() 111 int preferredModeId = getPreferredModeId(w); in calculatePriority() 125 float getPreferredRefreshRate(WindowState w) { in getPreferredRefreshRate() argument 128 if (w.isAnimating(TRANSITION | PARENTS)) { in getPreferredRefreshRate() 134 final int preferredModeId = w.mAttrs.preferredDisplayModeId; in getPreferredRefreshRate() 136 DisplayInfo info = w.getDisplayInfo(); in getPreferredRefreshRate() [all …]
|
D | InputMonitor.java | 271 final WindowState w) { in populateInputWindowHandle() argument 273 inputWindowHandle.setInputApplicationHandle(w.mActivityRecord != null in populateInputWindowHandle() 274 ? w.mActivityRecord.getInputApplicationHandle(false /* update */) : null); in populateInputWindowHandle() 275 inputWindowHandle.setToken(w.mInputChannelToken); in populateInputWindowHandle() 276 inputWindowHandle.setDispatchingTimeoutMillis(w.getInputDispatchingTimeoutMillis()); in populateInputWindowHandle() 277 inputWindowHandle.setTouchOcclusionMode(w.getTouchOcclusionMode()); in populateInputWindowHandle() 278 inputWindowHandle.setInputFeatures(w.mAttrs.inputFeatures); in populateInputWindowHandle() 279 inputWindowHandle.setPaused(w.mActivityRecord != null && w.mActivityRecord.paused); in populateInputWindowHandle() 280 inputWindowHandle.setVisible(w.isVisible()); in populateInputWindowHandle() 282 final boolean focusable = w.canReceiveKeys() in populateInputWindowHandle() [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/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 | 55 Slog.w(TAG , "Remote Exception", e); in verifyUnlock() 64 Slog.w(TAG , "Remote Exception", e); in setOccluded() 73 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback() 82 Slog.w(TAG , "Remote Exception", e); in dismiss() 91 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted() 100 Slog.w(TAG , "Remote Exception", e); in onDreamingStopped() 109 Slog.w(TAG , "Remote Exception", e); in onStartedGoingToSleep() 119 Slog.w(TAG , "Remote Exception", e); in onFinishedGoingToSleep() 129 Slog.w(TAG , "Remote Exception", e); in onStartedWakingUp() 138 Slog.w(TAG , "Remote Exception", e); in onFinishedWakingUp() [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/core/tests/coretests/src/android/view/ |
D | WindowInfoTest.java | 80 WindowInfo w = WindowInfo.obtain(); in testDefaultValues() local 82 assertEquals(0, w.type); in testDefaultValues() 83 assertEquals(0, w.layer); in testDefaultValues() 84 assertEquals(AccessibilityNodeInfo.UNDEFINED_NODE_ID, w.accessibilityIdOfAnchor); in testDefaultValues() 85 assertEquals(Display.INVALID_DISPLAY, w.displayId); in testDefaultValues() 86 assertNull(w.title); in testDefaultValues() 87 assertNull(w.token); in testDefaultValues() 88 assertNull(w.childTokens); in testDefaultValues() 89 assertNull(w.parentToken); in testDefaultValues() 90 assertNull(w.activityToken); in testDefaultValues() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | TestHal.java | 47 Slog.w(TAG, "getSensorProps"); in getSensorProps() 53 Slog.w(TAG, "createSession, sensorId: " + sensorId + " userId: " + userId); in createSession() 68 Slog.w(TAG, "generateChallenge"); in createSession() 74 Slog.w(TAG, "revokeChallenge: " + challenge); in createSession() 80 Slog.w(TAG, "enroll"); in createSession() 99 Slog.w(TAG, "authenticate"); in createSession() 118 Slog.w(TAG, "detectInteraction"); in createSession() 137 Slog.w(TAG, "enumerateEnrollments"); in createSession() 143 Slog.w(TAG, "removeEnrollments"); in createSession() 149 Slog.w(TAG, "getAuthenticatorId"); in createSession() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | SipTransportImplBase.java | 158 for (SipDelegateAidlWrapper w : mDelegates) { in destroySipDelegateInternal() 159 if (Objects.equals(d, w.getDelegateBinder())) { in destroySipDelegateInternal() 160 result = w; in destroySipDelegateInternal() 170 Log.w(LOG_TAG, "destroySipDelegateInternal, could not findSipDelegate corresponding to " in destroySipDelegateInternal() 175 private void linkDeathRecipient(SipDelegateAidlWrapper w) { in linkDeathRecipient() argument 177 w.getStateCallbackBinder().asBinder().linkToDeath(mDeathRecipient, 0); in linkDeathRecipient() 179 Log.w(LOG_TAG, "linkDeathRecipient, remote process already died, cleaning up."); in linkDeathRecipient() 180 mDeathRecipient.binderDied(w.getStateCallbackBinder().asBinder()); in linkDeathRecipient() 184 private void unlinkDeathRecipient(SipDelegateAidlWrapper w) { in unlinkDeathRecipient() argument 186 w.getStateCallbackBinder().asBinder().unlinkToDeath(mDeathRecipient, 0); in unlinkDeathRecipient() [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 …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/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() 88 Slog.w(TAG, "enroll"); in createSession() 107 Slog.w(TAG, "authenticate"); in createSession() 126 Slog.w(TAG, "detectInteraction"); in createSession() 145 Slog.w(TAG, "enumerateEnrollments"); in createSession() 151 Slog.w(TAG, "removeEnrollments"); in createSession() 157 Slog.w(TAG, "getFeatures"); in createSession() [all …]
|