/system/extras/tools/ |
D | graph_lockdep_chains | 40 rm -f /tmp/${progname}.* 202 b loop' > /tmp/${progname}.formed 204 if [ ! -s /tmp/${progname}.formed ]; then 207 rm -f /tmp/${progname}.* 213 grep "${filter}" /tmp/${progname}.formed | 217 sort -u > /tmp/${progname}.symbols 227 if [ -s /tmp/${progname}.symbols ]; then 231 grep "${filter}" /tmp/${progname}.symbols | 233 grep -v "${filter}" /tmp/${progname}.symbols | 238 grep "${filter}" /tmp/${progname}.symbols | [all …]
|
/system/vold/tests/ |
D | Utils_test.cpp | 27 std::string tmp; in TEST_F() local 29 ASSERT_FALSE(FindValue("", "KEY", &tmp)); in TEST_F() 30 ASSERT_FALSE(FindValue("NOTMATCH=\"VALUE\"", "KEY", &tmp)); in TEST_F() 31 ASSERT_FALSE(FindValue("BADKEY=\"VALUE\"", "KEY", &tmp)); in TEST_F() 33 ASSERT_TRUE(FindValue("KEY=\"VALUE\"", "KEY", &tmp)); in TEST_F() 34 ASSERT_EQ("VALUE", tmp); in TEST_F() 36 ASSERT_TRUE(FindValue("FOO=\"BAR\" KEY=\"VALUE VALUE\" BAR=\"BAZ\"", "KEY", &tmp)); in TEST_F() 37 ASSERT_EQ("VALUE VALUE", tmp); in TEST_F() 39 ASSERT_TRUE(FindValue("BADKEY=\"VALUE\" KEY=\"BAZ\"", "KEY", &tmp)); in TEST_F() 40 ASSERT_EQ("BAZ", tmp); in TEST_F() [all …]
|
/system/sepolicy/ |
D | hwservice_contexts.mk | 12 plat_hwservice_contexts.tmp := $(intermediates)/plat_hwservice_contexts.tmp 13 $(plat_hwservice_contexts.tmp): PRIVATE_SVC_FILES := $(plat_hwsvcfiles) 14 $(plat_hwservice_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 15 $(plat_hwservice_contexts.tmp): $(plat_hwsvcfiles) 20 $(LOCAL_BUILT_MODULE): $(plat_hwservice_contexts.tmp) $(built_sepolicy) $(HOST_OUT_EXECUTABLES)/che… 26 plat_hwservice_contexts.tmp := 40 product_hwservice_contexts.tmp := $(intermediates)/product_hwservice_contexts.tmp 41 $(product_hwservice_contexts.tmp): PRIVATE_SVC_FILES := $(product_hwsvcfiles) 42 $(product_hwservice_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 43 $(product_hwservice_contexts.tmp): $(product_hwsvcfiles) [all …]
|
D | service_contexts.mk | 12 plat_service_contexts.tmp := $(intermediates)/plat_service_contexts.tmp 13 $(plat_service_contexts.tmp): PRIVATE_SVC_FILES := $(plat_svcfiles) 14 $(plat_service_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 15 $(plat_service_contexts.tmp): $(plat_svcfiles) 20 $(LOCAL_BUILT_MODULE): $(plat_service_contexts.tmp) $(built_sepolicy) $(HOST_OUT_EXECUTABLES)/check… 27 plat_service_contexts.tmp := 41 product_service_contexts.tmp := $(intermediates)/product_service_contexts.tmp 42 $(product_service_contexts.tmp): PRIVATE_SVC_FILES := $(product_svcfiles) 43 $(product_service_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 44 $(product_service_contexts.tmp): $(product_svcfiles) [all …]
|
D | mac_permissions.mk | 11 plat_mac_perms_keys.tmp := $(intermediates)/plat_keys.tmp 12 $(plat_mac_perms_keys.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 13 $(plat_mac_perms_keys.tmp): $(call build_policy, keys.conf, $(PLAT_PRIVATE_POLICY) $(PRODUCT_PRIVAT… 24 $(LOCAL_BUILT_MODULE): $(plat_mac_perms_keys.tmp) $(HOST_OUT_EXECUTABLES)/insertkeys.py \ 32 plat_mac_perms_keys.tmp := 45 product_mac_perms_keys.tmp := $(intermediates)/product_keys.tmp 46 $(product_mac_perms_keys.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 47 $(product_mac_perms_keys.tmp): $(call build_policy, keys.conf, $(PRODUCT_PRIVATE_POLICY) $(REQD_MAS… 54 $(LOCAL_BUILT_MODULE): $(product_mac_perms_keys.tmp) $(HOST_OUT_EXECUTABLES)/insertkeys.py \ 59 product_mac_perms_keys.tmp := [all …]
|
D | property_contexts.mk | 15 plat_property_contexts.tmp := $(intermediates)/plat_property_contexts.tmp 16 $(plat_property_contexts.tmp): PRIVATE_PC_FILES := $(plat_pcfiles) 17 $(plat_property_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 18 $(plat_property_contexts.tmp): $(plat_pcfiles) 22 $(LOCAL_BUILT_MODULE): $(plat_property_contexts.tmp) $(built_sepolicy) $(HOST_OUT_EXECUTABLES)/prop… 29 plat_property_contexts.tmp := 42 product_property_contexts.tmp := $(intermediates)/product_property_contexts.tmp 43 $(product_property_contexts.tmp): PRIVATE_PC_FILES := $(product_pcfiles) 44 $(product_property_contexts.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS) 45 $(product_property_contexts.tmp): $(product_pcfiles) [all …]
|
D | file_contexts.mk | 33 $(hide) m4 --fatal-warnings -s $(PRIVATE_FC_FILES) > $@.tmp 34 $(hide) $< $(PRIVATE_SEPOLICY) $@.tmp 35 $(hide) $(PRIVATE_FC_SORT) $@.tmp $@ 61 $(hide) m4 --fatal-warnings -s $(PRIVATE_ADDITIONAL_M4DEFS) $(PRIVATE_FC_FILES) > $@.tmp 62 $(hide) $< $(PRIVATE_SEPOLICY) $@.tmp 63 $(hide) $(PRIVATE_FC_SORT) $@.tmp $@ 89 $(hide) m4 --fatal-warnings -s $(PRIVATE_ADDITIONAL_M4DEFS) $(PRIVATE_FC_FILES) > $@.tmp 90 $(hide) $< $(PRIVATE_SEPOLICY) $@.tmp 91 $(hide) $(PRIVATE_FC_SORT) $@.tmp $@ 117 $(hide) m4 --fatal-warnings -s $(PRIVATE_ADDITIONAL_M4DEFS) $(PRIVATE_FC_FILES) > $@.tmp [all …]
|
D | Android.mk | 377 $(POLICYVERS) -o $@.tmp $(PRIVATE_SEPOLICY_1) 378 $(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp neverallow -w -f $(PRIVATE_SEPOLICY_2) || \ 385 $(hide) touch $@.tmp 386 $(hide) mv $@.tmp $@ 533 $(POLICYVERS) -o $@.tmp $< 534 $(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@.tmp 535 …TABLES)/secilc -m -M true -G -c $(POLICYVERS) $(PRIVATE_NEVERALLOW_ARG) $@.tmp -o /dev/null -f /de… 536 $(hide) mv $@.tmp $@ 576 $(POLICYVERS) -o $@.tmp $< 577 $(hide) cat $(PRIVATE_ADDITIONAL_CIL_FILES) >> $@.tmp [all …]
|
/system/extras/sane_schedstat/ |
D | sane_schedstat.c | 56 struct cpu_stat tmp; variable 88 &cpu, &tmp.yld_count, in parse_cpu_v15() 89 &tmp.sched_switch, &tmp.sched_count, &tmp.sched_goidle, in parse_cpu_v15() 90 &tmp.ttwu_count, &tmp.ttwu_local, in parse_cpu_v15() 91 &tmp.cpu_time, &tmp.run_delay, &tmp.pcount) != 10) { in parse_cpu_v15() 96 cpu_delta[cpu].yld_count = tmp.yld_count - cpu_prev[cpu].yld_count; in parse_cpu_v15() 97 cpu_delta[cpu].sched_switch = tmp.sched_switch - cpu_prev[cpu].sched_switch; in parse_cpu_v15() 98 cpu_delta[cpu].sched_count = tmp.sched_count - cpu_prev[cpu].sched_count; in parse_cpu_v15() 99 cpu_delta[cpu].sched_goidle = tmp.sched_goidle - cpu_prev[cpu].sched_goidle; in parse_cpu_v15() 100 cpu_delta[cpu].ttwu_count = tmp.ttwu_count - cpu_prev[cpu].ttwu_count; in parse_cpu_v15() [all …]
|
/system/bt/embdrv/sbc/encoder/srce/ |
D | sbc_dct.c | 232 int32_t tmp[8]; in SBC_FastIDCT4() local 236 SBC_IDCT_MULT((SBC_COS_PI_SUR_4 >> 1), temp, tmp[0]); in SBC_FastIDCT4() 237 tmp[1] = x2 - tmp[0]; in SBC_FastIDCT4() 238 tmp[0] += x2; in SBC_FastIDCT4() 240 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8 >> 1), temp, tmp[3]); in SBC_FastIDCT4() 241 SBC_IDCT_MULT((SBC_COS_PI_SUR_8 >> 1), temp, tmp[2]); in SBC_FastIDCT4() 243 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8 >> 1), temp, tmp[5]); in SBC_FastIDCT4() 244 SBC_IDCT_MULT((SBC_COS_PI_SUR_8 >> 1), temp, tmp[4]); in SBC_FastIDCT4() 245 tmp[6] = tmp[2] + tmp[5]; in SBC_FastIDCT4() 246 tmp[7] = tmp[3] - tmp[4]; in SBC_FastIDCT4() [all …]
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 39 char tmp[64]; in parse_len() local 43 strncpy(tmp, str, sizeof(tmp)); in parse_len() 44 tmp[sizeof(tmp)-1] = '\0'; in parse_len() 45 len_str = strlen(tmp); in parse_len() 51 switch(tmp[len_str - 1]) { in parse_len() 58 tmp[len_str - 1] = '\0'; in parse_len() 64 *plen = strtoull(tmp, NULL, 0); in parse_len() 99 const char *tmp; in load_partitions() local 109 if (!(tmp = config_str(partnode, "type", NULL))) { in load_partitions() 115 if (!strcmp(tmp, "linux")) { in load_partitions() [all …]
|
D | diskutils.c | 40 ssize_t tmp; in write_raw_image() local 84 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { in write_raw_image() 91 if (!tmp) in write_raw_image() 93 nr_bytes -= tmp; in write_raw_image()
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_a2dp_codec_config.cc | 61 int32_t tmp; in readFromParcel() local 62 status_t status = parcel->readInt32(&tmp); in readFromParcel() 64 codec_type_ = tmp; in readFromParcel() 66 status = parcel->readInt32(&tmp); in readFromParcel() 68 codec_priority_ = tmp; in readFromParcel() 70 status = parcel->readInt32(&tmp); in readFromParcel() 72 sample_rate_ = tmp; in readFromParcel() 74 status = parcel->readInt32(&tmp); in readFromParcel() 76 bits_per_sample_ = tmp; in readFromParcel() 78 status = parcel->readInt32(&tmp); in readFromParcel() [all …]
|
D | bluetooth_gatt_characteristic.cc | 54 int32_t tmp; in readFromParcel() local 55 status_t status = parcel->readInt32(&tmp); in readFromParcel() 57 handle_ = tmp; in readFromParcel() 64 status = parcel->readInt32(&tmp); in readFromParcel() 66 properties_ = tmp; in readFromParcel() 68 status = parcel->readInt32(&tmp); in readFromParcel() 70 permissions_ = tmp; in readFromParcel()
|
D | bluetooth_avrcp_int_value.cc | 40 int32_t tmp; in readFromParcel() local 41 status_t status = parcel->readInt32(&tmp); in readFromParcel() 43 id_ = tmp; in readFromParcel() 45 status = parcel->readInt32(&tmp); in readFromParcel() 47 value_ = tmp; in readFromParcel()
|
D | bluetooth_gatt_descriptor.cc | 47 int32_t tmp; in readFromParcel() local 48 status = parcel->readInt32(&tmp); in readFromParcel() 50 handle_ = tmp; in readFromParcel() 52 status = parcel->readInt32(&tmp); in readFromParcel() 54 permissions_ = tmp; in readFromParcel()
|
D | bluetooth_avrcp_media_attr.cc | 76 int32_t tmp; in readFromParcel() local 77 status = parcel->readInt32(&tmp); in readFromParcel() 79 track_num_ = tmp; in readFromParcel() 81 status = parcel->readInt32(&tmp); in readFromParcel() 83 num_tracks_ = tmp; in readFromParcel() 85 status = parcel->readInt32(&tmp); in readFromParcel() 87 play_time_ = tmp; in readFromParcel()
|
D | scan_filter.cc | 45 UUID tmp; in writeToParcel() local 48 tmp = *service_uuid_; in writeToParcel() 49 uuid.reset(&tmp); in writeToParcel() 58 tmp = *service_uuid_mask_; in writeToParcel() 59 uuid.reset(&tmp); in writeToParcel()
|
/system/core/libpackagelistparser/ |
D | packagelistparser.c | 97 unsigned long tmp; in packagelist_parse() local 140 tmp = strtoul(cur, &endptr, 10); in packagelist_parse() 150 if (tmp > UID_MAX) { in packagelist_parse() 155 pkg_info->uid = (uid_t) tmp; in packagelist_parse() 163 tmp = strtoul(cur, &endptr, 10); in packagelist_parse() 170 if (!(tmp == 0 || tmp == 1)) { in packagelist_parse() 175 pkg_info->debuggable = (bool) tmp; in packagelist_parse() 228 tmp = strtoul(cur, &endptr, 10); in packagelist_parse() 235 if (!(tmp == 0 || tmp == 1)) { in packagelist_parse() 240 pkg_info->profileable_from_shell = (bool)tmp; in packagelist_parse() [all …]
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 97 char tmp[CMD_BUF_SIZE]; in dispatchCommand() local 99 char *q = tmp; in dispatchCommand() 100 char *qlimit = tmp + sizeof(tmp) - 1; in dispatchCommand() 106 memset(tmp, 0, sizeof(tmp)); in dispatchCommand() 152 int cmdNum = (int)strtol(tmp, &endptr, 0); in dispatchCommand() 162 argv[argc++] = strdup(tmp); in dispatchCommand() 164 memset(tmp, 0, sizeof(tmp)); in dispatchCommand() 165 q = tmp; in dispatchCommand() 174 argv[argc++] = strdup(tmp); in dispatchCommand()
|
/system/core/libutils/ |
D | BitSet_test.cpp | 42 BitSet32 tmp = b1 | b2; in TEST_F() local 43 EXPECT_EQ(tmp.count(), 2u); in TEST_F() 44 EXPECT_TRUE(tmp.hasBit(2) && tmp.hasBit(4)); in TEST_F() 58 BitSet32 tmp = b1 & b2; in TEST_F() local 59 EXPECT_TRUE(tmp.isEmpty()); in TEST_F() 77 BitSet32 tmp = b1 & b2; in TEST_F() local 78 EXPECT_EQ(tmp.count(), 1u); in TEST_F() 79 EXPECT_TRUE(tmp.hasBit(6)); in TEST_F() 164 BitSet64 tmp = b1 | b2; in TEST_F() local 165 EXPECT_EQ(tmp.count(), 2u); in TEST_F() [all …]
|
/system/keymaster/key_blob_utils/ |
D | ocb.c | 180 __m128i tmp = _mm_srai_epi32(bl, 31); in double_block() local 181 tmp = _mm_and_si128(tmp, mask); in double_block() 182 tmp = _mm_shuffle_epi32(tmp, _MM_SHUFFLE(2, 1, 0, 3)); in double_block() 184 return _mm_xor_si128(bl, tmp); in double_block() 269 block tmp = vshrq_n_s8(b, 7); in double_block() local 270 tmp = vandq_s8(tmp, mask); in double_block() 271 tmp = vextq_s8(tmp, tmp, 1); /* Rotate high byte to end */ in double_block() 273 return veorq_s8(tmp, b); in double_block() 441 kp[idx] = _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(tmp), _mm_castsi128_ps(x0), 68)); \ 448 tmp = x3 [all …]
|
D | auth_encrypted_key_blob.cpp | 62 const uint8_t* tmp = key_blob.key_material; in DeserializeUnversionedBlob() local 63 const uint8_t** buf_ptr = &tmp; in DeserializeUnversionedBlob() 64 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeUnversionedBlob() 90 const uint8_t* tmp = key_blob.key_material; in DeserializeAuthEncryptedBlob() local 91 const uint8_t** buf_ptr = &tmp; in DeserializeAuthEncryptedBlob() 92 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeAuthEncryptedBlob()
|
/system/vold/model/ |
D | Disk.cpp | 265 std::string tmp; in readMetadata() local 266 if (!ReadFileToString(path, &tmp)) { in readMetadata() 270 tmp = android::base::Trim(tmp); in readMetadata() 271 mLabel = tmp; in readMetadata() 276 std::string tmp; in readMetadata() local 277 if (!ReadFileToString(path, &tmp)) { in readMetadata() 281 tmp = android::base::Trim(tmp); in readMetadata() 283 if (!android::base::ParseInt(tmp, &manfid)) { in readMetadata() 284 PLOG(WARNING) << "Failed to parse manufacturer " << tmp; in readMetadata() 309 std::string tmp; in readMetadata() local [all …]
|
/system/bt/binder/android/bluetooth/ |
D | bluetooth_device.cc | 36 String16 tmp; in readFromParcel() local 38 status_t status = parcel->readString16(&tmp); in readFromParcel() 41 RawAddress::FromString(String8(tmp).string(), address); in readFromParcel()
|