/system/nvram/core/include/nvram/core/ |
D | persistence.h | 41 bool HasFlag(Flags flag) const { in HasFlag() 42 return (flags & flag) != 0; in HasFlag() 46 void SetFlag(Flags flag) { in SetFlag() 47 flags |= flag; in SetFlag() 98 bool HasFlag(Flags flag) const { in HasFlag() 99 return (flags & flag) != 0; in HasFlag() 103 void SetFlag(Flags flag) { in SetFlag() 104 flags |= flag; in SetFlag()
|
/system/teeui/test/example_config/ |
D | README | 53 "native-test-flag": "--width=<device width in pixels>" 56 "native-test-flag": "--height=<device height in pixels>" 59 …"native-test-flag": "--dp2px=<pixel per density independent pixel (px/dp) ratio of the device. Typ… 62 "native-test-flag": "--mm2px=<pixel per millimeter (px/mm) ratio>" 65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the… 68 …"native-test-flag": "--powerButtonBottom=<distance from the bottom of the power button to the top … 71 …"native-test-flag": "--volUpButtonTop=<distance from the top of the UP volume button to the top of… 74 …"native-test-flag": "--volUpButtonBottom=<distance from the bottom of the UP power button to the t… 99 com.android.tradefed.testtype.HostGTest:native-test-flag:"--width=100"\ 101 com.android.tradefed.testtype.HostGTest:native-test-flag:"--height=100"\ [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 56 uint64_t flag; member 109 bool SetMountFlag(const std::string& flag, FstabEntry* entry) { in SetMountFlag() argument 111 if (flag == name) { in SetMountFlag() 121 for (const auto& flag : Split(flags, ",")) { in ParseMountFlags() local 122 if (!SetMountFlag(flag, entry)) { in ParseMountFlags() 127 fs_options.append(flag); in ParseMountFlags() 129 if (entry->fs_type == "f2fs" && StartsWith(flag, "reserve_root=")) { in ParseMountFlags() 131 if (auto equal_sign = flag.find('='); equal_sign != std::string::npos) { in ParseMountFlags() 132 arg = flag.substr(equal_sign + 1); in ParseMountFlags() 146 for (const auto& flag : Split(flags, ",")) { in ParseFsMgrFlags() local [all …]
|
/system/libfmq/ |
D | EventFlag.cpp | 34 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag() argument 35 if (flag == nullptr) { in createEventFlag() 40 *flag = nullptr; in createEventFlag() 45 *flag = evFlag; in createEventFlag() 55 EventFlag** flag) { in createEventFlag() argument 56 if (flag == nullptr) { in createEventFlag() 61 *flag = nullptr; in createEventFlag() 66 *flag = evFlag; in createEventFlag()
|
/system/core/libvndksupport/ |
D | linker.cpp | 64 void* android_load_sphal_library(const char* name, int flag) { in android_load_sphal_library() argument 71 void* handle = android_dlopen_ext(name, flag, &dlextinfo); in android_load_sphal_library() 79 return dlopen(name, flag); in android_load_sphal_library()
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 67 std::string_view flag = argv[1]; in main() local 68 if (flag == "-b" || flag == "--backtrace") { in main() 70 } else if (flag == "-j") { in main()
|
/system/libbase/ |
D | properties_test.cpp | 159 std::atomic<bool> flag{false}; in TEST() local 163 while (!flag) std::this_thread::yield(); in TEST() 168 flag = true; in TEST() 193 std::atomic<bool> flag{false}; in TEST() local 196 while (!flag) std::this_thread::yield(); in TEST() 202 flag = true; in TEST() 213 std::atomic<bool> flag{false}; in TEST() local 216 while (!flag) std::this_thread::yield(); in TEST() 222 flag = true; in TEST()
|
D | logging_test.cpp | 85 bool flag = false; in TEST() local 89 flag = true; in TEST() 90 EXPECT_FALSE(flag) << "CHECK macro probably has a dangling if with no else"; in TEST() 92 flag = false; in TEST() 96 flag = true; in TEST() 97 EXPECT_FALSE(flag) << "CHECK_STREQ probably has a dangling if with no else"; in TEST() 465 bool flag = false; in TEST() local 469 flag = true; in TEST() 471 EXPECT_FALSE(flag) << "LOG macro probably has a dangling if with no else"; in TEST() 473 flag = false; in TEST() [all …]
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothSocketManager.aidl | 30 …nnectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, int flag); in connectSocket() argument 31 …annel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag); in createSocketChannel() argument
|
/system/core/adb/ |
D | adb_trace.cpp | 135 const auto& flag = trace_flags.find(elem); in setup_trace_mask() local 136 if (flag == trace_flags.end()) { in setup_trace_mask() 141 if (flag->second == -1) { in setup_trace_mask() 147 adb_trace_mask |= 1 << flag->second; in setup_trace_mask()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 213 for (const auto& flag : flags) { in ParseOptionsForApiLevel() local 214 if (flag == "v1") { in ParseOptionsForApiLevel() 216 } else if (flag == "v2") { in ParseOptionsForApiLevel() 218 } else if (flag == "inlinecrypt_optimized") { in ParseOptionsForApiLevel() 220 } else if (flag == "emmc_optimized") { in ParseOptionsForApiLevel() 222 } else if (flag == "wrappedkey_v0") { in ParseOptionsForApiLevel() 225 LOG(ERROR) << "Unknown flag: " << flag; in ParseOptionsForApiLevel()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 121 inline int bpfFdGet(const char* pathname, uint32_t flag) { in bpfFdGet() argument 124 .file_flags = flag, in bpfFdGet() 128 inline int mapRetrieve(const char* pathname, uint32_t flag) { in mapRetrieve() argument 129 return bpfFdGet(pathname, flag); in mapRetrieve()
|
/system/bt/stack/crypto_toolbox/ |
D | aes_cmac.cc | 127 bool flag; in cmac_prepare_last_block() local 131 flag = ((cmac_cb.len % OCTET16_LEN) == 0 && cmac_cb.len != 0) ? true : false; in cmac_prepare_last_block() 133 DVLOG(2) << "flag=" << flag << " round=" << cmac_cb.round; in cmac_prepare_last_block() 135 if (flag) { /* last block is complete block */ in cmac_prepare_last_block()
|
/system/extras/tests/timetest/ |
D | rtc_test.cpp | 29 static int hwtime(int flag, int request, struct rtc_time *tm) { in hwtime() argument 32 int ret = access(rtc, flag & O_WRONLY); in hwtime() 37 if (flag & O_WRONLY) { in hwtime() 48 ret = TEMP_FAILURE_RETRY(open(rtc, flag)); in hwtime()
|
/system/netd/bpf_progs/ |
D | netd.c | 142 uint8_t flag; in DEFINE_UPDATE_STATS() local 150 ret = bpf_skb_load_bytes(skb, ihl * 4 + TCP_FLAG_OFF, &flag, 1); in DEFINE_UPDATE_STATS() 151 if (ret == 0 && (flag >> RST_OFFSET & 1)) { in DEFINE_UPDATE_STATS() 164 uint8_t flag; in DEFINE_UPDATE_STATS() local 165 ret = bpf_skb_load_bytes(skb, sizeof(struct ipv6hdr) + TCP_FLAG_OFF, &flag, 1); in DEFINE_UPDATE_STATS() 166 if (ret == 0 && (flag >> RST_OFFSET & 1)) { in DEFINE_UPDATE_STATS()
|
/system/update_engine/ |
D | tar_bunzip2.gni | 24 outputs = [ "${out_dir}/{{source_name_part}}.flag" ] 28 "tar -xvf \"{{source}}\" -C \"${out_dir}\" && touch ${out_dir}/{{source_name_part}}.flag",
|
/system/core/libvndksupport/include/vndksupport/ |
D | linker.h | 33 void* android_load_sphal_library(const char* name, int flag);
|
/system/bt/gd/crypto_toolbox/ |
D | aes_cmac.cc | 119 bool flag; in cmac_prepare_last_block() local 122 flag = ((cmac_cb.len % OCTET16_LEN) == 0 && cmac_cb.len != 0) ? true : false; in cmac_prepare_last_block() 124 if (flag) { /* last block is complete block */ in cmac_prepare_last_block()
|
/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 556 std::string flag("--gtest_flagfile="); in TEST_F() local 557 flag += tf.path; in TEST_F() 558 std::vector<const char*> cur_args{"ignore", flag.c_str()}; in TEST_F() 571 std::string flag("--gtest_flagfile="); in TEST_F() local 572 flag += tf.path; in TEST_F() 573 std::vector<const char*> cur_args{"ignore", flag.c_str()}; in TEST_F() 583 std::string flag("--gtest_flagfile="); in TEST_F() local 584 flag += tf.path; in TEST_F() 585 std::vector<const char*> cur_args{"ignore", flag.c_str()}; in TEST_F() 596 std::string flag("--gtest_flagfile="); in TEST_F() local [all …]
|
/system/sepolicy/private/ |
D | installd.te | 36 # Allow installd to access the runtime feature flag properties. 40 # Allow installd to access apk verity feature flag (for legacy case).
|
D | iorapd.te | 9 # Allow iorapd to access the runtime native boot feature flag properties.
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | installd.te | 36 # Allow installd to access the runtime feature flag properties. 40 # Allow installd to access apk verity feature flag (for legacy case).
|
D | iorapd.te | 9 # Allow iorapd to access the runtime native boot feature flag properties.
|
/system/bt/stack/btm/ |
D | btm_ble_gap.cc | 165 static void btm_ble_update_adv_flag(uint8_t flag); 937 uint8_t flag = 0, old_flag = 0; in btm_ble_set_adv_flag() local 940 if (p_adv_data->p_flags != NULL) flag = old_flag = *(p_adv_data->p_flags); in btm_ble_set_adv_flag() 942 btm_ble_update_dmt_flag_bits(&flag, connect_mode, disc_mode); in btm_ble_set_adv_flag() 947 flag &= ~BTM_BLE_GEN_DISC_FLAG; in btm_ble_set_adv_flag() 948 flag |= BTM_BLE_LIMIT_DISC_FLAG; in btm_ble_set_adv_flag() 950 flag |= BTM_BLE_GEN_DISC_FLAG; in btm_ble_set_adv_flag() 951 flag &= ~BTM_BLE_LIMIT_DISC_FLAG; in btm_ble_set_adv_flag() 954 flag &= ~(BTM_BLE_LIMIT_DISC_FLAG | BTM_BLE_GEN_DISC_FLAG); in btm_ble_set_adv_flag() 957 if (flag != old_flag) { in btm_ble_set_adv_flag() [all …]
|
/system/bt/bta/hh/ |
D | bta_hh_utils.cc | 145 uint8_t flag) in bta_hh_update_di_info() argument 147 UNUSED_ATTR uint8_t flag) in bta_hh_update_di_info() 158 p_cb->dscp_info.flag = flag; in bta_hh_update_di_info()
|