/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputFeatureFlagProvider.java | 53 private static Optional<Boolean> sKeyboardBacklightControlOverride = Optional.empty(); 54 private static Optional<Boolean> sKeyboardBacklightAnimationOverride = Optional.empty(); 55 private static Optional<Boolean> sKeyboardBacklightCustomLevelsOverride = Optional.empty(); 56 private static Optional<Boolean> sAmbientKeyboardBacklightControlOverride = Optional.empty(); 96 sKeyboardBacklightControlOverride = Optional.empty(); in clearOverrides() 97 sKeyboardBacklightAnimationOverride = Optional.empty(); in clearOverrides() 98 sKeyboardBacklightCustomLevelsOverride = Optional.empty(); in clearOverrides() 99 sAmbientKeyboardBacklightControlOverride = Optional.empty(); in clearOverrides()
|
/aosp14/frameworks/base/services/incremental/ |
H A D | path.cpp | 49 while (!path.empty() && path.front() == '/' && in preparePathComponent() 60 preparePathComponent(path, !target.empty()); in append_next_path() 61 if (path.empty()) { in append_next_path() 64 if (!target.empty() && !target.ends_with('/')) { in append_next_path() 88 return !path.empty() && path[0] == '/'; in isAbsolute() 92 if (path.empty()) { in normalize() 116 if (part.empty() || part == "."sv) { in normalize() 120 if (result.empty()) { in normalize() 139 if (path.empty()) { in basename() 151 return path.empty() ? "/"sv : path; in basename() [all …]
|
/aosp14/frameworks/base/libs/hwui/tests/unit/ |
H A D | MatrixTests.cpp | 31 Rect empty(15, 20, 15, 100); in TEST() local 32 ASSERT_TRUE(empty.isEmpty()); in TEST() 33 scaleMatrix.mapRect(empty); in TEST() 34 EXPECT_EQ(Rect(170, 215, 250, 1015), empty); in TEST() 35 EXPECT_FALSE(empty.isEmpty()) << "Empty 'line' rect doesn't remain empty when skewed."; in TEST()
|
/aosp14/system/core/property_service/libpropertyinfoserializer/ |
H A D | property_info_file.cpp | 34 if (type_strings.empty()) { in IsTypeValid() 64 if (property.empty()) { in ParsePropertyInfoLine() 70 if (context.empty()) { in ParsePropertyInfoLine() 81 while (!type.empty()) { in ParsePropertyInfoLine() 95 if (!type_strings.empty() && !IsTypeValid(type_strings)) { in ParsePropertyInfoLine() 115 if (trimmed_line.empty() || StartsWith(trimmed_line, "#")) { in ParsePropertyInfoFile()
|
/aosp14/system/core/libprocessgroup/profiles/ |
H A D | task_profiles_test.h | 41 EXPECT_FALSE(attribute.name().empty()) in TEST_P() 43 EXPECT_FALSE(attribute.controller().empty()) in TEST_P() 45 EXPECT_FALSE(attribute.file().empty()) in TEST_P() 53 EXPECT_FALSE(profile.name().empty()) in TEST_P() 57 EXPECT_FALSE(action.name().empty()) in TEST_P()
|
H A D | cgroups_test.h | 43 EXPECT_FALSE(cgroup.controller().empty()) in TEST_P() 45 EXPECT_FALSE(cgroup.path().empty()) << "No path for cgroup #" << i << " in " << file_path_; in TEST_P() 51 EXPECT_FALSE(cgroups_->cgroups2().path().empty()) in TEST_P()
|
/aosp14/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); in compareSizesByArea() local 62 assertComparatorEq(empty, fatAndFlat, rel); in compareSizesByArea() 63 assertComparatorEq(empty, tallAndThin, rel); in compareSizesByArea() 64 assertComparatorEq(fatAndFlat, empty, rel); in compareSizesByArea() 66 assertComparatorEq(tallAndThin, empty, rel); in compareSizesByArea() 76 assertComparatorLt(empty, smallSquare, rel); in compareSizesByArea() 77 assertComparatorLt(empty, horizRect, rel); in compareSizesByArea() 78 assertComparatorLt(empty, vertRect, rel); in compareSizesByArea() 88 assertComparatorLt(empty, largeSquare, rel); in compareSizesByArea() 108 { empty, fatAndFlat, tallAndThin, smallSquare, horizRect, vertRect, largeSquare }; in chooseBigEnoughSize() [all …]
|
/aosp14/system/core/libmodprobe/ |
H A D | libmodprobe.cpp | 85 if (canonical_name.empty()) { in ParseDepCallback() 155 if (canonical_name.empty()) { in ParseLoadCallback() 181 if (canonical_name.empty()) { in ParseOptionsCallback() 217 if (canonical_name.empty()) { in ParseBlocklistCallback() 234 if (line.empty() || line[0] == '#') { in ParseCfg() 238 if (args.empty()) continue; in ParseCfg() 277 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions() 312 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions() 355 if (module_name.empty()) { in InsmodWithDeps() 361 if (dependencies.empty()) { in InsmodWithDeps() [all …]
|
H A D | libmodprobe_ext_test.cpp | 38 if (deps.empty()) { in Insmod() 54 if (!parameters.empty()) { in Insmod() 78 if (deps.empty()) { in ModuleExists()
|
/aosp14/system/core/fs_mgr/ |
H A D | fs_mgr_boot_config.cpp | 49 if (!piece.empty()) { in fs_mgr_parse_cmdline() 72 if (!line.empty()) { in fs_mgr_parse_proc_bootconfig() 122 if (!bootconfig.empty() && bootconfig.back() == '\n') { in fs_mgr_get_boot_config_from_bootconfig_source() 133 if (!cmdline.empty() && cmdline.back() == '\n') { in fs_mgr_get_boot_config_from_kernel_cmdline() 149 if (!out_val->empty()) { in fs_mgr_get_boot_config() 158 if (!out_val->empty()) { in fs_mgr_get_boot_config()
|
H A D | fs_mgr_roots.cpp | 38 if (path.empty()) return nullptr; in GetEntryForPath() 51 if (path.empty()) return entries; in GetEntriesForPath() 56 if (!entries.empty()) return entries; in GetEntriesForPath() 108 const std::string mount_point = mount_pt.empty() ? rec->mount_point : mount_pt; in TryPathMount() 144 if (entries.empty()) { in EnsurePathMounted()
|
H A D | fs_mgr_fstab.cpp | 95 if (!dt_value->empty()) { in ReadDtFile() 125 if (!fs_options.empty()) { in ParseMountFlags() 151 if (flag.empty() || flag == "defaults") continue; in ParseFsMgrFlags() 232 if (!arg.empty() && arg.back() == '%') { in ParseFsMgrFlags() 580 if (fstab.empty()) { in ParseFstabFromString() 612 if (!entry->metadata_key_dir.empty()) { in TransformFstabForDsu() 655 if (!lack_fs_list.empty()) { in TransformFstabForDsu() 743 if (fstab_buf.empty()) { in ReadFstabFromDt() 792 if (line.empty() || StartsWith(line, "#")) { in SkipMountWithConfig() 840 return !fstab->empty(); in ReadDefaultFstab() [all …]
|
/aosp14/system/core/init/ |
H A D | check_builtins.cpp | 45 if (arg.empty()) { \ 54 if (!args[1].empty()) { in check_chown() 62 if (args.size() == 4 && !args[2].empty()) { in check_chown() 159 if (name.empty()) { in check_setprop() 168 if (!value.empty()) { in check_setprop() 232 if (args.size() == 3 && !args[2].empty()) { in check_wait()
|
H A D | action_manager.cpp | 71 while (current_executing_actions_.empty() && !event_queue_.empty()) { in ExecuteOneCommand() 82 if (current_executing_actions_.empty()) { in ExecuteOneCommand() 113 return !current_executing_actions_.empty() || !event_queue_.empty(); in HasMoreCommands()
|
H A D | block_dev_initializer.cpp | 80 if (name.empty()) { in HandleUevent() 91 if (!partition_name.empty()) { in HandleUevent() 103 return devices->empty() ? ListenerAction::kStop : ListenerAction::kContinue; in HandleUevent() 114 if (!devices.empty()) { in InitDevices() 123 if (!devices.empty()) { in InitDevices()
|
H A D | property_type.cpp | 33 if (value.empty()) { in CheckType() 38 if (type_strings.empty()) { in CheckType() 55 if (value.empty() || value.front() == '-') { in CheckType()
|
/aosp14/system/core/fastboot/ |
H A D | socket_mock.cpp | 36 if (!events_.empty()) { in ~SocketMock() 42 if (events_.empty()) { in Send() 74 if (events_.empty()) { in Receive() 95 if (message.empty()) { in Receive() 110 if (events_.empty()) { in Accept()
|
H A D | fastboot.cpp | 205 if (!message.empty()) { in Status() 665 if (!ramdisk.empty()) { in LoadBootableImage() 810 if (!product.empty()) { in CheckRequirement() 925 if (line.empty()) { in CheckRequirements() 1552 if (slot.empty()) { in GetPartitionName() 1555 if (slot.empty()) { in GetPartitionName() 1590 if (img_name.empty()) { in ParseFlashCommand() 1796 if (tasks.empty()) { in Flash() 1968 if (path.empty()) { in ReadFile() 2186 if (slot.empty()) { in do_wipe_super() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | LockscreenCredentialTest.java | 30 LockscreenCredential empty = LockscreenCredential.createNone(); in testEmptyCredential() local 32 assertTrue(empty.isNone()); in testEmptyCredential() 33 assertEquals(0, empty.size()); in testEmptyCredential() 34 assertNotNull(empty.getCredential()); in testEmptyCredential() 36 assertFalse(empty.isPin()); in testEmptyCredential() 37 assertFalse(empty.isPassword()); in testEmptyCredential() 38 assertFalse(empty.isPattern()); in testEmptyCredential()
|
/aosp14/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker.cpp | 64 if (full_name.package.empty()) { in operator <<() 193 if (alias.empty()) { in TransformPackageAlias() 209 if (alias.empty()) { in TransformPackageAlias() 234 if (name.package.empty()) { in IsSymbolVisible() 258 if (name.package.empty()) { in ResolveSymbol() 354 if (!ref_name.package.empty()) { in WriteAttributeName() 363 if (full_name.package.empty()) { in WriteAttributeName() 386 if (transformed_reference.name.value().package.empty()) { in LinkReference() 391 if (!result || result.value().entry->values.empty()) { in LinkReference() 463 CHECK(!package->name.empty()) << "all packages being linked must have a name"; in Consume() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/viewmodel/ |
H A D | PinInputViewModelTest.kt | 8 import com.android.systemui.bouncer.ui.viewmodel.PinInputViewModel.Companion.empty 61 val result = empty().append(0) 85 val subject = empty() 115 val subject = empty() 133 val subject = empty() 157 val subject = empty() 189 val subject = empty()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/time/ |
H A D | TimeZoneConfigurationTest.java | 36 TimeZoneConfiguration empty = new TimeZoneConfiguration.Builder().build(); in testIntrospectionMethods() local 37 assertFalse(empty.isComplete()); in testIntrospectionMethods() 38 assertFalse(empty.hasIsAutoDetectionEnabled()); in testIntrospectionMethods()
|
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/ |
H A D | ProcrankParser.cpp | 41 if (line.empty()) continue; in Parse() 81 if (!total.empty()) { in Parse() 89 if (!zram.empty()) { in Parse() 94 if (!ram.empty()) { in Parse()
|
/aosp14/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.h | 46 virtual bool empty() const = 0; 66 bool empty() const override { in empty() function 111 bool empty() const override { in empty() function 151 bool empty() const override { in empty() function 226 bool empty() const override { in empty() function 257 bool empty() const override;
|
/aosp14/system/core/debuggerd/libdebuggerd/ |
H A D | tombstone_proto_to_text.cpp | 81 if (!tombstone.command_line().empty()) { in print_thread_header() 155 if (!current_row.empty()) { in print_thread_registers() 169 if (!frame.function_name().empty()) { in print_backtrace() 175 if (!frame.build_id().empty()) { in print_backtrace() 195 if (!thread.backtrace_note().empty()) { in print_thread_backtrace() 209 if (mem.mapping_name().empty()) { in print_thread_memory_dump() 368 if (!map.mapping_name().empty()) { in print_memory_maps() 371 if (!map.build_id().empty()) { in print_memory_maps() 428 if (!tombstone.abort_message().empty()) { in print_main_thread() 482 if (!tombstone.memory_mappings().empty()) { in print_main_thread() [all …]
|