Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 681) sorted by relevance

12345678910>>...28

/aosp14/system/core/libstats/expresslog/tests/
H A DHistogram_test.cpp38 ASSERT_EQ(nullptr, options); in TEST()
44 ASSERT_EQ(nullptr, options); in TEST()
50 ASSERT_EQ(nullptr, options); in TEST()
57 ASSERT_EQ(i, options->getBinForSample(i)); in TEST()
65 ASSERT_EQ(i, options->getBinForSample(i * 2)); in TEST()
66 ASSERT_EQ(i, options->getBinForSample(i * 2 - 1)); in TEST()
73 ASSERT_EQ(4, options->getBinsCount()); in TEST()
84 ASSERT_EQ(0, options->getBinForSample(0)); in TEST()
85 ASSERT_EQ(options->getBinsCount() - 2, options->getBinForSample(100)); in TEST()
86 ASSERT_EQ(options->getBinsCount() - 1, options->getBinForSample(101)); in TEST()
[all …]
/aosp14/frameworks/base/services/core/jni/gnss/
H A DGnssMeasurement.cpp61 options.enableCorrVecOutputs); in setCallback()
77 if (options.enableFullTracking == true) { in setCallback()
80 if (options.enableCorrVecOutputs == true) { in setCallback()
83 if (options.intervalMs > 1000) { in setCallback()
106 if (options.enableCorrVecOutputs == true) { in setCallback()
109 if (options.intervalMs > 1000) { in setCallback()
113 options.enableFullTracking); in setCallback()
128 if (options.enableCorrVecOutputs == true) { in setCallback()
131 if (options.intervalMs > 1000) { in setCallback()
150 if (options.enableCorrVecOutputs == true) { in setCallback()
[all …]
H A DGnssBatching.cpp51 IGnssBatching::Options options; in start() local
52 options.flags = (wakeOnFifoFull) ? IGnssBatching::WAKEUP_ON_FIFO_FULL : 0; in start()
53 options.periodNanos = periodNanos; in start()
54 options.minDistanceMeters = minUpdateDistanceMeters; in start()
55 auto status = mIGnssBatching->start(options); in start()
96 IGnssBatching_V1_0::Options options; in start() local
97 options.periodNanos = periodNanos; in start()
102 options.flags = static_cast<uint8_t>(IGnssBatching_V1_0::Flag::WAKEUP_ON_FIFO_FULL); in start()
104 options.flags = 0; in start()
107 auto result = mIGnssBatching_V1_0->start(options); in start()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSafeActivityOptions.java107 mOriginalOptions = options; in SafeActivityOptions()
118 mOriginalOptions = options; in SafeActivityOptions()
130 if (options == null && callerOptions == null) { in selectiveCloneLaunchOptions()
147 .setLaunchRootTask(options.getLaunchRootTask()) in cloneLaunchingOptions()
163 mCallerOptions = options; in setCallerOptions()
245 static void abort(@Nullable SafeActivityOptions options) { in abort() argument
246 if (options != null) { in abort()
247 options.abort(); in abort()
275 if ((options.getLaunchTaskId() != INVALID_TASK_ID || options.getDisableStartingWindow()) in checkPermissions()
283 + options.getLaunchTaskId(); in checkPermissions()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskLaunchParamsModifierTests.java213 options.setLaunchTaskDisplayAreaFeatureId( in testUsesOptionsDisplayAreaFeatureIdIfSet()
492 options.setLaunchTaskDisplayArea( in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaToken()
514 options.setLaunchTaskDisplayAreaFeatureId( in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaFeatureId()
652 options.setLaunchBounds(expectedBounds); in testBoundsInOptionsInfersFullscreenWithBoundsOnFreeformSupportFullscreenDisplay()
892 options.setLaunchBounds(expectedLaunchBounds); in testLaunchesPortraitSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
964 options.setLaunchDisplayId(DEFAULT_DISPLAY); in testUsesFullscreenOnNonFreeformDisplay()
1024 options.setLaunchDisplayId(DEFAULT_DISPLAY); in testSkipsFreeformForPreNResizeableAppOnNonFullscreenDisplay()
1047 options.setLaunchBounds(expected); in testKeepsBoundsWithPictureInPictureLaunchModeInOptions()
1066 options.setLaunchBounds(expected); in testKeepsBoundsForMultiWindowModeInOptions()
1087 options.setLaunchBounds(expected); in testRespectsLaunchBoundsWithFreeformSourceOnFullscreenDisplay()
[all …]
/aosp14/frameworks/base/tools/aapt2/link/
H A DTableMerger_test.cpp90 TableMergerOptions options; in TEST_F() local
110 TableMergerOptions options; in TEST_F() local
164 TableMergerOptions options; in TEST_F() local
202 TableMergerOptions options; in TEST_F() local
228 TableMergerOptions options; in TEST_F() local
247 TableMergerOptions options; in TEST_F() local
266 TableMergerOptions options; in TEST_F() local
286 TableMergerOptions options; in TEST_F() local
312 TableMergerOptions options; in TEST_F() local
328 TableMergerOptions options; in TEST_F() local
[all …]
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_api_test.cpp66 CowOptions options; in TEST_F() local
108 CowOptions options; in TEST_F() local
186 CowOptions options; in TEST_F() local
265 CowOptions options; in TEST_F() local
304 CowOptions options; in TEST_P() local
380 CowOptions options; in TEST_P() local
446 CowOptions options; in TEST_F() local
510 CowOptions options; in TEST_F() local
553 CowOptions options; in TEST_P() local
584 CowOptions options; in TEST_F() local
[all …]
/aosp14/frameworks/base/tools/aapt2/optimize/
H A DObfuscator_test.cpp60 OptimizeOptions options{.shorten_resource_paths = true}; in TEST() local
97 OptimizeOptions options{.shorten_resource_paths = true}; in TEST() local
116 OptimizeOptions options{.shorten_resource_paths = true}; in TEST() local
185 options.table_flattener_options.shortened_path_map; in TEST()
257 OptimizeOptions options; in TEST() local
258 Obfuscator obfuscatorWithDefaultOption(options); in TEST()
264 Obfuscator obfuscatorWithShortenPathOption(options); in TEST()
269 OptimizeOptions options; in TEST() local
299 Obfuscator obfuscator(options); in TEST()
326 OptimizeOptions options; in TEST() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperCropper.java91 options.inJustDecodeBounds = true; in generateCropInternal()
93 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCropInternal()
103 cropHint.right = options.outWidth; in generateCropInternal()
104 cropHint.bottom = options.outHeight; in generateCropInternal()
107 int dx = cropHint.right > options.outWidth ? options.outWidth - cropHint.right : 0; in generateCropInternal()
108 int dy = cropHint.bottom > options.outHeight in generateCropInternal()
122 || options.outWidth > cropHint.width()); in generateCropInternal()
145 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCropInternal()
164 long estimateSize = (long) options.outWidth * options.outHeight * 4; in generateCropInternal()
183 options.inSampleSize = scale; in generateCropInternal()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DTEST_MAPPING28 "options": [
37 "options": [
46 "options": [
58 "options": [
71 "options": [
83 "options": [
95 "options": [
110 "options": [
122 "options": [
131 "options": [
[all …]
/aosp14/frameworks/base/telecomm/
H A DTEST_MAPPING5 "options": [
13 "options": [
21 "options": [
29 "options": [
37 "options": [
45 "options": [
53 "options": [
63 "options": [
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DAppWidgetOptionsHelper.java36 Bundle options = appWidgetManager.getAppWidgetOptions(appWidgetId); in setPeopleTileKey() local
37 options.putString(SHORTCUT_ID, key.getShortcutId()); in setPeopleTileKey()
38 options.putInt(USER_ID, key.getUserId()); in setPeopleTileKey()
39 options.putString(PACKAGE_NAME, key.getPackageName()); in setPeopleTileKey()
40 appWidgetManager.updateAppWidgetOptions(appWidgetId, options); in setPeopleTileKey()
44 public static PeopleTileKey getPeopleTileKeyFromBundle(Bundle options) { in getPeopleTileKeyFromBundle() argument
45 String pkg = options.getString(PACKAGE_NAME, EMPTY_STRING); in getPeopleTileKeyFromBundle()
46 int userId = options.getInt(USER_ID, INVALID_USER_ID); in getPeopleTileKeyFromBundle()
47 String shortcutId = options.getString(SHORTCUT_ID, EMPTY_STRING); in getPeopleTileKeyFromBundle()
/aosp14/frameworks/base/
H A DTEST_MAPPING5 "options": [
21 "options": [
37 "options": [
50 "options": [
61 "options": [
69 "options": [
78 "options": [
86 "options": [
138 "options": [
146 "options": [
[all …]
/aosp14/frameworks/base/services/accessibility/
H A DTEST_MAPPING5 "options": [
16 "options": [
27 "options": [
38 "options": [
49 "options": [
60 "options": [
85 "options": [
93 "options": [
101 "options": [
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DTEST_MAPPING22 "options": [
33 "options": [
42 "options": [
58 "options": [
66 "options": [
74 "options": [
83 "options": [
91 "options": [
101 "options": [
115 "options": [
/aosp14/frameworks/base/tools/dump-coverage/
H A Ddump_coverage.cc149 static tuple<std::string, std::string> SplitOnColon(const std::string& options) { in SplitOnColon() argument
150 size_t loc_delim = options.find(':'); in SplitOnColon()
154 command = options; in SplitOnColon()
156 command = options.substr(0, loc_delim); in SplitOnColon()
157 args = options.substr(loc_delim + 1, options.length()); in SplitOnColon()
164 static jint ParseOptionsAndExecuteCommand(const std::string& options) { in ParseOptionsAndExecuteCommand() argument
165 auto split = SplitOnColon(options); in ParseOptionsAndExecuteCommand()
183 static jint AgentStart(JavaVM* vm, char* options) { in AgentStart() argument
187 return ParseOptionsAndExecuteCommand(options); in AgentStart()
192 Agent_OnAttach(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in Agent_OnAttach() argument
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCentralSurfaces.java115 options.setLaunchDisplayId(displayId); in getActivityOptions()
116 options.setCallerDisplayId(displayId); in getActivityOptions()
117 options.setPendingIntentBackgroundActivityLaunchAllowed(true); in getActivityOptions()
118 return options.toBundle(); in getActivityOptions()
139 options.setLaunchDisplayId(displayId); in getActivityOptions()
140 options.setCallerDisplayId(displayId); in getActivityOptions()
142 return options.toBundle(); in getActivityOptions()
147 ActivityOptions options; in getDefaultActivityOptions() local
150 options = ActivityOptions.makeRemoteTransition( in getDefaultActivityOptions()
158 options = ActivityOptions.makeBasic(); in getDefaultActivityOptions()
[all …]
/aosp14/frameworks/base/telephony/
H A DTEST_MAPPING5 "options": [
13 "options": [
21 "options": [
29 "options": [
37 "options": [
45 "options": [
53 "options": [
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java97 BitmapFactory.Options options, int reqWidth, int reqHeight) { in calculateInSampleSize() argument
99 final int height = options.outHeight; in calculateInSampleSize()
100 final int width = options.outWidth; in calculateInSampleSize()
123 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromResource() local
124 options.inJustDecodeBounds = true; in decodeSampledBitmapFromResource()
125 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
128 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
131 options.inJustDecodeBounds = false; in decodeSampledBitmapFromResource()
132 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
/aosp14/frameworks/base/tests/JankBench/scripts/
H A Drunall.py17 options, categories = parser.parse_args(argv[1:])
18 return (options, categories)
56 options, categories = parse_options(sys.argv)
57 if options.clear:
58 print options.device
59 clear_data(options.device)
61 start_benchmark(options.device, options.trace)
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DTEST_MAPPING5 "options": [
25 "options": [
39 "options": [
53 "options": [
67 "options": [
82 "options": [
90 "options": [
98 "options": [
107 "options": [
119 "options": [
[all …]
/aosp14/system/core/init/
H A Dcheck_builtins.cpp127 auto options = ParseMountAll(args.args); in check_mount_all() local
128 if (!options.ok()) { in check_mount_all()
129 return options.error(); in check_mount_all()
135 auto options = ParseMkdir(args.args); in check_mkdir() local
136 if (!options.ok()) { in check_mkdir()
137 return options.error(); in check_mkdir()
206 auto options = ParseSwaponAll(args.args); in check_swapon_all() local
207 if (!options.ok()) { in check_swapon_all()
208 return options.error(); in check_swapon_all()
225 if (!options.ok()) { in check_umount_all()
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DTEST_MAPPING6 "options": [
15 "options": [
24 "options": [
41 "options": [
54 "options": [
66 "options": [
77 "options": [
94 "options": [
103 "options": [
/aosp14/frameworks/base/services/voiceinteraction/
H A DTEST_MAPPING5 "options": [
16 "options": [
24 "options": [
32 "options": [
40 "options": [
48 "options": [
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DTEST_MAPPING5 "options": [
19 "options": [
33 "options": [
47 "options": [
58 "options": [
68 "options": [
76 "options": [

12345678910>>...28