/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/ |
D | omr1.txt | 8 Application n/a n/a n/a n/a n/a n/a … 11 Driver 74.51 - 544.97 n/a n/a n/a … 15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t… 23 Application n/a n/a n/a n/a n/a n/a … 26 Driver - - 522.53 n/a n/a n/a … 30 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t… 38 Application n/a n/a n/a n/a n/a n/a … 41 Driver - - 544.36 n/a n/a n/a … 45 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t… 53 Application n/a n/a n/a n/a n/a n/a … [all …]
|
D | unittest.txt | 8 Application n/a 0.46 1.77 n/a n/a 6.58 … 11 Driver 1.04 - 1779.21 n/a n/a n/a … 15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t… 23 Application n/a 1.46 0.01 n/a n/a 2.54 … 26 Driver - - - n/a n/a n/a … 31 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
|
D | old.txt | 8 …ication n/a n/a n/a n/a n/a n/a … 11 Driver 0.06 - 69.54 n/a n/a n/a … 15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
|
D | cpu.txt | 8 Application n/a n/a n/a n/a n/a n/a … 11 Driver 0.90 - - n/a n/a n/a … 16 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
|
D | hdrnet.txt | 8 Application n/a n/a n/a n/a n/a n/a … 11 Driver 0.91 - 204.60 n/a n/a n/a … 15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | Matrix.java | 23 public final int n; field in Matrix 34 n = rows; in Matrix() 49 n = (values.length + stride - 1) / stride; in Matrix() 52 if (mem.length != n * m) throw new IllegalArgumentException(); in Matrix() 61 n = that.n; in Matrix() 78 if (!(0 <= i && i < n && 0 <= j && j < m)) throw new IndexOutOfBoundsException(); in get() 91 if (!(0 <= i && i < n && 0 <= j && j < m)) throw new IndexOutOfBoundsException(); in put() 103 return plus(that, new Matrix(n, m)); in plus() 116 if (!(this.n == that.n && this.m == that.m && this.n == result.n && this.m == result.m)) { in plus() 133 return minus(that, new Matrix(n, m)); in minus() [all …]
|
/packages/modules/Connectivity/staticlibs/device/android/net/ |
D | NetworkFactoryLegacyImpl.java | 212 NetworkRequestInfo n = mNetworkRequests.get(request); in handleAddRequest() local 213 if (n == null) { in handleAddRequest() 218 n = new NetworkRequestInfo(request, score, servingProviderId); in handleAddRequest() 219 mNetworkRequests.put(n.request, n); in handleAddRequest() 225 n.score = score; in handleAddRequest() 226 n.providerId = servingProviderId; in handleAddRequest() 230 evalRequest(n); in handleAddRequest() 234 NetworkRequestInfo n = mNetworkRequests.get(request); in handleRemoveRequest() local 235 if (n != null) { in handleRemoveRequest() 237 if (n.requested) mParent.releaseNetworkFor(n.request); in handleRemoveRequest() [all …]
|
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 117 int n; in getanswer() local 159 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer() 160 if ((n < 0) || !name_ok(bp)) goto no_recovery; in getanswer() 162 BOUNDED_INCR(n + QFIXEDSZ); in getanswer() 168 n = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 169 if (n >= MAXHOSTNAMELEN) goto no_recovery; in getanswer() 171 bp += n; in getanswer() 180 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer() 181 if ((n < 0) || !name_ok(bp)) { in getanswer() 185 cp += n; /* name */ in getanswer() [all …]
|
D | res_query.cpp | 110 int n; in res_nquery() local 118 n = res_nmkquery(QUERY, name, cl, type, {}, buf, statp->netcontext_flags); in res_nquery() 119 if (n > 0 && in res_nquery() 123 n = res_nopt(statp, n, buf, answer.size()); in res_nquery() 124 if (n <= 0) { in res_nquery() 127 return n; in res_nquery() 129 n = res_nsend(statp, std::span(buf, n), answer, &rcode, 0); in res_nquery() 130 if (n < 0) { in res_nquery() 165 return n; in res_nquery() 192 return n; in res_nquery() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SparseArrayBitmapPool.java | 85 private void unlinkAndRecycleNode(Node n, boolean recycleBitmap) { in unlinkAndRecycleNode() argument 87 if (n.prevInBucket != null) { in unlinkAndRecycleNode() 89 n.prevInBucket.nextInBucket = n.nextInBucket; in unlinkAndRecycleNode() 92 mStore.put(n.bitmap.getWidth(), n.nextInBucket); in unlinkAndRecycleNode() 94 if (n.nextInBucket != null) { in unlinkAndRecycleNode() 96 n.nextInBucket.prevInBucket = n.prevInBucket; in unlinkAndRecycleNode() 100 if (n.prevInPool != null) { in unlinkAndRecycleNode() 102 n.prevInPool.nextInPool = n.nextInPool; in unlinkAndRecycleNode() 105 mPoolNodesHead = n.nextInPool; in unlinkAndRecycleNode() 107 if (n.nextInPool != null) { in unlinkAndRecycleNode() [all …]
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | LimitPerfTests.java | 88 private void auctionNBigCas(int n) throws Exception { in auctionNBigCas() argument 89 nAuctionsMBigCas(1, n); in auctionNBigCas() 92 private void nAuctionsMBigCas(int n, int m) throws Exception { in nAuctionsMBigCas() argument 99 for (int i = 0; i < n; i++) { in nAuctionsMBigCas() 125 private void joinAndLeaveNBigCas(int n) throws Exception { in joinAndLeaveNBigCas() argument 126 List<CustomAudience> caList = createNBigCas(n); in joinAndLeaveNBigCas() 147 private List<CustomAudience> createNBigCas(int n) { in createNBigCas() argument 149 for (int i = 0; i < n; i++) { in createNBigCas() 199 private AdSelectionSignals nBitAdSelectionSignals(int n) { in nBitAdSelectionSignals() argument 200 return AdSelectionSignals.fromString(nBitJson(n)); in nBitAdSelectionSignals() [all …]
|
/packages/services/Car/tools/telemetry/lua-interpreter/ |
D | json.lua | 48 local n = 0 53 n = n + 1 55 if n ~= #val then 167 local function codepoint_to_utf8(n) 170 if n <= 0x7f then 171 return string.char(n) 172 elseif n <= 0x7ff then 173 return string.char(f(n / 64) + 192, n % 64 + 128) 174 elseif n <= 0xffff then 175 return string.char(f(n / 4096) + 224, f(n % 4096 / 64) + 128, n % 64 + 128) [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 66 for (int n = 0; n < s.length(); n++) { in parseMac() 67 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() 88 for (int n = (len - 1) * Byte.SIZE; n >= 0; n -= Byte.SIZE) { in macToString() 94 long b = (mac >>> n) & Constants.BYTE_MASK; in macToString() 105 for (int n = 0; n < PLMNText.length; n++ ) { in getMccMnc() 106 String expect = PLMNText[n]; in getMccMnc() 108 if (!domain.get(n).regionMatches(0, expect, 0, len)) { in getMccMnc() 114 for (int n = 0; n < prefix.length(); n++) { in getMccMnc() 115 char ch = prefix.charAt(n); in getMccMnc() 154 for (int n = 0; n < s.length(); n++) { in toUnicodeEscapedString() [all …]
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | language_y.yy | 106 %destructor { std::cout << "DESTROYING STRING " << *$$ << "\n"; delete $$; } IDENTIFIER STRING SIZE… 128 DEBUG() << "FOUND ENUM\n\n"; 133 DEBUG() << "FOUND PACKET\n\n"; 138 DEBUG() << "FOUND STRUCT\n\n"; 162 << " size=" << $4 << "\n"; 175 DEBUG() << "Enumerator with comma\n"; 182 DEBUG() << "Enumerator with list\n"; 192 << " value=" << $3 << "\n"; 207 DEBUG() << "Checksum field defined\n"; 231 DEBUG() << "Test Declared: name=" << *$2 << "\n"; [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Utils.java | 79 public static int nextPowerOf2(int n) { in nextPowerOf2() argument 80 if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); in nextPowerOf2() 81 n -= 1; in nextPowerOf2() 82 n |= n >> 16; in nextPowerOf2() 83 n |= n >> 8; in nextPowerOf2() 84 n |= n >> 4; in nextPowerOf2() 85 n |= n >> 2; in nextPowerOf2() 86 n |= n >> 1; in nextPowerOf2() 87 return n + 1; in nextPowerOf2() 93 public static int prevPowerOf2(int n) { in prevPowerOf2() argument [all …]
|
/packages/modules/SdkExtensions/derive_sdk/ |
D | derive_sdk_test.cpp | 35 #define EXPECT_ALL(n) \ argument 37 EXPECT_R(n); \ 38 EXPECT_S(n); \ 39 EXPECT_T(n); \ 40 EXPECT_U(n); \ 43 #define EXPECT_R(n) EXPECT_EQ(GetR(), (n)) argument 46 #define EXPECT_S(n) EXPECT_EQ(GetS(), android::modules::sdklevel::IsAtLeastS() ? (n) : -1) argument 49 #define EXPECT_T(n) EXPECT_EQ(GetT(), android::modules::sdklevel::IsAtLeastT() ? (n) : -1) argument 52 #define EXPECT_U(n) EXPECT_EQ(GetU(), android::modules::sdklevel::IsAtLeastU() ? (n) : -1) argument 55 #define EXPECT_V(n) EXPECT_EQ(GetV(), android::modules::sdklevel::IsAtLeastV() ? (n) : -1) argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11IdImpl.java | 38 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument 40 while (n-- > 0) { in glGenBuffers() 41 buffers[offset + n] = sNextId++; in glGenBuffers() 47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { in glDeleteTextures() argument 49 gl.glDeleteTextures(n, textures, offset); in glDeleteTextures() 54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument 56 gl.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers() 61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument 63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset); in glDeleteFramebuffers()
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/ |
D | ParsedDataBuilder.java | 67 public void visit(ClassOrInterfaceDeclaration n, PackageData packageData) { in populateParsedDataForFile() argument 69 ClassData classData = getClassData(n, packageName); in populateParsedDataForFile() 72 super.visit(n, packageData); in populateParsedDataForFile() 77 List<ConstructorDeclaration> constructors = n.getConstructors(); in populateParsedDataForFile() 80 ConstructorData constructorData = getConstructorData(n, constructor); in populateParsedDataForFile() 92 List<FieldDeclaration> fields = n.getFields(); in populateParsedDataForFile() 95 FieldData fieldData = getFieldData(n, field); in populateParsedDataForFile() 105 List<MethodDeclaration> methods = n.getMethods(); in populateParsedDataForFile() 108 MethodData methodData = getMethodData(n, method); in populateParsedDataForFile() 120 super.visit(n, packageData); in populateParsedDataForFile() [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | NotificationEntryTest.java | 76 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() local 80 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, 0, n, in generateSbn() 85 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() local 89 return new StatusBarNotification(packageName, packageName, 0, "tag", mUid, mUid, 0, n, in generateSbn() 93 private StatusBarNotification generateSbn(Notification n) { in generateSbn() argument 94 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, 0, n, in generateSbn() 153 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsInboxStyle() local 157 mContext, mPackageManager, generateSbn(n), channel, mSmsHelper); in testIsInboxStyle() 165 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsMessagingStyle() local 169 mContext, mPackageManager, generateSbn(n), channel, mSmsHelper); in testIsMessagingStyle() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/ |
D | FibonacciDriver.cpp | 81 int64_t n; in prepare() local 83 n = static_cast<int64_t>(context->getInputValue<float>(kInputN)); in prepare() 85 n = context->getInputValue<int64_t>(kInputN); in prepare() 87 NN_RET_CHECK_GE(n, 1); in prepare() 89 output.dimensions = {static_cast<uint32_t>(n)}; in prepare() 94 bool compute(int32_t n, ScaleT outputScale, ZeroPointT outputZeroPoint, OutputT* output) { in compute() argument 96 if (n >= 1) { in compute() 99 if (n >= 2) { in compute() 102 if (n >= 3) { in compute() 103 for (int32_t i = 2; i < n; ++i) { in compute() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | SplineMath.java | 7 SplineMath(int n) { in SplineMath() argument 8 mPoints = new double[n][2]; in SplineMath() 17 public float[][] calculatetCurve(int n) { in calculatetCurve() argument 18 float[][] curve = new float[n][2]; in calculatetCurve() 113 int n = points.length; in solveSystem() local 114 double[][] system = new double[n][3]; in solveSystem() 115 double[] result = new double[n]; // d in solveSystem() 116 double[] solution = new double[n]; // returned coefficients in solveSystem() 118 system[n - 1][1] = 1; in solveSystem() 125 for (int i = 1; i < n - 1; i++) { in solveSystem() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | hash.cpp | 49 uint32_t Hash32(const char *data, size_t n, uint32_t seed) { in Hash32() argument 56 uint32_t h = static_cast<uint32_t>(seed ^ n); in Hash32() 59 while (n >= 4) { in Hash32() 67 n -= 4; in Hash32() 71 switch (n) { in Hash32() 91 uint64_t Hash64(const char* data, size_t n, uint64_t seed) { in Hash64() argument 95 uint64_t h = seed ^ (n * m); in Hash64() 97 while (n >= 8) { in Hash64() 100 n -= 8; in Hash64() 110 switch (n) { in Hash64()
|
/packages/modules/adb/client/ |
D | transport_usb.cpp | 51 int n = usb_read(h, buffer, usb_packet_size); in UsbReadMessage() local 52 if (n != sizeof(*msg)) { in UsbReadMessage() 53 D("usb_read returned unexpected length %d (expected %zu)", n, sizeof(*msg)); in UsbReadMessage() 57 return n; in UsbReadMessage() 99 int n = UsbReadMessage(usb, &p->msg); in remote_read() local 100 if (n < 0) { in remote_read() 104 if (static_cast<size_t>(n) != sizeof(p->msg)) { in remote_read() 105 D("remote usb: read received unexpected header length %d", n); in remote_read() 109 n = UsbReadPayload(usb, p); in remote_read() 110 if (n < 0) { in remote_read() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 156 /* package */int getColumnPos(final int n) { in getColumnPos() argument 157 return mIsMoreKeysFixedOrder ? getFixedOrderColumnPos(n) : getAutomaticColumnPos(n); in getColumnPos() 160 private int getFixedOrderColumnPos(final int n) { in getFixedOrderColumnPos() argument 161 final int col = n % mNumColumns; in getFixedOrderColumnPos() 162 final int row = n / mNumColumns; in getFixedOrderColumnPos() 180 private int getAutomaticColumnPos(final int n) { in getAutomaticColumnPos() argument 181 final int col = n % mNumColumns; in getAutomaticColumnPos() 182 final int row = n / mNumColumns; in getAutomaticColumnPos() 234 public int getX(final int n, final int row) { in getX() argument 235 final int x = getColumnPos(n) * mColumnWidth + getDefaultKeyCoordX(); in getX() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 204 int n; in setInput() local 205 std::tie(n, mInputs[index]) = ModelArgumentInfo::createFromPointer( in setInput() 209 return n; in setInput() 252 int n; in setInputFromMemory() local 253 std::tie(n, mInputs[index]) = in setInputFromMemory() 257 return n; in setInputFromMemory() 286 int n; in setOutput() local 287 std::tie(n, mOutputs[index]) = ModelArgumentInfo::createFromPointer( in setOutput() 290 return n; in setOutput() 332 int n; in setOutputFromMemory() local [all …]
|