@ohos-perf/core 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +246 -2
- package/dist/index.js +764 -79
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -976,6 +976,16 @@ declare class UitestCollector implements Collector {
|
|
|
976
976
|
readonly provides: CapabilityId[];
|
|
977
977
|
collect(hdc: Hdc, target: string, opts: {
|
|
978
978
|
timeoutMs?: number;
|
|
979
|
+
/**
|
|
980
|
+
* Include `boundsRect` and the raw attributes on every row.
|
|
981
|
+
*
|
|
982
|
+
* A capture leaves this off: `ui.json` is a scene artifact and its
|
|
983
|
+
* rows are the documented subset, which is what `ui.get` returns. A
|
|
984
|
+
* selector read needs the geometry, because a tap is the centre of a
|
|
985
|
+
* node's bounds — without it every selector action refuses on a real
|
|
986
|
+
* device with "no parseable bounds" for a perfectly parseable string.
|
|
987
|
+
*/
|
|
988
|
+
full?: boolean;
|
|
979
989
|
}, layout: SceneLayout): Promise<UiNode[]>;
|
|
980
990
|
}
|
|
981
991
|
|
|
@@ -1367,6 +1377,16 @@ declare class Device {
|
|
|
1367
1377
|
* matrix's reason (`uitest not present on device`).
|
|
1368
1378
|
*/
|
|
1369
1379
|
gesture(request: Gesture): Promise<GestureResult>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Flattened on-screen UI tree, for selector actions and step assertions.
|
|
1382
|
+
*
|
|
1383
|
+
* A fresh `uitest dumpLayout` each call, written into a temporary directory
|
|
1384
|
+
* that is removed afterwards: a step may dump several times (once per
|
|
1385
|
+
* scroll, once per assertion), and none of those are scene artifacts — the
|
|
1386
|
+
* capture's own `ui.json` is written by the collector inside its window.
|
|
1387
|
+
* Requires the `ui.tree` capability, like every other screen read.
|
|
1388
|
+
*/
|
|
1389
|
+
uiTree(): Promise<UiNode[]>;
|
|
1370
1390
|
/**
|
|
1371
1391
|
* Prepare a capture session. The capability gate runs here so a device that
|
|
1372
1392
|
* cannot produce frames fails before any device state is touched.
|
|
@@ -2112,6 +2132,100 @@ declare const UI_DIFF_FILES: readonly string[];
|
|
|
2112
2132
|
*/
|
|
2113
2133
|
declare function renderUiDiffHtml(diff: UiDiff): string;
|
|
2114
2134
|
|
|
2135
|
+
/**
|
|
2136
|
+
* Selecting UI nodes by what they are, rather than by where they are.
|
|
2137
|
+
*
|
|
2138
|
+
* A coordinate is a claim about one device's resolution. A selector is a claim
|
|
2139
|
+
* about the screen's content, which is what a scenario actually means to say:
|
|
2140
|
+
* "tap the button that says OK", not "tap 540, 1170". This module is the whole
|
|
2141
|
+
* matching language — it reads a flattened `UiNode[]` and answers with nodes,
|
|
2142
|
+
* never with device calls, so it is testable without a device and a scenario's
|
|
2143
|
+
* selector can be checked against a captured screen before it ever runs.
|
|
2144
|
+
*
|
|
2145
|
+
* The types are data, validated at load time like every other scenario field.
|
|
2146
|
+
* An unknown key is a refusal naming its JSON path, because a selector typo
|
|
2147
|
+
* that silently matched nothing would turn a test into a no-op that reports
|
|
2148
|
+
* "the app did not change" instead of "your test is wrong".
|
|
2149
|
+
*/
|
|
2150
|
+
|
|
2151
|
+
/** A rectangle in device pixels, matching `UiNode.boundsRect`. */
|
|
2152
|
+
interface SelectorRect {
|
|
2153
|
+
readonly left: number;
|
|
2154
|
+
readonly top: number;
|
|
2155
|
+
readonly right: number;
|
|
2156
|
+
readonly bottom: number;
|
|
2157
|
+
}
|
|
2158
|
+
/** How a selector names nodes. Every kind is exhaustive and closed. */
|
|
2159
|
+
type Selector = {
|
|
2160
|
+
readonly kind: 'text';
|
|
2161
|
+
readonly text: string;
|
|
2162
|
+
readonly exact?: boolean;
|
|
2163
|
+
} | {
|
|
2164
|
+
readonly kind: 'id';
|
|
2165
|
+
readonly id: string;
|
|
2166
|
+
} | {
|
|
2167
|
+
readonly kind: 'type';
|
|
2168
|
+
readonly type: string;
|
|
2169
|
+
} | {
|
|
2170
|
+
readonly kind: 'clickable';
|
|
2171
|
+
} | {
|
|
2172
|
+
readonly kind: 'all';
|
|
2173
|
+
readonly of: readonly Selector[];
|
|
2174
|
+
} | {
|
|
2175
|
+
readonly kind: 'any';
|
|
2176
|
+
readonly of: readonly Selector[];
|
|
2177
|
+
} | {
|
|
2178
|
+
readonly kind: 'not';
|
|
2179
|
+
readonly of: Selector;
|
|
2180
|
+
} | {
|
|
2181
|
+
readonly kind: 'index';
|
|
2182
|
+
readonly of: Selector;
|
|
2183
|
+
readonly index: number;
|
|
2184
|
+
} | {
|
|
2185
|
+
readonly kind: 'bounds';
|
|
2186
|
+
readonly of: Selector;
|
|
2187
|
+
readonly within: SelectorRect;
|
|
2188
|
+
} | {
|
|
2189
|
+
readonly kind: 'relative';
|
|
2190
|
+
readonly of: Selector;
|
|
2191
|
+
readonly relation: 'above' | 'below' | 'leftOf' | 'rightOf';
|
|
2192
|
+
readonly to: Selector;
|
|
2193
|
+
};
|
|
2194
|
+
/**
|
|
2195
|
+
* Validate one selector document.
|
|
2196
|
+
*
|
|
2197
|
+
* `path` is the JSON path of the selector in the scenario — `steps[0].target`,
|
|
2198
|
+
* `steps[0].expect.present[0].selector` — and every rejection message starts
|
|
2199
|
+
* with it so a large scenario's error says where to look. Nested selectors
|
|
2200
|
+
* extend the path (`.of[1]`, `.to`), which is what makes a deep typo findable.
|
|
2201
|
+
*/
|
|
2202
|
+
declare function parseSelector(value: unknown, path: string): Selector;
|
|
2203
|
+
/**
|
|
2204
|
+
* Every node the selector matches, in document order with geometry tie-breaks.
|
|
2205
|
+
*
|
|
2206
|
+
* The input is the candidate set. `all` narrows it, `any` widens it within it,
|
|
2207
|
+
* and `not` is the complement **of its own candidate set** — `all: [text OK,
|
|
2208
|
+
* not id x]` reads "an OK node that is not x", not "everything that is not x".
|
|
2209
|
+
* Scoping the complement to the whole tree instead would make the second
|
|
2210
|
+
* reading the only possible one, and an author would have no way to say the
|
|
2211
|
+
* first.
|
|
2212
|
+
*
|
|
2213
|
+
* `relative` resolves its anchor to the **first** match in the same order, so
|
|
2214
|
+
* "the node below the OK button" has one meaning rather than "below some node
|
|
2215
|
+
* called OK". A node whose `bounds` never parsed satisfies no geometric
|
|
2216
|
+
* relation, which keeps a malformed dump from producing a match at (0,0).
|
|
2217
|
+
*/
|
|
2218
|
+
declare function matchSelector(nodes: readonly UiNode[], selector: Selector): UiNode[];
|
|
2219
|
+
/**
|
|
2220
|
+
* The one node a selector names.
|
|
2221
|
+
*
|
|
2222
|
+
* Zero and many are different refusals: the first is a wrong selector and the
|
|
2223
|
+
* second is an ambiguous one, and the fix for each is not the fix for the
|
|
2224
|
+
* other. `label` is the action's own name for the selector (`target`,
|
|
2225
|
+
* `scrollTo`, `area`) so the message says which one to look at.
|
|
2226
|
+
*/
|
|
2227
|
+
declare function resolveSelector(nodes: readonly UiNode[], selector: Selector, label: string): UiNode;
|
|
2228
|
+
|
|
2115
2229
|
/**
|
|
2116
2230
|
* Declarative scenario documents.
|
|
2117
2231
|
*
|
|
@@ -2161,6 +2275,27 @@ type ScenarioAction = {
|
|
|
2161
2275
|
} | {
|
|
2162
2276
|
readonly kind: 'marker';
|
|
2163
2277
|
readonly name: string;
|
|
2278
|
+
} | {
|
|
2279
|
+
readonly kind: 'tap';
|
|
2280
|
+
readonly target: Selector;
|
|
2281
|
+
/** A scrollable container to swipe when `target` is below the fold. */
|
|
2282
|
+
readonly scrollTo?: Selector;
|
|
2283
|
+
/** How long to wait for `target` to appear, in milliseconds; no wait by default. */
|
|
2284
|
+
readonly timeoutMs?: number;
|
|
2285
|
+
} | {
|
|
2286
|
+
readonly kind: 'tapText';
|
|
2287
|
+
readonly text: string;
|
|
2288
|
+
readonly scrollTo?: Selector;
|
|
2289
|
+
} | {
|
|
2290
|
+
readonly kind: 'swipeArea';
|
|
2291
|
+
readonly area: Selector;
|
|
2292
|
+
readonly direction: 'up' | 'down' | 'left' | 'right';
|
|
2293
|
+
/** Percentage of the area's extent to travel, 1-100; default 40. */
|
|
2294
|
+
readonly distance?: number;
|
|
2295
|
+
} | {
|
|
2296
|
+
readonly kind: 'inputInto';
|
|
2297
|
+
readonly target: Selector;
|
|
2298
|
+
readonly text: string;
|
|
2164
2299
|
};
|
|
2165
2300
|
/** The collectors a step may ask for, by the name `Device.collect` understands. */
|
|
2166
2301
|
declare const COLLECTOR_NAMES: readonly ["hitrace", "hiprofiler", "procfs", "hiperf", "hidumper", "uitest", "hilog"];
|
|
@@ -2175,6 +2310,29 @@ interface StepCapture {
|
|
|
2175
2310
|
readonly frequency?: number;
|
|
2176
2311
|
};
|
|
2177
2312
|
}
|
|
2313
|
+
/**
|
|
2314
|
+
* One `present` clause: a selector that must match at least `min` nodes
|
|
2315
|
+
* (default 1) and at most `max`.
|
|
2316
|
+
*/
|
|
2317
|
+
interface ExpectPresent {
|
|
2318
|
+
readonly selector: Selector;
|
|
2319
|
+
readonly min?: number;
|
|
2320
|
+
readonly max?: number;
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* What a step asserts the screen shows after its actions.
|
|
2324
|
+
*
|
|
2325
|
+
* Evaluated before cleanup, against a fresh dump, so a failed step still names
|
|
2326
|
+
* its scene and says what the screen actually held. This is the deliberate
|
|
2327
|
+
* difference from HapRay, whose DSL parses `verify` and never runs it: without
|
|
2328
|
+
* an assertion, a step's "ok" means only that the device accepted a gesture.
|
|
2329
|
+
*/
|
|
2330
|
+
interface StepExpectation {
|
|
2331
|
+
readonly present?: readonly ExpectPresent[];
|
|
2332
|
+
readonly absent?: readonly Selector[];
|
|
2333
|
+
/** The app must still own at least one node on screen; default true. */
|
|
2334
|
+
readonly foreground?: boolean;
|
|
2335
|
+
}
|
|
2178
2336
|
interface ScenarioStep {
|
|
2179
2337
|
readonly id: string;
|
|
2180
2338
|
readonly name: string;
|
|
@@ -2182,6 +2340,7 @@ interface ScenarioStep {
|
|
|
2182
2340
|
readonly actions: readonly ScenarioAction[];
|
|
2183
2341
|
readonly cleanup: readonly ScenarioAction[];
|
|
2184
2342
|
readonly capture: StepCapture;
|
|
2343
|
+
readonly expect?: StepExpectation;
|
|
2185
2344
|
}
|
|
2186
2345
|
interface Scenario {
|
|
2187
2346
|
readonly version: 1;
|
|
@@ -2200,6 +2359,55 @@ interface Scenario {
|
|
|
2200
2359
|
*/
|
|
2201
2360
|
declare function parseScenario(text: string): Scenario;
|
|
2202
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* Case discovery: a directory of scenarios run as one suite.
|
|
2364
|
+
*
|
|
2365
|
+
* HapRay's `--run_testcases` takes a prefix and silently runs whatever
|
|
2366
|
+
* happens to match. Two things here are deliberately stricter, because a
|
|
2367
|
+
* suite that runs zero cases and reports success is worse than one that
|
|
2368
|
+
* refuses: the filter is an anchored regex over the case id and is documented
|
|
2369
|
+
* as such, and a filter that matches nothing is a refusal that names what it
|
|
2370
|
+
* did find.
|
|
2371
|
+
*
|
|
2372
|
+
* Loading is separate from discovery so one malformed file cannot hide the
|
|
2373
|
+
* rest: the runner gets a scenario per good file and a named error per bad
|
|
2374
|
+
* one, and reports both.
|
|
2375
|
+
*/
|
|
2376
|
+
|
|
2377
|
+
interface DiscoveredCase {
|
|
2378
|
+
/** The file stem, e.g. `scroll` from `scroll.scenario.json`. */
|
|
2379
|
+
readonly id: string;
|
|
2380
|
+
readonly path: string;
|
|
2381
|
+
}
|
|
2382
|
+
interface CaseLoad {
|
|
2383
|
+
readonly id: string;
|
|
2384
|
+
readonly path: string;
|
|
2385
|
+
/** Present when the file parsed and validated. */
|
|
2386
|
+
readonly scenario?: Scenario;
|
|
2387
|
+
/** Present when it did not, naming the file. */
|
|
2388
|
+
readonly error?: string;
|
|
2389
|
+
}
|
|
2390
|
+
/**
|
|
2391
|
+
* Every case in `dir`, sorted by id.
|
|
2392
|
+
*
|
|
2393
|
+
* `filter` is an **anchored** regular expression, so `scroll` matches only a
|
|
2394
|
+
* case literally named `scroll`, and `^scroll` matches it and
|
|
2395
|
+
* `scroll-settings`. Anchoring is the point: an unanchored `scroll` would also
|
|
2396
|
+
* match `no-scroll` and run a case the author did not name.
|
|
2397
|
+
*
|
|
2398
|
+
* A filter that matches nothing, and a directory with no case files, are both
|
|
2399
|
+
* refusals — never an empty suite that "passed".
|
|
2400
|
+
*/
|
|
2401
|
+
declare function discoverCases(dir: string, filter?: string): DiscoveredCase[];
|
|
2402
|
+
/**
|
|
2403
|
+
* Parse every discovered case, keeping a per-file verdict.
|
|
2404
|
+
*
|
|
2405
|
+
* A malformed file does not abort the suite: it becomes a `CaseLoad` with an
|
|
2406
|
+
* error, which the CLI reports as a failed case. The alternative — refusing
|
|
2407
|
+
* the whole run — would let one typo hide the results of every other case.
|
|
2408
|
+
*/
|
|
2409
|
+
declare function loadCases(cases: readonly DiscoveredCase[]): CaseLoad[];
|
|
2410
|
+
|
|
2203
2411
|
/**
|
|
2204
2412
|
* Executing one scenario action against a device.
|
|
2205
2413
|
*
|
|
@@ -2211,6 +2419,12 @@ declare function parseScenario(text: string): Scenario;
|
|
|
2211
2419
|
* Quoting lives in `GestureDriver`, not here: it already knows that the device
|
|
2212
2420
|
* shell needs `'…'` and that a quote inside a text argument must be escaped.
|
|
2213
2421
|
* Quoting again here would send the quote characters to the device.
|
|
2422
|
+
*
|
|
2423
|
+
* Selector actions (P17) need to see the screen, so they take a `dump` in the
|
|
2424
|
+
* action context rather than a device method: reading the UI tree is
|
|
2425
|
+
* `uitest dumpLayout` plus a file transfer, which the collector owns and the
|
|
2426
|
+
* runner knows the path for. Passing a closure keeps `ActionDevice` unchanged,
|
|
2427
|
+
* so `Device` still satisfies it structurally.
|
|
2214
2428
|
*/
|
|
2215
2429
|
|
|
2216
2430
|
/** The device surface actions need. `Device` satisfies it structurally. */
|
|
@@ -2223,6 +2437,16 @@ interface ActionDevice {
|
|
|
2223
2437
|
}>;
|
|
2224
2438
|
gesture(g: Gesture): Promise<GestureResult>;
|
|
2225
2439
|
}
|
|
2440
|
+
/**
|
|
2441
|
+
* What a selector action needs beyond the device: a fresh look at the screen.
|
|
2442
|
+
*
|
|
2443
|
+
* Optional so a coordinate-only scenario keeps calling `executeAction` with
|
|
2444
|
+
* three arguments; a selector action without one is a typed refusal rather
|
|
2445
|
+
* than a crash.
|
|
2446
|
+
*/
|
|
2447
|
+
interface ActionContext {
|
|
2448
|
+
readonly dump: () => Promise<readonly UiNode[]>;
|
|
2449
|
+
}
|
|
2226
2450
|
/**
|
|
2227
2451
|
* Perform one action and return what the device said.
|
|
2228
2452
|
*
|
|
@@ -2231,7 +2455,7 @@ interface ActionDevice {
|
|
|
2231
2455
|
* device-uptime instant, and having two layers able to "execute" one would
|
|
2232
2456
|
* let them disagree about whether it happened.
|
|
2233
2457
|
*/
|
|
2234
|
-
declare function executeAction(device: ActionDevice, app: string, action: ScenarioAction): Promise<{
|
|
2458
|
+
declare function executeAction(device: ActionDevice, app: string, action: ScenarioAction, context?: ActionContext): Promise<{
|
|
2235
2459
|
output?: string;
|
|
2236
2460
|
}>;
|
|
2237
2461
|
|
|
@@ -2259,6 +2483,16 @@ interface ActionOutcome {
|
|
|
2259
2483
|
readonly output?: string;
|
|
2260
2484
|
readonly error?: string;
|
|
2261
2485
|
}
|
|
2486
|
+
/** One assertion's outcome, as `steps.json` records it. */
|
|
2487
|
+
interface ExpectationOutcome {
|
|
2488
|
+
/** What was asserted, in the author's terms — `present: text containing "Done"`. */
|
|
2489
|
+
readonly label: string;
|
|
2490
|
+
readonly ok: boolean;
|
|
2491
|
+
/** Nodes matched, or for `foreground`, the nodes belonging to the app. */
|
|
2492
|
+
readonly actual: number;
|
|
2493
|
+
/** Why it failed, and what the screen held; absent when it held. */
|
|
2494
|
+
readonly detail?: string;
|
|
2495
|
+
}
|
|
2262
2496
|
interface RunStepResult {
|
|
2263
2497
|
readonly round: number;
|
|
2264
2498
|
readonly index: number;
|
|
@@ -2270,6 +2504,8 @@ interface RunStepResult {
|
|
|
2270
2504
|
readonly startedAtMs: number;
|
|
2271
2505
|
readonly durationMs: number;
|
|
2272
2506
|
readonly actions: readonly ActionOutcome[];
|
|
2507
|
+
/** Present only when the step declared `expect`. */
|
|
2508
|
+
readonly expectations?: readonly ExpectationOutcome[];
|
|
2273
2509
|
readonly error?: string;
|
|
2274
2510
|
}
|
|
2275
2511
|
interface RunResult {
|
|
@@ -2323,6 +2559,14 @@ interface RunnerDevice {
|
|
|
2323
2559
|
close(): void;
|
|
2324
2560
|
}>;
|
|
2325
2561
|
}>;
|
|
2562
|
+
/**
|
|
2563
|
+
* Flattened on-screen UI tree, for `expect` and selector actions.
|
|
2564
|
+
*
|
|
2565
|
+
* Optional because a coordinate-only scenario never needs a screen, and a
|
|
2566
|
+
* test that does not assert should not have to fake one. A step that does
|
|
2567
|
+
* assert on a device without it is a named refusal, not a crash.
|
|
2568
|
+
*/
|
|
2569
|
+
uiTree?(): Promise<readonly UiNode[]>;
|
|
2326
2570
|
}
|
|
2327
2571
|
interface RunOptions {
|
|
2328
2572
|
readonly outDir: string;
|
|
@@ -5336,4 +5580,4 @@ interface FlamegraphPageInput {
|
|
|
5336
5580
|
*/
|
|
5337
5581
|
declare function renderFlamegraphHtml(input: FlamegraphPageInput): string;
|
|
5338
5582
|
|
|
5339
|
-
export { type ActionDevice, type ActionOutcome, type ActiveAlloc, type AnalyzeContext, type AnalyzeResult, type Analyzer, type AnalyzerRun, type AnalyzerSection, type AppIdentity, type BaselineComparison, type BelowThresholdPattern, type BinderAnalysis, BinderAnalyzer, type BinderEndpoint, type BinderEvent, type BinderInterfaceStat, type BinderProcessStat, BinderQuery, type BinderThreadStat, type BinderTransaction, CATEGORY_EXTENSIONS, CATEGORY_MAX_BYTES, COLLECTOR_NAMES, type CallchainSample, type CallstackEvent, type CallstackEventWithArgs, CallstackQuery, type CapabilityId, type CapabilityInputs, CapabilityMatrix, type CapabilityState, type CategoryTotal, type CollectOptions, type CollectSession, type Collector, type CollectorName, type CompiledRule, type ComponentReuse, ComponentReuseAnalyzer, type ConnectOptions, type ContentPattern, type CreateEmulatorRequest, DEFAULT_HILOG_RULES, DEFAULT_QUERY_LIMIT, DEVICE_PERF_PATH, DEVICE_SCREENSHOT_PATH, DEVICE_UI_PATH, type DeltaStatus, Device, type DeviceDeps, type DeviceIdentity, DeviceNotFoundError, type DrillDownHandle, type DuplicateGroup, EXCLUDE_PATTERNS, EmptyFrameAnalyzer, type EmptyFrameFilter, type EmulatorBackend, EmulatorClient, type EmulatorClientOptions, EmulatorCommandError, type EmulatorImage, EmulatorImageMissingError, type EmulatorInstance, EmulatorLifecycle, type EmulatorLifecycleOptions, EmulatorNotFoundError, type EmulatorStartResult, type EmulatorStopResult, type Env, type Evidence, type EvidenceKind, FLAMEGRAPH_FILES, FPS_COMMAND, FTRACE_CATEGORIES, FaultTreeAnalyzer, type FaultTreeSignals, type Fidelity, type FileCategory, type FileRule, FlamegraphAnalyzer, type FlamegraphPageInput, type FoldedStack, type FpsBucket, type FpsWindow, type Frame, FrameAnalyzer, type FrameFlag, FrameLoadAnalyzer, FrameLoadIndex, type FrameLoadIndexInput, type FrameLoadThread, FrameQuery, type FrameStats, type FrameType, type FtraceOptions, GEOMETRY_TOLERANCE_PX, GcAnalyzer, type GcSignals, type Gesture, GestureDriver, type GestureResult, HILOG_COMMAND, HIPROFILER_PLUGIN_NAMES, HITCH_COMMAND, HITRACE_DEFAULT_CATEGORIES, type HapAnalysis, type HapPackage, Hdc, HdcNotFoundError, type HdcOptions, type HdcResult, type HdcSlice, type HdcTarget, type HidumperCapture, HidumperCollector, type HidumperSnapshot, HilogAnalyzer, HilogCollector, type HilogLevel, type HilogLine, type HilogMatch, type HilogParseOptions, type HilogRule, type HiperfCapture, type HiperfCollectOptions, HiperfCollector, type HiprofilerCollectOptions, type HiprofilerCollectRequest, HiprofilerCollector, type HiprofilerConfigOptions, type HiprofilerPlugin, type HiprofilerPluginName, HitraceCollector, IGNORED_ATTRIBUTES, type ImageComparison, IngestError, InstantQuery, type InventoryFile, MAX_QUERY_LIMIT, METRIC_DIRECTIONS, MIN_BUFFER_PAGES, MemMeasureQuery, MemoryAnalyzer, MemoryMeasureAnalyzer, type MemoryPluginOptions, type MetadataPattern, type Metric, type MetricDelta, type MetricDirection, type MetricUnit, type NamedQueryDefinition, type NamedQueryInfo, type NamedQueryResult, type NativeCategory, type NativeEventKind, type NativeHookEvent, type NativeHookFrame, NativeHookQuery, type NativeHookStatistic, NativeMemoryAnalyzer, type NativeMemoryResult, type NativeNames, type NativeTimelineBucket, type NativehookOptions, OhosPerfError, type OptimizationPotential, type OversizedFile, PLANE_A_PLUGINS, type PerfCallchain, type PerfFileAttribution, type PerfFunction, type PerfLeafAttribution, PerfQuery, type PerfSampleRow, type PerfThread, type ProbeResult, type ProbeRunner, type ProbeSnapshot, type ProcessInfo, type ProcessMeasure, type ProcessMeasureFilter, ProcessQuery, ProcfsCollector, type ProcfsSample, type ProcfsStatus, type Provenance, type QueryArgument, type QueryContext, type QueryHandle, REPORT_SCHEMA_VERSION, type Rect, type RedundancyLevel, type RedundancyType, type RedundantThreadPattern, type RedundantThreadsSummary, RenderAnalyzer, type ReportGenerator, type ReportInput, type ReportModel, type ReportScenario, type ReportSection, type ReportSummary, type ReportTotals, type RgbaImage, RsSkipAnalyzer, type RsSkipFrame, type RsSkipResult, type RuleMatch, type RuleMatchKind, type RunOptions, type RunResult, type RunStepResult, type RunnerCollectOptions, type RunnerDevice, SECTION_TITLES, type Scenario, type ScenarioAction, ScenarioRunner, type ScenarioStep, Scene, type SceneLayout, type SceneMetadata, type SceneStepRef, SchedQuery, type SchedSlice, type ScreenshotCapture, ScreenshotCollector, type SmapsRollup, StartupAnalyzer, StartupQuery, type StartupRecord, type StepCapture, Streamer, StreamerNotFoundError, type StreamerOptions, type SymbolStat, SymbolsAnalyzer, TECH_RULES, type TechRule, type ThreadAnalysis, type ThreadAnalysisSummary, ThreadAnalyzer, type ThreadInfo, ThreadQuery, type ThreadState, ThreadStateQuery, type ThreadWakeupResult, type ThreadWakeupThread, type TimeRange, type TraceCollectOptions, UI_DIFF_FILES, UiAnalyzer, type UiCompareOptions, type UiDiff, type UiDiffSide, type UiNode, type UiTreeDiff, type UiTreeDifference, UitestCollector, type UnreleasedRow, type VsyncAnalysis, VsyncAnalyzer, type VsyncPeriod, type VsyncPeriodKind, type VsyncSeverity, type WakeupEvent, type WindowHitches, type ZipArchive, type ZipEntry, aggregateUnreleased, analyzeHap, analyzeThreadWakeup, buildHiprofilerConfig, buildInventory, buildMatrix, buildNativeTimeline, buildReport, categorize, classifyNativePath, compareImages, compareResults, compareSceneDirs, compileRules, computeBinderAnalysis, computeComponentReuse, computeFaultTree, computeFpsWindows, computeGc, computeRsSkip, computeThreadAnalysis, computeVsyncAnomalies, connect, createSceneLayout, decodePng, defaultAnalyzers, dhash, diffTrees, encodePng, escapeHtml, evidence, executeAction, filterEmptyFrames, flattenUiTree, ftracePlugin, gpuPlugin, hapSection, hiperfRecordCommand, ingestScene, isUnresolvedSymbol, isZip, lookupQuery, markRegions, matchHapRules, matchRules, memoryPlugin, metric, nativeEventKind, nativehookPlugin, nodeIdentity, openDb, openZip, pairNativeMemory, parseBounds, parseFpsCounts, parseHilogLine, parseHilogText, parseHiperfSummary, parseHitches, parseProcfsStatus, parseScenario, parseSmapsRollup, queryDefinitions, readHidumperCapture, readHilogText, readProcfsSamples, readSceneMetadata, readUiTree, renderEvidenceCsv, renderFlamegraphHtml, renderFlamegraphSvg, renderMetricsCsv, renderReportHtml, renderReportJson, renderReportXlsx, renderSummaryJson, renderUiDiffHtml, resolveAppIdentity, resolveAppIpids, resolveQueryLimit, round2HalfEven, runAnalyzerSections, runAnalyzers, runDrillDown, runNamedQuery, runProbe, summarizeReport, tableRowCounts, unknownQueryError, validateRules, writeProcfsSamples, writeRunFiles, writeSceneMetadata, xpowerPlugin };
|
|
5583
|
+
export { type ActionContext, type ActionDevice, type ActionOutcome, type ActiveAlloc, type AnalyzeContext, type AnalyzeResult, type Analyzer, type AnalyzerRun, type AnalyzerSection, type AppIdentity, type BaselineComparison, type BelowThresholdPattern, type BinderAnalysis, BinderAnalyzer, type BinderEndpoint, type BinderEvent, type BinderInterfaceStat, type BinderProcessStat, BinderQuery, type BinderThreadStat, type BinderTransaction, CATEGORY_EXTENSIONS, CATEGORY_MAX_BYTES, COLLECTOR_NAMES, type CallchainSample, type CallstackEvent, type CallstackEventWithArgs, CallstackQuery, type CapabilityId, type CapabilityInputs, CapabilityMatrix, type CapabilityState, type CaseLoad, type CategoryTotal, type CollectOptions, type CollectSession, type Collector, type CollectorName, type CompiledRule, type ComponentReuse, ComponentReuseAnalyzer, type ConnectOptions, type ContentPattern, type CreateEmulatorRequest, DEFAULT_HILOG_RULES, DEFAULT_QUERY_LIMIT, DEVICE_PERF_PATH, DEVICE_SCREENSHOT_PATH, DEVICE_UI_PATH, type DeltaStatus, Device, type DeviceDeps, type DeviceIdentity, DeviceNotFoundError, type DiscoveredCase, type DrillDownHandle, type DuplicateGroup, EXCLUDE_PATTERNS, EmptyFrameAnalyzer, type EmptyFrameFilter, type EmulatorBackend, EmulatorClient, type EmulatorClientOptions, EmulatorCommandError, type EmulatorImage, EmulatorImageMissingError, type EmulatorInstance, EmulatorLifecycle, type EmulatorLifecycleOptions, EmulatorNotFoundError, type EmulatorStartResult, type EmulatorStopResult, type Env, type Evidence, type EvidenceKind, type ExpectPresent, type ExpectationOutcome, FLAMEGRAPH_FILES, FPS_COMMAND, FTRACE_CATEGORIES, FaultTreeAnalyzer, type FaultTreeSignals, type Fidelity, type FileCategory, type FileRule, FlamegraphAnalyzer, type FlamegraphPageInput, type FoldedStack, type FpsBucket, type FpsWindow, type Frame, FrameAnalyzer, type FrameFlag, FrameLoadAnalyzer, FrameLoadIndex, type FrameLoadIndexInput, type FrameLoadThread, FrameQuery, type FrameStats, type FrameType, type FtraceOptions, GEOMETRY_TOLERANCE_PX, GcAnalyzer, type GcSignals, type Gesture, GestureDriver, type GestureResult, HILOG_COMMAND, HIPROFILER_PLUGIN_NAMES, HITCH_COMMAND, HITRACE_DEFAULT_CATEGORIES, type HapAnalysis, type HapPackage, Hdc, HdcNotFoundError, type HdcOptions, type HdcResult, type HdcSlice, type HdcTarget, type HidumperCapture, HidumperCollector, type HidumperSnapshot, HilogAnalyzer, HilogCollector, type HilogLevel, type HilogLine, type HilogMatch, type HilogParseOptions, type HilogRule, type HiperfCapture, type HiperfCollectOptions, HiperfCollector, type HiprofilerCollectOptions, type HiprofilerCollectRequest, HiprofilerCollector, type HiprofilerConfigOptions, type HiprofilerPlugin, type HiprofilerPluginName, HitraceCollector, IGNORED_ATTRIBUTES, type ImageComparison, IngestError, InstantQuery, type InventoryFile, MAX_QUERY_LIMIT, METRIC_DIRECTIONS, MIN_BUFFER_PAGES, MemMeasureQuery, MemoryAnalyzer, MemoryMeasureAnalyzer, type MemoryPluginOptions, type MetadataPattern, type Metric, type MetricDelta, type MetricDirection, type MetricUnit, type NamedQueryDefinition, type NamedQueryInfo, type NamedQueryResult, type NativeCategory, type NativeEventKind, type NativeHookEvent, type NativeHookFrame, NativeHookQuery, type NativeHookStatistic, NativeMemoryAnalyzer, type NativeMemoryResult, type NativeNames, type NativeTimelineBucket, type NativehookOptions, OhosPerfError, type OptimizationPotential, type OversizedFile, PLANE_A_PLUGINS, type PerfCallchain, type PerfFileAttribution, type PerfFunction, type PerfLeafAttribution, PerfQuery, type PerfSampleRow, type PerfThread, type ProbeResult, type ProbeRunner, type ProbeSnapshot, type ProcessInfo, type ProcessMeasure, type ProcessMeasureFilter, ProcessQuery, ProcfsCollector, type ProcfsSample, type ProcfsStatus, type Provenance, type QueryArgument, type QueryContext, type QueryHandle, REPORT_SCHEMA_VERSION, type Rect, type RedundancyLevel, type RedundancyType, type RedundantThreadPattern, type RedundantThreadsSummary, RenderAnalyzer, type ReportGenerator, type ReportInput, type ReportModel, type ReportScenario, type ReportSection, type ReportSummary, type ReportTotals, type RgbaImage, RsSkipAnalyzer, type RsSkipFrame, type RsSkipResult, type RuleMatch, type RuleMatchKind, type RunOptions, type RunResult, type RunStepResult, type RunnerCollectOptions, type RunnerDevice, SECTION_TITLES, type Scenario, type ScenarioAction, ScenarioRunner, type ScenarioStep, Scene, type SceneLayout, type SceneMetadata, type SceneStepRef, SchedQuery, type SchedSlice, type ScreenshotCapture, ScreenshotCollector, type Selector, type SelectorRect, type SmapsRollup, StartupAnalyzer, StartupQuery, type StartupRecord, type StepCapture, type StepExpectation, Streamer, StreamerNotFoundError, type StreamerOptions, type SymbolStat, SymbolsAnalyzer, TECH_RULES, type TechRule, type ThreadAnalysis, type ThreadAnalysisSummary, ThreadAnalyzer, type ThreadInfo, ThreadQuery, type ThreadState, ThreadStateQuery, type ThreadWakeupResult, type ThreadWakeupThread, type TimeRange, type TraceCollectOptions, UI_DIFF_FILES, UiAnalyzer, type UiCompareOptions, type UiDiff, type UiDiffSide, type UiNode, type UiTreeDiff, type UiTreeDifference, UitestCollector, type UnreleasedRow, type VsyncAnalysis, VsyncAnalyzer, type VsyncPeriod, type VsyncPeriodKind, type VsyncSeverity, type WakeupEvent, type WindowHitches, type ZipArchive, type ZipEntry, aggregateUnreleased, analyzeHap, analyzeThreadWakeup, buildHiprofilerConfig, buildInventory, buildMatrix, buildNativeTimeline, buildReport, categorize, classifyNativePath, compareImages, compareResults, compareSceneDirs, compileRules, computeBinderAnalysis, computeComponentReuse, computeFaultTree, computeFpsWindows, computeGc, computeRsSkip, computeThreadAnalysis, computeVsyncAnomalies, connect, createSceneLayout, decodePng, defaultAnalyzers, dhash, diffTrees, discoverCases, encodePng, escapeHtml, evidence, executeAction, filterEmptyFrames, flattenUiTree, ftracePlugin, gpuPlugin, hapSection, hiperfRecordCommand, ingestScene, isUnresolvedSymbol, isZip, loadCases, lookupQuery, markRegions, matchHapRules, matchRules, matchSelector, memoryPlugin, metric, nativeEventKind, nativehookPlugin, nodeIdentity, openDb, openZip, pairNativeMemory, parseBounds, parseFpsCounts, parseHilogLine, parseHilogText, parseHiperfSummary, parseHitches, parseProcfsStatus, parseScenario, parseSelector, parseSmapsRollup, queryDefinitions, readHidumperCapture, readHilogText, readProcfsSamples, readSceneMetadata, readUiTree, renderEvidenceCsv, renderFlamegraphHtml, renderFlamegraphSvg, renderMetricsCsv, renderReportHtml, renderReportJson, renderReportXlsx, renderSummaryJson, renderUiDiffHtml, resolveAppIdentity, resolveAppIpids, resolveQueryLimit, resolveSelector, round2HalfEven, runAnalyzerSections, runAnalyzers, runDrillDown, runNamedQuery, runProbe, summarizeReport, tableRowCounts, unknownQueryError, validateRules, writeProcfsSamples, writeRunFiles, writeSceneMetadata, xpowerPlugin };
|