SetSupportedTypes
status_t SetSupportedTypes(const BMessage *types, bool fullSync = true);
status_t SetSupportedTypes(const BMessage* types,
status_t SetSupportedTypes(const BMessage* types,
status_t SetSupportedTypes(const BMessage* types);
status_t SetSupportedTypes(const BMessage* types, bool fullSync = true);
status_t SetSupportedTypes(const char *type, const BMessage *types, bool fullSync);
status_t SetSupportedTypes(const char *app, const BMessage *types, bool fullSync);
error = mimeType.SetSupportedTypes(types, syncAll);
return SetSupportedTypes(types, true, syncAll);
return SetSupportedTypes(types, true, false);
error = mimeType.SetSupportedTypes(types, syncAll);
return SetSupportedTypes(types, true, syncAll);
return SetSupportedTypes(types, true, false);
status = fDatabase->SetSupportedTypes(signature, &supportedTypes, true);
status = fSupportingApps.SetSupportedTypes(type, types, fullSync);
err = appFileInfoWrite.SetSupportedTypes(&supportedTypes, false,
err = appFileInfoWrite.SetSupportedTypes(NULL, false, false);
return SetSupportedTypes(app, &types, fullSync);
status = info.SetSupportedTypes(&supportedTypes);
err = fDatabase.SetSupportedTypes(type, &types, fullSync);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&types) == B_NO_INIT);
CHK(appFileInfo.SetSupportedTypes(NULL) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_OK);
CHK(appFileInfo.SetSupportedTypes(NULL, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1, false) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2, false) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(NULL, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&invalidTestTypes, false)
CHK(appFileInfo.SetSupportedTypes(&types) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&noTypes, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2, true) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_ENTRY_NOT_FOUND);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes2) == B_ENTRY_NOT_FOUND);
CHK(appFileInfo.SetSupportedTypes(&testTypes2) == B_OK);
CHK(appFileInfo.SetSupportedTypes(&testTypes1, true)
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_ENTRY_NOT_FOUND);
CHK(appFileInfo.SetSupportedTypes(&testTypes1) == B_OK);
return info.SetSupportedTypes(&value.types, false);
CHK(mime.SetSupportedTypes(&msg, true) != B_OK);
CHK(mime.SetSupportedTypes(&msg, false) != B_OK);
CHK(mime.SetSupportedTypes(&msg3, true) == B_OK);
CHK(mime.SetSupportedTypes(&msg3, true) == B_OK);
CHK(mime.SetSupportedTypes(&msg2, false) == B_OK);
CHK(mime.SetSupportedTypes(&msg1a, false) == B_OK);
CHK(mime.SetSupportedTypes(&msg1b, false) == B_OK);
CHK(mime.SetSupportedTypes(&msg1b, true) == B_OK);
CHK(mime.SetSupportedTypes(NULL, false) == B_OK);
CHK(mime.SetSupportedTypes(NULL, true) == B_ENTRY_NOT_FOUND);