/system/keymaster/tests/ |
D | android_keymaster_test_utils.h | 37 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set); 42 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument 44 int pos = set.find(tag); in contains() 45 return pos != -1 && static_cast<KeymasterEnum>(set[pos].enumerated) == val; in contains() 49 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, in contains() argument 52 while ((pos = set.find(tag, pos)) != -1) in contains() 53 if (static_cast<KeymasterEnum>(set[pos].enumerated) == val) return true; in contains() 58 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() argument 59 int pos = set.find(tag); in contains() 60 return pos != -1 && set[pos].integer == val; in contains() [all …]
|
D | authorization_set_test.cpp | 39 AuthorizationSet set(params, array_length(params)); in TEST() local 40 EXPECT_EQ(8U, set.size()); in TEST() 54 AuthorizationSet set(params, array_length(params)); in TEST() local 55 AuthorizationSet set2(set); in TEST() 56 EXPECT_EQ(set, set2); in TEST() 75 AuthorizationSet set(AuthorizationSetBuilder() in TEST() local 85 EXPECT_EQ(8U, set.size()); in TEST() 87 int pos = set.find(TAG_ALGORITHM); in TEST() 89 EXPECT_EQ(KM_TAG_ALGORITHM, set[pos].tag); in TEST() 90 EXPECT_EQ(KM_ALGORITHM_RSA, set[pos].enumerated); in TEST() [all …]
|
/system/keymaster/ng/ |
D | KeyMintAidlUtils.cpp | 29 vector<KeyParameter> kmParamSet2Aidl(const keymaster_key_param_set_t& set) { in kmParamSet2Aidl() argument 31 if (set.length == 0 || set.params == nullptr) return result; in kmParamSet2Aidl() 33 result.resize(set.length); in kmParamSet2Aidl() 34 keymaster_key_param_t* params = set.params; in kmParamSet2Aidl() 35 for (size_t i = 0; i < set.length; ++i) { in kmParamSet2Aidl() 75 keymaster_key_param_set_t set; in aidlKeyParams2Km() local 77 set.params = new (std::nothrow) keymaster_key_param_t[keyParams.size()]; in aidlKeyParams2Km() 78 set.length = keyParams.size(); in aidlKeyParams2Km() 85 set.params[i] = keymaster_param_enum(tag, keyParams[i].integer); in aidlKeyParams2Km() 89 set.params[i] = keymaster_param_int(tag, keyParams[i].integer); in aidlKeyParams2Km() [all …]
|
D | KeyMintUtils.cpp | 177 vector<KeyParameter> kmParamSet2Aidl(const keymaster_key_param_set_t& set) { in kmParamSet2Aidl() argument 179 if (set.length == 0 || set.params == nullptr) return result; in kmParamSet2Aidl() 181 result.reserve(set.length); in kmParamSet2Aidl() 182 for (size_t i = 0; i < set.length; ++i) { in kmParamSet2Aidl() 183 result.push_back(kmParam2Aidl(set.params[i])); in kmParamSet2Aidl() 189 keymaster_key_param_set_t set; in aidlKeyParams2Km() local 191 set.params = static_cast<keymaster_key_param_t*>( in aidlKeyParams2Km() 193 set.length = keyParams.size(); in aidlKeyParams2Km() 202 set.params[i] = aidlEnumParam2Km(param); in aidlKeyParams2Km() 207 set.params[i] = in aidlKeyParams2Km() [all …]
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | property.te | 85 }:property_service set; 99 }:property_service set; 135 # sigstop property is only used for debugging; should only be set by su which is permissive 141 } ctl_sigstop_prop:property_service set; 154 }:property_service set; 160 } init_storage_prop:property_service set; 165 } init_svc_debug_prop:property_service set; 175 # Prevent properties from being set 193 }:property_service set; 202 }:property_service set; [all …]
|
/system/sepolicy/private/ |
D | property.te | 85 }:property_service set; 99 }:property_service set; 135 # sigstop property is only used for debugging; should only be set by su which is permissive 141 } ctl_sigstop_prop:property_service set; 154 }:property_service set; 160 } init_storage_prop:property_service set; 165 } init_svc_debug_prop:property_service set; 175 # Prevent properties from being set 193 }:property_service set; 202 }:property_service set; [all …]
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | property.te | 78 }:property_service set; 92 }:property_service set; 129 # sigstop property is only used for debugging; should only be set by su which is permissive 135 } ctl_sigstop_prop:property_service set; 148 }:property_service set; 153 } init_svc_debug_prop:property_service set; 163 # Prevent properties from being set 181 }:property_service set; 190 }:property_service set; 200 }:property_service set; [all …]
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | property.te | 67 }:property_service set; 81 }:property_service set; 117 # sigstop property is only used for debugging; should only be set by su which is permissive 123 } ctl_sigstop_prop:property_service set; 136 }:property_service set; 141 } init_svc_debug_prop:property_service set; 151 # Prevent properties from being set 169 }:property_service set; 178 }:property_service set; 188 }:property_service set; [all …]
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | property.te | 68 }:property_service set; 82 }:property_service set; 118 # sigstop property is only used for debugging; should only be set by su which is permissive 124 } ctl_sigstop_prop:property_service set; 137 }:property_service set; 142 } init_svc_debug_prop:property_service set; 152 # Prevent properties from being set 170 }:property_service set; 179 }:property_service set; 189 }:property_service set; [all …]
|
/system/chre/chpp/test/ |
D | app_test_base.cpp | 66 struct ChppClientServiceSet set; in SetUp() local 67 memset(&set, 0, sizeof(set)); in SetUp() 68 set.wifiClient = 1; in SetUp() 69 set.gnssClient = 1; in SetUp() 70 set.wwanClient = 1; in SetUp() 71 set.loopbackClient = 1; in SetUp() 78 set); in SetUp() 85 memset(&set, 0, sizeof(set)); in SetUp() 86 set.wifiService = 1; in SetUp() 87 set.gnssService = 1; in SetUp() [all …]
|
/system/extras/power_profile/camera_flashlight/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/extras/power_profile/gps_on/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/extras/power_profile/camera_avg/ |
D | gradlew.bat | 12 set DEFAULT_JVM_OPTS= 14 set DIRNAME=%~dp0 15 if "%DIRNAME%" == "" set DIRNAME=. 16 set APP_BASE_NAME=%~n0 17 set APP_HOME=%DIRNAME% 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/extras/simpleperf/demo/CppApi/ |
D | gradlew.bat | 11 set DIRNAME=%~dp0 12 if "%DIRNAME%" == "" set DIRNAME=. 13 set APP_BASE_NAME=%~n0 14 set APP_HOME=%DIRNAME% 17 set DEFAULT_JVM_OPTS= 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/extras/simpleperf/demo/JavaApi/ |
D | gradlew.bat | 11 set DIRNAME=%~dp0 12 if "%DIRNAME%" == "" set DIRNAME=. 13 set APP_BASE_NAME=%~n0 14 set APP_HOME=%DIRNAME% 17 set DEFAULT_JVM_OPTS= 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/extras/simpleperf/demo/SimpleperfExampleCpp/ |
D | gradlew.bat | 11 set DIRNAME=%~dp0 12 if "%DIRNAME%" == "" set DIRNAME=. 13 set APP_BASE_NAME=%~n0 14 set APP_HOME=%DIRNAME% 17 set DEFAULT_JVM_OPTS= 22 set JAVA_EXE=java.exe 27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 29 echo Please set the JAVA_HOME variable in your environment to match the 35 set JAVA_HOME=%JAVA_HOME:"=% 36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe [all …]
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 36 elems_ = builder.set.elems_; in AuthorizationSet() 37 builder.set.elems_ = nullptr; in AuthorizationSet() 39 elems_size_ = builder.set.elems_size_; in AuthorizationSet() 40 builder.set.elems_size_ = 0; in AuthorizationSet() 42 elems_capacity_ = builder.set.elems_capacity_; in AuthorizationSet() 43 builder.set.elems_capacity_ = 0; in AuthorizationSet() 45 indirect_data_ = builder.set.indirect_data_; in AuthorizationSet() 46 builder.set.indirect_data_ = nullptr; in AuthorizationSet() 48 indirect_data_capacity_ = builder.set.indirect_data_capacity_; in AuthorizationSet() 49 builder.set.indirect_data_capacity_ = 0; in AuthorizationSet() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/android/aidl/tests/ |
D | Union.cpp | 21 set<ns>(_aidl_value); in readFromParcel() 24 set<ns>(std::move(_aidl_value)); in readFromParcel() 31 set<n>(_aidl_value); in readFromParcel() 34 set<n>(std::move(_aidl_value)); in readFromParcel() 41 set<m>(_aidl_value); in readFromParcel() 44 set<m>(std::move(_aidl_value)); in readFromParcel() 51 set<s>(_aidl_value); in readFromParcel() 54 set<s>(std::move(_aidl_value)); in readFromParcel() 61 set<ibinder>(_aidl_value); in readFromParcel() 64 set<ibinder>(std::move(_aidl_value)); in readFromParcel() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/ |
D | Union.cpp | 19 set<ns>(_aidl_value); in readFromParcel() 22 set<ns>(std::move(_aidl_value)); in readFromParcel() 29 set<n>(_aidl_value); in readFromParcel() 32 set<n>(std::move(_aidl_value)); in readFromParcel() 39 set<m>(_aidl_value); in readFromParcel() 42 set<m>(std::move(_aidl_value)); in readFromParcel() 49 set<s>(_aidl_value); in readFromParcel() 52 set<s>(std::move(_aidl_value)); in readFromParcel() 59 set<ibinder>(_aidl_value); in readFromParcel() 62 set<ibinder>(std::move(_aidl_value)); in readFromParcel() [all …]
|
/system/core/init/ |
D | interface_utils.cpp | 34 std::string FQNamesToString(const std::set<FQName>& fqnames) { in FQNamesToString() 35 std::set<std::string> fqname_strings; in FQNamesToString() 44 Result<void> CheckInterfaceInheritanceHierarchy(const std::set<std::string>& instances, in CheckInterfaceInheritanceHierarchy() 46 std::set<FQName> interface_fqnames; in CheckInterfaceInheritanceHierarchy() 63 Result<void> CheckInterfaceInheritanceHierarchy(const std::set<FQName>& interfaces, in CheckInterfaceInheritanceHierarchy() 74 const std::set<FQName>& required_interfaces = hierarchy.at(intf); in CheckInterfaceInheritanceHierarchy() 75 std::set<FQName> diff; in CheckInterfaceInheritanceHierarchy() 93 std::optional<std::set<FQName>> known_interfaces; 96 known_interfaces = std::set<FQName>(); in SetKnownInterfaces()
|
/system/extras/simpleperf/demo/SimpleperfExampleKotlin/ |
D | gradlew.bat | 27 set DIRNAME=%~dp0 28 if "%DIRNAME%" == "" set DIRNAME=. 29 set APP_BASE_NAME=%~n0 30 set APP_HOME=%DIRNAME% 33 for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 36 set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 41 set JAVA_EXE=java.exe 46 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 48 echo Please set the JAVA_HOME variable in your environment to match the 54 set JAVA_HOME=%JAVA_HOME:"=% [all …]
|
/system/extras/simpleperf/demo/SimpleperfExampleJava/ |
D | gradlew.bat | 27 set DIRNAME=%~dp0 28 if "%DIRNAME%" == "" set DIRNAME=. 29 set APP_BASE_NAME=%~n0 30 set APP_HOME=%DIRNAME% 33 for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 36 set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 41 set JAVA_EXE=java.exe 46 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 48 echo Please set the JAVA_HOME variable in your environment to match the 54 set JAVA_HOME=%JAVA_HOME:"=% [all …]
|
/system/chre/platform/tinysys/include/chre/target_platform/ |
D | atomic_base_impl.h | 25 set(startingValue); in AtomicBool() 29 set(desired); 38 set(desired); in store() 46 set(startingValue); in AtomicUint32() 50 set(desired); 59 set(desired); in store()
|
/system/chre/platform/arm/include/chre/target_platform/ |
D | atomic_base_impl.h | 25 set(startingValue); in AtomicBool() 29 set(desired); 38 set(desired); in store() 46 set(startingValue); in AtomicUint32() 50 set(desired); 59 set(desired); in store()
|
/system/sepolicy/microdroid/system/private/ |
D | property.te | 18 }:property_service set; 24 # microdroid_manager_roothash_prop can only be set by microdroid_manager 30 } microdroid_manager_roothash_prop:property_service set; 39 # apexd_payload_metadata_prop can only set by init 43 } apexd_payload_metadata_prop:property_service set; 45 # Only microdroid_manager and init can set the microdroid_config_prop sysprops 50 } {microdroid_config_prop microdroid_lifecycle_prop}:property_service set;
|