Home
last modified time | relevance | path

Searched refs:tableType (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/
H A Daudio_setting_provider.h57 ErrCode GetStringValue(const std::string &key, std::string &value, std::string tableType = "");
58 ErrCode GetIntValue(const std::string &key, int32_t &value, std::string tableType = "");
59 ErrCode GetLongValue(const std::string &key, int64_t &value, std::string tableType = "");
60 ErrCode GetFloatValue(const std::string &key, float &value, std::string tableType = "");
61 ErrCode GetBoolValue(const std::string &key, bool &value, std::string tableType = "");
63 std::string tableType = "", bool needNotify = true);
64 ErrCode PutIntValue(const std::string &key, int32_t value, std::string tableType = "", bool needNotify = true);
65 ErrCode PutLongValue(const std::string &key, int64_t value, std::string tableType = "", bool needNotify = true);
66 ErrCode PutBoolValue(const std::string &key, bool value, std::string tableType = "", bool needNotify = true);
70 ErrCode RegisterObserver(const sptr<AudioSettingObserver> &observer, std::string tableType
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_setting_provider.cpp82 std::string tableType) in GetIntValue()
85 ErrCode ret = GetLongValue(key, valueLong, tableType); in GetIntValue()
94 std::string tableType) in GetLongValue()
97 ErrCode ret = GetStringValue(key, valueStr, tableType); in GetLongValue()
106 std::string tableType) in GetFloatValue()
109 ErrCode ret = GetStringValue(key, valueStr, tableType); in GetFloatValue()
121 std::string tableType) in GetBoolValue()
124 ErrCode ret = GetStringValue(key, valueStr, tableType); in GetBoolValue()
133 std::string tableType, bool needNotify) in PutIntValue()
135 return PutStringValue(key, std::to_string(value), tableType, needNotif in PutIntValue()
81 GetIntValue(const std::string &key, int32_t &value, std::string tableType) GetIntValue() argument
93 GetLongValue(const std::string &key, int64_t &value, std::string tableType) GetLongValue() argument
105 GetFloatValue(const std::string &key, float &value, std::string tableType) GetFloatValue() argument
120 GetBoolValue(const std::string &key, bool &value, std::string tableType) GetBoolValue() argument
132 PutIntValue(const std::string &key, int32_t value, std::string tableType, bool needNotify) PutIntValue() argument
138 PutLongValue(const std::string &key, int64_t value, std::string tableType, bool needNotify) PutLongValue() argument
144 PutBoolValue(const std::string &key, bool value, std::string tableType, bool needNotify) PutBoolValue() argument
176 RegisterObserver(const sptr<AudioSettingObserver> &observer, std::string tableType) RegisterObserver() argument
196 UnregisterObserver(const sptr<AudioSettingObserver> &observer, std::string tableType) UnregisterObserver() argument
227 GetStringValue(const std::string &key, std::string &value, std::string tableType) GetStringValue() argument
269 PutStringValue(const std::string &key, const std::string &value, std::string tableType, bool needNotify) PutStringValue() argument
320 CreateDataShareHelper( std::string tableType) CreateDataShareHelper() argument
362 AssembleUri(const std::string &key, std::string tableType) AssembleUri() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_uripermission_operations.cpp319 static void BatchUpdate(MediaLibraryCommand &cmd, std::vector<string> inColumn, int32_t tableType, in BatchUpdate() argument
330 predicates.And()->EqualTo(AppUriPermissionColumn::URI_TYPE, to_string(tableType)); in BatchUpdate()
470 int32_t tableType, string &mode) in GetUriPermissionMode()
475 cmd.GetAbsRdbPredicates()->And()->EqualTo(PERMISSION_TABLE_TYPE, to_string(tableType)); in GetUriPermissionMode()
490 int32_t CheckUriPermValues(ValuesBucket &valuesBucket, int32_t &fileId, string &bundleName, int32_t &tableType, in CheckUriPermValues() argument
516 valueObject.GetInt(tableType); in CheckUriPermValues()
530 static void ConvertVirtualIdToRealId(ValuesBucket &valuesBucket, int32_t &fileId, int32_t tableType) in ConvertVirtualIdToRealId() argument
532 if (tableType == static_cast<int32_t>(TableType::TYPE_PHOTOS)) { in ConvertVirtualIdToRealId()
534 } else if (tableType == static_cast<int32_t>(TableType::TYPE_AUDIOS)) { in ConvertVirtualIdToRealId()
551 int32_t tableType; in HandleUriPermInsert() local
469 GetUriPermissionMode(const string &fileId, const string &bundleName, int32_t tableType, string &mode) GetUriPermissionMode() argument
602 int32_t tableType = GetTableTypeFromTableName(tableName); InsertBundlePermission() local
635 int32_t tableType = GetTableTypeFromTableName(tableName); DeleteBundlePermission() local
661 TableType tableType = TableType::TYPE_FILES; CheckUriPermission() local
[all...]
H A Dmedialibrary_urisensitive_operations.cpp223 static void BatchUpdate(MediaLibraryCommand &cmd, std::vector<string> inColumn, int32_t tableType, in BatchUpdate() argument
234 predicates.And()->EqualTo(AppUriSensitiveColumn::URI_TYPE, to_string(tableType)); in BatchUpdate()
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/
H A Droute_manager.h75 * @param tableType Route table type.Must be one of INTERFACE/VPN_NETWORK/LOCAL_NETWORK.
81 static int32_t AddRoute(TableType tableType, const std::string &interfaceName, const std::string &destinationName,
87 * @param tableType Route table type.Must be one of INTERFACE/VPN_NETWORK/LOCAL_NETWORK.
93 static int32_t RemoveRoute(TableType tableType, const std::string &interfaceName,
99 * @param tableType Route table type.Must be one of INTERFACE/VPN_NETWORK/LOCAL_NETWORK.
105 static int32_t UpdateRoute(TableType tableType, const std::string &interfaceName,
357 static uint32_t GetRouteTableFromType(TableType tableType, const std::string &interfaceName);
358 static int32_t SetRouteInfo(TableType tableType, const std::string &interfaceName,
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_smartalbum_map_operations_test/src/
H A Dmedialibrary_uripermission_operations_test.cpp83 int32_t tableType = 1; in HWTEST_F() local
85 int32_t ret = UriPermissionOperations::GetUriPermissionMode(fileId, bundleName, tableType, permissionMode); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_uripermission_operations.h32 int32_t tableType, std::string &mode);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/
H A Dmedia_library_manager.cpp1049 int32_t tableType = -1; in UrisSourceMediaTypeClassify() local
1052 tableType = static_cast<int32_t>(iter.second); in UrisSourceMediaTypeClassify()
1055 if (tableType == -1) { in UrisSourceMediaTypeClassify()
1060 if (tableType == static_cast<int32_t>(TableType::TYPE_PHOTOS)) { in UrisSourceMediaTypeClassify()
1062 } else if (tableType == static_cast<int32_t>(TableType::TYPE_AUDIOS)) { in UrisSourceMediaTypeClassify()
1199 int32_t tableType = -1; in SetCheckPhotoUriPermissionResult() local
1202 tableType = static_cast<int32_t>(iter.second); in SetCheckPhotoUriPermissionResult()
1206 if (tableType == static_cast<int32_t>(TableType::TYPE_PHOTOS)) { in SetCheckPhotoUriPermissionResult()
1212 } else if (tableType == static_cast<int32_t>(TableType::TYPE_AUDIOS)) { in SetCheckPhotoUriPermissionResult()
1315 int32_t tableType in GrantPhotoUriPermission() local
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Droute_manager.cpp121 int32_t RouteManager::AddRoute(TableType tableType, const std::string &interfaceName, in AddRoute() argument
129 if (SetRouteInfo(tableType, interfaceName, destinationName, nextHop, routeInfo) != 0) { in AddRoute()
142 int32_t RouteManager::RemoveRoute(TableType tableType, const std::string &interfaceName, in RemoveRoute() argument
149 if (SetRouteInfo(tableType, interfaceName, destinationName, nextHop, routeInfo) != 0) { in RemoveRoute()
155 int32_t RouteManager::UpdateRoute(TableType tableType, const std::string &interfaceName, in UpdateRoute() argument
162 if (SetRouteInfo(tableType, interfaceName, destinationName, nextHop, routeInfo) != 0) { in UpdateRoute()
1253 uint32_t RouteManager::GetRouteTableFromType(TableType tableType, const std::string &interfaceName) in GetRouteTableFromType() argument
1255 switch (tableType) { in GetRouteTableFromType()
1265 NETNATIVE_LOGE("tableType [%{tableType} in GetRouteTableFromType()
1270 SetRouteInfo(TableType tableType, const std::string &interfaceName, const std::string &destinationName, const std::string &nextHop, RouteInfo &routeInfo) SetRouteInfo() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/include/
H A Dmedialibrary_unittest_utils.h68 const std::string &mode, const int32_t tableType);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/src/
H A Dmedialibrary_unittest_utils.cpp290 const string &mode, const int32_t tableType) in GrantUriPermission()
297 values.Put(PERMISSION_TABLE_TYPE, tableType); in GrantUriPermission()
289 GrantUriPermission(const int32_t fileId, const string &bundleName, const string &mode, const int32_t tableType) GrantUriPermission() argument
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/
H A Dmedialibrary_datamanager_test.cpp822 int32_t tableType = static_cast<int32_t>(TableType::TYPE_FILES); in HWTEST_F() local
824 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_SUCCESS); in HWTEST_F()
882 int32_t tableType = static_cast<int32_t>(TableType::TYPE_FILES); in HWTEST_F() local
883 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_INVALID_MODE); in HWTEST_F()
886 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_INVALID_MODE); in HWTEST_F()
891 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_SUCCESS); in HWTEST_F()
967 int32_t tableType = static_cast<int32_t>(TableType::TYPE_FILES); in HWTEST_F() local
968 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_SUCCESS); in HWTEST_F()
988 int32_t tableType = static_cast<int32_t>(TableType::TYPE_FILES); in HWTEST_F() local
989 EXPECT_EQ(MediaLibraryUnitTestUtils::GrantUriPermission(fileId, bundleName, mode, tableType), E_SUCCES in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp1218 int GetTableSyncType(sqlite3 *db, const std::string &tableName, std::string &tableType) in GetTableSyncType() argument
1238 tableType.assign(value.begin(), value.end()); in GetTableSyncType()
1250 tableType = DEVICE_TYPE; in GetTableSyncType()
1368 std::string tableType = DEVICE_TYPE; in ClearTheLogAfterDropTable() local
1369 if (GetTableSyncType(db, tableStr, tableType) != E_OK) { in ClearTheLogAfterDropTable()
1372 if (tableType == DEVICE_TYPE) { in ClearTheLogAfterDropTable()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Droute_manager_test.cpp795 RouteManager::TableType tableType = RouteManager::INTERNAL_DEFAULT; in HWTEST_F() local
797 uint32_t ret = RouteManager::GetRouteTableFromType(tableType, interfaceName); in HWTEST_F()

Completed in 20 milliseconds